appium_lib 13.0.2 → 14.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -1
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +203 -219
- data/docs/ios_docs.md +241 -257
- data/lib/appium_lib/driver.rb +0 -6
- data/lib/appium_lib/version.rb +1 -1
- data/release_notes.md +7 -0
- metadata +5 -5
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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/appium.rb#L108) 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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/appium.rb#L113) 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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/appium.rb#L155) 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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/appium.rb#L209) 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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/driver.rb#L331) common
|
403
387
|
|
404
388
|
> def action
|
405
389
|
|
@@ -412,7 +396,7 @@ __Returns:__
|
|
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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/driver.rb#L773) common
|
855
839
|
|
856
840
|
> def set_location(opts = {})
|
857
841
|
|
@@ -867,7 +851,7 @@ __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/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/driver.rb#L797) common
|
871
855
|
|
872
856
|
> def log_event(vendor:, event:)
|
873
857
|
|
@@ -886,7 +870,7 @@ __Returns:__
|
|
886
870
|
|
887
871
|
--
|
888
872
|
|
889
|
-
##### [log_event=](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/driver.rb#L801) common
|
890
874
|
|
891
875
|
> def log_event=(log_event)
|
892
876
|
|
@@ -894,7 +878,7 @@ __Returns:__
|
|
894
878
|
|
895
879
|
--
|
896
880
|
|
897
|
-
##### [log_events](https://github.com/appium/ruby_lib/blob/
|
881
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/driver.rb#L820) common
|
898
882
|
|
899
883
|
> def log_events(type = nil)
|
900
884
|
|
@@ -910,7 +894,7 @@ __Returns:__
|
|
910
894
|
|
911
895
|
--
|
912
896
|
|
913
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [x](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/driver.rb#L827) common
|
914
898
|
|
915
899
|
> def x
|
916
900
|
|
@@ -923,7 +907,7 @@ __Returns:__
|
|
923
907
|
|
924
908
|
--
|
925
909
|
|
926
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
910
|
+
##### [username](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/sauce_labs.rb#L18) common
|
927
911
|
|
928
912
|
> def username
|
929
913
|
|
@@ -931,7 +915,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
931
915
|
|
932
916
|
--
|
933
917
|
|
934
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
918
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/sauce_labs.rb#L20) common
|
935
919
|
|
936
920
|
> def access_key
|
937
921
|
|
@@ -939,7 +923,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
939
923
|
|
940
924
|
--
|
941
925
|
|
942
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
926
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/sauce_labs.rb#L22) common
|
943
927
|
|
944
928
|
> def endpoint
|
945
929
|
|
@@ -947,7 +931,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
947
931
|
|
948
932
|
--
|
949
933
|
|
950
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
934
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/sauce_labs.rb#L47) common
|
951
935
|
|
952
936
|
> def initialize(appium_lib_opts)
|
953
937
|
|
@@ -963,7 +947,7 @@ __Returns:__
|
|
963
947
|
|
964
948
|
--
|
965
949
|
|
966
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
950
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/sauce_labs.rb#L67) common
|
967
951
|
|
968
952
|
> def sauce_server_url?
|
969
953
|
|
@@ -975,7 +959,7 @@ __Returns:__
|
|
975
959
|
|
976
960
|
--
|
977
961
|
|
978
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
962
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/sauce_labs.rb#L80) common
|
979
963
|
|
980
964
|
> def server_url
|
981
965
|
|
@@ -987,7 +971,7 @@ __Returns:__
|
|
987
971
|
|
988
972
|
--
|
989
973
|
|
990
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/log.rb#L25) common
|
991
975
|
|
992
976
|
> def get_log(type)
|
993
977
|
|
@@ -1003,7 +987,7 @@ __Returns:__
|
|
1003
987
|
|
1004
988
|
--
|
1005
989
|
|
1006
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
990
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/log.rb#L37) common
|
1007
991
|
|
1008
992
|
> def get_available_log_types
|
1009
993
|
|
@@ -1015,7 +999,7 @@ __Returns:__
|
|
1015
999
|
|
1016
1000
|
--
|
1017
1001
|
|
1018
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/wait.rb#L44) common
|
1019
1003
|
|
1020
1004
|
> def wait_true(opts = {})
|
1021
1005
|
|
@@ -1035,7 +1019,7 @@ __Parameters:__
|
|
1035
1019
|
|
1036
1020
|
--
|
1037
1021
|
|
1038
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1022
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/wait.rb#L73) common
|
1039
1023
|
|
1040
1024
|
> def wait(opts = {})
|
1041
1025
|
|
@@ -1053,7 +1037,7 @@ __Parameters:__
|
|
1053
1037
|
|
1054
1038
|
--
|
1055
1039
|
|
1056
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/device.rb#L26) common
|
1057
1041
|
|
1058
1042
|
> def add_touch_actions
|
1059
1043
|
|
@@ -1061,7 +1045,7 @@ __Parameters:__
|
|
1061
1045
|
|
1062
1046
|
--
|
1063
1047
|
|
1064
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/device.rb#L38) common
|
1065
1049
|
|
1066
1050
|
> def delegate_from_appium_driver(method, delegation_target)
|
1067
1051
|
|
@@ -1069,7 +1053,7 @@ __Parameters:__
|
|
1069
1053
|
|
1070
1054
|
--
|
1071
1055
|
|
1072
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L30) common
|
1073
1057
|
|
1074
1058
|
> def ignore
|
1075
1059
|
|
@@ -1077,7 +1061,7 @@ Return yield and ignore any exceptions.
|
|
1077
1061
|
|
1078
1062
|
--
|
1079
1063
|
|
1080
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [back](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L38) common
|
1081
1065
|
|
1082
1066
|
> def back
|
1083
1067
|
|
@@ -1089,7 +1073,7 @@ __Returns:__
|
|
1089
1073
|
|
1090
1074
|
--
|
1091
1075
|
|
1092
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L49) common
|
1093
1077
|
|
1094
1078
|
> def session_id
|
1095
1079
|
|
@@ -1101,7 +1085,7 @@ __Returns:__
|
|
1101
1085
|
|
1102
1086
|
--
|
1103
1087
|
|
1104
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1088
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L57) common
|
1105
1089
|
|
1106
1090
|
> def xpath(xpath_str)
|
1107
1091
|
|
@@ -1117,7 +1101,7 @@ __Returns:__
|
|
1117
1101
|
|
1118
1102
|
--
|
1119
1103
|
|
1120
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L65) common
|
1121
1105
|
|
1122
1106
|
> def xpaths(xpath_str)
|
1123
1107
|
|
@@ -1133,7 +1117,7 @@ __Returns:__
|
|
1133
1117
|
|
1134
1118
|
--
|
1135
1119
|
|
1136
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [result](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L75) common
|
1137
1121
|
|
1138
1122
|
> def result
|
1139
1123
|
|
@@ -1141,7 +1125,7 @@ Returns the value of attribute result.
|
|
1141
1125
|
|
1142
1126
|
--
|
1143
1127
|
|
1144
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1128
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L77) common
|
1145
1129
|
|
1146
1130
|
> def initialize(platform)
|
1147
1131
|
|
@@ -1153,7 +1137,7 @@ __Returns:__
|
|
1153
1137
|
|
1154
1138
|
--
|
1155
1139
|
|
1156
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1140
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L82) common
|
1157
1141
|
|
1158
1142
|
> def reset
|
1159
1143
|
|
@@ -1161,7 +1145,7 @@ __Returns:__
|
|
1161
1145
|
|
1162
1146
|
--
|
1163
1147
|
|
1164
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1148
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L87) common
|
1165
1149
|
|
1166
1150
|
> def start_element(name, attrs = [])
|
1167
1151
|
|
@@ -1169,7 +1153,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1169
1153
|
|
1170
1154
|
--
|
1171
1155
|
|
1172
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L98) common
|
1173
1157
|
|
1174
1158
|
> def formatted_result
|
1175
1159
|
|
@@ -1177,7 +1161,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1177
1161
|
|
1178
1162
|
--
|
1179
1163
|
|
1180
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L116) common
|
1181
1165
|
|
1182
1166
|
> def get_page_class
|
1183
1167
|
|
@@ -1189,7 +1173,7 @@ __Returns:__
|
|
1189
1173
|
|
1190
1174
|
--
|
1191
1175
|
|
1192
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L141) common
|
1193
1177
|
|
1194
1178
|
> def page_class
|
1195
1179
|
|
@@ -1202,7 +1186,7 @@ __Returns:__
|
|
1202
1186
|
|
1203
1187
|
--
|
1204
1188
|
|
1205
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [source](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L148) common
|
1206
1190
|
|
1207
1191
|
> def source
|
1208
1192
|
|
@@ -1214,7 +1198,7 @@ __Returns:__
|
|
1214
1198
|
|
1215
1199
|
--
|
1216
1200
|
|
1217
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L155) common
|
1218
1202
|
|
1219
1203
|
> def get_source
|
1220
1204
|
|
@@ -1227,7 +1211,7 @@ __Returns:__
|
|
1227
1211
|
|
1228
1212
|
--
|
1229
1213
|
|
1230
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1214
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L165) common
|
1231
1215
|
|
1232
1216
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1233
1217
|
|
@@ -1235,7 +1219,7 @@ Converts pixel values to window relative values
|
|
1235
1219
|
|
1236
1220
|
--
|
1237
1221
|
|
1238
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1222
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L184) common
|
1239
1223
|
|
1240
1224
|
> def xml_keys(target)
|
1241
1225
|
|
@@ -1251,7 +1235,7 @@ __Returns:__
|
|
1251
1235
|
|
1252
1236
|
--
|
1253
1237
|
|
1254
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1238
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L192) common
|
1255
1239
|
|
1256
1240
|
> def xml_values(target)
|
1257
1241
|
|
@@ -1267,7 +1251,7 @@ __Returns:__
|
|
1267
1251
|
|
1268
1252
|
--
|
1269
1253
|
|
1270
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L200) common
|
1271
1255
|
|
1272
1256
|
> def resolve_id(id)
|
1273
1257
|
|
@@ -1283,7 +1267,7 @@ __Returns:__
|
|
1283
1267
|
|
1284
1268
|
--
|
1285
1269
|
|
1286
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L207) common
|
1287
1271
|
|
1288
1272
|
> def filter
|
1289
1273
|
|
@@ -1291,7 +1275,7 @@ Returns the value of attribute filter.
|
|
1291
1275
|
|
1292
1276
|
--
|
1293
1277
|
|
1294
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1278
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L210) common
|
1295
1279
|
|
1296
1280
|
> def filter=(value)
|
1297
1281
|
|
@@ -1299,7 +1283,7 @@ convert to string to support symbols
|
|
1299
1283
|
|
1300
1284
|
--
|
1301
1285
|
|
1302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L217) common
|
1303
1287
|
|
1304
1288
|
> def initialize
|
1305
1289
|
|
@@ -1311,7 +1295,7 @@ __Returns:__
|
|
1311
1295
|
|
1312
1296
|
--
|
1313
1297
|
|
1314
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1298
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L222) common
|
1315
1299
|
|
1316
1300
|
> def reset
|
1317
1301
|
|
@@ -1319,7 +1303,7 @@ __Returns:__
|
|
1319
1303
|
|
1320
1304
|
--
|
1321
1305
|
|
1322
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1306
|
+
##### [result](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L228) common
|
1323
1307
|
|
1324
1308
|
> def result
|
1325
1309
|
|
@@ -1327,7 +1311,7 @@ __Returns:__
|
|
1327
1311
|
|
1328
1312
|
--
|
1329
1313
|
|
1330
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1314
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L242) common
|
1331
1315
|
|
1332
1316
|
> def start_element(name, attrs = [])
|
1333
1317
|
|
@@ -1335,7 +1319,7 @@ __Returns:__
|
|
1335
1319
|
|
1336
1320
|
--
|
1337
1321
|
|
1338
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1322
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L252) common
|
1339
1323
|
|
1340
1324
|
> def end_element(name)
|
1341
1325
|
|
@@ -1343,7 +1327,7 @@ __Returns:__
|
|
1343
1327
|
|
1344
1328
|
--
|
1345
1329
|
|
1346
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/helper.rb#L259) common
|
1347
1331
|
|
1348
1332
|
> def characters(chars)
|
1349
1333
|
|
@@ -1351,7 +1335,7 @@ __Returns:__
|
|
1351
1335
|
|
1352
1336
|
--
|
1353
1337
|
|
1354
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1338
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/multi_touch.rb#L65) common
|
1355
1339
|
|
1356
1340
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1357
1341
|
|
@@ -1371,7 +1355,7 @@ __Parameters:__
|
|
1371
1355
|
|
1372
1356
|
--
|
1373
1357
|
|
1374
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1358
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/multi_touch.rb#L108) common
|
1375
1359
|
|
1376
1360
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1377
1361
|
|
@@ -1391,7 +1375,7 @@ __Parameters:__
|
|
1391
1375
|
|
1392
1376
|
--
|
1393
1377
|
|
1394
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1378
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/multi_touch.rb#L194) common
|
1395
1379
|
|
1396
1380
|
> def initialize(driver = $driver)
|
1397
1381
|
|
@@ -1403,7 +1387,7 @@ __Returns:__
|
|
1403
1387
|
|
1404
1388
|
--
|
1405
1389
|
|
1406
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1390
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/touch_actions.rb#L62) common
|
1407
1391
|
|
1408
1392
|
> def initialize(driver = $driver)
|
1409
1393
|
|
@@ -1415,7 +1399,7 @@ __Returns:__
|
|
1415
1399
|
|
1416
1400
|
--
|
1417
1401
|
|
1418
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1402
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/touch_actions.rb#L66) common
|
1419
1403
|
|
1420
1404
|
> def swipe(opts)
|
1421
1405
|
|
@@ -1423,7 +1407,7 @@ __Returns:__
|
|
1423
1407
|
|
1424
1408
|
--
|
1425
1409
|
|
1426
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1410
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1427
1411
|
|
1428
1412
|
> def initialize(url:, output_file: 'logcat.log')
|
1429
1413
|
|
@@ -1435,7 +1419,7 @@ __Returns:__
|
|
1435
1419
|
|
1436
1420
|
--
|
1437
1421
|
|
1438
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1439
1423
|
|
1440
1424
|
> def handle_message_data(data)
|
1441
1425
|
|
@@ -1443,7 +1427,7 @@ __Returns:__
|
|
1443
1427
|
|
1444
1428
|
--
|
1445
1429
|
|
1446
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1430
|
+
##### [for](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/android.rb#L33) android
|
1447
1431
|
|
1448
1432
|
> def for(target)
|
1449
1433
|
|
@@ -1451,7 +1435,7 @@ __Returns:__
|
|
1451
1435
|
|
1452
1436
|
--
|
1453
1437
|
|
1454
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1438
|
+
##### [text](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/text.rb#L25) android
|
1455
1439
|
|
1456
1440
|
> def text(value)
|
1457
1441
|
|
@@ -1468,7 +1452,7 @@ __Returns:__
|
|
1468
1452
|
|
1469
1453
|
--
|
1470
1454
|
|
1471
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/text.rb#L35) android
|
1472
1456
|
|
1473
1457
|
> def texts(value = false)
|
1474
1458
|
|
@@ -1485,7 +1469,7 @@ __Returns:__
|
|
1485
1469
|
|
1486
1470
|
--
|
1487
1471
|
|
1488
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/text.rb#L43) android
|
1489
1473
|
|
1490
1474
|
> def first_text
|
1491
1475
|
|
@@ -1497,7 +1481,7 @@ __Returns:__
|
|
1497
1481
|
|
1498
1482
|
--
|
1499
1483
|
|
1500
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/text.rb#L49) android
|
1501
1485
|
|
1502
1486
|
> def last_text
|
1503
1487
|
|
@@ -1509,7 +1493,7 @@ __Returns:__
|
|
1509
1493
|
|
1510
1494
|
--
|
1511
1495
|
|
1512
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/text.rb#L56) android
|
1513
1497
|
|
1514
1498
|
> def text_exact(value)
|
1515
1499
|
|
@@ -1525,7 +1509,7 @@ __Returns:__
|
|
1525
1509
|
|
1526
1510
|
--
|
1527
1511
|
|
1528
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1512
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/text.rb#L63) android
|
1529
1513
|
|
1530
1514
|
> def texts_exact(value)
|
1531
1515
|
|
@@ -1541,7 +1525,7 @@ __Returns:__
|
|
1541
1525
|
|
1542
1526
|
--
|
1543
1527
|
|
1544
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1528
|
+
##### [result](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L20) android
|
1545
1529
|
|
1546
1530
|
> def result
|
1547
1531
|
|
@@ -1549,7 +1533,7 @@ Returns the value of attribute result.
|
|
1549
1533
|
|
1550
1534
|
--
|
1551
1535
|
|
1552
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1536
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L20) android
|
1553
1537
|
|
1554
1538
|
> def keys
|
1555
1539
|
|
@@ -1557,7 +1541,7 @@ Returns the value of attribute keys.
|
|
1557
1541
|
|
1558
1542
|
--
|
1559
1543
|
|
1560
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L20) android
|
1561
1545
|
|
1562
1546
|
> def filter
|
1563
1547
|
|
@@ -1565,7 +1549,7 @@ Returns the value of attribute filter.
|
|
1565
1549
|
|
1566
1550
|
--
|
1567
1551
|
|
1568
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1552
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L23) android
|
1569
1553
|
|
1570
1554
|
> def filter=(value)
|
1571
1555
|
|
@@ -1573,7 +1557,7 @@ convert to string to support symbols
|
|
1573
1557
|
|
1574
1558
|
--
|
1575
1559
|
|
1576
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1560
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L30) android
|
1577
1561
|
|
1578
1562
|
> def initialize
|
1579
1563
|
|
@@ -1585,7 +1569,7 @@ __Returns:__
|
|
1585
1569
|
|
1586
1570
|
--
|
1587
1571
|
|
1588
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1572
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L35) android
|
1589
1573
|
|
1590
1574
|
> def reset
|
1591
1575
|
|
@@ -1593,7 +1577,7 @@ __Returns:__
|
|
1593
1577
|
|
1594
1578
|
--
|
1595
1579
|
|
1596
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1580
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L41) android
|
1597
1581
|
|
1598
1582
|
> def start_element(name, attrs = [], driver = $driver)
|
1599
1583
|
|
@@ -1601,7 +1585,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1601
1585
|
|
1602
1586
|
--
|
1603
1587
|
|
1604
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1588
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L95) android
|
1605
1589
|
|
1606
1590
|
> def get_android_inspect(class_name = false)
|
1607
1591
|
|
@@ -1620,7 +1604,7 @@ __Returns:__
|
|
1620
1604
|
|
1621
1605
|
--
|
1622
1606
|
|
1623
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1607
|
+
##### [page](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L121) android
|
1624
1608
|
|
1625
1609
|
> def page(opts = {})
|
1626
1610
|
|
@@ -1639,7 +1623,7 @@ __Returns:__
|
|
1639
1623
|
|
1640
1624
|
--
|
1641
1625
|
|
1642
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1626
|
+
##### [id](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L130) android
|
1643
1627
|
|
1644
1628
|
> def id(id)
|
1645
1629
|
|
@@ -1655,7 +1639,7 @@ __Returns:__
|
|
1655
1639
|
|
1656
1640
|
--
|
1657
1641
|
|
1658
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1642
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L138) android
|
1659
1643
|
|
1660
1644
|
> def ids(id)
|
1661
1645
|
|
@@ -1671,7 +1655,7 @@ __Returns:__
|
|
1671
1655
|
|
1672
1656
|
--
|
1673
1657
|
|
1674
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1658
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L147) android
|
1675
1659
|
|
1676
1660
|
> def ele_index(class_name, index)
|
1677
1661
|
|
@@ -1689,7 +1673,7 @@ __Returns:__
|
|
1689
1673
|
|
1690
1674
|
--
|
1691
1675
|
|
1692
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1676
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L166) android
|
1693
1677
|
|
1694
1678
|
> def first_ele(class_name)
|
1695
1679
|
|
@@ -1705,7 +1689,7 @@ __Returns:__
|
|
1705
1689
|
|
1706
1690
|
--
|
1707
1691
|
|
1708
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1692
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L173) android
|
1709
1693
|
|
1710
1694
|
> def last_ele(class_name)
|
1711
1695
|
|
@@ -1721,7 +1705,7 @@ __Returns:__
|
|
1721
1705
|
|
1722
1706
|
--
|
1723
1707
|
|
1724
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L181) android
|
1725
1709
|
|
1726
1710
|
> def tag(class_name)
|
1727
1711
|
|
@@ -1737,7 +1721,7 @@ __Returns:__
|
|
1737
1721
|
|
1738
1722
|
--
|
1739
1723
|
|
1740
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L189) android
|
1741
1725
|
|
1742
1726
|
> def tags(class_name)
|
1743
1727
|
|
@@ -1753,7 +1737,7 @@ __Returns:__
|
|
1753
1737
|
|
1754
1738
|
--
|
1755
1739
|
|
1756
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1740
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L232) android
|
1757
1741
|
|
1758
1742
|
> def string_visible_contains_xpath(class_name, value)
|
1759
1743
|
|
@@ -1774,7 +1758,7 @@ __Returns:__
|
|
1774
1758
|
|
1775
1759
|
--
|
1776
1760
|
|
1777
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1761
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L252) android
|
1778
1762
|
|
1779
1763
|
> def string_visible_contains(class_name, value)
|
1780
1764
|
|
@@ -1795,7 +1779,7 @@ __Returns:__
|
|
1795
1779
|
|
1796
1780
|
--
|
1797
1781
|
|
1798
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1782
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L270) android
|
1799
1783
|
|
1800
1784
|
> def complex_find_contains(class_name, value)
|
1801
1785
|
|
@@ -1813,7 +1797,7 @@ __Returns:__
|
|
1813
1797
|
|
1814
1798
|
--
|
1815
1799
|
|
1816
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1800
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L278) android
|
1817
1801
|
|
1818
1802
|
> def complex_finds_contains(class_name, value)
|
1819
1803
|
|
@@ -1831,7 +1815,7 @@ __Returns:__
|
|
1831
1815
|
|
1832
1816
|
--
|
1833
1817
|
|
1834
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1818
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L320) android
|
1835
1819
|
|
1836
1820
|
> def complex_find_exact(class_name, value)
|
1837
1821
|
|
@@ -1849,7 +1833,7 @@ __Returns:__
|
|
1849
1833
|
|
1850
1834
|
--
|
1851
1835
|
|
1852
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1836
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/helper.rb#L328) android
|
1853
1837
|
|
1854
1838
|
> def complex_finds_exact(class_name, value)
|
1855
1839
|
|
@@ -1867,7 +1851,7 @@ __Returns:__
|
|
1867
1851
|
|
1868
1852
|
--
|
1869
1853
|
|
1870
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1854
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/alert.rb#L20) android
|
1871
1855
|
|
1872
1856
|
> def alert_click(value)
|
1873
1857
|
|
@@ -1883,7 +1867,7 @@ __Returns:__
|
|
1883
1867
|
|
1884
1868
|
--
|
1885
1869
|
|
1886
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1870
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/alert.rb#L27) android
|
1887
1871
|
|
1888
1872
|
> def alert_accept
|
1889
1873
|
|
@@ -1896,7 +1880,7 @@ __Returns:__
|
|
1896
1880
|
|
1897
1881
|
--
|
1898
1882
|
|
1899
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1883
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/alert.rb#L34) android
|
1900
1884
|
|
1901
1885
|
> def alert_accept_text
|
1902
1886
|
|
@@ -1909,7 +1893,7 @@ __Returns:__
|
|
1909
1893
|
|
1910
1894
|
--
|
1911
1895
|
|
1912
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1896
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/alert.rb#L41) android
|
1913
1897
|
|
1914
1898
|
> def alert_dismiss
|
1915
1899
|
|
@@ -1922,7 +1906,7 @@ __Returns:__
|
|
1922
1906
|
|
1923
1907
|
--
|
1924
1908
|
|
1925
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1909
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/alert.rb#L48) android
|
1926
1910
|
|
1927
1911
|
> def alert_dismiss_text
|
1928
1912
|
|
@@ -1935,7 +1919,7 @@ __Returns:__
|
|
1935
1919
|
|
1936
1920
|
--
|
1937
1921
|
|
1938
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1922
|
+
##### [button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L27) android
|
1939
1923
|
|
1940
1924
|
> def button(value)
|
1941
1925
|
|
@@ -1952,7 +1936,7 @@ __Returns:__
|
|
1952
1936
|
|
1953
1937
|
--
|
1954
1938
|
|
1955
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1939
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L45) android
|
1956
1940
|
|
1957
1941
|
> def buttons(value = false)
|
1958
1942
|
|
@@ -1969,7 +1953,7 @@ __Returns:__
|
|
1969
1953
|
|
1970
1954
|
--
|
1971
1955
|
|
1972
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1956
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L53) android
|
1973
1957
|
|
1974
1958
|
> def first_button
|
1975
1959
|
|
@@ -1981,7 +1965,7 @@ __Returns:__
|
|
1981
1965
|
|
1982
1966
|
--
|
1983
1967
|
|
1984
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1968
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L59) android
|
1985
1969
|
|
1986
1970
|
> def last_button
|
1987
1971
|
|
@@ -1993,7 +1977,7 @@ __Returns:__
|
|
1993
1977
|
|
1994
1978
|
--
|
1995
1979
|
|
1996
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1980
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L75) android
|
1997
1981
|
|
1998
1982
|
> def button_exact(value)
|
1999
1983
|
|
@@ -2009,7 +1993,7 @@ __Returns:__
|
|
2009
1993
|
|
2010
1994
|
--
|
2011
1995
|
|
2012
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1996
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L82) android
|
2013
1997
|
|
2014
1998
|
> def buttons_exact(value)
|
2015
1999
|
|
@@ -2025,7 +2009,7 @@ __Returns:__
|
|
2025
2009
|
|
2026
2010
|
--
|
2027
2011
|
|
2028
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2012
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L95) android
|
2029
2013
|
|
2030
2014
|
> def _button_visible_selectors(opts = {})
|
2031
2015
|
|
@@ -2033,7 +2017,7 @@ __Returns:__
|
|
2033
2017
|
|
2034
2018
|
--
|
2035
2019
|
|
2036
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2020
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L108) android
|
2037
2021
|
|
2038
2022
|
> def _button_exact_string(value)
|
2039
2023
|
|
@@ -2041,7 +2025,7 @@ __Returns:__
|
|
2041
2025
|
|
2042
2026
|
--
|
2043
2027
|
|
2044
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2028
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/button.rb#L114) android
|
2045
2029
|
|
2046
2030
|
> def _button_contains_string(value)
|
2047
2031
|
|
@@ -2049,7 +2033,7 @@ __Returns:__
|
|
2049
2033
|
|
2050
2034
|
--
|
2051
2035
|
|
2052
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [find](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/generic.rb#L20) android
|
2053
2037
|
|
2054
2038
|
> def find(value)
|
2055
2039
|
|
@@ -2065,7 +2049,7 @@ __Returns:__
|
|
2065
2049
|
|
2066
2050
|
--
|
2067
2051
|
|
2068
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2052
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/generic.rb#L27) android
|
2069
2053
|
|
2070
2054
|
> def finds(value)
|
2071
2055
|
|
@@ -2081,7 +2065,7 @@ __Returns:__
|
|
2081
2065
|
|
2082
2066
|
--
|
2083
2067
|
|
2084
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2068
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/generic.rb#L34) android
|
2085
2069
|
|
2086
2070
|
> def find_exact(value)
|
2087
2071
|
|
@@ -2097,7 +2081,7 @@ __Returns:__
|
|
2097
2081
|
|
2098
2082
|
--
|
2099
2083
|
|
2100
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2084
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/generic.rb#L41) android
|
2101
2085
|
|
2102
2086
|
> def finds_exact(value)
|
2103
2087
|
|
@@ -2113,7 +2097,7 @@ __Returns:__
|
|
2113
2097
|
|
2114
2098
|
--
|
2115
2099
|
|
2116
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2100
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/generic.rb#L54) android
|
2117
2101
|
|
2118
2102
|
> def scroll_to(text, scrollable_index = 0)
|
2119
2103
|
|
@@ -2131,7 +2115,7 @@ __Returns:__
|
|
2131
2115
|
|
2132
2116
|
--
|
2133
2117
|
|
2134
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2118
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/generic.rb#L70) android
|
2135
2119
|
|
2136
2120
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2137
2121
|
|
@@ -2149,7 +2133,7 @@ __Returns:__
|
|
2149
2133
|
|
2150
2134
|
--
|
2151
2135
|
|
2152
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2136
|
+
##### [for](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2153
2137
|
|
2154
2138
|
> def for(target)
|
2155
2139
|
|
@@ -2157,7 +2141,7 @@ __Returns:__
|
|
2157
2141
|
|
2158
2142
|
--
|
2159
2143
|
|
2160
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2144
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2161
2145
|
|
2162
2146
|
> def complex_find_contains(class_name, value)
|
2163
2147
|
|
@@ -2175,7 +2159,7 @@ __Returns:__
|
|
2175
2159
|
|
2176
2160
|
--
|
2177
2161
|
|
2178
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2162
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2179
2163
|
|
2180
2164
|
> def complex_finds_contains(class_name, value)
|
2181
2165
|
|
@@ -2193,7 +2177,7 @@ __Returns:__
|
|
2193
2177
|
|
2194
2178
|
--
|
2195
2179
|
|
2196
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2180
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2197
2181
|
|
2198
2182
|
> def complex_find_exact(class_name, value)
|
2199
2183
|
|
@@ -2211,7 +2195,7 @@ __Returns:__
|
|
2211
2195
|
|
2212
2196
|
--
|
2213
2197
|
|
2214
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2198
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2215
2199
|
|
2216
2200
|
> def complex_finds_exact(class_name, value)
|
2217
2201
|
|
@@ -2229,7 +2213,7 @@ __Returns:__
|
|
2229
2213
|
|
2230
2214
|
--
|
2231
2215
|
|
2232
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2216
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/textfield.rb#L24) android
|
2233
2217
|
|
2234
2218
|
> def textfield(value)
|
2235
2219
|
|
@@ -2246,7 +2230,7 @@ __Returns:__
|
|
2246
2230
|
|
2247
2231
|
--
|
2248
2232
|
|
2249
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/textfield.rb#L34) android
|
2250
2234
|
|
2251
2235
|
> def textfields(value = false)
|
2252
2236
|
|
@@ -2263,7 +2247,7 @@ __Returns:__
|
|
2263
2247
|
|
2264
2248
|
--
|
2265
2249
|
|
2266
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2250
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/textfield.rb#L42) android
|
2267
2251
|
|
2268
2252
|
> def first_textfield
|
2269
2253
|
|
@@ -2275,7 +2259,7 @@ __Returns:__
|
|
2275
2259
|
|
2276
2260
|
--
|
2277
2261
|
|
2278
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2262
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/textfield.rb#L48) android
|
2279
2263
|
|
2280
2264
|
> def last_textfield
|
2281
2265
|
|
@@ -2287,7 +2271,7 @@ __Returns:__
|
|
2287
2271
|
|
2288
2272
|
--
|
2289
2273
|
|
2290
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2274
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/textfield.rb#L55) android
|
2291
2275
|
|
2292
2276
|
> def textfield_exact(value)
|
2293
2277
|
|
@@ -2303,7 +2287,7 @@ __Returns:__
|
|
2303
2287
|
|
2304
2288
|
--
|
2305
2289
|
|
2306
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2290
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/element/textfield.rb#L62) android
|
2307
2291
|
|
2308
2292
|
> def textfields_exact(value)
|
2309
2293
|
|
@@ -2319,7 +2303,7 @@ __Returns:__
|
|
2319
2303
|
|
2320
2304
|
--
|
2321
2305
|
|
2322
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2306
|
+
##### [for](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2323
2307
|
|
2324
2308
|
> def for(target)
|
2325
2309
|
|
@@ -2327,7 +2311,7 @@ __Returns:__
|
|
2327
2311
|
|
2328
2312
|
--
|
2329
2313
|
|
2330
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2314
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2331
2315
|
|
2332
2316
|
> def string_visible_contains(class_name, value)
|
2333
2317
|
|
@@ -2348,7 +2332,7 @@ __Returns:__
|
|
2348
2332
|
|
2349
2333
|
--
|
2350
2334
|
|
2351
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2335
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2352
2336
|
|
2353
2337
|
> def complex_find_contains(class_name, value)
|
2354
2338
|
|
@@ -2366,7 +2350,7 @@ __Returns:__
|
|
2366
2350
|
|
2367
2351
|
--
|
2368
2352
|
|
2369
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2353
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2370
2354
|
|
2371
2355
|
> def complex_finds_contains(class_name, value)
|
2372
2356
|
|
@@ -2384,7 +2368,7 @@ __Returns:__
|
|
2384
2368
|
|
2385
2369
|
--
|
2386
2370
|
|
2387
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2371
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2388
2372
|
|
2389
2373
|
> def complex_find_exact(class_name, value)
|
2390
2374
|
|
@@ -2402,7 +2386,7 @@ __Returns:__
|
|
2402
2386
|
|
2403
2387
|
--
|
2404
2388
|
|
2405
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2389
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2406
2390
|
|
2407
2391
|
> def complex_finds_exact(class_name, value)
|
2408
2392
|
|
@@ -2420,7 +2404,7 @@ __Returns:__
|
|
2420
2404
|
|
2421
2405
|
--
|
2422
2406
|
|
2423
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2407
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/command/command.rb#L28) android
|
2424
2408
|
|
2425
2409
|
> def shell(command, arguments)
|
2426
2410
|
|
@@ -2435,7 +2419,7 @@ __Parameters:__
|
|
2435
2419
|
|
2436
2420
|
--
|
2437
2421
|
|
2438
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2422
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/command/command.rb#L42) android
|
2439
2423
|
|
2440
2424
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2441
2425
|
|
@@ -2447,7 +2431,7 @@ __Parameters:__
|
|
2447
2431
|
|
2448
2432
|
--
|
2449
2433
|
|
2450
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2434
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/common/command/command.rb#L55) android
|
2451
2435
|
|
2452
2436
|
> def stop_logs_broadcast
|
2453
2437
|
|
@@ -2455,7 +2439,7 @@ Stop Android logcat broadcast websocket
|
|
2455
2439
|
|
2456
2440
|
--
|
2457
2441
|
|
2458
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2442
|
+
##### [button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2459
2443
|
|
2460
2444
|
> def button(value)
|
2461
2445
|
|
@@ -2472,7 +2456,7 @@ __Returns:__
|
|
2472
2456
|
|
2473
2457
|
--
|
2474
2458
|
|
2475
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2476
2460
|
|
2477
2461
|
> def buttons(value = false)
|
2478
2462
|
|
@@ -2489,7 +2473,7 @@ __Returns:__
|
|
2489
2473
|
|
2490
2474
|
--
|
2491
2475
|
|
2492
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2476
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2493
2477
|
|
2494
2478
|
> def first_button
|
2495
2479
|
|
@@ -2501,7 +2485,7 @@ __Returns:__
|
|
2501
2485
|
|
2502
2486
|
--
|
2503
2487
|
|
2504
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2505
2489
|
|
2506
2490
|
> def last_button
|
2507
2491
|
|
@@ -2513,7 +2497,7 @@ __Returns:__
|
|
2513
2497
|
|
2514
2498
|
--
|
2515
2499
|
|
2516
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2500
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2517
2501
|
|
2518
2502
|
> def button_exact(value)
|
2519
2503
|
|
@@ -2529,7 +2513,7 @@ __Returns:__
|
|
2529
2513
|
|
2530
2514
|
--
|
2531
2515
|
|
2532
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2516
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2533
2517
|
|
2534
2518
|
> def buttons_exact(value)
|
2535
2519
|
|
@@ -2545,7 +2529,7 @@ __Returns:__
|
|
2545
2529
|
|
2546
2530
|
--
|
2547
2531
|
|
2548
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2532
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2549
2533
|
|
2550
2534
|
> def _button_visible_selectors_xpath(opts = {})
|
2551
2535
|
|
@@ -2553,7 +2537,7 @@ __Returns:__
|
|
2553
2537
|
|
2554
2538
|
--
|
2555
2539
|
|
2556
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2540
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2557
2541
|
|
2558
2542
|
> def _button_exact_string_xpath(class_name, value)
|
2559
2543
|
|
@@ -2561,7 +2545,7 @@ __Returns:__
|
|
2561
2545
|
|
2562
2546
|
--
|
2563
2547
|
|
2564
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2565
2549
|
|
2566
2550
|
> def _button_contains_string_xpath(class_name, value)
|
2567
2551
|
|
@@ -2569,7 +2553,7 @@ __Returns:__
|
|
2569
2553
|
|
2570
2554
|
--
|
2571
2555
|
|
2572
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2556
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2573
2557
|
|
2574
2558
|
> def scroll_to(text)
|
2575
2559
|
|
@@ -2586,7 +2570,7 @@ __Returns:__
|
|
2586
2570
|
|
2587
2571
|
--
|
2588
2572
|
|
2589
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/espresso/element/generic.rb#L48) android
|
2590
2574
|
|
2591
2575
|
> def scroll_to_exact(text)
|
2592
2576
|
|
@@ -2603,7 +2587,7 @@ __Returns:__
|
|
2603
2587
|
|
2604
2588
|
--
|
2605
2589
|
|
2606
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2590
|
+
##### [button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2607
2591
|
|
2608
2592
|
> def button(value)
|
2609
2593
|
|
@@ -2620,7 +2604,7 @@ __Returns:__
|
|
2620
2604
|
|
2621
2605
|
--
|
2622
2606
|
|
2623
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2607
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2624
2608
|
|
2625
2609
|
> def buttons(value = false)
|
2626
2610
|
|
@@ -2637,7 +2621,7 @@ __Returns:__
|
|
2637
2621
|
|
2638
2622
|
--
|
2639
2623
|
|
2640
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2624
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2641
2625
|
|
2642
2626
|
> def first_button
|
2643
2627
|
|
@@ -2649,7 +2633,7 @@ __Returns:__
|
|
2649
2633
|
|
2650
2634
|
--
|
2651
2635
|
|
2652
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2636
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2653
2637
|
|
2654
2638
|
> def last_button
|
2655
2639
|
|
@@ -2661,7 +2645,7 @@ __Returns:__
|
|
2661
2645
|
|
2662
2646
|
--
|
2663
2647
|
|
2664
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2648
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2665
2649
|
|
2666
2650
|
> def button_exact(value)
|
2667
2651
|
|
@@ -2677,7 +2661,7 @@ __Returns:__
|
|
2677
2661
|
|
2678
2662
|
--
|
2679
2663
|
|
2680
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/50cf980b570acd7d2d95ea64d1d1b0225f96c73b/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2681
2665
|
|
2682
2666
|
> def buttons_exact(value)
|
2683
2667
|
|