appium_lib 13.0.2 → 15.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/.github/workflows/rubocop.yml +4 -2
- data/CHANGELOG.md +13 -1
- data/Rakefile +8 -0
- data/appium_lib.gemspec +4 -3
- data/docs/android_docs.md +198 -303
- data/docs/ios_docs.md +236 -341
- data/docs/w3c.md +5 -1
- data/lib/appium_lib/appium.rb +0 -2
- data/lib/appium_lib/common/device.rb +0 -24
- data/lib/appium_lib/driver.rb +3 -10
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +21 -0
- data/test/first_test.rb +29 -0
- metadata +28 -27
- data/lib/appium_lib/common/multi_touch.rb +0 -198
- data/lib/appium_lib/common/touch_actions.rb +0 -76
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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L58) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L106) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L111) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L153) 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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/appium.rb#L207) 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/203a6052db42039c89cd000f245f1534379bc86b/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/203a6052db42039c89cd000f245f1534379bc86b/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/203a6052db42039c89cd000f245f1534379bc86b/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/203a6052db42039c89cd000f245f1534379bc86b/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/203a6052db42039c89cd000f245f1534379bc86b/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/203a6052db42039c89cd000f245f1534379bc86b/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/203a6052db42039c89cd000f245f1534379bc86b/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/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,23 +184,7 @@ Returns the value of attribute custom_url.
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [
|
188
|
-
|
189
|
-
> def export_session
|
190
|
-
|
191
|
-
Returns the value of attribute export_session.
|
192
|
-
|
193
|
-
--
|
194
|
-
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/driver.rb#L68) common
|
196
|
-
|
197
|
-
> def export_session_path
|
198
|
-
|
199
|
-
Returns the value of attribute export_session_path.
|
200
|
-
|
201
|
-
--
|
202
|
-
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/driver.rb#L69) common
|
187
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L67) common
|
204
188
|
|
205
189
|
> def default_wait
|
206
190
|
|
@@ -208,7 +192,7 @@ Returns the value of attribute default_wait.
|
|
208
192
|
|
209
193
|
--
|
210
194
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L68) common
|
212
196
|
|
213
197
|
> def appium_port
|
214
198
|
|
@@ -216,7 +200,7 @@ Returns the value of attribute appium_port.
|
|
216
200
|
|
217
201
|
--
|
218
202
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L69) common
|
220
204
|
|
221
205
|
> def appium_device
|
222
206
|
|
@@ -224,7 +208,7 @@ Returns the value of attribute appium_device.
|
|
224
208
|
|
225
209
|
--
|
226
210
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L70) common
|
228
212
|
|
229
213
|
> def automation_name
|
230
214
|
|
@@ -232,7 +216,7 @@ Returns the value of attribute automation_name.
|
|
232
216
|
|
233
217
|
--
|
234
218
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L71) common
|
236
220
|
|
237
221
|
> def listener
|
238
222
|
|
@@ -240,7 +224,7 @@ Returns the value of attribute listener.
|
|
240
224
|
|
241
225
|
--
|
242
226
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L72) common
|
244
228
|
|
245
229
|
> def http_client
|
246
230
|
|
@@ -248,7 +232,7 @@ Returns the value of attribute http_client.
|
|
248
232
|
|
249
233
|
--
|
250
234
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L73) common
|
252
236
|
|
253
237
|
> def appium_wait_timeout
|
254
238
|
|
@@ -256,7 +240,7 @@ Returns the value of attribute appium_wait_timeout.
|
|
256
240
|
|
257
241
|
--
|
258
242
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L74) common
|
260
244
|
|
261
245
|
> def appium_wait_interval
|
262
246
|
|
@@ -264,7 +248,7 @@ Returns the value of attribute appium_wait_interval.
|
|
264
248
|
|
265
249
|
--
|
266
250
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L77) common
|
268
252
|
|
269
253
|
> def appium_server_status
|
270
254
|
|
@@ -272,7 +256,7 @@ Appium's server version
|
|
272
256
|
|
273
257
|
--
|
274
258
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L79) common
|
276
260
|
|
277
261
|
> def appium_debug
|
278
262
|
|
@@ -280,7 +264,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
264
|
|
281
265
|
--
|
282
266
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L82) common
|
284
268
|
|
285
269
|
> def driver
|
286
270
|
|
@@ -292,7 +276,7 @@ __Returns:__
|
|
292
276
|
|
293
277
|
--
|
294
278
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
279
|
+
##### [core](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L84) common
|
296
280
|
|
297
281
|
> def core
|
298
282
|
|
@@ -300,7 +284,7 @@ Instance of Appium::Core::Driver
|
|
300
284
|
|
301
285
|
--
|
302
286
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
287
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L153) common
|
304
288
|
|
305
289
|
> def initialize(opts = {}, global_driver = false)
|
306
290
|
|
@@ -319,7 +303,7 @@ __Returns:__
|
|
319
303
|
|
320
304
|
--
|
321
305
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L273) common
|
323
307
|
|
324
308
|
> def driver_attributes
|
325
309
|
|
@@ -327,7 +311,7 @@ Returns a hash of the driver attributes
|
|
327
311
|
|
328
312
|
--
|
329
313
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L291) common
|
331
315
|
|
332
316
|
> def device_is_android?
|
333
317
|
|
@@ -339,7 +323,7 @@ __Returns:__
|
|
339
323
|
|
340
324
|
--
|
341
325
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
326
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L295) common
|
343
327
|
|
344
328
|
> def device_is_ios?
|
345
329
|
|
@@ -351,7 +335,7 @@ __Returns:__
|
|
351
335
|
|
352
336
|
--
|
353
337
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
338
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L299) common
|
355
339
|
|
356
340
|
> def device_is_windows?
|
357
341
|
|
@@ -363,7 +347,7 @@ __Returns:__
|
|
363
347
|
|
364
348
|
--
|
365
349
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
350
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L305) common
|
367
351
|
|
368
352
|
> def automation_name_is_uiautomator2?
|
369
353
|
|
@@ -375,7 +359,7 @@ __Returns:__
|
|
375
359
|
|
376
360
|
--
|
377
361
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L311) common
|
379
363
|
|
380
364
|
> def automation_name_is_espresso?
|
381
365
|
|
@@ -387,7 +371,7 @@ __Returns:__
|
|
387
371
|
|
388
372
|
--
|
389
373
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
374
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L317) common
|
391
375
|
|
392
376
|
> def automation_name_is_xcuitest?
|
393
377
|
|
@@ -399,7 +383,7 @@ __Returns:__
|
|
399
383
|
|
400
384
|
--
|
401
385
|
|
402
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
386
|
+
##### [action](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L331) common
|
403
387
|
|
404
388
|
> def action
|
405
389
|
|
@@ -408,11 +392,11 @@ Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridg
|
|
408
392
|
|
409
393
|
__Returns:__
|
410
394
|
|
411
|
-
[
|
395
|
+
[Selenium::WebDriver::PointerActions]
|
412
396
|
|
413
397
|
--
|
414
398
|
|
415
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
399
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L346) common
|
416
400
|
|
417
401
|
> def appium_server_version
|
418
402
|
|
@@ -424,7 +408,7 @@ __Returns:__
|
|
424
408
|
|
425
409
|
--
|
426
410
|
|
427
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
411
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L354) common
|
428
412
|
|
429
413
|
> def appium_server_version
|
430
414
|
|
@@ -436,7 +420,7 @@ __Returns:__
|
|
436
420
|
|
437
421
|
--
|
438
422
|
|
439
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
423
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L358) common
|
440
424
|
|
441
425
|
> def platform_version
|
442
426
|
|
@@ -448,7 +432,7 @@ __Returns:__
|
|
448
432
|
|
449
433
|
--
|
450
434
|
|
451
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
435
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L374) common
|
452
436
|
|
453
437
|
> def appium_client_version
|
454
438
|
|
@@ -460,7 +444,7 @@ __Returns:__
|
|
460
444
|
|
461
445
|
--
|
462
446
|
|
463
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
447
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L386) common
|
464
448
|
|
465
449
|
> def absolute_app_path(opts)
|
466
450
|
|
@@ -477,7 +461,7 @@ __Returns:__
|
|
477
461
|
|
478
462
|
--
|
479
463
|
|
480
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L411) common
|
481
465
|
|
482
466
|
> def server_url
|
483
467
|
|
@@ -489,7 +473,7 @@ __Returns:__
|
|
489
473
|
|
490
474
|
--
|
491
475
|
|
492
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L420) common
|
493
477
|
|
494
478
|
> def restart
|
495
479
|
|
@@ -501,7 +485,7 @@ __Returns:__
|
|
501
485
|
|
502
486
|
--
|
503
487
|
|
504
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L433) common
|
505
489
|
|
506
490
|
> def screenshot(png_save_path)
|
507
491
|
|
@@ -517,7 +501,7 @@ __Returns:__
|
|
517
501
|
|
518
502
|
--
|
519
503
|
|
520
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L447) common
|
521
505
|
|
522
506
|
> def element_screenshot(element, png_save_path)
|
523
507
|
|
@@ -535,7 +519,7 @@ __Returns:__
|
|
535
519
|
|
536
520
|
--
|
537
521
|
|
538
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
522
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L454) common
|
539
523
|
|
540
524
|
> def driver_quit
|
541
525
|
|
@@ -547,7 +531,7 @@ __Returns:__
|
|
547
531
|
|
548
532
|
--
|
549
533
|
|
550
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
534
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L460) common
|
551
535
|
|
552
536
|
> def driver_quit
|
553
537
|
|
@@ -559,7 +543,7 @@ __Returns:__
|
|
559
543
|
|
560
544
|
--
|
561
545
|
|
562
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
546
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L471) common
|
563
547
|
|
564
548
|
> def window_size
|
565
549
|
|
@@ -571,7 +555,7 @@ __Returns:__
|
|
571
555
|
|
572
556
|
--
|
573
557
|
|
574
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
558
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L486) common
|
575
559
|
|
576
560
|
> def window_rect
|
577
561
|
|
@@ -583,7 +567,7 @@ __Returns:__
|
|
583
567
|
|
584
568
|
--
|
585
569
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
570
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L519) common
|
587
571
|
|
588
572
|
> def start_driver(http_client_ops = { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
589
573
|
|
@@ -603,7 +587,7 @@ __Returns:__
|
|
603
587
|
|
604
588
|
--
|
605
589
|
|
606
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L546) common
|
607
591
|
|
608
592
|
> def set_implicit_wait(wait)
|
609
593
|
|
@@ -611,7 +595,7 @@ To ignore error for Espresso Driver
|
|
611
595
|
|
612
596
|
--
|
613
597
|
|
614
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L557) common
|
615
599
|
|
616
600
|
> def no_wait
|
617
601
|
|
@@ -619,7 +603,7 @@ Set implicit wait to zero.
|
|
619
603
|
|
620
604
|
--
|
621
605
|
|
622
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L571) common
|
623
607
|
|
624
608
|
> def set_wait(timeout = nil)
|
625
609
|
|
@@ -635,7 +619,7 @@ __Returns:__
|
|
635
619
|
|
636
620
|
--
|
637
621
|
|
638
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
622
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L588) common
|
639
623
|
|
640
624
|
> def exists(pre_check = 0, post_check = @default_wait)
|
641
625
|
|
@@ -659,7 +643,7 @@ __Returns:__
|
|
659
643
|
|
660
644
|
--
|
661
645
|
|
662
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L612) common
|
663
647
|
|
664
648
|
> def execute_script(script, *args)
|
665
649
|
|
@@ -677,7 +661,7 @@ __Returns:__
|
|
677
661
|
|
678
662
|
--
|
679
663
|
|
680
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L620) common
|
681
665
|
|
682
666
|
> def execute_async_script(script, *args)
|
683
667
|
|
@@ -687,7 +671,7 @@ Get the window handles of open browser windows
|
|
687
671
|
|
688
672
|
--
|
689
673
|
|
690
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
674
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L652) common
|
691
675
|
|
692
676
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
693
677
|
|
@@ -713,7 +697,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
713
697
|
|
714
698
|
--
|
715
699
|
|
716
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
700
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L656) common
|
717
701
|
|
718
702
|
> def window_handles
|
719
703
|
|
@@ -721,7 +705,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
721
705
|
|
722
706
|
--
|
723
707
|
|
724
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L661) common
|
725
709
|
|
726
710
|
> def window_handle
|
727
711
|
|
@@ -729,7 +713,7 @@ Get the current window handle
|
|
729
713
|
|
730
714
|
--
|
731
715
|
|
732
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L665) common
|
733
717
|
|
734
718
|
> def navigate
|
735
719
|
|
@@ -737,7 +721,7 @@ Get the current window handle
|
|
737
721
|
|
738
722
|
--
|
739
723
|
|
740
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L669) common
|
741
725
|
|
742
726
|
> def manage
|
743
727
|
|
@@ -745,7 +729,7 @@ Get the current window handle
|
|
745
729
|
|
746
730
|
--
|
747
731
|
|
748
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [get](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L673) common
|
749
733
|
|
750
734
|
> def get(url)
|
751
735
|
|
@@ -753,7 +737,7 @@ Get the current window handle
|
|
753
737
|
|
754
738
|
--
|
755
739
|
|
756
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L677) common
|
757
741
|
|
758
742
|
> def current_url
|
759
743
|
|
@@ -761,7 +745,7 @@ Get the current window handle
|
|
761
745
|
|
762
746
|
--
|
763
747
|
|
764
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
748
|
+
##### [title](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L681) common
|
765
749
|
|
766
750
|
> def title
|
767
751
|
|
@@ -769,7 +753,7 @@ Get the current window handle
|
|
769
753
|
|
770
754
|
--
|
771
755
|
|
772
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L687) common
|
773
757
|
|
774
758
|
> def switch_to
|
775
759
|
|
@@ -781,7 +765,7 @@ __Returns:__
|
|
781
765
|
|
782
766
|
--
|
783
767
|
|
784
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L714) common
|
785
769
|
|
786
770
|
> def find_elements(*args)
|
787
771
|
|
@@ -801,7 +785,7 @@ __Returns:__
|
|
801
785
|
|
802
786
|
--
|
803
787
|
|
804
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L730) common
|
805
789
|
|
806
790
|
> def find_element(*args)
|
807
791
|
|
@@ -819,7 +803,7 @@ __Returns:__
|
|
819
803
|
|
820
804
|
--
|
821
805
|
|
822
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L745) common
|
823
807
|
|
824
808
|
> def find_element_by_image(png_img_path)
|
825
809
|
|
@@ -835,7 +819,7 @@ __Returns:__
|
|
835
819
|
|
836
820
|
--
|
837
821
|
|
838
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L760) common
|
839
823
|
|
840
824
|
> def find_elements_by_image(png_img_paths)
|
841
825
|
|
@@ -851,7 +835,7 @@ __Returns:__
|
|
851
835
|
|
852
836
|
--
|
853
837
|
|
854
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L773) common
|
855
839
|
|
856
840
|
> def set_location(opts = {})
|
857
841
|
|
@@ -867,12 +851,11 @@ __Returns:__
|
|
867
851
|
|
868
852
|
--
|
869
853
|
|
870
|
-
##### [log_event](https://github.com/appium/ruby_lib/blob/
|
854
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L796) common
|
871
855
|
|
872
856
|
> def log_event(vendor:, event:)
|
873
857
|
|
874
|
-
Logs a custom event. The event is available via {::Appium::Core::Events#get}
|
875
|
-
<code>driver.session_capabilities['events']</code> with <code>eventTimings</code> capabilities.
|
858
|
+
Logs a custom event. The event is available via {::Appium::Core::Events#get}.
|
876
859
|
|
877
860
|
__Parameters:__
|
878
861
|
|
@@ -886,7 +869,7 @@ __Returns:__
|
|
886
869
|
|
887
870
|
--
|
888
871
|
|
889
|
-
##### [log_event=](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L800) common
|
890
873
|
|
891
874
|
> def log_event=(log_event)
|
892
875
|
|
@@ -894,7 +877,7 @@ __Returns:__
|
|
894
877
|
|
895
878
|
--
|
896
879
|
|
897
|
-
##### [log_events](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L819) common
|
898
881
|
|
899
882
|
> def log_events(type = nil)
|
900
883
|
|
@@ -910,7 +893,7 @@ __Returns:__
|
|
910
893
|
|
911
894
|
--
|
912
895
|
|
913
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
896
|
+
##### [x](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/driver.rb#L826) common
|
914
897
|
|
915
898
|
> def x
|
916
899
|
|
@@ -923,7 +906,7 @@ __Returns:__
|
|
923
906
|
|
924
907
|
--
|
925
908
|
|
926
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
909
|
+
##### [username](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L18) common
|
927
910
|
|
928
911
|
> def username
|
929
912
|
|
@@ -931,7 +914,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
931
914
|
|
932
915
|
--
|
933
916
|
|
934
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
917
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L20) common
|
935
918
|
|
936
919
|
> def access_key
|
937
920
|
|
@@ -939,7 +922,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
939
922
|
|
940
923
|
--
|
941
924
|
|
942
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
925
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L22) common
|
943
926
|
|
944
927
|
> def endpoint
|
945
928
|
|
@@ -947,7 +930,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
947
930
|
|
948
931
|
--
|
949
932
|
|
950
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
933
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L47) common
|
951
934
|
|
952
935
|
> def initialize(appium_lib_opts)
|
953
936
|
|
@@ -963,7 +946,7 @@ __Returns:__
|
|
963
946
|
|
964
947
|
--
|
965
948
|
|
966
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L67) common
|
967
950
|
|
968
951
|
> def sauce_server_url?
|
969
952
|
|
@@ -975,7 +958,7 @@ __Returns:__
|
|
975
958
|
|
976
959
|
--
|
977
960
|
|
978
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/sauce_labs.rb#L80) common
|
979
962
|
|
980
963
|
> def server_url
|
981
964
|
|
@@ -987,7 +970,7 @@ __Returns:__
|
|
987
970
|
|
988
971
|
--
|
989
972
|
|
990
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/log.rb#L25) common
|
991
974
|
|
992
975
|
> def get_log(type)
|
993
976
|
|
@@ -1003,7 +986,7 @@ __Returns:__
|
|
1003
986
|
|
1004
987
|
--
|
1005
988
|
|
1006
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/log.rb#L37) common
|
1007
990
|
|
1008
991
|
> def get_available_log_types
|
1009
992
|
|
@@ -1015,7 +998,7 @@ __Returns:__
|
|
1015
998
|
|
1016
999
|
--
|
1017
1000
|
|
1018
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/wait.rb#L44) common
|
1019
1002
|
|
1020
1003
|
> def wait_true(opts = {})
|
1021
1004
|
|
@@ -1035,7 +1018,7 @@ __Parameters:__
|
|
1035
1018
|
|
1036
1019
|
--
|
1037
1020
|
|
1038
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1021
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/wait.rb#L73) common
|
1039
1022
|
|
1040
1023
|
> def wait(opts = {})
|
1041
1024
|
|
@@ -1053,23 +1036,7 @@ __Parameters:__
|
|
1053
1036
|
|
1054
1037
|
--
|
1055
1038
|
|
1056
|
-
##### [
|
1057
|
-
|
1058
|
-
> def add_touch_actions
|
1059
|
-
|
1060
|
-
|
1061
|
-
|
1062
|
-
--
|
1063
|
-
|
1064
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/device.rb#L38) common
|
1065
|
-
|
1066
|
-
> def delegate_from_appium_driver(method, delegation_target)
|
1067
|
-
|
1068
|
-
|
1069
|
-
|
1070
|
-
--
|
1071
|
-
|
1072
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/helper.rb#L30) common
|
1039
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L30) common
|
1073
1040
|
|
1074
1041
|
> def ignore
|
1075
1042
|
|
@@ -1077,7 +1044,7 @@ Return yield and ignore any exceptions.
|
|
1077
1044
|
|
1078
1045
|
--
|
1079
1046
|
|
1080
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1047
|
+
##### [back](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L38) common
|
1081
1048
|
|
1082
1049
|
> def back
|
1083
1050
|
|
@@ -1089,7 +1056,7 @@ __Returns:__
|
|
1089
1056
|
|
1090
1057
|
--
|
1091
1058
|
|
1092
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1059
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L49) common
|
1093
1060
|
|
1094
1061
|
> def session_id
|
1095
1062
|
|
@@ -1101,7 +1068,7 @@ __Returns:__
|
|
1101
1068
|
|
1102
1069
|
--
|
1103
1070
|
|
1104
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L57) common
|
1105
1072
|
|
1106
1073
|
> def xpath(xpath_str)
|
1107
1074
|
|
@@ -1117,7 +1084,7 @@ __Returns:__
|
|
1117
1084
|
|
1118
1085
|
--
|
1119
1086
|
|
1120
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L65) common
|
1121
1088
|
|
1122
1089
|
> def xpaths(xpath_str)
|
1123
1090
|
|
@@ -1133,7 +1100,7 @@ __Returns:__
|
|
1133
1100
|
|
1134
1101
|
--
|
1135
1102
|
|
1136
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L75) common
|
1137
1104
|
|
1138
1105
|
> def result
|
1139
1106
|
|
@@ -1141,7 +1108,7 @@ Returns the value of attribute result.
|
|
1141
1108
|
|
1142
1109
|
--
|
1143
1110
|
|
1144
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L77) common
|
1145
1112
|
|
1146
1113
|
> def initialize(platform)
|
1147
1114
|
|
@@ -1153,7 +1120,7 @@ __Returns:__
|
|
1153
1120
|
|
1154
1121
|
--
|
1155
1122
|
|
1156
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L82) common
|
1157
1124
|
|
1158
1125
|
> def reset
|
1159
1126
|
|
@@ -1161,7 +1128,7 @@ __Returns:__
|
|
1161
1128
|
|
1162
1129
|
--
|
1163
1130
|
|
1164
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L87) common
|
1165
1132
|
|
1166
1133
|
> def start_element(name, attrs = [])
|
1167
1134
|
|
@@ -1169,7 +1136,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1169
1136
|
|
1170
1137
|
--
|
1171
1138
|
|
1172
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1139
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L98) common
|
1173
1140
|
|
1174
1141
|
> def formatted_result
|
1175
1142
|
|
@@ -1177,7 +1144,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1177
1144
|
|
1178
1145
|
--
|
1179
1146
|
|
1180
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L116) common
|
1181
1148
|
|
1182
1149
|
> def get_page_class
|
1183
1150
|
|
@@ -1189,7 +1156,7 @@ __Returns:__
|
|
1189
1156
|
|
1190
1157
|
--
|
1191
1158
|
|
1192
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L141) common
|
1193
1160
|
|
1194
1161
|
> def page_class
|
1195
1162
|
|
@@ -1202,7 +1169,7 @@ __Returns:__
|
|
1202
1169
|
|
1203
1170
|
--
|
1204
1171
|
|
1205
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L148) common
|
1206
1173
|
|
1207
1174
|
> def source
|
1208
1175
|
|
@@ -1214,7 +1181,7 @@ __Returns:__
|
|
1214
1181
|
|
1215
1182
|
--
|
1216
1183
|
|
1217
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L155) common
|
1218
1185
|
|
1219
1186
|
> def get_source
|
1220
1187
|
|
@@ -1227,7 +1194,7 @@ __Returns:__
|
|
1227
1194
|
|
1228
1195
|
--
|
1229
1196
|
|
1230
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L165) common
|
1231
1198
|
|
1232
1199
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1233
1200
|
|
@@ -1235,7 +1202,7 @@ Converts pixel values to window relative values
|
|
1235
1202
|
|
1236
1203
|
--
|
1237
1204
|
|
1238
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L184) common
|
1239
1206
|
|
1240
1207
|
> def xml_keys(target)
|
1241
1208
|
|
@@ -1251,7 +1218,7 @@ __Returns:__
|
|
1251
1218
|
|
1252
1219
|
--
|
1253
1220
|
|
1254
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L192) common
|
1255
1222
|
|
1256
1223
|
> def xml_values(target)
|
1257
1224
|
|
@@ -1267,7 +1234,7 @@ __Returns:__
|
|
1267
1234
|
|
1268
1235
|
--
|
1269
1236
|
|
1270
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L200) common
|
1271
1238
|
|
1272
1239
|
> def resolve_id(id)
|
1273
1240
|
|
@@ -1283,7 +1250,7 @@ __Returns:__
|
|
1283
1250
|
|
1284
1251
|
--
|
1285
1252
|
|
1286
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L207) common
|
1287
1254
|
|
1288
1255
|
> def filter
|
1289
1256
|
|
@@ -1291,7 +1258,7 @@ Returns the value of attribute filter.
|
|
1291
1258
|
|
1292
1259
|
--
|
1293
1260
|
|
1294
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L210) common
|
1295
1262
|
|
1296
1263
|
> def filter=(value)
|
1297
1264
|
|
@@ -1299,7 +1266,7 @@ convert to string to support symbols
|
|
1299
1266
|
|
1300
1267
|
--
|
1301
1268
|
|
1302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L217) common
|
1303
1270
|
|
1304
1271
|
> def initialize
|
1305
1272
|
|
@@ -1311,7 +1278,7 @@ __Returns:__
|
|
1311
1278
|
|
1312
1279
|
--
|
1313
1280
|
|
1314
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L222) common
|
1315
1282
|
|
1316
1283
|
> def reset
|
1317
1284
|
|
@@ -1319,7 +1286,7 @@ __Returns:__
|
|
1319
1286
|
|
1320
1287
|
--
|
1321
1288
|
|
1322
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L228) common
|
1323
1290
|
|
1324
1291
|
> def result
|
1325
1292
|
|
@@ -1327,7 +1294,7 @@ __Returns:__
|
|
1327
1294
|
|
1328
1295
|
--
|
1329
1296
|
|
1330
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L242) common
|
1331
1298
|
|
1332
1299
|
> def start_element(name, attrs = [])
|
1333
1300
|
|
@@ -1335,7 +1302,7 @@ __Returns:__
|
|
1335
1302
|
|
1336
1303
|
--
|
1337
1304
|
|
1338
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L252) common
|
1339
1306
|
|
1340
1307
|
> def end_element(name)
|
1341
1308
|
|
@@ -1343,7 +1310,7 @@ __Returns:__
|
|
1343
1310
|
|
1344
1311
|
--
|
1345
1312
|
|
1346
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1313
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/helper.rb#L259) common
|
1347
1314
|
|
1348
1315
|
> def characters(chars)
|
1349
1316
|
|
@@ -1351,79 +1318,7 @@ __Returns:__
|
|
1351
1318
|
|
1352
1319
|
--
|
1353
1320
|
|
1354
|
-
##### [
|
1355
|
-
|
1356
|
-
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1357
|
-
|
1358
|
-
Convenience method for pinching the screen.
|
1359
|
-
Places two fingers at the edges of the screen and brings them together.
|
1360
|
-
Without auto_perform
|
1361
|
-
|
1362
|
-
With driver
|
1363
|
-
|
1364
|
-
__Parameters:__
|
1365
|
-
|
1366
|
-
[int] percentage - The percent size by which to shrink the screen when pinched.
|
1367
|
-
|
1368
|
-
[boolean] auto_perform - Whether to perform the action immediately (default true)
|
1369
|
-
|
1370
|
-
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
|
1371
|
-
|
1372
|
-
--
|
1373
|
-
|
1374
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/multi_touch.rb#L108) common
|
1375
|
-
|
1376
|
-
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1377
|
-
|
1378
|
-
Convenience method for zooming the screen.
|
1379
|
-
Places two fingers at the edges of the screen and brings them together.
|
1380
|
-
Without auto_perform
|
1381
|
-
|
1382
|
-
With driver
|
1383
|
-
|
1384
|
-
__Parameters:__
|
1385
|
-
|
1386
|
-
[int] percentage - The percent size by which to shrink the screen when pinched.
|
1387
|
-
|
1388
|
-
[boolean] auto_perform - Whether to perform the action immediately (default true)
|
1389
|
-
|
1390
|
-
[Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
|
1391
|
-
|
1392
|
-
--
|
1393
|
-
|
1394
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/multi_touch.rb#L194) common
|
1395
|
-
|
1396
|
-
> def initialize(driver = $driver)
|
1397
|
-
|
1398
|
-
self
|
1399
|
-
|
1400
|
-
__Returns:__
|
1401
|
-
|
1402
|
-
[MultiTouch] a new instance of MultiTouch
|
1403
|
-
|
1404
|
-
--
|
1405
|
-
|
1406
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/touch_actions.rb#L62) common
|
1407
|
-
|
1408
|
-
> def initialize(driver = $driver)
|
1409
|
-
|
1410
|
-
|
1411
|
-
|
1412
|
-
__Returns:__
|
1413
|
-
|
1414
|
-
[TouchAction] a new instance of TouchAction
|
1415
|
-
|
1416
|
-
--
|
1417
|
-
|
1418
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/touch_actions.rb#L66) common
|
1419
|
-
|
1420
|
-
> def swipe(opts)
|
1421
|
-
|
1422
|
-
|
1423
|
-
|
1424
|
-
--
|
1425
|
-
|
1426
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/9c52fd3a8f0ef88d7c4e83f210ab22f817a30632/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1321
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1427
1322
|
|
1428
1323
|
> def initialize(url:, output_file: 'logcat.log')
|
1429
1324
|
|
@@ -1435,7 +1330,7 @@ __Returns:__
|
|
1435
1330
|
|
1436
1331
|
--
|
1437
1332
|
|
1438
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1439
1334
|
|
1440
1335
|
> def handle_message_data(data)
|
1441
1336
|
|
@@ -1443,7 +1338,7 @@ __Returns:__
|
|
1443
1338
|
|
1444
1339
|
--
|
1445
1340
|
|
1446
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1341
|
+
##### [for](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/android.rb#L33) android
|
1447
1342
|
|
1448
1343
|
> def for(target)
|
1449
1344
|
|
@@ -1451,7 +1346,7 @@ __Returns:__
|
|
1451
1346
|
|
1452
1347
|
--
|
1453
1348
|
|
1454
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1349
|
+
##### [text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/text.rb#L25) android
|
1455
1350
|
|
1456
1351
|
> def text(value)
|
1457
1352
|
|
@@ -1468,7 +1363,7 @@ __Returns:__
|
|
1468
1363
|
|
1469
1364
|
--
|
1470
1365
|
|
1471
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1366
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/text.rb#L35) android
|
1472
1367
|
|
1473
1368
|
> def texts(value = false)
|
1474
1369
|
|
@@ -1485,7 +1380,7 @@ __Returns:__
|
|
1485
1380
|
|
1486
1381
|
--
|
1487
1382
|
|
1488
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/text.rb#L43) android
|
1489
1384
|
|
1490
1385
|
> def first_text
|
1491
1386
|
|
@@ -1497,7 +1392,7 @@ __Returns:__
|
|
1497
1392
|
|
1498
1393
|
--
|
1499
1394
|
|
1500
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/text.rb#L49) android
|
1501
1396
|
|
1502
1397
|
> def last_text
|
1503
1398
|
|
@@ -1509,7 +1404,7 @@ __Returns:__
|
|
1509
1404
|
|
1510
1405
|
--
|
1511
1406
|
|
1512
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/text.rb#L56) android
|
1513
1408
|
|
1514
1409
|
> def text_exact(value)
|
1515
1410
|
|
@@ -1525,7 +1420,7 @@ __Returns:__
|
|
1525
1420
|
|
1526
1421
|
--
|
1527
1422
|
|
1528
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/text.rb#L63) android
|
1529
1424
|
|
1530
1425
|
> def texts_exact(value)
|
1531
1426
|
|
@@ -1541,7 +1436,7 @@ __Returns:__
|
|
1541
1436
|
|
1542
1437
|
--
|
1543
1438
|
|
1544
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [result](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L20) android
|
1545
1440
|
|
1546
1441
|
> def result
|
1547
1442
|
|
@@ -1549,7 +1444,7 @@ Returns the value of attribute result.
|
|
1549
1444
|
|
1550
1445
|
--
|
1551
1446
|
|
1552
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L20) android
|
1553
1448
|
|
1554
1449
|
> def keys
|
1555
1450
|
|
@@ -1557,7 +1452,7 @@ Returns the value of attribute keys.
|
|
1557
1452
|
|
1558
1453
|
--
|
1559
1454
|
|
1560
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L20) android
|
1561
1456
|
|
1562
1457
|
> def filter
|
1563
1458
|
|
@@ -1565,7 +1460,7 @@ Returns the value of attribute filter.
|
|
1565
1460
|
|
1566
1461
|
--
|
1567
1462
|
|
1568
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1463
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L23) android
|
1569
1464
|
|
1570
1465
|
> def filter=(value)
|
1571
1466
|
|
@@ -1573,7 +1468,7 @@ convert to string to support symbols
|
|
1573
1468
|
|
1574
1469
|
--
|
1575
1470
|
|
1576
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L30) android
|
1577
1472
|
|
1578
1473
|
> def initialize
|
1579
1474
|
|
@@ -1585,7 +1480,7 @@ __Returns:__
|
|
1585
1480
|
|
1586
1481
|
--
|
1587
1482
|
|
1588
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L35) android
|
1589
1484
|
|
1590
1485
|
> def reset
|
1591
1486
|
|
@@ -1593,7 +1488,7 @@ __Returns:__
|
|
1593
1488
|
|
1594
1489
|
--
|
1595
1490
|
|
1596
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1491
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L41) android
|
1597
1492
|
|
1598
1493
|
> def start_element(name, attrs = [], driver = $driver)
|
1599
1494
|
|
@@ -1601,7 +1496,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1601
1496
|
|
1602
1497
|
--
|
1603
1498
|
|
1604
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1499
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L95) android
|
1605
1500
|
|
1606
1501
|
> def get_android_inspect(class_name = false)
|
1607
1502
|
|
@@ -1620,7 +1515,7 @@ __Returns:__
|
|
1620
1515
|
|
1621
1516
|
--
|
1622
1517
|
|
1623
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1518
|
+
##### [page](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L121) android
|
1624
1519
|
|
1625
1520
|
> def page(opts = {})
|
1626
1521
|
|
@@ -1639,7 +1534,7 @@ __Returns:__
|
|
1639
1534
|
|
1640
1535
|
--
|
1641
1536
|
|
1642
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [id](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L130) android
|
1643
1538
|
|
1644
1539
|
> def id(id)
|
1645
1540
|
|
@@ -1655,7 +1550,7 @@ __Returns:__
|
|
1655
1550
|
|
1656
1551
|
--
|
1657
1552
|
|
1658
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L138) android
|
1659
1554
|
|
1660
1555
|
> def ids(id)
|
1661
1556
|
|
@@ -1671,7 +1566,7 @@ __Returns:__
|
|
1671
1566
|
|
1672
1567
|
--
|
1673
1568
|
|
1674
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1569
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L147) android
|
1675
1570
|
|
1676
1571
|
> def ele_index(class_name, index)
|
1677
1572
|
|
@@ -1689,7 +1584,7 @@ __Returns:__
|
|
1689
1584
|
|
1690
1585
|
--
|
1691
1586
|
|
1692
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1587
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L166) android
|
1693
1588
|
|
1694
1589
|
> def first_ele(class_name)
|
1695
1590
|
|
@@ -1705,7 +1600,7 @@ __Returns:__
|
|
1705
1600
|
|
1706
1601
|
--
|
1707
1602
|
|
1708
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1603
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L173) android
|
1709
1604
|
|
1710
1605
|
> def last_ele(class_name)
|
1711
1606
|
|
@@ -1721,7 +1616,7 @@ __Returns:__
|
|
1721
1616
|
|
1722
1617
|
--
|
1723
1618
|
|
1724
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1619
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L181) android
|
1725
1620
|
|
1726
1621
|
> def tag(class_name)
|
1727
1622
|
|
@@ -1737,7 +1632,7 @@ __Returns:__
|
|
1737
1632
|
|
1738
1633
|
--
|
1739
1634
|
|
1740
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1635
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L189) android
|
1741
1636
|
|
1742
1637
|
> def tags(class_name)
|
1743
1638
|
|
@@ -1753,7 +1648,7 @@ __Returns:__
|
|
1753
1648
|
|
1754
1649
|
--
|
1755
1650
|
|
1756
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1651
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L232) android
|
1757
1652
|
|
1758
1653
|
> def string_visible_contains_xpath(class_name, value)
|
1759
1654
|
|
@@ -1774,7 +1669,7 @@ __Returns:__
|
|
1774
1669
|
|
1775
1670
|
--
|
1776
1671
|
|
1777
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L252) android
|
1778
1673
|
|
1779
1674
|
> def string_visible_contains(class_name, value)
|
1780
1675
|
|
@@ -1795,7 +1690,7 @@ __Returns:__
|
|
1795
1690
|
|
1796
1691
|
--
|
1797
1692
|
|
1798
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1693
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L270) android
|
1799
1694
|
|
1800
1695
|
> def complex_find_contains(class_name, value)
|
1801
1696
|
|
@@ -1813,7 +1708,7 @@ __Returns:__
|
|
1813
1708
|
|
1814
1709
|
--
|
1815
1710
|
|
1816
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1711
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L278) android
|
1817
1712
|
|
1818
1713
|
> def complex_finds_contains(class_name, value)
|
1819
1714
|
|
@@ -1831,7 +1726,7 @@ __Returns:__
|
|
1831
1726
|
|
1832
1727
|
--
|
1833
1728
|
|
1834
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1729
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L320) android
|
1835
1730
|
|
1836
1731
|
> def complex_find_exact(class_name, value)
|
1837
1732
|
|
@@ -1849,7 +1744,7 @@ __Returns:__
|
|
1849
1744
|
|
1850
1745
|
--
|
1851
1746
|
|
1852
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/helper.rb#L328) android
|
1853
1748
|
|
1854
1749
|
> def complex_finds_exact(class_name, value)
|
1855
1750
|
|
@@ -1867,7 +1762,7 @@ __Returns:__
|
|
1867
1762
|
|
1868
1763
|
--
|
1869
1764
|
|
1870
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1765
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/alert.rb#L20) android
|
1871
1766
|
|
1872
1767
|
> def alert_click(value)
|
1873
1768
|
|
@@ -1883,7 +1778,7 @@ __Returns:__
|
|
1883
1778
|
|
1884
1779
|
--
|
1885
1780
|
|
1886
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/alert.rb#L27) android
|
1887
1782
|
|
1888
1783
|
> def alert_accept
|
1889
1784
|
|
@@ -1896,7 +1791,7 @@ __Returns:__
|
|
1896
1791
|
|
1897
1792
|
--
|
1898
1793
|
|
1899
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1794
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/alert.rb#L34) android
|
1900
1795
|
|
1901
1796
|
> def alert_accept_text
|
1902
1797
|
|
@@ -1909,7 +1804,7 @@ __Returns:__
|
|
1909
1804
|
|
1910
1805
|
--
|
1911
1806
|
|
1912
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1807
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/alert.rb#L41) android
|
1913
1808
|
|
1914
1809
|
> def alert_dismiss
|
1915
1810
|
|
@@ -1922,7 +1817,7 @@ __Returns:__
|
|
1922
1817
|
|
1923
1818
|
--
|
1924
1819
|
|
1925
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1820
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/alert.rb#L48) android
|
1926
1821
|
|
1927
1822
|
> def alert_dismiss_text
|
1928
1823
|
|
@@ -1935,7 +1830,7 @@ __Returns:__
|
|
1935
1830
|
|
1936
1831
|
--
|
1937
1832
|
|
1938
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1833
|
+
##### [button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L27) android
|
1939
1834
|
|
1940
1835
|
> def button(value)
|
1941
1836
|
|
@@ -1952,7 +1847,7 @@ __Returns:__
|
|
1952
1847
|
|
1953
1848
|
--
|
1954
1849
|
|
1955
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1850
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L45) android
|
1956
1851
|
|
1957
1852
|
> def buttons(value = false)
|
1958
1853
|
|
@@ -1969,7 +1864,7 @@ __Returns:__
|
|
1969
1864
|
|
1970
1865
|
--
|
1971
1866
|
|
1972
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1867
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L53) android
|
1973
1868
|
|
1974
1869
|
> def first_button
|
1975
1870
|
|
@@ -1981,7 +1876,7 @@ __Returns:__
|
|
1981
1876
|
|
1982
1877
|
--
|
1983
1878
|
|
1984
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1879
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L59) android
|
1985
1880
|
|
1986
1881
|
> def last_button
|
1987
1882
|
|
@@ -1993,7 +1888,7 @@ __Returns:__
|
|
1993
1888
|
|
1994
1889
|
--
|
1995
1890
|
|
1996
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1891
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L75) android
|
1997
1892
|
|
1998
1893
|
> def button_exact(value)
|
1999
1894
|
|
@@ -2009,7 +1904,7 @@ __Returns:__
|
|
2009
1904
|
|
2010
1905
|
--
|
2011
1906
|
|
2012
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1907
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L82) android
|
2013
1908
|
|
2014
1909
|
> def buttons_exact(value)
|
2015
1910
|
|
@@ -2025,7 +1920,7 @@ __Returns:__
|
|
2025
1920
|
|
2026
1921
|
--
|
2027
1922
|
|
2028
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L95) android
|
2029
1924
|
|
2030
1925
|
> def _button_visible_selectors(opts = {})
|
2031
1926
|
|
@@ -2033,7 +1928,7 @@ __Returns:__
|
|
2033
1928
|
|
2034
1929
|
--
|
2035
1930
|
|
2036
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L108) android
|
2037
1932
|
|
2038
1933
|
> def _button_exact_string(value)
|
2039
1934
|
|
@@ -2041,7 +1936,7 @@ __Returns:__
|
|
2041
1936
|
|
2042
1937
|
--
|
2043
1938
|
|
2044
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
1939
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/button.rb#L114) android
|
2045
1940
|
|
2046
1941
|
> def _button_contains_string(value)
|
2047
1942
|
|
@@ -2049,7 +1944,7 @@ __Returns:__
|
|
2049
1944
|
|
2050
1945
|
--
|
2051
1946
|
|
2052
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1947
|
+
##### [find](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/generic.rb#L20) android
|
2053
1948
|
|
2054
1949
|
> def find(value)
|
2055
1950
|
|
@@ -2065,7 +1960,7 @@ __Returns:__
|
|
2065
1960
|
|
2066
1961
|
--
|
2067
1962
|
|
2068
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1963
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/generic.rb#L27) android
|
2069
1964
|
|
2070
1965
|
> def finds(value)
|
2071
1966
|
|
@@ -2081,7 +1976,7 @@ __Returns:__
|
|
2081
1976
|
|
2082
1977
|
--
|
2083
1978
|
|
2084
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1979
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/generic.rb#L34) android
|
2085
1980
|
|
2086
1981
|
> def find_exact(value)
|
2087
1982
|
|
@@ -2097,7 +1992,7 @@ __Returns:__
|
|
2097
1992
|
|
2098
1993
|
--
|
2099
1994
|
|
2100
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/generic.rb#L41) android
|
2101
1996
|
|
2102
1997
|
> def finds_exact(value)
|
2103
1998
|
|
@@ -2113,7 +2008,7 @@ __Returns:__
|
|
2113
2008
|
|
2114
2009
|
--
|
2115
2010
|
|
2116
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2011
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/generic.rb#L54) android
|
2117
2012
|
|
2118
2013
|
> def scroll_to(text, scrollable_index = 0)
|
2119
2014
|
|
@@ -2131,7 +2026,7 @@ __Returns:__
|
|
2131
2026
|
|
2132
2027
|
--
|
2133
2028
|
|
2134
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/generic.rb#L70) android
|
2135
2030
|
|
2136
2031
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2137
2032
|
|
@@ -2149,7 +2044,7 @@ __Returns:__
|
|
2149
2044
|
|
2150
2045
|
--
|
2151
2046
|
|
2152
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2047
|
+
##### [for](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2153
2048
|
|
2154
2049
|
> def for(target)
|
2155
2050
|
|
@@ -2157,7 +2052,7 @@ __Returns:__
|
|
2157
2052
|
|
2158
2053
|
--
|
2159
2054
|
|
2160
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2055
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2161
2056
|
|
2162
2057
|
> def complex_find_contains(class_name, value)
|
2163
2058
|
|
@@ -2175,7 +2070,7 @@ __Returns:__
|
|
2175
2070
|
|
2176
2071
|
--
|
2177
2072
|
|
2178
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2073
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2179
2074
|
|
2180
2075
|
> def complex_finds_contains(class_name, value)
|
2181
2076
|
|
@@ -2193,7 +2088,7 @@ __Returns:__
|
|
2193
2088
|
|
2194
2089
|
--
|
2195
2090
|
|
2196
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2091
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2197
2092
|
|
2198
2093
|
> def complex_find_exact(class_name, value)
|
2199
2094
|
|
@@ -2211,7 +2106,7 @@ __Returns:__
|
|
2211
2106
|
|
2212
2107
|
--
|
2213
2108
|
|
2214
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2109
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2215
2110
|
|
2216
2111
|
> def complex_finds_exact(class_name, value)
|
2217
2112
|
|
@@ -2229,7 +2124,7 @@ __Returns:__
|
|
2229
2124
|
|
2230
2125
|
--
|
2231
2126
|
|
2232
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/textfield.rb#L24) android
|
2233
2128
|
|
2234
2129
|
> def textfield(value)
|
2235
2130
|
|
@@ -2246,7 +2141,7 @@ __Returns:__
|
|
2246
2141
|
|
2247
2142
|
--
|
2248
2143
|
|
2249
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2144
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/textfield.rb#L34) android
|
2250
2145
|
|
2251
2146
|
> def textfields(value = false)
|
2252
2147
|
|
@@ -2263,7 +2158,7 @@ __Returns:__
|
|
2263
2158
|
|
2264
2159
|
--
|
2265
2160
|
|
2266
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2161
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/textfield.rb#L42) android
|
2267
2162
|
|
2268
2163
|
> def first_textfield
|
2269
2164
|
|
@@ -2275,7 +2170,7 @@ __Returns:__
|
|
2275
2170
|
|
2276
2171
|
--
|
2277
2172
|
|
2278
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2173
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/textfield.rb#L48) android
|
2279
2174
|
|
2280
2175
|
> def last_textfield
|
2281
2176
|
|
@@ -2287,7 +2182,7 @@ __Returns:__
|
|
2287
2182
|
|
2288
2183
|
--
|
2289
2184
|
|
2290
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2185
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/textfield.rb#L55) android
|
2291
2186
|
|
2292
2187
|
> def textfield_exact(value)
|
2293
2188
|
|
@@ -2303,7 +2198,7 @@ __Returns:__
|
|
2303
2198
|
|
2304
2199
|
--
|
2305
2200
|
|
2306
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2201
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/element/textfield.rb#L62) android
|
2307
2202
|
|
2308
2203
|
> def textfields_exact(value)
|
2309
2204
|
|
@@ -2319,7 +2214,7 @@ __Returns:__
|
|
2319
2214
|
|
2320
2215
|
--
|
2321
2216
|
|
2322
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2217
|
+
##### [for](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2323
2218
|
|
2324
2219
|
> def for(target)
|
2325
2220
|
|
@@ -2327,7 +2222,7 @@ __Returns:__
|
|
2327
2222
|
|
2328
2223
|
--
|
2329
2224
|
|
2330
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2225
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2331
2226
|
|
2332
2227
|
> def string_visible_contains(class_name, value)
|
2333
2228
|
|
@@ -2348,7 +2243,7 @@ __Returns:__
|
|
2348
2243
|
|
2349
2244
|
--
|
2350
2245
|
|
2351
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2246
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2352
2247
|
|
2353
2248
|
> def complex_find_contains(class_name, value)
|
2354
2249
|
|
@@ -2366,7 +2261,7 @@ __Returns:__
|
|
2366
2261
|
|
2367
2262
|
--
|
2368
2263
|
|
2369
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2264
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2370
2265
|
|
2371
2266
|
> def complex_finds_contains(class_name, value)
|
2372
2267
|
|
@@ -2384,7 +2279,7 @@ __Returns:__
|
|
2384
2279
|
|
2385
2280
|
--
|
2386
2281
|
|
2387
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2282
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2388
2283
|
|
2389
2284
|
> def complex_find_exact(class_name, value)
|
2390
2285
|
|
@@ -2402,7 +2297,7 @@ __Returns:__
|
|
2402
2297
|
|
2403
2298
|
--
|
2404
2299
|
|
2405
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2300
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2406
2301
|
|
2407
2302
|
> def complex_finds_exact(class_name, value)
|
2408
2303
|
|
@@ -2420,7 +2315,7 @@ __Returns:__
|
|
2420
2315
|
|
2421
2316
|
--
|
2422
2317
|
|
2423
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2318
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/command/command.rb#L28) android
|
2424
2319
|
|
2425
2320
|
> def shell(command, arguments)
|
2426
2321
|
|
@@ -2435,7 +2330,7 @@ __Parameters:__
|
|
2435
2330
|
|
2436
2331
|
--
|
2437
2332
|
|
2438
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2333
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/command/command.rb#L42) android
|
2439
2334
|
|
2440
2335
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2441
2336
|
|
@@ -2447,7 +2342,7 @@ __Parameters:__
|
|
2447
2342
|
|
2448
2343
|
--
|
2449
2344
|
|
2450
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2345
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/common/command/command.rb#L55) android
|
2451
2346
|
|
2452
2347
|
> def stop_logs_broadcast
|
2453
2348
|
|
@@ -2455,7 +2350,7 @@ Stop Android logcat broadcast websocket
|
|
2455
2350
|
|
2456
2351
|
--
|
2457
2352
|
|
2458
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2353
|
+
##### [button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2459
2354
|
|
2460
2355
|
> def button(value)
|
2461
2356
|
|
@@ -2472,7 +2367,7 @@ __Returns:__
|
|
2472
2367
|
|
2473
2368
|
--
|
2474
2369
|
|
2475
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2370
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2476
2371
|
|
2477
2372
|
> def buttons(value = false)
|
2478
2373
|
|
@@ -2489,7 +2384,7 @@ __Returns:__
|
|
2489
2384
|
|
2490
2385
|
--
|
2491
2386
|
|
2492
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2387
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2493
2388
|
|
2494
2389
|
> def first_button
|
2495
2390
|
|
@@ -2501,7 +2396,7 @@ __Returns:__
|
|
2501
2396
|
|
2502
2397
|
--
|
2503
2398
|
|
2504
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2399
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2505
2400
|
|
2506
2401
|
> def last_button
|
2507
2402
|
|
@@ -2513,7 +2408,7 @@ __Returns:__
|
|
2513
2408
|
|
2514
2409
|
--
|
2515
2410
|
|
2516
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2411
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2517
2412
|
|
2518
2413
|
> def button_exact(value)
|
2519
2414
|
|
@@ -2529,7 +2424,7 @@ __Returns:__
|
|
2529
2424
|
|
2530
2425
|
--
|
2531
2426
|
|
2532
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2533
2428
|
|
2534
2429
|
> def buttons_exact(value)
|
2535
2430
|
|
@@ -2545,7 +2440,7 @@ __Returns:__
|
|
2545
2440
|
|
2546
2441
|
--
|
2547
2442
|
|
2548
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2443
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2549
2444
|
|
2550
2445
|
> def _button_visible_selectors_xpath(opts = {})
|
2551
2446
|
|
@@ -2553,7 +2448,7 @@ __Returns:__
|
|
2553
2448
|
|
2554
2449
|
--
|
2555
2450
|
|
2556
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2451
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2557
2452
|
|
2558
2453
|
> def _button_exact_string_xpath(class_name, value)
|
2559
2454
|
|
@@ -2561,7 +2456,7 @@ __Returns:__
|
|
2561
2456
|
|
2562
2457
|
--
|
2563
2458
|
|
2564
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2565
2460
|
|
2566
2461
|
> def _button_contains_string_xpath(class_name, value)
|
2567
2462
|
|
@@ -2569,7 +2464,7 @@ __Returns:__
|
|
2569
2464
|
|
2570
2465
|
--
|
2571
2466
|
|
2572
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2467
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2573
2468
|
|
2574
2469
|
> def scroll_to(text)
|
2575
2470
|
|
@@ -2586,7 +2481,7 @@ __Returns:__
|
|
2586
2481
|
|
2587
2482
|
--
|
2588
2483
|
|
2589
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2484
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/espresso/element/generic.rb#L48) android
|
2590
2485
|
|
2591
2486
|
> def scroll_to_exact(text)
|
2592
2487
|
|
@@ -2603,7 +2498,7 @@ __Returns:__
|
|
2603
2498
|
|
2604
2499
|
--
|
2605
2500
|
|
2606
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2501
|
+
##### [button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2607
2502
|
|
2608
2503
|
> def button(value)
|
2609
2504
|
|
@@ -2620,7 +2515,7 @@ __Returns:__
|
|
2620
2515
|
|
2621
2516
|
--
|
2622
2517
|
|
2623
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2518
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2624
2519
|
|
2625
2520
|
> def buttons(value = false)
|
2626
2521
|
|
@@ -2637,7 +2532,7 @@ __Returns:__
|
|
2637
2532
|
|
2638
2533
|
--
|
2639
2534
|
|
2640
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2535
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2641
2536
|
|
2642
2537
|
> def first_button
|
2643
2538
|
|
@@ -2649,7 +2544,7 @@ __Returns:__
|
|
2649
2544
|
|
2650
2545
|
--
|
2651
2546
|
|
2652
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2547
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2653
2548
|
|
2654
2549
|
> def last_button
|
2655
2550
|
|
@@ -2661,7 +2556,7 @@ __Returns:__
|
|
2661
2556
|
|
2662
2557
|
--
|
2663
2558
|
|
2664
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2559
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2665
2560
|
|
2666
2561
|
> def button_exact(value)
|
2667
2562
|
|
@@ -2677,7 +2572,7 @@ __Returns:__
|
|
2677
2572
|
|
2678
2573
|
--
|
2679
2574
|
|
2680
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2575
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/203a6052db42039c89cd000f245f1534379bc86b/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2681
2576
|
|
2682
2577
|
> def buttons_exact(value)
|
2683
2578
|
|