appium_lib 12.0.0.rc2 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +32 -3
- data/appium_lib.gemspec +2 -2
- data/docs/android_docs.md +207 -229
- data/docs/ios_docs.md +245 -267
- data/lib/appium_lib/driver.rb +3 -1
- data/lib/appium_lib/version.rb +2 -2
- data/readme.md +1 -0
- data/release_notes.md +28 -0
- metadata +10 -12
- data/docs/index_paths.md +0 -26
- data/docs/travis.sample.yml +0 -24
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L60) common
|
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L95) common
|
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L100) common
|
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L142) common
|
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/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/appium.rb#L196) common
|
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
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L49) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L49) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L52) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L55) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L58) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L61) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L65) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url.
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L67) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session.
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L68) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path.
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L69) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait.
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L70) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port.
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L71) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device.
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L72) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name.
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L73) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener.
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L74) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client.
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L75) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout.
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L76) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval.
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L79) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L81) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L84) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L86) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,9 +300,9 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L154) common
|
304
304
|
|
305
|
-
> def initialize(opts = {}, global_driver =
|
305
|
+
> def initialize(opts = {}, global_driver = false)
|
306
306
|
|
307
307
|
Creates a new driver. The driver is defined as global scope by default.
|
308
308
|
We can avoid defining global driver.
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L270) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L290) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L294) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L298) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L304) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L310) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L316) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,33 +399,11 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [
|
403
|
-
|
404
|
-
> def dialect
|
405
|
-
|
406
|
-
Get the dialect value whether current driver is OSS or W3C
|
407
|
-
|
408
|
-
__Returns:__
|
409
|
-
|
410
|
-
[:oss | :w3c] @example
|
411
|
-
|
412
|
-
if dialect == :w3c
|
413
|
-
driver.action
|
414
|
-
.move_to_location(500, 500).pointer_down(:left)
|
415
|
-
.move_to_location(0, 700)
|
416
|
-
.release.perform
|
417
|
-
else
|
418
|
-
action = TouchAction.new(driver).press(x: 500, y: 500).move_to(500, 700).release
|
419
|
-
action.perform
|
420
|
-
end
|
421
|
-
|
422
|
-
--
|
423
|
-
|
424
|
-
##### [action](https://github.com/appium/ruby_lib/blob/06f2e54b4b55df25e624272b5a2cd7b23a000298/lib/appium_lib/driver.rb#L358) common
|
402
|
+
##### [action](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L330) common
|
425
403
|
|
426
404
|
> def action
|
427
405
|
|
428
|
-
An entry point to chain W3C actions
|
406
|
+
An entry point to chain W3C actions
|
429
407
|
Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method
|
430
408
|
|
431
409
|
__Returns:__
|
@@ -434,7 +412,7 @@ __Returns:__
|
|
434
412
|
|
435
413
|
--
|
436
414
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L345) common
|
438
416
|
|
439
417
|
> def appium_server_version
|
440
418
|
|
@@ -446,7 +424,7 @@ __Returns:__
|
|
446
424
|
|
447
425
|
--
|
448
426
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
427
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L353) common
|
450
428
|
|
451
429
|
> def appium_server_version
|
452
430
|
|
@@ -458,7 +436,7 @@ __Returns:__
|
|
458
436
|
|
459
437
|
--
|
460
438
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L357) common
|
462
440
|
|
463
441
|
> def platform_version
|
464
442
|
|
@@ -470,7 +448,7 @@ __Returns:__
|
|
470
448
|
|
471
449
|
--
|
472
450
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L370) common
|
474
452
|
|
475
453
|
> def appium_client_version
|
476
454
|
|
@@ -482,7 +460,7 @@ __Returns:__
|
|
482
460
|
|
483
461
|
--
|
484
462
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L382) common
|
486
464
|
|
487
465
|
> def absolute_app_path(opts)
|
488
466
|
|
@@ -499,7 +477,7 @@ __Returns:__
|
|
499
477
|
|
500
478
|
--
|
501
479
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L403) common
|
503
481
|
|
504
482
|
> def server_url
|
505
483
|
|
@@ -511,7 +489,7 @@ __Returns:__
|
|
511
489
|
|
512
490
|
--
|
513
491
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L412) common
|
515
493
|
|
516
494
|
> def restart
|
517
495
|
|
@@ -523,7 +501,7 @@ __Returns:__
|
|
523
501
|
|
524
502
|
--
|
525
503
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L425) common
|
527
505
|
|
528
506
|
> def screenshot(png_save_path)
|
529
507
|
|
@@ -539,7 +517,7 @@ __Returns:__
|
|
539
517
|
|
540
518
|
--
|
541
519
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
520
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L439) common
|
543
521
|
|
544
522
|
> def element_screenshot(element, png_save_path)
|
545
523
|
|
@@ -557,7 +535,7 @@ __Returns:__
|
|
557
535
|
|
558
536
|
--
|
559
537
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
538
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L446) common
|
561
539
|
|
562
540
|
> def driver_quit
|
563
541
|
|
@@ -569,7 +547,7 @@ __Returns:__
|
|
569
547
|
|
570
548
|
--
|
571
549
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
550
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L449) common
|
573
551
|
|
574
552
|
> def driver_quit
|
575
553
|
|
@@ -581,7 +559,7 @@ __Returns:__
|
|
581
559
|
|
582
560
|
--
|
583
561
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
562
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L460) common
|
585
563
|
|
586
564
|
> def window_size
|
587
565
|
|
@@ -593,7 +571,7 @@ __Returns:__
|
|
593
571
|
|
594
572
|
--
|
595
573
|
|
596
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L475) common
|
597
575
|
|
598
576
|
> def window_rect
|
599
577
|
|
@@ -605,7 +583,7 @@ __Returns:__
|
|
605
583
|
|
606
584
|
--
|
607
585
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L508) common
|
609
587
|
|
610
588
|
> def start_driver(http_client_ops = { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
611
589
|
|
@@ -625,7 +603,7 @@ __Returns:__
|
|
625
603
|
|
626
604
|
--
|
627
605
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L529) common
|
629
607
|
|
630
608
|
> def set_implicit_wait(wait)
|
631
609
|
|
@@ -633,7 +611,7 @@ To ignore error for Espresso Driver
|
|
633
611
|
|
634
612
|
--
|
635
613
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
614
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L540) common
|
637
615
|
|
638
616
|
> def no_wait
|
639
617
|
|
@@ -641,7 +619,7 @@ Set implicit wait to zero.
|
|
641
619
|
|
642
620
|
--
|
643
621
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
622
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L554) common
|
645
623
|
|
646
624
|
> def set_wait(timeout = nil)
|
647
625
|
|
@@ -657,7 +635,7 @@ __Returns:__
|
|
657
635
|
|
658
636
|
--
|
659
637
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
638
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L571) common
|
661
639
|
|
662
640
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
641
|
|
@@ -681,7 +659,7 @@ __Returns:__
|
|
681
659
|
|
682
660
|
--
|
683
661
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L595) common
|
685
663
|
|
686
664
|
> def execute_script(script, *args)
|
687
665
|
|
@@ -699,7 +677,7 @@ __Returns:__
|
|
699
677
|
|
700
678
|
--
|
701
679
|
|
702
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
680
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L603) common
|
703
681
|
|
704
682
|
> def execute_async_script(script, *args)
|
705
683
|
|
@@ -709,7 +687,7 @@ Get the window handles of open browser windows
|
|
709
687
|
|
710
688
|
--
|
711
689
|
|
712
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L635) common
|
713
691
|
|
714
692
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
715
693
|
|
@@ -735,7 +713,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
735
713
|
|
736
714
|
--
|
737
715
|
|
738
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L639) common
|
739
717
|
|
740
718
|
> def window_handles
|
741
719
|
|
@@ -743,7 +721,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
743
721
|
|
744
722
|
--
|
745
723
|
|
746
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L644) common
|
747
725
|
|
748
726
|
> def window_handle
|
749
727
|
|
@@ -751,7 +729,7 @@ Get the current window handle
|
|
751
729
|
|
752
730
|
--
|
753
731
|
|
754
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L648) common
|
755
733
|
|
756
734
|
> def navigate
|
757
735
|
|
@@ -759,7 +737,7 @@ Get the current window handle
|
|
759
737
|
|
760
738
|
--
|
761
739
|
|
762
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L652) common
|
763
741
|
|
764
742
|
> def manage
|
765
743
|
|
@@ -767,7 +745,7 @@ Get the current window handle
|
|
767
745
|
|
768
746
|
--
|
769
747
|
|
770
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
748
|
+
##### [get](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L656) common
|
771
749
|
|
772
750
|
> def get(url)
|
773
751
|
|
@@ -775,7 +753,7 @@ Get the current window handle
|
|
775
753
|
|
776
754
|
--
|
777
755
|
|
778
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L660) common
|
779
757
|
|
780
758
|
> def current_url
|
781
759
|
|
@@ -783,7 +761,7 @@ Get the current window handle
|
|
783
761
|
|
784
762
|
--
|
785
763
|
|
786
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
764
|
+
##### [title](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L664) common
|
787
765
|
|
788
766
|
> def title
|
789
767
|
|
@@ -791,7 +769,7 @@ Get the current window handle
|
|
791
769
|
|
792
770
|
--
|
793
771
|
|
794
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L670) common
|
795
773
|
|
796
774
|
> def switch_to
|
797
775
|
|
@@ -803,7 +781,7 @@ __Returns:__
|
|
803
781
|
|
804
782
|
--
|
805
783
|
|
806
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
784
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L697) common
|
807
785
|
|
808
786
|
> def find_elements(*args)
|
809
787
|
|
@@ -823,7 +801,7 @@ __Returns:__
|
|
823
801
|
|
824
802
|
--
|
825
803
|
|
826
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L713) common
|
827
805
|
|
828
806
|
> def find_element(*args)
|
829
807
|
|
@@ -841,7 +819,7 @@ __Returns:__
|
|
841
819
|
|
842
820
|
--
|
843
821
|
|
844
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L728) common
|
845
823
|
|
846
824
|
> def find_element_by_image(png_img_path)
|
847
825
|
|
@@ -857,7 +835,7 @@ __Returns:__
|
|
857
835
|
|
858
836
|
--
|
859
837
|
|
860
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L743) common
|
861
839
|
|
862
840
|
> def find_elements_by_image(png_img_paths)
|
863
841
|
|
@@ -873,7 +851,7 @@ __Returns:__
|
|
873
851
|
|
874
852
|
--
|
875
853
|
|
876
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
854
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L756) common
|
877
855
|
|
878
856
|
> def set_location(opts = {})
|
879
857
|
|
@@ -889,7 +867,7 @@ __Returns:__
|
|
889
867
|
|
890
868
|
--
|
891
869
|
|
892
|
-
##### [log_event](https://github.com/appium/ruby_lib/blob/
|
870
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L780) common
|
893
871
|
|
894
872
|
> def log_event(vendor:, event:)
|
895
873
|
|
@@ -908,7 +886,7 @@ __Returns:__
|
|
908
886
|
|
909
887
|
--
|
910
888
|
|
911
|
-
##### [log_event=](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L784) common
|
912
890
|
|
913
891
|
> def log_event=(log_event)
|
914
892
|
|
@@ -916,7 +894,7 @@ __Returns:__
|
|
916
894
|
|
917
895
|
--
|
918
896
|
|
919
|
-
##### [log_events](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L803) common
|
920
898
|
|
921
899
|
> def log_events(type = nil)
|
922
900
|
|
@@ -932,7 +910,7 @@ __Returns:__
|
|
932
910
|
|
933
911
|
--
|
934
912
|
|
935
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [x](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/driver.rb#L810) common
|
936
914
|
|
937
915
|
> def x
|
938
916
|
|
@@ -945,7 +923,7 @@ __Returns:__
|
|
945
923
|
|
946
924
|
--
|
947
925
|
|
948
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
926
|
+
##### [username](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L18) common
|
949
927
|
|
950
928
|
> def username
|
951
929
|
|
@@ -953,7 +931,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
953
931
|
|
954
932
|
--
|
955
933
|
|
956
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
934
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L20) common
|
957
935
|
|
958
936
|
> def access_key
|
959
937
|
|
@@ -961,7 +939,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
961
939
|
|
962
940
|
--
|
963
941
|
|
964
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
942
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L22) common
|
965
943
|
|
966
944
|
> def endpoint
|
967
945
|
|
@@ -969,7 +947,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
969
947
|
|
970
948
|
--
|
971
949
|
|
972
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
950
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L47) common
|
973
951
|
|
974
952
|
> def initialize(appium_lib_opts)
|
975
953
|
|
@@ -985,7 +963,7 @@ __Returns:__
|
|
985
963
|
|
986
964
|
--
|
987
965
|
|
988
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L67) common
|
989
967
|
|
990
968
|
> def sauce_server_url?
|
991
969
|
|
@@ -997,7 +975,7 @@ __Returns:__
|
|
997
975
|
|
998
976
|
--
|
999
977
|
|
1000
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
978
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/sauce_labs.rb#L80) common
|
1001
979
|
|
1002
980
|
> def server_url
|
1003
981
|
|
@@ -1009,7 +987,7 @@ __Returns:__
|
|
1009
987
|
|
1010
988
|
--
|
1011
989
|
|
1012
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
990
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/log.rb#L25) common
|
1013
991
|
|
1014
992
|
> def get_log(type)
|
1015
993
|
|
@@ -1025,7 +1003,7 @@ __Returns:__
|
|
1025
1003
|
|
1026
1004
|
--
|
1027
1005
|
|
1028
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/log.rb#L37) common
|
1029
1007
|
|
1030
1008
|
> def get_available_log_types
|
1031
1009
|
|
@@ -1037,7 +1015,7 @@ __Returns:__
|
|
1037
1015
|
|
1038
1016
|
--
|
1039
1017
|
|
1040
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1018
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/wait.rb#L44) common
|
1041
1019
|
|
1042
1020
|
> def wait_true(opts = {})
|
1043
1021
|
|
@@ -1057,7 +1035,7 @@ __Parameters:__
|
|
1057
1035
|
|
1058
1036
|
--
|
1059
1037
|
|
1060
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1038
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/wait.rb#L73) common
|
1061
1039
|
|
1062
1040
|
> def wait(opts = {})
|
1063
1041
|
|
@@ -1075,7 +1053,7 @@ __Parameters:__
|
|
1075
1053
|
|
1076
1054
|
--
|
1077
1055
|
|
1078
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/device.rb#L26) common
|
1079
1057
|
|
1080
1058
|
> def add_touch_actions
|
1081
1059
|
|
@@ -1083,7 +1061,7 @@ __Parameters:__
|
|
1083
1061
|
|
1084
1062
|
--
|
1085
1063
|
|
1086
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/device.rb#L38) common
|
1087
1065
|
|
1088
1066
|
> def delegate_from_appium_driver(method, delegation_target)
|
1089
1067
|
|
@@ -1091,7 +1069,7 @@ __Parameters:__
|
|
1091
1069
|
|
1092
1070
|
--
|
1093
1071
|
|
1094
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1072
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L30) common
|
1095
1073
|
|
1096
1074
|
> def ignore
|
1097
1075
|
|
@@ -1099,7 +1077,7 @@ Return yield and ignore any exceptions.
|
|
1099
1077
|
|
1100
1078
|
--
|
1101
1079
|
|
1102
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1080
|
+
##### [back](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L38) common
|
1103
1081
|
|
1104
1082
|
> def back
|
1105
1083
|
|
@@ -1111,7 +1089,7 @@ __Returns:__
|
|
1111
1089
|
|
1112
1090
|
--
|
1113
1091
|
|
1114
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L49) common
|
1115
1093
|
|
1116
1094
|
> def session_id
|
1117
1095
|
|
@@ -1123,7 +1101,7 @@ __Returns:__
|
|
1123
1101
|
|
1124
1102
|
--
|
1125
1103
|
|
1126
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L57) common
|
1127
1105
|
|
1128
1106
|
> def xpath(xpath_str)
|
1129
1107
|
|
@@ -1139,7 +1117,7 @@ __Returns:__
|
|
1139
1117
|
|
1140
1118
|
--
|
1141
1119
|
|
1142
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L65) common
|
1143
1121
|
|
1144
1122
|
> def xpaths(xpath_str)
|
1145
1123
|
|
@@ -1155,7 +1133,7 @@ __Returns:__
|
|
1155
1133
|
|
1156
1134
|
--
|
1157
1135
|
|
1158
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1136
|
+
##### [result](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L75) common
|
1159
1137
|
|
1160
1138
|
> def result
|
1161
1139
|
|
@@ -1163,7 +1141,7 @@ Returns the value of attribute result.
|
|
1163
1141
|
|
1164
1142
|
--
|
1165
1143
|
|
1166
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1144
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L77) common
|
1167
1145
|
|
1168
1146
|
> def initialize(platform)
|
1169
1147
|
|
@@ -1175,7 +1153,7 @@ __Returns:__
|
|
1175
1153
|
|
1176
1154
|
--
|
1177
1155
|
|
1178
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L82) common
|
1179
1157
|
|
1180
1158
|
> def reset
|
1181
1159
|
|
@@ -1183,7 +1161,7 @@ __Returns:__
|
|
1183
1161
|
|
1184
1162
|
--
|
1185
1163
|
|
1186
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L87) common
|
1187
1165
|
|
1188
1166
|
> def start_element(name, attrs = [])
|
1189
1167
|
|
@@ -1191,7 +1169,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1191
1169
|
|
1192
1170
|
--
|
1193
1171
|
|
1194
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L98) common
|
1195
1173
|
|
1196
1174
|
> def formatted_result
|
1197
1175
|
|
@@ -1199,7 +1177,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1199
1177
|
|
1200
1178
|
--
|
1201
1179
|
|
1202
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L116) common
|
1203
1181
|
|
1204
1182
|
> def get_page_class
|
1205
1183
|
|
@@ -1211,7 +1189,7 @@ __Returns:__
|
|
1211
1189
|
|
1212
1190
|
--
|
1213
1191
|
|
1214
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L141) common
|
1215
1193
|
|
1216
1194
|
> def page_class
|
1217
1195
|
|
@@ -1224,7 +1202,7 @@ __Returns:__
|
|
1224
1202
|
|
1225
1203
|
--
|
1226
1204
|
|
1227
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [source](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L148) common
|
1228
1206
|
|
1229
1207
|
> def source
|
1230
1208
|
|
@@ -1236,7 +1214,7 @@ __Returns:__
|
|
1236
1214
|
|
1237
1215
|
--
|
1238
1216
|
|
1239
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L155) common
|
1240
1218
|
|
1241
1219
|
> def get_source
|
1242
1220
|
|
@@ -1249,7 +1227,7 @@ __Returns:__
|
|
1249
1227
|
|
1250
1228
|
--
|
1251
1229
|
|
1252
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1230
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L165) common
|
1253
1231
|
|
1254
1232
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1255
1233
|
|
@@ -1257,7 +1235,7 @@ Converts pixel values to window relative values
|
|
1257
1235
|
|
1258
1236
|
--
|
1259
1237
|
|
1260
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1238
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L184) common
|
1261
1239
|
|
1262
1240
|
> def xml_keys(target)
|
1263
1241
|
|
@@ -1273,7 +1251,7 @@ __Returns:__
|
|
1273
1251
|
|
1274
1252
|
--
|
1275
1253
|
|
1276
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L192) common
|
1277
1255
|
|
1278
1256
|
> def xml_values(target)
|
1279
1257
|
|
@@ -1289,7 +1267,7 @@ __Returns:__
|
|
1289
1267
|
|
1290
1268
|
--
|
1291
1269
|
|
1292
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L200) common
|
1293
1271
|
|
1294
1272
|
> def resolve_id(id)
|
1295
1273
|
|
@@ -1305,7 +1283,7 @@ __Returns:__
|
|
1305
1283
|
|
1306
1284
|
--
|
1307
1285
|
|
1308
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L207) common
|
1309
1287
|
|
1310
1288
|
> def filter
|
1311
1289
|
|
@@ -1313,7 +1291,7 @@ Returns the value of attribute filter.
|
|
1313
1291
|
|
1314
1292
|
--
|
1315
1293
|
|
1316
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1294
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L210) common
|
1317
1295
|
|
1318
1296
|
> def filter=(value)
|
1319
1297
|
|
@@ -1321,7 +1299,7 @@ convert to string to support symbols
|
|
1321
1299
|
|
1322
1300
|
--
|
1323
1301
|
|
1324
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1302
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L217) common
|
1325
1303
|
|
1326
1304
|
> def initialize
|
1327
1305
|
|
@@ -1333,7 +1311,7 @@ __Returns:__
|
|
1333
1311
|
|
1334
1312
|
--
|
1335
1313
|
|
1336
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1314
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L222) common
|
1337
1315
|
|
1338
1316
|
> def reset
|
1339
1317
|
|
@@ -1341,7 +1319,7 @@ __Returns:__
|
|
1341
1319
|
|
1342
1320
|
--
|
1343
1321
|
|
1344
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1322
|
+
##### [result](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L228) common
|
1345
1323
|
|
1346
1324
|
> def result
|
1347
1325
|
|
@@ -1349,7 +1327,7 @@ __Returns:__
|
|
1349
1327
|
|
1350
1328
|
--
|
1351
1329
|
|
1352
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L242) common
|
1353
1331
|
|
1354
1332
|
> def start_element(name, attrs = [])
|
1355
1333
|
|
@@ -1357,7 +1335,7 @@ __Returns:__
|
|
1357
1335
|
|
1358
1336
|
--
|
1359
1337
|
|
1360
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1338
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L252) common
|
1361
1339
|
|
1362
1340
|
> def end_element(name)
|
1363
1341
|
|
@@ -1365,7 +1343,7 @@ __Returns:__
|
|
1365
1343
|
|
1366
1344
|
--
|
1367
1345
|
|
1368
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1346
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/helper.rb#L259) common
|
1369
1347
|
|
1370
1348
|
> def characters(chars)
|
1371
1349
|
|
@@ -1373,7 +1351,7 @@ __Returns:__
|
|
1373
1351
|
|
1374
1352
|
--
|
1375
1353
|
|
1376
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/multi_touch.rb#L65) common
|
1377
1355
|
|
1378
1356
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1379
1357
|
|
@@ -1393,7 +1371,7 @@ __Parameters:__
|
|
1393
1371
|
|
1394
1372
|
--
|
1395
1373
|
|
1396
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/multi_touch.rb#L108) common
|
1397
1375
|
|
1398
1376
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1399
1377
|
|
@@ -1413,7 +1391,7 @@ __Parameters:__
|
|
1413
1391
|
|
1414
1392
|
--
|
1415
1393
|
|
1416
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/multi_touch.rb#L194) common
|
1417
1395
|
|
1418
1396
|
> def initialize(driver = $driver)
|
1419
1397
|
|
@@ -1425,7 +1403,7 @@ __Returns:__
|
|
1425
1403
|
|
1426
1404
|
--
|
1427
1405
|
|
1428
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/touch_actions.rb#L62) common
|
1429
1407
|
|
1430
1408
|
> def initialize(driver = $driver)
|
1431
1409
|
|
@@ -1437,7 +1415,7 @@ __Returns:__
|
|
1437
1415
|
|
1438
1416
|
--
|
1439
1417
|
|
1440
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1418
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/touch_actions.rb#L66) common
|
1441
1419
|
|
1442
1420
|
> def swipe(opts)
|
1443
1421
|
|
@@ -1445,7 +1423,7 @@ __Returns:__
|
|
1445
1423
|
|
1446
1424
|
--
|
1447
1425
|
|
1448
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1449
1427
|
|
1450
1428
|
> def initialize(url:, output_file: 'logcat.log')
|
1451
1429
|
|
@@ -1457,7 +1435,7 @@ __Returns:__
|
|
1457
1435
|
|
1458
1436
|
--
|
1459
1437
|
|
1460
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1438
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1461
1439
|
|
1462
1440
|
> def handle_message_data(data)
|
1463
1441
|
|
@@ -1465,7 +1443,7 @@ __Returns:__
|
|
1465
1443
|
|
1466
1444
|
--
|
1467
1445
|
|
1468
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1446
|
+
##### [for](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/android.rb#L33) android
|
1469
1447
|
|
1470
1448
|
> def for(target)
|
1471
1449
|
|
@@ -1473,7 +1451,7 @@ __Returns:__
|
|
1473
1451
|
|
1474
1452
|
--
|
1475
1453
|
|
1476
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1454
|
+
##### [text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/text.rb#L25) android
|
1477
1455
|
|
1478
1456
|
> def text(value)
|
1479
1457
|
|
@@ -1490,7 +1468,7 @@ __Returns:__
|
|
1490
1468
|
|
1491
1469
|
--
|
1492
1470
|
|
1493
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/text.rb#L35) android
|
1494
1472
|
|
1495
1473
|
> def texts(value = false)
|
1496
1474
|
|
@@ -1507,7 +1485,7 @@ __Returns:__
|
|
1507
1485
|
|
1508
1486
|
--
|
1509
1487
|
|
1510
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/text.rb#L43) android
|
1511
1489
|
|
1512
1490
|
> def first_text
|
1513
1491
|
|
@@ -1519,7 +1497,7 @@ __Returns:__
|
|
1519
1497
|
|
1520
1498
|
--
|
1521
1499
|
|
1522
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1500
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/text.rb#L49) android
|
1523
1501
|
|
1524
1502
|
> def last_text
|
1525
1503
|
|
@@ -1531,7 +1509,7 @@ __Returns:__
|
|
1531
1509
|
|
1532
1510
|
--
|
1533
1511
|
|
1534
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1512
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/text.rb#L56) android
|
1535
1513
|
|
1536
1514
|
> def text_exact(value)
|
1537
1515
|
|
@@ -1547,7 +1525,7 @@ __Returns:__
|
|
1547
1525
|
|
1548
1526
|
--
|
1549
1527
|
|
1550
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1528
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/text.rb#L63) android
|
1551
1529
|
|
1552
1530
|
> def texts_exact(value)
|
1553
1531
|
|
@@ -1563,7 +1541,7 @@ __Returns:__
|
|
1563
1541
|
|
1564
1542
|
--
|
1565
1543
|
|
1566
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [result](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L20) android
|
1567
1545
|
|
1568
1546
|
> def result
|
1569
1547
|
|
@@ -1571,7 +1549,7 @@ Returns the value of attribute result.
|
|
1571
1549
|
|
1572
1550
|
--
|
1573
1551
|
|
1574
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1552
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L20) android
|
1575
1553
|
|
1576
1554
|
> def keys
|
1577
1555
|
|
@@ -1579,7 +1557,7 @@ Returns the value of attribute keys.
|
|
1579
1557
|
|
1580
1558
|
--
|
1581
1559
|
|
1582
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1560
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L20) android
|
1583
1561
|
|
1584
1562
|
> def filter
|
1585
1563
|
|
@@ -1587,7 +1565,7 @@ Returns the value of attribute filter.
|
|
1587
1565
|
|
1588
1566
|
--
|
1589
1567
|
|
1590
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1568
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L23) android
|
1591
1569
|
|
1592
1570
|
> def filter=(value)
|
1593
1571
|
|
@@ -1595,7 +1573,7 @@ convert to string to support symbols
|
|
1595
1573
|
|
1596
1574
|
--
|
1597
1575
|
|
1598
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1576
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L30) android
|
1599
1577
|
|
1600
1578
|
> def initialize
|
1601
1579
|
|
@@ -1607,7 +1585,7 @@ __Returns:__
|
|
1607
1585
|
|
1608
1586
|
--
|
1609
1587
|
|
1610
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1588
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L35) android
|
1611
1589
|
|
1612
1590
|
> def reset
|
1613
1591
|
|
@@ -1615,7 +1593,7 @@ __Returns:__
|
|
1615
1593
|
|
1616
1594
|
--
|
1617
1595
|
|
1618
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1596
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L41) android
|
1619
1597
|
|
1620
1598
|
> def start_element(name, attrs = [], driver = $driver)
|
1621
1599
|
|
@@ -1623,7 +1601,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1623
1601
|
|
1624
1602
|
--
|
1625
1603
|
|
1626
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1604
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L95) android
|
1627
1605
|
|
1628
1606
|
> def get_android_inspect(class_name = false)
|
1629
1607
|
|
@@ -1642,7 +1620,7 @@ __Returns:__
|
|
1642
1620
|
|
1643
1621
|
--
|
1644
1622
|
|
1645
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1623
|
+
##### [page](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L121) android
|
1646
1624
|
|
1647
1625
|
> def page(opts = {})
|
1648
1626
|
|
@@ -1661,7 +1639,7 @@ __Returns:__
|
|
1661
1639
|
|
1662
1640
|
--
|
1663
1641
|
|
1664
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1642
|
+
##### [id](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L130) android
|
1665
1643
|
|
1666
1644
|
> def id(id)
|
1667
1645
|
|
@@ -1677,7 +1655,7 @@ __Returns:__
|
|
1677
1655
|
|
1678
1656
|
--
|
1679
1657
|
|
1680
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1658
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L138) android
|
1681
1659
|
|
1682
1660
|
> def ids(id)
|
1683
1661
|
|
@@ -1693,7 +1671,7 @@ __Returns:__
|
|
1693
1671
|
|
1694
1672
|
--
|
1695
1673
|
|
1696
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1674
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L147) android
|
1697
1675
|
|
1698
1676
|
> def ele_index(class_name, index)
|
1699
1677
|
|
@@ -1711,7 +1689,7 @@ __Returns:__
|
|
1711
1689
|
|
1712
1690
|
--
|
1713
1691
|
|
1714
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1692
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L166) android
|
1715
1693
|
|
1716
1694
|
> def first_ele(class_name)
|
1717
1695
|
|
@@ -1727,7 +1705,7 @@ __Returns:__
|
|
1727
1705
|
|
1728
1706
|
--
|
1729
1707
|
|
1730
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L173) android
|
1731
1709
|
|
1732
1710
|
> def last_ele(class_name)
|
1733
1711
|
|
@@ -1743,7 +1721,7 @@ __Returns:__
|
|
1743
1721
|
|
1744
1722
|
--
|
1745
1723
|
|
1746
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L181) android
|
1747
1725
|
|
1748
1726
|
> def tag(class_name)
|
1749
1727
|
|
@@ -1759,7 +1737,7 @@ __Returns:__
|
|
1759
1737
|
|
1760
1738
|
--
|
1761
1739
|
|
1762
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1740
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L189) android
|
1763
1741
|
|
1764
1742
|
> def tags(class_name)
|
1765
1743
|
|
@@ -1775,7 +1753,7 @@ __Returns:__
|
|
1775
1753
|
|
1776
1754
|
--
|
1777
1755
|
|
1778
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1756
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L232) android
|
1779
1757
|
|
1780
1758
|
> def string_visible_contains_xpath(class_name, value)
|
1781
1759
|
|
@@ -1796,7 +1774,7 @@ __Returns:__
|
|
1796
1774
|
|
1797
1775
|
--
|
1798
1776
|
|
1799
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1777
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L252) android
|
1800
1778
|
|
1801
1779
|
> def string_visible_contains(class_name, value)
|
1802
1780
|
|
@@ -1817,7 +1795,7 @@ __Returns:__
|
|
1817
1795
|
|
1818
1796
|
--
|
1819
1797
|
|
1820
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1798
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L270) android
|
1821
1799
|
|
1822
1800
|
> def complex_find_contains(class_name, value)
|
1823
1801
|
|
@@ -1835,7 +1813,7 @@ __Returns:__
|
|
1835
1813
|
|
1836
1814
|
--
|
1837
1815
|
|
1838
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1816
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L278) android
|
1839
1817
|
|
1840
1818
|
> def complex_finds_contains(class_name, value)
|
1841
1819
|
|
@@ -1853,7 +1831,7 @@ __Returns:__
|
|
1853
1831
|
|
1854
1832
|
--
|
1855
1833
|
|
1856
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L320) android
|
1857
1835
|
|
1858
1836
|
> def complex_find_exact(class_name, value)
|
1859
1837
|
|
@@ -1871,7 +1849,7 @@ __Returns:__
|
|
1871
1849
|
|
1872
1850
|
--
|
1873
1851
|
|
1874
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1852
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/helper.rb#L328) android
|
1875
1853
|
|
1876
1854
|
> def complex_finds_exact(class_name, value)
|
1877
1855
|
|
@@ -1889,7 +1867,7 @@ __Returns:__
|
|
1889
1867
|
|
1890
1868
|
--
|
1891
1869
|
|
1892
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1870
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/alert.rb#L20) android
|
1893
1871
|
|
1894
1872
|
> def alert_click(value)
|
1895
1873
|
|
@@ -1905,7 +1883,7 @@ __Returns:__
|
|
1905
1883
|
|
1906
1884
|
--
|
1907
1885
|
|
1908
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1886
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/alert.rb#L27) android
|
1909
1887
|
|
1910
1888
|
> def alert_accept
|
1911
1889
|
|
@@ -1918,7 +1896,7 @@ __Returns:__
|
|
1918
1896
|
|
1919
1897
|
--
|
1920
1898
|
|
1921
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/alert.rb#L34) android
|
1922
1900
|
|
1923
1901
|
> def alert_accept_text
|
1924
1902
|
|
@@ -1931,7 +1909,7 @@ __Returns:__
|
|
1931
1909
|
|
1932
1910
|
--
|
1933
1911
|
|
1934
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1912
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/alert.rb#L41) android
|
1935
1913
|
|
1936
1914
|
> def alert_dismiss
|
1937
1915
|
|
@@ -1944,7 +1922,7 @@ __Returns:__
|
|
1944
1922
|
|
1945
1923
|
--
|
1946
1924
|
|
1947
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1925
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/alert.rb#L48) android
|
1948
1926
|
|
1949
1927
|
> def alert_dismiss_text
|
1950
1928
|
|
@@ -1957,7 +1935,7 @@ __Returns:__
|
|
1957
1935
|
|
1958
1936
|
--
|
1959
1937
|
|
1960
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1938
|
+
##### [button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L27) android
|
1961
1939
|
|
1962
1940
|
> def button(value)
|
1963
1941
|
|
@@ -1974,7 +1952,7 @@ __Returns:__
|
|
1974
1952
|
|
1975
1953
|
--
|
1976
1954
|
|
1977
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1955
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L45) android
|
1978
1956
|
|
1979
1957
|
> def buttons(value = false)
|
1980
1958
|
|
@@ -1991,7 +1969,7 @@ __Returns:__
|
|
1991
1969
|
|
1992
1970
|
--
|
1993
1971
|
|
1994
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1972
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L53) android
|
1995
1973
|
|
1996
1974
|
> def first_button
|
1997
1975
|
|
@@ -2003,7 +1981,7 @@ __Returns:__
|
|
2003
1981
|
|
2004
1982
|
--
|
2005
1983
|
|
2006
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1984
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L59) android
|
2007
1985
|
|
2008
1986
|
> def last_button
|
2009
1987
|
|
@@ -2015,7 +1993,7 @@ __Returns:__
|
|
2015
1993
|
|
2016
1994
|
--
|
2017
1995
|
|
2018
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1996
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L75) android
|
2019
1997
|
|
2020
1998
|
> def button_exact(value)
|
2021
1999
|
|
@@ -2031,7 +2009,7 @@ __Returns:__
|
|
2031
2009
|
|
2032
2010
|
--
|
2033
2011
|
|
2034
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2012
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L82) android
|
2035
2013
|
|
2036
2014
|
> def buttons_exact(value)
|
2037
2015
|
|
@@ -2047,7 +2025,7 @@ __Returns:__
|
|
2047
2025
|
|
2048
2026
|
--
|
2049
2027
|
|
2050
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2028
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L95) android
|
2051
2029
|
|
2052
2030
|
> def _button_visible_selectors(opts = {})
|
2053
2031
|
|
@@ -2055,7 +2033,7 @@ __Returns:__
|
|
2055
2033
|
|
2056
2034
|
--
|
2057
2035
|
|
2058
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L108) android
|
2059
2037
|
|
2060
2038
|
> def _button_exact_string(value)
|
2061
2039
|
|
@@ -2063,7 +2041,7 @@ __Returns:__
|
|
2063
2041
|
|
2064
2042
|
--
|
2065
2043
|
|
2066
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2044
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/button.rb#L114) android
|
2067
2045
|
|
2068
2046
|
> def _button_contains_string(value)
|
2069
2047
|
|
@@ -2071,7 +2049,7 @@ __Returns:__
|
|
2071
2049
|
|
2072
2050
|
--
|
2073
2051
|
|
2074
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2052
|
+
##### [find](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/generic.rb#L20) android
|
2075
2053
|
|
2076
2054
|
> def find(value)
|
2077
2055
|
|
@@ -2087,7 +2065,7 @@ __Returns:__
|
|
2087
2065
|
|
2088
2066
|
--
|
2089
2067
|
|
2090
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2068
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/generic.rb#L27) android
|
2091
2069
|
|
2092
2070
|
> def finds(value)
|
2093
2071
|
|
@@ -2103,7 +2081,7 @@ __Returns:__
|
|
2103
2081
|
|
2104
2082
|
--
|
2105
2083
|
|
2106
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2084
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/generic.rb#L34) android
|
2107
2085
|
|
2108
2086
|
> def find_exact(value)
|
2109
2087
|
|
@@ -2119,7 +2097,7 @@ __Returns:__
|
|
2119
2097
|
|
2120
2098
|
--
|
2121
2099
|
|
2122
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2100
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/generic.rb#L41) android
|
2123
2101
|
|
2124
2102
|
> def finds_exact(value)
|
2125
2103
|
|
@@ -2135,7 +2113,7 @@ __Returns:__
|
|
2135
2113
|
|
2136
2114
|
--
|
2137
2115
|
|
2138
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2116
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/generic.rb#L54) android
|
2139
2117
|
|
2140
2118
|
> def scroll_to(text, scrollable_index = 0)
|
2141
2119
|
|
@@ -2153,7 +2131,7 @@ __Returns:__
|
|
2153
2131
|
|
2154
2132
|
--
|
2155
2133
|
|
2156
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2134
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/generic.rb#L70) android
|
2157
2135
|
|
2158
2136
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2159
2137
|
|
@@ -2171,7 +2149,7 @@ __Returns:__
|
|
2171
2149
|
|
2172
2150
|
--
|
2173
2151
|
|
2174
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2152
|
+
##### [for](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2175
2153
|
|
2176
2154
|
> def for(target)
|
2177
2155
|
|
@@ -2179,7 +2157,7 @@ __Returns:__
|
|
2179
2157
|
|
2180
2158
|
--
|
2181
2159
|
|
2182
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2160
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2183
2161
|
|
2184
2162
|
> def complex_find_contains(class_name, value)
|
2185
2163
|
|
@@ -2197,7 +2175,7 @@ __Returns:__
|
|
2197
2175
|
|
2198
2176
|
--
|
2199
2177
|
|
2200
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2178
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2201
2179
|
|
2202
2180
|
> def complex_finds_contains(class_name, value)
|
2203
2181
|
|
@@ -2215,7 +2193,7 @@ __Returns:__
|
|
2215
2193
|
|
2216
2194
|
--
|
2217
2195
|
|
2218
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2196
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2219
2197
|
|
2220
2198
|
> def complex_find_exact(class_name, value)
|
2221
2199
|
|
@@ -2233,7 +2211,7 @@ __Returns:__
|
|
2233
2211
|
|
2234
2212
|
--
|
2235
2213
|
|
2236
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2214
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2237
2215
|
|
2238
2216
|
> def complex_finds_exact(class_name, value)
|
2239
2217
|
|
@@ -2251,7 +2229,7 @@ __Returns:__
|
|
2251
2229
|
|
2252
2230
|
--
|
2253
2231
|
|
2254
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2232
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/textfield.rb#L24) android
|
2255
2233
|
|
2256
2234
|
> def textfield(value)
|
2257
2235
|
|
@@ -2268,7 +2246,7 @@ __Returns:__
|
|
2268
2246
|
|
2269
2247
|
--
|
2270
2248
|
|
2271
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2249
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/textfield.rb#L34) android
|
2272
2250
|
|
2273
2251
|
> def textfields(value = false)
|
2274
2252
|
|
@@ -2285,7 +2263,7 @@ __Returns:__
|
|
2285
2263
|
|
2286
2264
|
--
|
2287
2265
|
|
2288
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2266
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/textfield.rb#L42) android
|
2289
2267
|
|
2290
2268
|
> def first_textfield
|
2291
2269
|
|
@@ -2297,7 +2275,7 @@ __Returns:__
|
|
2297
2275
|
|
2298
2276
|
--
|
2299
2277
|
|
2300
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2278
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/textfield.rb#L48) android
|
2301
2279
|
|
2302
2280
|
> def last_textfield
|
2303
2281
|
|
@@ -2309,7 +2287,7 @@ __Returns:__
|
|
2309
2287
|
|
2310
2288
|
--
|
2311
2289
|
|
2312
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2290
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/textfield.rb#L55) android
|
2313
2291
|
|
2314
2292
|
> def textfield_exact(value)
|
2315
2293
|
|
@@ -2325,7 +2303,7 @@ __Returns:__
|
|
2325
2303
|
|
2326
2304
|
--
|
2327
2305
|
|
2328
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2306
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/element/textfield.rb#L62) android
|
2329
2307
|
|
2330
2308
|
> def textfields_exact(value)
|
2331
2309
|
|
@@ -2341,7 +2319,7 @@ __Returns:__
|
|
2341
2319
|
|
2342
2320
|
--
|
2343
2321
|
|
2344
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2322
|
+
##### [for](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2345
2323
|
|
2346
2324
|
> def for(target)
|
2347
2325
|
|
@@ -2349,7 +2327,7 @@ __Returns:__
|
|
2349
2327
|
|
2350
2328
|
--
|
2351
2329
|
|
2352
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2330
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2353
2331
|
|
2354
2332
|
> def string_visible_contains(class_name, value)
|
2355
2333
|
|
@@ -2370,7 +2348,7 @@ __Returns:__
|
|
2370
2348
|
|
2371
2349
|
--
|
2372
2350
|
|
2373
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2351
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2374
2352
|
|
2375
2353
|
> def complex_find_contains(class_name, value)
|
2376
2354
|
|
@@ -2388,7 +2366,7 @@ __Returns:__
|
|
2388
2366
|
|
2389
2367
|
--
|
2390
2368
|
|
2391
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2369
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2392
2370
|
|
2393
2371
|
> def complex_finds_contains(class_name, value)
|
2394
2372
|
|
@@ -2406,7 +2384,7 @@ __Returns:__
|
|
2406
2384
|
|
2407
2385
|
--
|
2408
2386
|
|
2409
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2387
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2410
2388
|
|
2411
2389
|
> def complex_find_exact(class_name, value)
|
2412
2390
|
|
@@ -2424,7 +2402,7 @@ __Returns:__
|
|
2424
2402
|
|
2425
2403
|
--
|
2426
2404
|
|
2427
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2405
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2428
2406
|
|
2429
2407
|
> def complex_finds_exact(class_name, value)
|
2430
2408
|
|
@@ -2442,7 +2420,7 @@ __Returns:__
|
|
2442
2420
|
|
2443
2421
|
--
|
2444
2422
|
|
2445
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2423
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/command/command.rb#L28) android
|
2446
2424
|
|
2447
2425
|
> def shell(command, arguments)
|
2448
2426
|
|
@@ -2457,7 +2435,7 @@ __Parameters:__
|
|
2457
2435
|
|
2458
2436
|
--
|
2459
2437
|
|
2460
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/command/command.rb#L42) android
|
2461
2439
|
|
2462
2440
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2463
2441
|
|
@@ -2469,7 +2447,7 @@ __Parameters:__
|
|
2469
2447
|
|
2470
2448
|
--
|
2471
2449
|
|
2472
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2450
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/common/command/command.rb#L55) android
|
2473
2451
|
|
2474
2452
|
> def stop_logs_broadcast
|
2475
2453
|
|
@@ -2477,7 +2455,7 @@ Stop Android logcat broadcast websocket
|
|
2477
2455
|
|
2478
2456
|
--
|
2479
2457
|
|
2480
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2458
|
+
##### [button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2481
2459
|
|
2482
2460
|
> def button(value)
|
2483
2461
|
|
@@ -2494,7 +2472,7 @@ __Returns:__
|
|
2494
2472
|
|
2495
2473
|
--
|
2496
2474
|
|
2497
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2475
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2498
2476
|
|
2499
2477
|
> def buttons(value = false)
|
2500
2478
|
|
@@ -2511,7 +2489,7 @@ __Returns:__
|
|
2511
2489
|
|
2512
2490
|
--
|
2513
2491
|
|
2514
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2492
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2515
2493
|
|
2516
2494
|
> def first_button
|
2517
2495
|
|
@@ -2523,7 +2501,7 @@ __Returns:__
|
|
2523
2501
|
|
2524
2502
|
--
|
2525
2503
|
|
2526
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2504
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2527
2505
|
|
2528
2506
|
> def last_button
|
2529
2507
|
|
@@ -2535,7 +2513,7 @@ __Returns:__
|
|
2535
2513
|
|
2536
2514
|
--
|
2537
2515
|
|
2538
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2516
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2539
2517
|
|
2540
2518
|
> def button_exact(value)
|
2541
2519
|
|
@@ -2551,7 +2529,7 @@ __Returns:__
|
|
2551
2529
|
|
2552
2530
|
--
|
2553
2531
|
|
2554
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2532
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2555
2533
|
|
2556
2534
|
> def buttons_exact(value)
|
2557
2535
|
|
@@ -2567,7 +2545,7 @@ __Returns:__
|
|
2567
2545
|
|
2568
2546
|
--
|
2569
2547
|
|
2570
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2571
2549
|
|
2572
2550
|
> def _button_visible_selectors_xpath(opts = {})
|
2573
2551
|
|
@@ -2575,7 +2553,7 @@ __Returns:__
|
|
2575
2553
|
|
2576
2554
|
--
|
2577
2555
|
|
2578
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2556
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2579
2557
|
|
2580
2558
|
> def _button_exact_string_xpath(class_name, value)
|
2581
2559
|
|
@@ -2583,7 +2561,7 @@ __Returns:__
|
|
2583
2561
|
|
2584
2562
|
--
|
2585
2563
|
|
2586
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2564
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2587
2565
|
|
2588
2566
|
> def _button_contains_string_xpath(class_name, value)
|
2589
2567
|
|
@@ -2591,7 +2569,7 @@ __Returns:__
|
|
2591
2569
|
|
2592
2570
|
--
|
2593
2571
|
|
2594
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2572
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2595
2573
|
|
2596
2574
|
> def scroll_to(text)
|
2597
2575
|
|
@@ -2608,7 +2586,7 @@ __Returns:__
|
|
2608
2586
|
|
2609
2587
|
--
|
2610
2588
|
|
2611
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2589
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/espresso/element/generic.rb#L48) android
|
2612
2590
|
|
2613
2591
|
> def scroll_to_exact(text)
|
2614
2592
|
|
@@ -2625,7 +2603,7 @@ __Returns:__
|
|
2625
2603
|
|
2626
2604
|
--
|
2627
2605
|
|
2628
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2606
|
+
##### [button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2629
2607
|
|
2630
2608
|
> def button(value)
|
2631
2609
|
|
@@ -2642,7 +2620,7 @@ __Returns:__
|
|
2642
2620
|
|
2643
2621
|
--
|
2644
2622
|
|
2645
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2623
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2646
2624
|
|
2647
2625
|
> def buttons(value = false)
|
2648
2626
|
|
@@ -2659,7 +2637,7 @@ __Returns:__
|
|
2659
2637
|
|
2660
2638
|
--
|
2661
2639
|
|
2662
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2640
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2663
2641
|
|
2664
2642
|
> def first_button
|
2665
2643
|
|
@@ -2671,7 +2649,7 @@ __Returns:__
|
|
2671
2649
|
|
2672
2650
|
--
|
2673
2651
|
|
2674
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2652
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2675
2653
|
|
2676
2654
|
> def last_button
|
2677
2655
|
|
@@ -2683,7 +2661,7 @@ __Returns:__
|
|
2683
2661
|
|
2684
2662
|
--
|
2685
2663
|
|
2686
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2687
2665
|
|
2688
2666
|
> def button_exact(value)
|
2689
2667
|
|
@@ -2699,7 +2677,7 @@ __Returns:__
|
|
2699
2677
|
|
2700
2678
|
--
|
2701
2679
|
|
2702
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2680
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/3060ef3bf06c19a79731a49985efa75c3337dd27/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2703
2681
|
|
2704
2682
|
> def buttons_exact(value)
|
2705
2683
|
|