appium_lib 9.8.5 → 9.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -1
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +175 -175
- data/docs/ios_docs.md +233 -233
- data/docs/migration.md +16 -0
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +7 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b17d9f8b755f7a9089812e652db98b066ed10589
|
4
|
+
data.tar.gz: 706710bb4cc7fd8aaed7285485076b4d7a7f1456
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fba0a1954f8ea9f0e1e40b397c3651781cef87f7786d602278f6f87a32350c1d16b4995a2b5e9c3d4cbf674e9d9b9a0c9a1f2516037e641f70add955e3ad324
|
7
|
+
data.tar.gz: 4b3400111a55db2aa93ebb3420922c3f67c97bddf15adff0d8a95bd27443fa0126b561622a76bbdb9c7bcff0d5141fc77aba01c6da90c88151e2b8afd2828b9f
|
data/CHANGELOG.md
CHANGED
@@ -3,8 +3,11 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
-
##
|
6
|
+
## v9.9.0
|
7
7
|
### 1. Enhancements
|
8
|
+
- Bump the core library to 1.3.0
|
9
|
+
- The change have one breaking change for `start_recording_screen`(Android)
|
10
|
+
- Read `docs/migration.md`
|
8
11
|
|
9
12
|
### 2. Bug fixes
|
10
13
|
|
data/appium_lib.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
|
-
s.add_runtime_dependency 'appium_lib_core', '~> 1.
|
16
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 1.3.0'
|
17
17
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.6'
|
19
19
|
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/appium.rb#L45)
|
2
2
|
|
3
3
|
> def load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/appium.rb#L79)
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/appium.rb#L84)
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/appium.rb#L126)
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/appium.rb#L181)
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [left_greater_than_or_equal_to_right?](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [left_greater_than_or_equal_to_right?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L12)
|
120
120
|
|
121
121
|
> def self.left_greater_than_or_equal_to_right?(left, right)
|
122
122
|
|
@@ -128,7 +128,7 @@ __Returns:__
|
|
128
128
|
|
129
129
|
--
|
130
130
|
|
131
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
131
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L47)
|
132
132
|
|
133
133
|
> def global_webdriver_http_sleep
|
134
134
|
|
@@ -136,7 +136,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
136
136
|
|
137
137
|
--
|
138
138
|
|
139
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
139
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L47)
|
140
140
|
|
141
141
|
> def global_webdriver_http_sleep=(value)
|
142
142
|
|
@@ -144,7 +144,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
144
144
|
|
145
145
|
--
|
146
146
|
|
147
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
147
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L50)
|
148
148
|
|
149
149
|
> def sauce
|
150
150
|
|
@@ -152,7 +152,7 @@ SauceLab's settings
|
|
152
152
|
|
153
153
|
--
|
154
154
|
|
155
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
155
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L53)
|
156
156
|
|
157
157
|
> def sauce_username
|
158
158
|
|
@@ -161,7 +161,7 @@ same as @sauce.username
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L56)
|
165
165
|
|
166
166
|
> def sauce_access_key
|
167
167
|
|
@@ -170,7 +170,7 @@ same as @sauce.access_key
|
|
170
170
|
|
171
171
|
--
|
172
172
|
|
173
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
173
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L59)
|
174
174
|
|
175
175
|
> def sauce_endpoint
|
176
176
|
|
@@ -179,7 +179,7 @@ same as @sauce.endpoint
|
|
179
179
|
|
180
180
|
--
|
181
181
|
|
182
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
182
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L63)
|
183
183
|
|
184
184
|
> def caps
|
185
185
|
|
@@ -188,7 +188,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
188
188
|
|
189
189
|
--
|
190
190
|
|
191
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
191
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L64)
|
192
192
|
|
193
193
|
> def custom_url
|
194
194
|
|
@@ -196,7 +196,7 @@ Returns the value of attribute custom_url
|
|
196
196
|
|
197
197
|
--
|
198
198
|
|
199
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
199
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L65)
|
200
200
|
|
201
201
|
> def export_session
|
202
202
|
|
@@ -204,7 +204,7 @@ Returns the value of attribute export_session
|
|
204
204
|
|
205
205
|
--
|
206
206
|
|
207
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
207
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L66)
|
208
208
|
|
209
209
|
> def export_session_path
|
210
210
|
|
@@ -212,7 +212,7 @@ Returns the value of attribute export_session_path
|
|
212
212
|
|
213
213
|
--
|
214
214
|
|
215
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
215
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L67)
|
216
216
|
|
217
217
|
> def default_wait
|
218
218
|
|
@@ -220,7 +220,7 @@ Returns the value of attribute default_wait
|
|
220
220
|
|
221
221
|
--
|
222
222
|
|
223
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
223
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L68)
|
224
224
|
|
225
225
|
> def appium_port
|
226
226
|
|
@@ -228,7 +228,7 @@ Returns the value of attribute appium_port
|
|
228
228
|
|
229
229
|
--
|
230
230
|
|
231
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
231
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L69)
|
232
232
|
|
233
233
|
> def appium_device
|
234
234
|
|
@@ -236,7 +236,7 @@ Returns the value of attribute appium_device
|
|
236
236
|
|
237
237
|
--
|
238
238
|
|
239
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
239
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L70)
|
240
240
|
|
241
241
|
> def automation_name
|
242
242
|
|
@@ -244,7 +244,7 @@ Returns the value of attribute automation_name
|
|
244
244
|
|
245
245
|
--
|
246
246
|
|
247
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
247
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L71)
|
248
248
|
|
249
249
|
> def listener
|
250
250
|
|
@@ -252,7 +252,7 @@ Returns the value of attribute listener
|
|
252
252
|
|
253
253
|
--
|
254
254
|
|
255
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
255
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L72)
|
256
256
|
|
257
257
|
> def http_client
|
258
258
|
|
@@ -260,7 +260,7 @@ Returns the value of attribute http_client
|
|
260
260
|
|
261
261
|
--
|
262
262
|
|
263
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
263
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L73)
|
264
264
|
|
265
265
|
> def appium_wait_timeout
|
266
266
|
|
@@ -268,7 +268,7 @@ Returns the value of attribute appium_wait_timeout
|
|
268
268
|
|
269
269
|
--
|
270
270
|
|
271
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
271
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L74)
|
272
272
|
|
273
273
|
> def appium_wait_interval
|
274
274
|
|
@@ -276,7 +276,7 @@ Returns the value of attribute appium_wait_interval
|
|
276
276
|
|
277
277
|
--
|
278
278
|
|
279
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
279
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L77)
|
280
280
|
|
281
281
|
> def appium_server_status
|
282
282
|
|
@@ -284,7 +284,7 @@ Appium's server version
|
|
284
284
|
|
285
285
|
--
|
286
286
|
|
287
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
287
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L79)
|
288
288
|
|
289
289
|
> def appium_debug
|
290
290
|
|
@@ -292,7 +292,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L82)
|
296
296
|
|
297
297
|
> def driver
|
298
298
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
304
304
|
|
305
305
|
--
|
306
306
|
|
307
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [core](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L84)
|
308
308
|
|
309
309
|
> def core
|
310
310
|
|
@@ -312,7 +312,7 @@ Instance of Appium::Core::Driver
|
|
312
312
|
|
313
313
|
--
|
314
314
|
|
315
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
315
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L148)
|
316
316
|
|
317
317
|
> def initialize(opts = {}, global_driver = nil)
|
318
318
|
|
@@ -331,7 +331,7 @@ __Returns:__
|
|
331
331
|
|
332
332
|
--
|
333
333
|
|
334
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
334
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L258)
|
335
335
|
|
336
336
|
> def driver_attributes
|
337
337
|
|
@@ -339,7 +339,7 @@ Returns a hash of the driver attributes
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L278)
|
343
343
|
|
344
344
|
> def device_is_android?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L282)
|
355
355
|
|
356
356
|
> def device_is_ios?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L286)
|
367
367
|
|
368
368
|
> def device_is_windows?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L292)
|
379
379
|
|
380
380
|
> def automation_name_is_uiautomator2?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L298)
|
391
391
|
|
392
392
|
> def automation_name_is_espresso?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L304)
|
403
403
|
|
404
404
|
> def automation_name_is_xcuitest?
|
405
405
|
|
@@ -411,7 +411,7 @@ __Returns:__
|
|
411
411
|
|
412
412
|
--
|
413
413
|
|
414
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L324)
|
415
415
|
|
416
416
|
> def dialect
|
417
417
|
|
@@ -433,7 +433,7 @@ __Returns:__
|
|
433
433
|
|
434
434
|
--
|
435
435
|
|
436
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
436
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L331)
|
437
437
|
|
438
438
|
> def check_server_version_xcuitest
|
439
439
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L352)
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L359)
|
462
462
|
|
463
463
|
> def appium_server_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L363)
|
474
474
|
|
475
475
|
> def platform_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L376)
|
486
486
|
|
487
487
|
> def appium_client_version
|
488
488
|
|
@@ -494,7 +494,7 @@ __Returns:__
|
|
494
494
|
|
495
495
|
--
|
496
496
|
|
497
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
497
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L388)
|
498
498
|
|
499
499
|
> def self.absolute_app_path(opts)
|
500
500
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L421)
|
515
515
|
|
516
516
|
> def server_url
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L429)
|
527
527
|
|
528
528
|
> def restart
|
529
529
|
|
@@ -535,7 +535,7 @@ __Returns:__
|
|
535
535
|
|
536
536
|
--
|
537
537
|
|
538
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
538
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L442)
|
539
539
|
|
540
540
|
> def screenshot(png_save_path)
|
541
541
|
|
@@ -551,7 +551,7 @@ __Returns:__
|
|
551
551
|
|
552
552
|
--
|
553
553
|
|
554
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
554
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L456)
|
555
555
|
|
556
556
|
> def element_screenshot(element, png_save_path)
|
557
557
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L463)
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L466)
|
585
585
|
|
586
586
|
> def driver_quit
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L477)
|
597
597
|
|
598
598
|
> def window_size
|
599
599
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
605
605
|
|
606
606
|
--
|
607
607
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L509)
|
609
609
|
|
610
610
|
> def start_driver(http_client_ops =
|
611
611
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L531)
|
629
629
|
|
630
630
|
> def set_implicit_wait(wait)
|
631
631
|
|
@@ -633,7 +633,7 @@ To ignore error for Espresso Driver
|
|
633
633
|
|
634
634
|
--
|
635
635
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L541)
|
637
637
|
|
638
638
|
> def no_wait
|
639
639
|
|
@@ -641,7 +641,7 @@ Set implicit wait to zero.
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L555)
|
645
645
|
|
646
646
|
> def set_wait(timeout = nil)
|
647
647
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
657
657
|
|
658
658
|
--
|
659
659
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L572)
|
661
661
|
|
662
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
663
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
681
681
|
|
682
682
|
--
|
683
683
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L596)
|
685
685
|
|
686
686
|
> def execute_script(script, *args)
|
687
687
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L618)
|
703
703
|
|
704
704
|
> def find_elements(*args)
|
705
705
|
|
@@ -719,7 +719,7 @@ __Returns:__
|
|
719
719
|
|
720
720
|
--
|
721
721
|
|
722
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
722
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L633)
|
723
723
|
|
724
724
|
> def find_element(*args)
|
725
725
|
|
@@ -737,7 +737,7 @@ __Returns:__
|
|
737
737
|
|
738
738
|
--
|
739
739
|
|
740
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L646)
|
741
741
|
|
742
742
|
> def set_location(opts = {})
|
743
743
|
|
@@ -753,7 +753,7 @@ __Returns:__
|
|
753
753
|
|
754
754
|
--
|
755
755
|
|
756
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [x](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L656)
|
757
757
|
|
758
758
|
> def x
|
759
759
|
|
@@ -766,7 +766,7 @@ __Returns:__
|
|
766
766
|
|
767
767
|
--
|
768
768
|
|
769
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
769
|
+
##### [username](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/sauce_labs.rb#L4)
|
770
770
|
|
771
771
|
> def username
|
772
772
|
|
@@ -774,7 +774,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
774
774
|
|
775
775
|
--
|
776
776
|
|
777
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
777
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/sauce_labs.rb#L6)
|
778
778
|
|
779
779
|
> def access_key
|
780
780
|
|
@@ -782,7 +782,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
782
782
|
|
783
783
|
--
|
784
784
|
|
785
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
785
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/sauce_labs.rb#L8)
|
786
786
|
|
787
787
|
> def endpoint
|
788
788
|
|
@@ -790,7 +790,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
790
790
|
|
791
791
|
--
|
792
792
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
793
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/sauce_labs.rb#L33)
|
794
794
|
|
795
795
|
> def initialize(appium_lib_opts)
|
796
796
|
|
@@ -806,7 +806,7 @@ __Returns:__
|
|
806
806
|
|
807
807
|
--
|
808
808
|
|
809
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/sauce_labs.rb#L53)
|
810
810
|
|
811
811
|
> def sauce_server_url?
|
812
812
|
|
@@ -818,7 +818,7 @@ __Returns:__
|
|
818
818
|
|
819
819
|
--
|
820
820
|
|
821
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/sauce_labs.rb#L66)
|
822
822
|
|
823
823
|
> def server_url
|
824
824
|
|
@@ -830,7 +830,7 @@ __Returns:__
|
|
830
830
|
|
831
831
|
--
|
832
832
|
|
833
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
833
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/log.rb#L11)
|
834
834
|
|
835
835
|
> def get_log(type)
|
836
836
|
|
@@ -846,7 +846,7 @@ __Returns:__
|
|
846
846
|
|
847
847
|
--
|
848
848
|
|
849
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/log.rb#L23)
|
850
850
|
|
851
851
|
> def get_available_log_types
|
852
852
|
|
@@ -858,7 +858,7 @@ __Returns:__
|
|
858
858
|
|
859
859
|
--
|
860
860
|
|
861
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
861
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/wait.rb#L6)
|
862
862
|
|
863
863
|
> def initialize(opts = {})
|
864
864
|
|
@@ -870,7 +870,7 @@ __Returns:__
|
|
870
870
|
|
871
871
|
--
|
872
872
|
|
873
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/wait.rb#L26)
|
874
874
|
|
875
875
|
> def wait_true(opts = {})
|
876
876
|
|
@@ -890,7 +890,7 @@ __Parameters:__
|
|
890
890
|
|
891
891
|
--
|
892
892
|
|
893
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
893
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/wait.rb#L43)
|
894
894
|
|
895
895
|
> def wait(opts = {})
|
896
896
|
|
@@ -908,7 +908,7 @@ __Parameters:__
|
|
908
908
|
|
909
909
|
--
|
910
910
|
|
911
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
911
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/device.rb#L12)
|
912
912
|
|
913
913
|
> def add_touch_actions
|
914
914
|
|
@@ -916,7 +916,7 @@ __Parameters:__
|
|
916
916
|
|
917
917
|
--
|
918
918
|
|
919
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L16)
|
920
920
|
|
921
921
|
> def ignore
|
922
922
|
|
@@ -924,7 +924,7 @@ Return yield and ignore any exceptions.
|
|
924
924
|
|
925
925
|
--
|
926
926
|
|
927
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [back](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L23)
|
928
928
|
|
929
929
|
> def back
|
930
930
|
|
@@ -936,7 +936,7 @@ __Returns:__
|
|
936
936
|
|
937
937
|
--
|
938
938
|
|
939
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L34)
|
940
940
|
|
941
941
|
> def session_id
|
942
942
|
|
@@ -948,7 +948,7 @@ __Returns:__
|
|
948
948
|
|
949
949
|
--
|
950
950
|
|
951
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L42)
|
952
952
|
|
953
953
|
> def xpath(xpath_str)
|
954
954
|
|
@@ -964,7 +964,7 @@ __Returns:__
|
|
964
964
|
|
965
965
|
--
|
966
966
|
|
967
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
967
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L50)
|
968
968
|
|
969
969
|
> def xpaths(xpath_str)
|
970
970
|
|
@@ -980,7 +980,7 @@ __Returns:__
|
|
980
980
|
|
981
981
|
--
|
982
982
|
|
983
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
983
|
+
##### [result](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L60)
|
984
984
|
|
985
985
|
> def result
|
986
986
|
|
@@ -988,7 +988,7 @@ Returns the value of attribute result
|
|
988
988
|
|
989
989
|
--
|
990
990
|
|
991
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L62)
|
992
992
|
|
993
993
|
> def initialize
|
994
994
|
|
@@ -1000,7 +1000,7 @@ __Returns:__
|
|
1000
1000
|
|
1001
1001
|
--
|
1002
1002
|
|
1003
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L66)
|
1004
1004
|
|
1005
1005
|
> def reset
|
1006
1006
|
|
@@ -1008,7 +1008,7 @@ __Returns:__
|
|
1008
1008
|
|
1009
1009
|
--
|
1010
1010
|
|
1011
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1011
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L71)
|
1012
1012
|
|
1013
1013
|
> def start_element(name, attrs = [], driver = $driver)
|
1014
1014
|
|
@@ -1016,7 +1016,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1016
1016
|
|
1017
1017
|
--
|
1018
1018
|
|
1019
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1019
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L77)
|
1020
1020
|
|
1021
1021
|
> def formatted_result
|
1022
1022
|
|
@@ -1024,7 +1024,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1024
1024
|
|
1025
1025
|
--
|
1026
1026
|
|
1027
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L96)
|
1028
1028
|
|
1029
1029
|
> def get_page_class
|
1030
1030
|
|
@@ -1036,7 +1036,7 @@ __Returns:__
|
|
1036
1036
|
|
1037
1037
|
--
|
1038
1038
|
|
1039
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1039
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L121)
|
1040
1040
|
|
1041
1041
|
> def page_class
|
1042
1042
|
|
@@ -1049,7 +1049,7 @@ __Returns:__
|
|
1049
1049
|
|
1050
1050
|
--
|
1051
1051
|
|
1052
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [source](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L128)
|
1053
1053
|
|
1054
1054
|
> def source
|
1055
1055
|
|
@@ -1061,7 +1061,7 @@ __Returns:__
|
|
1061
1061
|
|
1062
1062
|
--
|
1063
1063
|
|
1064
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L135)
|
1065
1065
|
|
1066
1066
|
> def get_source
|
1067
1067
|
|
@@ -1074,7 +1074,7 @@ __Returns:__
|
|
1074
1074
|
|
1075
1075
|
--
|
1076
1076
|
|
1077
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1077
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L145)
|
1078
1078
|
|
1079
1079
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1080
1080
|
|
@@ -1082,7 +1082,7 @@ Converts pixel values to window relative values
|
|
1082
1082
|
|
1083
1083
|
--
|
1084
1084
|
|
1085
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1085
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L164)
|
1086
1086
|
|
1087
1087
|
> def xml_keys(target)
|
1088
1088
|
|
@@ -1098,7 +1098,7 @@ __Returns:__
|
|
1098
1098
|
|
1099
1099
|
--
|
1100
1100
|
|
1101
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L172)
|
1102
1102
|
|
1103
1103
|
> def xml_values(target)
|
1104
1104
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
1114
1114
|
|
1115
1115
|
--
|
1116
1116
|
|
1117
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L180)
|
1118
1118
|
|
1119
1119
|
> def resolve_id(id)
|
1120
1120
|
|
@@ -1130,7 +1130,7 @@ __Returns:__
|
|
1130
1130
|
|
1131
1131
|
--
|
1132
1132
|
|
1133
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L187)
|
1134
1134
|
|
1135
1135
|
> def filter
|
1136
1136
|
|
@@ -1138,7 +1138,7 @@ Returns the value of attribute filter
|
|
1138
1138
|
|
1139
1139
|
--
|
1140
1140
|
|
1141
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L190)
|
1142
1142
|
|
1143
1143
|
> def filter=(value)
|
1144
1144
|
|
@@ -1146,7 +1146,7 @@ convert to string to support symbols
|
|
1146
1146
|
|
1147
1147
|
--
|
1148
1148
|
|
1149
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L196)
|
1150
1150
|
|
1151
1151
|
> def initialize
|
1152
1152
|
|
@@ -1158,7 +1158,7 @@ __Returns:__
|
|
1158
1158
|
|
1159
1159
|
--
|
1160
1160
|
|
1161
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L201)
|
1162
1162
|
|
1163
1163
|
> def reset
|
1164
1164
|
|
@@ -1166,7 +1166,7 @@ __Returns:__
|
|
1166
1166
|
|
1167
1167
|
--
|
1168
1168
|
|
1169
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1169
|
+
##### [result](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L207)
|
1170
1170
|
|
1171
1171
|
> def result
|
1172
1172
|
|
@@ -1174,7 +1174,7 @@ __Returns:__
|
|
1174
1174
|
|
1175
1175
|
--
|
1176
1176
|
|
1177
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L223)
|
1178
1178
|
|
1179
1179
|
> def start_element(name, attrs = [])
|
1180
1180
|
|
@@ -1182,7 +1182,7 @@ __Returns:__
|
|
1182
1182
|
|
1183
1183
|
--
|
1184
1184
|
|
1185
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1185
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L232)
|
1186
1186
|
|
1187
1187
|
> def end_element(name)
|
1188
1188
|
|
@@ -1190,7 +1190,7 @@ __Returns:__
|
|
1190
1190
|
|
1191
1191
|
--
|
1192
1192
|
|
1193
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/helper.rb#L238)
|
1194
1194
|
|
1195
1195
|
> def characters(chars)
|
1196
1196
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/http_client.rb#L8)
|
1202
1202
|
|
1203
1203
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1204
1204
|
|
@@ -1206,7 +1206,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1206
1206
|
|
1207
1207
|
--
|
1208
1208
|
|
1209
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/multi_touch.rb#L51)
|
1210
1210
|
|
1211
1211
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1212
1212
|
|
@@ -1226,7 +1226,7 @@ __Parameters:__
|
|
1226
1226
|
|
1227
1227
|
--
|
1228
1228
|
|
1229
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/multi_touch.rb#L95)
|
1230
1230
|
|
1231
1231
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1232
1232
|
|
@@ -1246,7 +1246,7 @@ __Parameters:__
|
|
1246
1246
|
|
1247
1247
|
--
|
1248
1248
|
|
1249
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/multi_touch.rb#L216)
|
1250
1250
|
|
1251
1251
|
> def initialize(driver = $driver)
|
1252
1252
|
|
@@ -1258,7 +1258,7 @@ __Returns:__
|
|
1258
1258
|
|
1259
1259
|
--
|
1260
1260
|
|
1261
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/touch_actions.rb#L33)
|
1262
1262
|
|
1263
1263
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1264
1264
|
|
@@ -1266,7 +1266,7 @@ __Returns:__
|
|
1266
1266
|
|
1267
1267
|
--
|
1268
1268
|
|
1269
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/touch_actions.rb#L47)
|
1270
1270
|
|
1271
1271
|
> def initialize(driver = $driver)
|
1272
1272
|
|
@@ -1278,7 +1278,7 @@ __Returns:__
|
|
1278
1278
|
|
1279
1279
|
--
|
1280
1280
|
|
1281
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/common/touch_actions.rb#L51)
|
1282
1282
|
|
1283
1283
|
> def swipe(opts, ele = nil)
|
1284
1284
|
|
@@ -1286,7 +1286,7 @@ __Returns:__
|
|
1286
1286
|
|
1287
1287
|
--
|
1288
1288
|
|
1289
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [for](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/android.rb#L19) android
|
1290
1290
|
|
1291
1291
|
> def self.for(target)
|
1292
1292
|
|
@@ -1294,7 +1294,7 @@ __Returns:__
|
|
1294
1294
|
|
1295
1295
|
--
|
1296
1296
|
|
1297
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/text.rb#L4) android
|
1298
1298
|
|
1299
1299
|
> TextView = 'android.widget.TextView'.freeze
|
1300
1300
|
|
@@ -1302,7 +1302,7 @@ __Returns:__
|
|
1302
1302
|
|
1303
1303
|
--
|
1304
1304
|
|
1305
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [text](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/text.rb#L10) android
|
1306
1306
|
|
1307
1307
|
> def text(value)
|
1308
1308
|
|
@@ -1319,7 +1319,7 @@ __Returns:__
|
|
1319
1319
|
|
1320
1320
|
--
|
1321
1321
|
|
1322
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1322
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/text.rb#L19) android
|
1323
1323
|
|
1324
1324
|
> def texts(value = false)
|
1325
1325
|
|
@@ -1336,7 +1336,7 @@ __Returns:__
|
|
1336
1336
|
|
1337
1337
|
--
|
1338
1338
|
|
1339
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/text.rb#L26) android
|
1340
1340
|
|
1341
1341
|
> def first_text
|
1342
1342
|
|
@@ -1348,7 +1348,7 @@ __Returns:__
|
|
1348
1348
|
|
1349
1349
|
--
|
1350
1350
|
|
1351
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/text.rb#L32) android
|
1352
1352
|
|
1353
1353
|
> def last_text
|
1354
1354
|
|
@@ -1360,7 +1360,7 @@ __Returns:__
|
|
1360
1360
|
|
1361
1361
|
--
|
1362
1362
|
|
1363
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/text.rb#L39) android
|
1364
1364
|
|
1365
1365
|
> def text_exact(value)
|
1366
1366
|
|
@@ -1376,7 +1376,7 @@ __Returns:__
|
|
1376
1376
|
|
1377
1377
|
--
|
1378
1378
|
|
1379
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/text.rb#L46) android
|
1380
1380
|
|
1381
1381
|
> def texts_exact(value)
|
1382
1382
|
|
@@ -1392,7 +1392,7 @@ __Returns:__
|
|
1392
1392
|
|
1393
1393
|
--
|
1394
1394
|
|
1395
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [result](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L6) android
|
1396
1396
|
|
1397
1397
|
> def result
|
1398
1398
|
|
@@ -1400,7 +1400,7 @@ Returns the value of attribute result
|
|
1400
1400
|
|
1401
1401
|
--
|
1402
1402
|
|
1403
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1403
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L6) android
|
1404
1404
|
|
1405
1405
|
> def keys
|
1406
1406
|
|
@@ -1408,7 +1408,7 @@ Returns the value of attribute keys
|
|
1408
1408
|
|
1409
1409
|
--
|
1410
1410
|
|
1411
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1411
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L6) android
|
1412
1412
|
|
1413
1413
|
> def filter
|
1414
1414
|
|
@@ -1416,7 +1416,7 @@ Returns the value of attribute filter
|
|
1416
1416
|
|
1417
1417
|
--
|
1418
1418
|
|
1419
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1419
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L9) android
|
1420
1420
|
|
1421
1421
|
> def filter=(value)
|
1422
1422
|
|
@@ -1424,7 +1424,7 @@ convert to string to support symbols
|
|
1424
1424
|
|
1425
1425
|
--
|
1426
1426
|
|
1427
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1427
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L15) android
|
1428
1428
|
|
1429
1429
|
> def initialize
|
1430
1430
|
|
@@ -1436,7 +1436,7 @@ __Returns:__
|
|
1436
1436
|
|
1437
1437
|
--
|
1438
1438
|
|
1439
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L20) android
|
1440
1440
|
|
1441
1441
|
> def reset
|
1442
1442
|
|
@@ -1444,7 +1444,7 @@ __Returns:__
|
|
1444
1444
|
|
1445
1445
|
--
|
1446
1446
|
|
1447
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L26) android
|
1448
1448
|
|
1449
1449
|
> def start_element(name, attrs = [], driver = $driver)
|
1450
1450
|
|
@@ -1452,7 +1452,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1452
1452
|
|
1453
1453
|
--
|
1454
1454
|
|
1455
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L80) android
|
1456
1456
|
|
1457
1457
|
> def get_android_inspect(class_name = false)
|
1458
1458
|
|
@@ -1471,7 +1471,7 @@ __Returns:__
|
|
1471
1471
|
|
1472
1472
|
--
|
1473
1473
|
|
1474
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1474
|
+
##### [page](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L106) android
|
1475
1475
|
|
1476
1476
|
> def page(opts = {})
|
1477
1477
|
|
@@ -1490,7 +1490,7 @@ __Returns:__
|
|
1490
1490
|
|
1491
1491
|
--
|
1492
1492
|
|
1493
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [id](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L115) android
|
1494
1494
|
|
1495
1495
|
> def id(id)
|
1496
1496
|
|
@@ -1506,7 +1506,7 @@ __Returns:__
|
|
1506
1506
|
|
1507
1507
|
--
|
1508
1508
|
|
1509
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L123) android
|
1510
1510
|
|
1511
1511
|
> def ids(id)
|
1512
1512
|
|
@@ -1522,7 +1522,7 @@ __Returns:__
|
|
1522
1522
|
|
1523
1523
|
--
|
1524
1524
|
|
1525
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L132) android
|
1526
1526
|
|
1527
1527
|
> def ele_index(class_name, index)
|
1528
1528
|
|
@@ -1540,7 +1540,7 @@ __Returns:__
|
|
1540
1540
|
|
1541
1541
|
--
|
1542
1542
|
|
1543
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L150) android
|
1544
1544
|
|
1545
1545
|
> def first_ele(class_name)
|
1546
1546
|
|
@@ -1556,7 +1556,7 @@ __Returns:__
|
|
1556
1556
|
|
1557
1557
|
--
|
1558
1558
|
|
1559
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L157) android
|
1560
1560
|
|
1561
1561
|
> def last_ele(class_name)
|
1562
1562
|
|
@@ -1572,7 +1572,7 @@ __Returns:__
|
|
1572
1572
|
|
1573
1573
|
--
|
1574
1574
|
|
1575
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1575
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L165) android
|
1576
1576
|
|
1577
1577
|
> def tag(class_name)
|
1578
1578
|
|
@@ -1588,7 +1588,7 @@ __Returns:__
|
|
1588
1588
|
|
1589
1589
|
--
|
1590
1590
|
|
1591
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L173) android
|
1592
1592
|
|
1593
1593
|
> def tags(class_name)
|
1594
1594
|
|
@@ -1604,7 +1604,7 @@ __Returns:__
|
|
1604
1604
|
|
1605
1605
|
--
|
1606
1606
|
|
1607
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1607
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L216) android
|
1608
1608
|
|
1609
1609
|
> def string_visible_contains_xpath(class_name, value)
|
1610
1610
|
|
@@ -1625,7 +1625,7 @@ __Returns:__
|
|
1625
1625
|
|
1626
1626
|
--
|
1627
1627
|
|
1628
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1628
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L236) android
|
1629
1629
|
|
1630
1630
|
> def string_visible_contains(class_name, value)
|
1631
1631
|
|
@@ -1646,7 +1646,7 @@ __Returns:__
|
|
1646
1646
|
|
1647
1647
|
--
|
1648
1648
|
|
1649
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1649
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L254) android
|
1650
1650
|
|
1651
1651
|
> def complex_find_contains(class_name, value)
|
1652
1652
|
|
@@ -1664,7 +1664,7 @@ __Returns:__
|
|
1664
1664
|
|
1665
1665
|
--
|
1666
1666
|
|
1667
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1667
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L262) android
|
1668
1668
|
|
1669
1669
|
> def complex_finds_contains(class_name, value)
|
1670
1670
|
|
@@ -1682,7 +1682,7 @@ __Returns:__
|
|
1682
1682
|
|
1683
1683
|
--
|
1684
1684
|
|
1685
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1685
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L306) android
|
1686
1686
|
|
1687
1687
|
> def complex_find_exact(class_name, value)
|
1688
1688
|
|
@@ -1700,7 +1700,7 @@ __Returns:__
|
|
1700
1700
|
|
1701
1701
|
--
|
1702
1702
|
|
1703
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/helper.rb#L314) android
|
1704
1704
|
|
1705
1705
|
> def complex_finds_exact(class_name, value)
|
1706
1706
|
|
@@ -1718,7 +1718,7 @@ __Returns:__
|
|
1718
1718
|
|
1719
1719
|
--
|
1720
1720
|
|
1721
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/alert.rb#L6) android
|
1722
1722
|
|
1723
1723
|
> def alert_click(value)
|
1724
1724
|
|
@@ -1734,7 +1734,7 @@ __Returns:__
|
|
1734
1734
|
|
1735
1735
|
--
|
1736
1736
|
|
1737
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1737
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/alert.rb#L13) android
|
1738
1738
|
|
1739
1739
|
> def alert_accept
|
1740
1740
|
|
@@ -1747,7 +1747,7 @@ __Returns:__
|
|
1747
1747
|
|
1748
1748
|
--
|
1749
1749
|
|
1750
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1750
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/alert.rb#L20) android
|
1751
1751
|
|
1752
1752
|
> def alert_accept_text
|
1753
1753
|
|
@@ -1760,7 +1760,7 @@ __Returns:__
|
|
1760
1760
|
|
1761
1761
|
--
|
1762
1762
|
|
1763
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1763
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/alert.rb#L27) android
|
1764
1764
|
|
1765
1765
|
> def alert_dismiss
|
1766
1766
|
|
@@ -1773,7 +1773,7 @@ __Returns:__
|
|
1773
1773
|
|
1774
1774
|
--
|
1775
1775
|
|
1776
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1776
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/alert.rb#L34) android
|
1777
1777
|
|
1778
1778
|
> def alert_dismiss_text
|
1779
1779
|
|
@@ -1786,7 +1786,7 @@ __Returns:__
|
|
1786
1786
|
|
1787
1787
|
--
|
1788
1788
|
|
1789
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L3) android
|
1790
1790
|
|
1791
1791
|
> Button = 'android.widget.Button'.freeze
|
1792
1792
|
|
@@ -1794,7 +1794,7 @@ __Returns:__
|
|
1794
1794
|
|
1795
1795
|
--
|
1796
1796
|
|
1797
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L4) android
|
1798
1798
|
|
1799
1799
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1800
1800
|
|
@@ -1802,7 +1802,7 @@ __Returns:__
|
|
1802
1802
|
|
1803
1803
|
--
|
1804
1804
|
|
1805
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [button](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L10) android
|
1806
1806
|
|
1807
1807
|
> def button(value)
|
1808
1808
|
|
@@ -1819,7 +1819,7 @@ __Returns:__
|
|
1819
1819
|
|
1820
1820
|
--
|
1821
1821
|
|
1822
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1822
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L27) android
|
1823
1823
|
|
1824
1824
|
> def buttons(value = false)
|
1825
1825
|
|
@@ -1836,7 +1836,7 @@ __Returns:__
|
|
1836
1836
|
|
1837
1837
|
--
|
1838
1838
|
|
1839
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L34) android
|
1840
1840
|
|
1841
1841
|
> def first_button
|
1842
1842
|
|
@@ -1848,7 +1848,7 @@ __Returns:__
|
|
1848
1848
|
|
1849
1849
|
--
|
1850
1850
|
|
1851
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L40) android
|
1852
1852
|
|
1853
1853
|
> def last_button
|
1854
1854
|
|
@@ -1860,7 +1860,7 @@ __Returns:__
|
|
1860
1860
|
|
1861
1861
|
--
|
1862
1862
|
|
1863
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L56) android
|
1864
1864
|
|
1865
1865
|
> def button_exact(value)
|
1866
1866
|
|
@@ -1876,7 +1876,7 @@ __Returns:__
|
|
1876
1876
|
|
1877
1877
|
--
|
1878
1878
|
|
1879
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1879
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/button.rb#L63) android
|
1880
1880
|
|
1881
1881
|
> def buttons_exact(value)
|
1882
1882
|
|
@@ -1892,7 +1892,7 @@ __Returns:__
|
|
1892
1892
|
|
1893
1893
|
--
|
1894
1894
|
|
1895
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1895
|
+
##### [find](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/generic.rb#L6) android
|
1896
1896
|
|
1897
1897
|
> def find(value)
|
1898
1898
|
|
@@ -1908,7 +1908,7 @@ __Returns:__
|
|
1908
1908
|
|
1909
1909
|
--
|
1910
1910
|
|
1911
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/generic.rb#L13) android
|
1912
1912
|
|
1913
1913
|
> def finds(value)
|
1914
1914
|
|
@@ -1924,7 +1924,7 @@ __Returns:__
|
|
1924
1924
|
|
1925
1925
|
--
|
1926
1926
|
|
1927
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1927
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/generic.rb#L20) android
|
1928
1928
|
|
1929
1929
|
> def find_exact(value)
|
1930
1930
|
|
@@ -1940,7 +1940,7 @@ __Returns:__
|
|
1940
1940
|
|
1941
1941
|
--
|
1942
1942
|
|
1943
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/generic.rb#L27) android
|
1944
1944
|
|
1945
1945
|
> def finds_exact(value)
|
1946
1946
|
|
@@ -1956,7 +1956,7 @@ __Returns:__
|
|
1956
1956
|
|
1957
1957
|
--
|
1958
1958
|
|
1959
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1959
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/generic.rb#L40) android
|
1960
1960
|
|
1961
1961
|
> def scroll_to(text, scrollable_index = 0)
|
1962
1962
|
|
@@ -1974,7 +1974,7 @@ __Returns:__
|
|
1974
1974
|
|
1975
1975
|
--
|
1976
1976
|
|
1977
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
1977
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/generic.rb#L58) android
|
1978
1978
|
|
1979
1979
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1980
1980
|
|
@@ -1992,7 +1992,7 @@ __Returns:__
|
|
1992
1992
|
|
1993
1993
|
--
|
1994
1994
|
|
1995
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [for](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
1996
1996
|
|
1997
1997
|
> def self.for(target)
|
1998
1998
|
|
@@ -2000,7 +2000,7 @@ __Returns:__
|
|
2000
2000
|
|
2001
2001
|
--
|
2002
2002
|
|
2003
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2003
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/textfield.rb#L3) android
|
2004
2004
|
|
2005
2005
|
> EditText = 'android.widget.EditText'.freeze
|
2006
2006
|
|
@@ -2008,7 +2008,7 @@ __Returns:__
|
|
2008
2008
|
|
2009
2009
|
--
|
2010
2010
|
|
2011
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2011
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/textfield.rb#L9) android
|
2012
2012
|
|
2013
2013
|
> def textfield(value)
|
2014
2014
|
|
@@ -2025,7 +2025,7 @@ __Returns:__
|
|
2025
2025
|
|
2026
2026
|
--
|
2027
2027
|
|
2028
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2028
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/textfield.rb#L18) android
|
2029
2029
|
|
2030
2030
|
> def textfields(value = false)
|
2031
2031
|
|
@@ -2042,7 +2042,7 @@ __Returns:__
|
|
2042
2042
|
|
2043
2043
|
--
|
2044
2044
|
|
2045
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/textfield.rb#L25) android
|
2046
2046
|
|
2047
2047
|
> def first_textfield
|
2048
2048
|
|
@@ -2054,7 +2054,7 @@ __Returns:__
|
|
2054
2054
|
|
2055
2055
|
--
|
2056
2056
|
|
2057
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/textfield.rb#L31) android
|
2058
2058
|
|
2059
2059
|
> def last_textfield
|
2060
2060
|
|
@@ -2066,7 +2066,7 @@ __Returns:__
|
|
2066
2066
|
|
2067
2067
|
--
|
2068
2068
|
|
2069
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/textfield.rb#L38) android
|
2070
2070
|
|
2071
2071
|
> def textfield_exact(value)
|
2072
2072
|
|
@@ -2082,7 +2082,7 @@ __Returns:__
|
|
2082
2082
|
|
2083
2083
|
--
|
2084
2084
|
|
2085
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/element/textfield.rb#L45) android
|
2086
2086
|
|
2087
2087
|
> def textfields_exact(value)
|
2088
2088
|
|
@@ -2098,7 +2098,7 @@ __Returns:__
|
|
2098
2098
|
|
2099
2099
|
--
|
2100
2100
|
|
2101
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2101
|
+
##### [for](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2102
2102
|
|
2103
2103
|
> def self.for(target)
|
2104
2104
|
|
@@ -2106,7 +2106,7 @@ __Returns:__
|
|
2106
2106
|
|
2107
2107
|
--
|
2108
2108
|
|
2109
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2109
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2110
2110
|
|
2111
2111
|
> def string_visible_contains(class_name, value)
|
2112
2112
|
|
@@ -2127,7 +2127,7 @@ __Returns:__
|
|
2127
2127
|
|
2128
2128
|
--
|
2129
2129
|
|
2130
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2130
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2131
2131
|
|
2132
2132
|
> def complex_find_contains(class_name, value)
|
2133
2133
|
|
@@ -2145,7 +2145,7 @@ __Returns:__
|
|
2145
2145
|
|
2146
2146
|
--
|
2147
2147
|
|
2148
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2148
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2149
2149
|
|
2150
2150
|
> def complex_finds_contains(class_name, value)
|
2151
2151
|
|
@@ -2163,7 +2163,7 @@ __Returns:__
|
|
2163
2163
|
|
2164
2164
|
--
|
2165
2165
|
|
2166
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2166
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2167
2167
|
|
2168
2168
|
> def complex_find_exact(class_name, value)
|
2169
2169
|
|
@@ -2181,7 +2181,7 @@ __Returns:__
|
|
2181
2181
|
|
2182
2182
|
--
|
2183
2183
|
|
2184
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2184
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2185
2185
|
|
2186
2186
|
> def complex_finds_exact(class_name, value)
|
2187
2187
|
|
@@ -2199,7 +2199,7 @@ __Returns:__
|
|
2199
2199
|
|
2200
2200
|
--
|
2201
2201
|
|
2202
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2202
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/common/command/command.rb#L14) android
|
2203
2203
|
|
2204
2204
|
> def shell(command, arguments)
|
2205
2205
|
|
@@ -2214,7 +2214,7 @@ __Parameters:__
|
|
2214
2214
|
|
2215
2215
|
--
|
2216
2216
|
|
2217
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2217
|
+
##### [button](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2218
2218
|
|
2219
2219
|
> def button(value)
|
2220
2220
|
|
@@ -2231,7 +2231,7 @@ __Returns:__
|
|
2231
2231
|
|
2232
2232
|
--
|
2233
2233
|
|
2234
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2234
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2235
2235
|
|
2236
2236
|
> def buttons(value = false)
|
2237
2237
|
|
@@ -2248,7 +2248,7 @@ __Returns:__
|
|
2248
2248
|
|
2249
2249
|
--
|
2250
2250
|
|
2251
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2252
2252
|
|
2253
2253
|
> def first_button
|
2254
2254
|
|
@@ -2260,7 +2260,7 @@ __Returns:__
|
|
2260
2260
|
|
2261
2261
|
--
|
2262
2262
|
|
2263
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2264
2264
|
|
2265
2265
|
> def last_button
|
2266
2266
|
|
@@ -2272,7 +2272,7 @@ __Returns:__
|
|
2272
2272
|
|
2273
2273
|
--
|
2274
2274
|
|
2275
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2275
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2276
2276
|
|
2277
2277
|
> def button_exact(value)
|
2278
2278
|
|
@@ -2288,7 +2288,7 @@ __Returns:__
|
|
2288
2288
|
|
2289
2289
|
--
|
2290
2290
|
|
2291
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2292
2292
|
|
2293
2293
|
> def buttons_exact(value)
|
2294
2294
|
|