appium_lib 12.1.2 → 12.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2 -1
- data/appium_lib.gemspec +2 -2
- data/docs/android_docs.md +205 -205
- data/docs/ios_docs.md +243 -243
- data/lib/appium_lib/driver.rb +5 -2
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +13 -0
- metadata +7 -7
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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/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/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L66) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url.
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L67) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session.
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L68) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path.
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L69) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait.
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L70) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port.
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L71) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device.
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L72) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name.
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L73) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener.
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L74) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client.
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L75) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout.
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L76) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval.
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L79) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L81) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L84) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L86) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L155) common
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = false)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L281) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L301) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L305) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L309) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L315) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L321) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L327) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [action](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L341) common
|
403
403
|
|
404
404
|
> def action
|
405
405
|
|
@@ -412,7 +412,7 @@ __Returns:__
|
|
412
412
|
|
413
413
|
--
|
414
414
|
|
415
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L356) common
|
416
416
|
|
417
417
|
> def appium_server_version
|
418
418
|
|
@@ -424,7 +424,7 @@ __Returns:__
|
|
424
424
|
|
425
425
|
--
|
426
426
|
|
427
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
427
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L364) common
|
428
428
|
|
429
429
|
> def appium_server_version
|
430
430
|
|
@@ -436,7 +436,7 @@ __Returns:__
|
|
436
436
|
|
437
437
|
--
|
438
438
|
|
439
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L368) common
|
440
440
|
|
441
441
|
> def platform_version
|
442
442
|
|
@@ -448,7 +448,7 @@ __Returns:__
|
|
448
448
|
|
449
449
|
--
|
450
450
|
|
451
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L384) common
|
452
452
|
|
453
453
|
> def appium_client_version
|
454
454
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L396) common
|
464
464
|
|
465
465
|
> def absolute_app_path(opts)
|
466
466
|
|
@@ -477,7 +477,7 @@ __Returns:__
|
|
477
477
|
|
478
478
|
--
|
479
479
|
|
480
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L421) common
|
481
481
|
|
482
482
|
> def server_url
|
483
483
|
|
@@ -489,7 +489,7 @@ __Returns:__
|
|
489
489
|
|
490
490
|
--
|
491
491
|
|
492
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L430) common
|
493
493
|
|
494
494
|
> def restart
|
495
495
|
|
@@ -501,7 +501,7 @@ __Returns:__
|
|
501
501
|
|
502
502
|
--
|
503
503
|
|
504
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L443) common
|
505
505
|
|
506
506
|
> def screenshot(png_save_path)
|
507
507
|
|
@@ -517,7 +517,7 @@ __Returns:__
|
|
517
517
|
|
518
518
|
--
|
519
519
|
|
520
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
520
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L457) common
|
521
521
|
|
522
522
|
> def element_screenshot(element, png_save_path)
|
523
523
|
|
@@ -535,7 +535,7 @@ __Returns:__
|
|
535
535
|
|
536
536
|
--
|
537
537
|
|
538
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
538
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L464) common
|
539
539
|
|
540
540
|
> def driver_quit
|
541
541
|
|
@@ -547,7 +547,7 @@ __Returns:__
|
|
547
547
|
|
548
548
|
--
|
549
549
|
|
550
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
550
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L467) common
|
551
551
|
|
552
552
|
> def driver_quit
|
553
553
|
|
@@ -559,7 +559,7 @@ __Returns:__
|
|
559
559
|
|
560
560
|
--
|
561
561
|
|
562
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
562
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L478) common
|
563
563
|
|
564
564
|
> def window_size
|
565
565
|
|
@@ -571,7 +571,7 @@ __Returns:__
|
|
571
571
|
|
572
572
|
--
|
573
573
|
|
574
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L493) common
|
575
575
|
|
576
576
|
> def window_rect
|
577
577
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
583
583
|
|
584
584
|
--
|
585
585
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L526) common
|
587
587
|
|
588
588
|
> def start_driver(http_client_ops = { http_client: ::Appium::Http::Default.new, open_timeout: 999_999, read_timeout: 999_999 })
|
589
589
|
|
@@ -603,7 +603,7 @@ __Returns:__
|
|
603
603
|
|
604
604
|
--
|
605
605
|
|
606
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L547) common
|
607
607
|
|
608
608
|
> def set_implicit_wait(wait)
|
609
609
|
|
@@ -611,7 +611,7 @@ To ignore error for Espresso Driver
|
|
611
611
|
|
612
612
|
--
|
613
613
|
|
614
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
614
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L558) common
|
615
615
|
|
616
616
|
> def no_wait
|
617
617
|
|
@@ -619,7 +619,7 @@ Set implicit wait to zero.
|
|
619
619
|
|
620
620
|
--
|
621
621
|
|
622
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
622
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L572) common
|
623
623
|
|
624
624
|
> def set_wait(timeout = nil)
|
625
625
|
|
@@ -635,7 +635,7 @@ __Returns:__
|
|
635
635
|
|
636
636
|
--
|
637
637
|
|
638
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
638
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L589) common
|
639
639
|
|
640
640
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
641
641
|
|
@@ -659,7 +659,7 @@ __Returns:__
|
|
659
659
|
|
660
660
|
--
|
661
661
|
|
662
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L613) common
|
663
663
|
|
664
664
|
> def execute_script(script, *args)
|
665
665
|
|
@@ -677,7 +677,7 @@ __Returns:__
|
|
677
677
|
|
678
678
|
--
|
679
679
|
|
680
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
680
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L621) common
|
681
681
|
|
682
682
|
> def execute_async_script(script, *args)
|
683
683
|
|
@@ -687,7 +687,7 @@ Get the window handles of open browser windows
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L653) common
|
691
691
|
|
692
692
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
693
693
|
|
@@ -713,7 +713,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
713
713
|
|
714
714
|
--
|
715
715
|
|
716
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L657) common
|
717
717
|
|
718
718
|
> def window_handles
|
719
719
|
|
@@ -721,7 +721,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
721
721
|
|
722
722
|
--
|
723
723
|
|
724
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L662) common
|
725
725
|
|
726
726
|
> def window_handle
|
727
727
|
|
@@ -729,7 +729,7 @@ Get the current window handle
|
|
729
729
|
|
730
730
|
--
|
731
731
|
|
732
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L666) common
|
733
733
|
|
734
734
|
> def navigate
|
735
735
|
|
@@ -737,7 +737,7 @@ Get the current window handle
|
|
737
737
|
|
738
738
|
--
|
739
739
|
|
740
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L670) common
|
741
741
|
|
742
742
|
> def manage
|
743
743
|
|
@@ -745,7 +745,7 @@ Get the current window handle
|
|
745
745
|
|
746
746
|
--
|
747
747
|
|
748
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
748
|
+
##### [get](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L674) common
|
749
749
|
|
750
750
|
> def get(url)
|
751
751
|
|
@@ -753,7 +753,7 @@ Get the current window handle
|
|
753
753
|
|
754
754
|
--
|
755
755
|
|
756
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L678) common
|
757
757
|
|
758
758
|
> def current_url
|
759
759
|
|
@@ -761,7 +761,7 @@ Get the current window handle
|
|
761
761
|
|
762
762
|
--
|
763
763
|
|
764
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
764
|
+
##### [title](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L682) common
|
765
765
|
|
766
766
|
> def title
|
767
767
|
|
@@ -769,7 +769,7 @@ Get the current window handle
|
|
769
769
|
|
770
770
|
--
|
771
771
|
|
772
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L688) common
|
773
773
|
|
774
774
|
> def switch_to
|
775
775
|
|
@@ -781,7 +781,7 @@ __Returns:__
|
|
781
781
|
|
782
782
|
--
|
783
783
|
|
784
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
784
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L715) common
|
785
785
|
|
786
786
|
> def find_elements(*args)
|
787
787
|
|
@@ -801,7 +801,7 @@ __Returns:__
|
|
801
801
|
|
802
802
|
--
|
803
803
|
|
804
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L731) common
|
805
805
|
|
806
806
|
> def find_element(*args)
|
807
807
|
|
@@ -819,7 +819,7 @@ __Returns:__
|
|
819
819
|
|
820
820
|
--
|
821
821
|
|
822
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L746) common
|
823
823
|
|
824
824
|
> def find_element_by_image(png_img_path)
|
825
825
|
|
@@ -835,7 +835,7 @@ __Returns:__
|
|
835
835
|
|
836
836
|
--
|
837
837
|
|
838
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L761) common
|
839
839
|
|
840
840
|
> def find_elements_by_image(png_img_paths)
|
841
841
|
|
@@ -851,7 +851,7 @@ __Returns:__
|
|
851
851
|
|
852
852
|
--
|
853
853
|
|
854
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
854
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L774) common
|
855
855
|
|
856
856
|
> def set_location(opts = {})
|
857
857
|
|
@@ -867,7 +867,7 @@ __Returns:__
|
|
867
867
|
|
868
868
|
--
|
869
869
|
|
870
|
-
##### [log_event](https://github.com/appium/ruby_lib/blob/
|
870
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L798) common
|
871
871
|
|
872
872
|
> def log_event(vendor:, event:)
|
873
873
|
|
@@ -886,7 +886,7 @@ __Returns:__
|
|
886
886
|
|
887
887
|
--
|
888
888
|
|
889
|
-
##### [log_event=](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L802) common
|
890
890
|
|
891
891
|
> def log_event=(log_event)
|
892
892
|
|
@@ -894,7 +894,7 @@ __Returns:__
|
|
894
894
|
|
895
895
|
--
|
896
896
|
|
897
|
-
##### [log_events](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L821) common
|
898
898
|
|
899
899
|
> def log_events(type = nil)
|
900
900
|
|
@@ -910,7 +910,7 @@ __Returns:__
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [x](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/driver.rb#L828) common
|
914
914
|
|
915
915
|
> def x
|
916
916
|
|
@@ -923,7 +923,7 @@ __Returns:__
|
|
923
923
|
|
924
924
|
--
|
925
925
|
|
926
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
926
|
+
##### [username](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/sauce_labs.rb#L18) common
|
927
927
|
|
928
928
|
> def username
|
929
929
|
|
@@ -931,7 +931,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
931
931
|
|
932
932
|
--
|
933
933
|
|
934
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
934
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/sauce_labs.rb#L20) common
|
935
935
|
|
936
936
|
> def access_key
|
937
937
|
|
@@ -939,7 +939,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
939
939
|
|
940
940
|
--
|
941
941
|
|
942
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
942
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/sauce_labs.rb#L22) common
|
943
943
|
|
944
944
|
> def endpoint
|
945
945
|
|
@@ -947,7 +947,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
947
947
|
|
948
948
|
--
|
949
949
|
|
950
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
950
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/sauce_labs.rb#L47) common
|
951
951
|
|
952
952
|
> def initialize(appium_lib_opts)
|
953
953
|
|
@@ -963,7 +963,7 @@ __Returns:__
|
|
963
963
|
|
964
964
|
--
|
965
965
|
|
966
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/sauce_labs.rb#L67) common
|
967
967
|
|
968
968
|
> def sauce_server_url?
|
969
969
|
|
@@ -975,7 +975,7 @@ __Returns:__
|
|
975
975
|
|
976
976
|
--
|
977
977
|
|
978
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
978
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/sauce_labs.rb#L80) common
|
979
979
|
|
980
980
|
> def server_url
|
981
981
|
|
@@ -987,7 +987,7 @@ __Returns:__
|
|
987
987
|
|
988
988
|
--
|
989
989
|
|
990
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
990
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/log.rb#L25) common
|
991
991
|
|
992
992
|
> def get_log(type)
|
993
993
|
|
@@ -1003,7 +1003,7 @@ __Returns:__
|
|
1003
1003
|
|
1004
1004
|
--
|
1005
1005
|
|
1006
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/log.rb#L37) common
|
1007
1007
|
|
1008
1008
|
> def get_available_log_types
|
1009
1009
|
|
@@ -1015,7 +1015,7 @@ __Returns:__
|
|
1015
1015
|
|
1016
1016
|
--
|
1017
1017
|
|
1018
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1018
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/wait.rb#L44) common
|
1019
1019
|
|
1020
1020
|
> def wait_true(opts = {})
|
1021
1021
|
|
@@ -1035,7 +1035,7 @@ __Parameters:__
|
|
1035
1035
|
|
1036
1036
|
--
|
1037
1037
|
|
1038
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1038
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/wait.rb#L73) common
|
1039
1039
|
|
1040
1040
|
> def wait(opts = {})
|
1041
1041
|
|
@@ -1053,7 +1053,7 @@ __Parameters:__
|
|
1053
1053
|
|
1054
1054
|
--
|
1055
1055
|
|
1056
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/device.rb#L26) common
|
1057
1057
|
|
1058
1058
|
> def add_touch_actions
|
1059
1059
|
|
@@ -1061,7 +1061,7 @@ __Parameters:__
|
|
1061
1061
|
|
1062
1062
|
--
|
1063
1063
|
|
1064
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/device.rb#L38) common
|
1065
1065
|
|
1066
1066
|
> def delegate_from_appium_driver(method, delegation_target)
|
1067
1067
|
|
@@ -1069,7 +1069,7 @@ __Parameters:__
|
|
1069
1069
|
|
1070
1070
|
--
|
1071
1071
|
|
1072
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1072
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L30) common
|
1073
1073
|
|
1074
1074
|
> def ignore
|
1075
1075
|
|
@@ -1077,7 +1077,7 @@ Return yield and ignore any exceptions.
|
|
1077
1077
|
|
1078
1078
|
--
|
1079
1079
|
|
1080
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1080
|
+
##### [back](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L38) common
|
1081
1081
|
|
1082
1082
|
> def back
|
1083
1083
|
|
@@ -1089,7 +1089,7 @@ __Returns:__
|
|
1089
1089
|
|
1090
1090
|
--
|
1091
1091
|
|
1092
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L49) common
|
1093
1093
|
|
1094
1094
|
> def session_id
|
1095
1095
|
|
@@ -1101,7 +1101,7 @@ __Returns:__
|
|
1101
1101
|
|
1102
1102
|
--
|
1103
1103
|
|
1104
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L57) common
|
1105
1105
|
|
1106
1106
|
> def xpath(xpath_str)
|
1107
1107
|
|
@@ -1117,7 +1117,7 @@ __Returns:__
|
|
1117
1117
|
|
1118
1118
|
--
|
1119
1119
|
|
1120
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L65) common
|
1121
1121
|
|
1122
1122
|
> def xpaths(xpath_str)
|
1123
1123
|
|
@@ -1133,7 +1133,7 @@ __Returns:__
|
|
1133
1133
|
|
1134
1134
|
--
|
1135
1135
|
|
1136
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1136
|
+
##### [result](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L75) common
|
1137
1137
|
|
1138
1138
|
> def result
|
1139
1139
|
|
@@ -1141,7 +1141,7 @@ Returns the value of attribute result.
|
|
1141
1141
|
|
1142
1142
|
--
|
1143
1143
|
|
1144
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1144
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L77) common
|
1145
1145
|
|
1146
1146
|
> def initialize(platform)
|
1147
1147
|
|
@@ -1153,7 +1153,7 @@ __Returns:__
|
|
1153
1153
|
|
1154
1154
|
--
|
1155
1155
|
|
1156
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L82) common
|
1157
1157
|
|
1158
1158
|
> def reset
|
1159
1159
|
|
@@ -1161,7 +1161,7 @@ __Returns:__
|
|
1161
1161
|
|
1162
1162
|
--
|
1163
1163
|
|
1164
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L87) common
|
1165
1165
|
|
1166
1166
|
> def start_element(name, attrs = [])
|
1167
1167
|
|
@@ -1169,7 +1169,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1169
1169
|
|
1170
1170
|
--
|
1171
1171
|
|
1172
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L98) common
|
1173
1173
|
|
1174
1174
|
> def formatted_result
|
1175
1175
|
|
@@ -1177,7 +1177,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1177
1177
|
|
1178
1178
|
--
|
1179
1179
|
|
1180
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L116) common
|
1181
1181
|
|
1182
1182
|
> def get_page_class
|
1183
1183
|
|
@@ -1189,7 +1189,7 @@ __Returns:__
|
|
1189
1189
|
|
1190
1190
|
--
|
1191
1191
|
|
1192
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L141) common
|
1193
1193
|
|
1194
1194
|
> def page_class
|
1195
1195
|
|
@@ -1202,7 +1202,7 @@ __Returns:__
|
|
1202
1202
|
|
1203
1203
|
--
|
1204
1204
|
|
1205
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [source](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L148) common
|
1206
1206
|
|
1207
1207
|
> def source
|
1208
1208
|
|
@@ -1214,7 +1214,7 @@ __Returns:__
|
|
1214
1214
|
|
1215
1215
|
--
|
1216
1216
|
|
1217
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L155) common
|
1218
1218
|
|
1219
1219
|
> def get_source
|
1220
1220
|
|
@@ -1227,7 +1227,7 @@ __Returns:__
|
|
1227
1227
|
|
1228
1228
|
--
|
1229
1229
|
|
1230
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1230
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L165) common
|
1231
1231
|
|
1232
1232
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1233
1233
|
|
@@ -1235,7 +1235,7 @@ Converts pixel values to window relative values
|
|
1235
1235
|
|
1236
1236
|
--
|
1237
1237
|
|
1238
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1238
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L184) common
|
1239
1239
|
|
1240
1240
|
> def xml_keys(target)
|
1241
1241
|
|
@@ -1251,7 +1251,7 @@ __Returns:__
|
|
1251
1251
|
|
1252
1252
|
--
|
1253
1253
|
|
1254
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L192) common
|
1255
1255
|
|
1256
1256
|
> def xml_values(target)
|
1257
1257
|
|
@@ -1267,7 +1267,7 @@ __Returns:__
|
|
1267
1267
|
|
1268
1268
|
--
|
1269
1269
|
|
1270
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L200) common
|
1271
1271
|
|
1272
1272
|
> def resolve_id(id)
|
1273
1273
|
|
@@ -1283,7 +1283,7 @@ __Returns:__
|
|
1283
1283
|
|
1284
1284
|
--
|
1285
1285
|
|
1286
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L207) common
|
1287
1287
|
|
1288
1288
|
> def filter
|
1289
1289
|
|
@@ -1291,7 +1291,7 @@ Returns the value of attribute filter.
|
|
1291
1291
|
|
1292
1292
|
--
|
1293
1293
|
|
1294
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1294
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L210) common
|
1295
1295
|
|
1296
1296
|
> def filter=(value)
|
1297
1297
|
|
@@ -1299,7 +1299,7 @@ convert to string to support symbols
|
|
1299
1299
|
|
1300
1300
|
--
|
1301
1301
|
|
1302
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1302
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L217) common
|
1303
1303
|
|
1304
1304
|
> def initialize
|
1305
1305
|
|
@@ -1311,7 +1311,7 @@ __Returns:__
|
|
1311
1311
|
|
1312
1312
|
--
|
1313
1313
|
|
1314
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1314
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L222) common
|
1315
1315
|
|
1316
1316
|
> def reset
|
1317
1317
|
|
@@ -1319,7 +1319,7 @@ __Returns:__
|
|
1319
1319
|
|
1320
1320
|
--
|
1321
1321
|
|
1322
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1322
|
+
##### [result](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L228) common
|
1323
1323
|
|
1324
1324
|
> def result
|
1325
1325
|
|
@@ -1327,7 +1327,7 @@ __Returns:__
|
|
1327
1327
|
|
1328
1328
|
--
|
1329
1329
|
|
1330
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L242) common
|
1331
1331
|
|
1332
1332
|
> def start_element(name, attrs = [])
|
1333
1333
|
|
@@ -1335,7 +1335,7 @@ __Returns:__
|
|
1335
1335
|
|
1336
1336
|
--
|
1337
1337
|
|
1338
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1338
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L252) common
|
1339
1339
|
|
1340
1340
|
> def end_element(name)
|
1341
1341
|
|
@@ -1343,7 +1343,7 @@ __Returns:__
|
|
1343
1343
|
|
1344
1344
|
--
|
1345
1345
|
|
1346
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1346
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/helper.rb#L259) common
|
1347
1347
|
|
1348
1348
|
> def characters(chars)
|
1349
1349
|
|
@@ -1351,7 +1351,7 @@ __Returns:__
|
|
1351
1351
|
|
1352
1352
|
--
|
1353
1353
|
|
1354
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/multi_touch.rb#L65) common
|
1355
1355
|
|
1356
1356
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1357
1357
|
|
@@ -1371,7 +1371,7 @@ __Parameters:__
|
|
1371
1371
|
|
1372
1372
|
--
|
1373
1373
|
|
1374
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/multi_touch.rb#L108) common
|
1375
1375
|
|
1376
1376
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1377
1377
|
|
@@ -1391,7 +1391,7 @@ __Parameters:__
|
|
1391
1391
|
|
1392
1392
|
--
|
1393
1393
|
|
1394
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/multi_touch.rb#L194) common
|
1395
1395
|
|
1396
1396
|
> def initialize(driver = $driver)
|
1397
1397
|
|
@@ -1403,7 +1403,7 @@ __Returns:__
|
|
1403
1403
|
|
1404
1404
|
--
|
1405
1405
|
|
1406
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/touch_actions.rb#L62) common
|
1407
1407
|
|
1408
1408
|
> def initialize(driver = $driver)
|
1409
1409
|
|
@@ -1415,7 +1415,7 @@ __Returns:__
|
|
1415
1415
|
|
1416
1416
|
--
|
1417
1417
|
|
1418
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1418
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/touch_actions.rb#L66) common
|
1419
1419
|
|
1420
1420
|
> def swipe(opts)
|
1421
1421
|
|
@@ -1423,7 +1423,7 @@ __Returns:__
|
|
1423
1423
|
|
1424
1424
|
--
|
1425
1425
|
|
1426
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1427
1427
|
|
1428
1428
|
> def initialize(url:, output_file: 'logcat.log')
|
1429
1429
|
|
@@ -1435,7 +1435,7 @@ __Returns:__
|
|
1435
1435
|
|
1436
1436
|
--
|
1437
1437
|
|
1438
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1438
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1439
1439
|
|
1440
1440
|
> def handle_message_data(data)
|
1441
1441
|
|
@@ -1443,7 +1443,7 @@ __Returns:__
|
|
1443
1443
|
|
1444
1444
|
--
|
1445
1445
|
|
1446
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1446
|
+
##### [for](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/android.rb#L33) android
|
1447
1447
|
|
1448
1448
|
> def for(target)
|
1449
1449
|
|
@@ -1451,7 +1451,7 @@ __Returns:__
|
|
1451
1451
|
|
1452
1452
|
--
|
1453
1453
|
|
1454
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1454
|
+
##### [text](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/text.rb#L25) android
|
1455
1455
|
|
1456
1456
|
> def text(value)
|
1457
1457
|
|
@@ -1468,7 +1468,7 @@ __Returns:__
|
|
1468
1468
|
|
1469
1469
|
--
|
1470
1470
|
|
1471
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/text.rb#L35) android
|
1472
1472
|
|
1473
1473
|
> def texts(value = false)
|
1474
1474
|
|
@@ -1485,7 +1485,7 @@ __Returns:__
|
|
1485
1485
|
|
1486
1486
|
--
|
1487
1487
|
|
1488
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/text.rb#L43) android
|
1489
1489
|
|
1490
1490
|
> def first_text
|
1491
1491
|
|
@@ -1497,7 +1497,7 @@ __Returns:__
|
|
1497
1497
|
|
1498
1498
|
--
|
1499
1499
|
|
1500
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1500
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/text.rb#L49) android
|
1501
1501
|
|
1502
1502
|
> def last_text
|
1503
1503
|
|
@@ -1509,7 +1509,7 @@ __Returns:__
|
|
1509
1509
|
|
1510
1510
|
--
|
1511
1511
|
|
1512
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1512
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/text.rb#L56) android
|
1513
1513
|
|
1514
1514
|
> def text_exact(value)
|
1515
1515
|
|
@@ -1525,7 +1525,7 @@ __Returns:__
|
|
1525
1525
|
|
1526
1526
|
--
|
1527
1527
|
|
1528
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1528
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/text.rb#L63) android
|
1529
1529
|
|
1530
1530
|
> def texts_exact(value)
|
1531
1531
|
|
@@ -1541,7 +1541,7 @@ __Returns:__
|
|
1541
1541
|
|
1542
1542
|
--
|
1543
1543
|
|
1544
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [result](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L20) android
|
1545
1545
|
|
1546
1546
|
> def result
|
1547
1547
|
|
@@ -1549,7 +1549,7 @@ Returns the value of attribute result.
|
|
1549
1549
|
|
1550
1550
|
--
|
1551
1551
|
|
1552
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1552
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L20) android
|
1553
1553
|
|
1554
1554
|
> def keys
|
1555
1555
|
|
@@ -1557,7 +1557,7 @@ Returns the value of attribute keys.
|
|
1557
1557
|
|
1558
1558
|
--
|
1559
1559
|
|
1560
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1560
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L20) android
|
1561
1561
|
|
1562
1562
|
> def filter
|
1563
1563
|
|
@@ -1565,7 +1565,7 @@ Returns the value of attribute filter.
|
|
1565
1565
|
|
1566
1566
|
--
|
1567
1567
|
|
1568
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1568
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L23) android
|
1569
1569
|
|
1570
1570
|
> def filter=(value)
|
1571
1571
|
|
@@ -1573,7 +1573,7 @@ convert to string to support symbols
|
|
1573
1573
|
|
1574
1574
|
--
|
1575
1575
|
|
1576
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1576
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L30) android
|
1577
1577
|
|
1578
1578
|
> def initialize
|
1579
1579
|
|
@@ -1585,7 +1585,7 @@ __Returns:__
|
|
1585
1585
|
|
1586
1586
|
--
|
1587
1587
|
|
1588
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1588
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L35) android
|
1589
1589
|
|
1590
1590
|
> def reset
|
1591
1591
|
|
@@ -1593,7 +1593,7 @@ __Returns:__
|
|
1593
1593
|
|
1594
1594
|
--
|
1595
1595
|
|
1596
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1596
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L41) android
|
1597
1597
|
|
1598
1598
|
> def start_element(name, attrs = [], driver = $driver)
|
1599
1599
|
|
@@ -1601,7 +1601,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1601
1601
|
|
1602
1602
|
--
|
1603
1603
|
|
1604
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1604
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L95) android
|
1605
1605
|
|
1606
1606
|
> def get_android_inspect(class_name = false)
|
1607
1607
|
|
@@ -1620,7 +1620,7 @@ __Returns:__
|
|
1620
1620
|
|
1621
1621
|
--
|
1622
1622
|
|
1623
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1623
|
+
##### [page](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L121) android
|
1624
1624
|
|
1625
1625
|
> def page(opts = {})
|
1626
1626
|
|
@@ -1639,7 +1639,7 @@ __Returns:__
|
|
1639
1639
|
|
1640
1640
|
--
|
1641
1641
|
|
1642
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1642
|
+
##### [id](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L130) android
|
1643
1643
|
|
1644
1644
|
> def id(id)
|
1645
1645
|
|
@@ -1655,7 +1655,7 @@ __Returns:__
|
|
1655
1655
|
|
1656
1656
|
--
|
1657
1657
|
|
1658
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1658
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L138) android
|
1659
1659
|
|
1660
1660
|
> def ids(id)
|
1661
1661
|
|
@@ -1671,7 +1671,7 @@ __Returns:__
|
|
1671
1671
|
|
1672
1672
|
--
|
1673
1673
|
|
1674
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1674
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L147) android
|
1675
1675
|
|
1676
1676
|
> def ele_index(class_name, index)
|
1677
1677
|
|
@@ -1689,7 +1689,7 @@ __Returns:__
|
|
1689
1689
|
|
1690
1690
|
--
|
1691
1691
|
|
1692
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1692
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L166) android
|
1693
1693
|
|
1694
1694
|
> def first_ele(class_name)
|
1695
1695
|
|
@@ -1705,7 +1705,7 @@ __Returns:__
|
|
1705
1705
|
|
1706
1706
|
--
|
1707
1707
|
|
1708
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L173) android
|
1709
1709
|
|
1710
1710
|
> def last_ele(class_name)
|
1711
1711
|
|
@@ -1721,7 +1721,7 @@ __Returns:__
|
|
1721
1721
|
|
1722
1722
|
--
|
1723
1723
|
|
1724
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L181) android
|
1725
1725
|
|
1726
1726
|
> def tag(class_name)
|
1727
1727
|
|
@@ -1737,7 +1737,7 @@ __Returns:__
|
|
1737
1737
|
|
1738
1738
|
--
|
1739
1739
|
|
1740
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1740
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L189) android
|
1741
1741
|
|
1742
1742
|
> def tags(class_name)
|
1743
1743
|
|
@@ -1753,7 +1753,7 @@ __Returns:__
|
|
1753
1753
|
|
1754
1754
|
--
|
1755
1755
|
|
1756
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1756
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L232) android
|
1757
1757
|
|
1758
1758
|
> def string_visible_contains_xpath(class_name, value)
|
1759
1759
|
|
@@ -1774,7 +1774,7 @@ __Returns:__
|
|
1774
1774
|
|
1775
1775
|
--
|
1776
1776
|
|
1777
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1777
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L252) android
|
1778
1778
|
|
1779
1779
|
> def string_visible_contains(class_name, value)
|
1780
1780
|
|
@@ -1795,7 +1795,7 @@ __Returns:__
|
|
1795
1795
|
|
1796
1796
|
--
|
1797
1797
|
|
1798
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1798
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L270) android
|
1799
1799
|
|
1800
1800
|
> def complex_find_contains(class_name, value)
|
1801
1801
|
|
@@ -1813,7 +1813,7 @@ __Returns:__
|
|
1813
1813
|
|
1814
1814
|
--
|
1815
1815
|
|
1816
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1816
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L278) android
|
1817
1817
|
|
1818
1818
|
> def complex_finds_contains(class_name, value)
|
1819
1819
|
|
@@ -1831,7 +1831,7 @@ __Returns:__
|
|
1831
1831
|
|
1832
1832
|
--
|
1833
1833
|
|
1834
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L320) android
|
1835
1835
|
|
1836
1836
|
> def complex_find_exact(class_name, value)
|
1837
1837
|
|
@@ -1849,7 +1849,7 @@ __Returns:__
|
|
1849
1849
|
|
1850
1850
|
--
|
1851
1851
|
|
1852
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1852
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/helper.rb#L328) android
|
1853
1853
|
|
1854
1854
|
> def complex_finds_exact(class_name, value)
|
1855
1855
|
|
@@ -1867,7 +1867,7 @@ __Returns:__
|
|
1867
1867
|
|
1868
1868
|
--
|
1869
1869
|
|
1870
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1870
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/alert.rb#L20) android
|
1871
1871
|
|
1872
1872
|
> def alert_click(value)
|
1873
1873
|
|
@@ -1883,7 +1883,7 @@ __Returns:__
|
|
1883
1883
|
|
1884
1884
|
--
|
1885
1885
|
|
1886
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1886
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/alert.rb#L27) android
|
1887
1887
|
|
1888
1888
|
> def alert_accept
|
1889
1889
|
|
@@ -1896,7 +1896,7 @@ __Returns:__
|
|
1896
1896
|
|
1897
1897
|
--
|
1898
1898
|
|
1899
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/alert.rb#L34) android
|
1900
1900
|
|
1901
1901
|
> def alert_accept_text
|
1902
1902
|
|
@@ -1909,7 +1909,7 @@ __Returns:__
|
|
1909
1909
|
|
1910
1910
|
--
|
1911
1911
|
|
1912
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1912
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/alert.rb#L41) android
|
1913
1913
|
|
1914
1914
|
> def alert_dismiss
|
1915
1915
|
|
@@ -1922,7 +1922,7 @@ __Returns:__
|
|
1922
1922
|
|
1923
1923
|
--
|
1924
1924
|
|
1925
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1925
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/alert.rb#L48) android
|
1926
1926
|
|
1927
1927
|
> def alert_dismiss_text
|
1928
1928
|
|
@@ -1935,7 +1935,7 @@ __Returns:__
|
|
1935
1935
|
|
1936
1936
|
--
|
1937
1937
|
|
1938
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1938
|
+
##### [button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L27) android
|
1939
1939
|
|
1940
1940
|
> def button(value)
|
1941
1941
|
|
@@ -1952,7 +1952,7 @@ __Returns:__
|
|
1952
1952
|
|
1953
1953
|
--
|
1954
1954
|
|
1955
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1955
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L45) android
|
1956
1956
|
|
1957
1957
|
> def buttons(value = false)
|
1958
1958
|
|
@@ -1969,7 +1969,7 @@ __Returns:__
|
|
1969
1969
|
|
1970
1970
|
--
|
1971
1971
|
|
1972
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1972
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L53) android
|
1973
1973
|
|
1974
1974
|
> def first_button
|
1975
1975
|
|
@@ -1981,7 +1981,7 @@ __Returns:__
|
|
1981
1981
|
|
1982
1982
|
--
|
1983
1983
|
|
1984
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1984
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L59) android
|
1985
1985
|
|
1986
1986
|
> def last_button
|
1987
1987
|
|
@@ -1993,7 +1993,7 @@ __Returns:__
|
|
1993
1993
|
|
1994
1994
|
--
|
1995
1995
|
|
1996
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1996
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L75) android
|
1997
1997
|
|
1998
1998
|
> def button_exact(value)
|
1999
1999
|
|
@@ -2009,7 +2009,7 @@ __Returns:__
|
|
2009
2009
|
|
2010
2010
|
--
|
2011
2011
|
|
2012
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2012
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L82) android
|
2013
2013
|
|
2014
2014
|
> def buttons_exact(value)
|
2015
2015
|
|
@@ -2025,7 +2025,7 @@ __Returns:__
|
|
2025
2025
|
|
2026
2026
|
--
|
2027
2027
|
|
2028
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2028
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L95) android
|
2029
2029
|
|
2030
2030
|
> def _button_visible_selectors(opts = {})
|
2031
2031
|
|
@@ -2033,7 +2033,7 @@ __Returns:__
|
|
2033
2033
|
|
2034
2034
|
--
|
2035
2035
|
|
2036
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L108) android
|
2037
2037
|
|
2038
2038
|
> def _button_exact_string(value)
|
2039
2039
|
|
@@ -2041,7 +2041,7 @@ __Returns:__
|
|
2041
2041
|
|
2042
2042
|
--
|
2043
2043
|
|
2044
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2044
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/button.rb#L114) android
|
2045
2045
|
|
2046
2046
|
> def _button_contains_string(value)
|
2047
2047
|
|
@@ -2049,7 +2049,7 @@ __Returns:__
|
|
2049
2049
|
|
2050
2050
|
--
|
2051
2051
|
|
2052
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2052
|
+
##### [find](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/generic.rb#L20) android
|
2053
2053
|
|
2054
2054
|
> def find(value)
|
2055
2055
|
|
@@ -2065,7 +2065,7 @@ __Returns:__
|
|
2065
2065
|
|
2066
2066
|
--
|
2067
2067
|
|
2068
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2068
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/generic.rb#L27) android
|
2069
2069
|
|
2070
2070
|
> def finds(value)
|
2071
2071
|
|
@@ -2081,7 +2081,7 @@ __Returns:__
|
|
2081
2081
|
|
2082
2082
|
--
|
2083
2083
|
|
2084
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2084
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/generic.rb#L34) android
|
2085
2085
|
|
2086
2086
|
> def find_exact(value)
|
2087
2087
|
|
@@ -2097,7 +2097,7 @@ __Returns:__
|
|
2097
2097
|
|
2098
2098
|
--
|
2099
2099
|
|
2100
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2100
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/generic.rb#L41) android
|
2101
2101
|
|
2102
2102
|
> def finds_exact(value)
|
2103
2103
|
|
@@ -2113,7 +2113,7 @@ __Returns:__
|
|
2113
2113
|
|
2114
2114
|
--
|
2115
2115
|
|
2116
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2116
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/generic.rb#L54) android
|
2117
2117
|
|
2118
2118
|
> def scroll_to(text, scrollable_index = 0)
|
2119
2119
|
|
@@ -2131,7 +2131,7 @@ __Returns:__
|
|
2131
2131
|
|
2132
2132
|
--
|
2133
2133
|
|
2134
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2134
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/generic.rb#L70) android
|
2135
2135
|
|
2136
2136
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2137
2137
|
|
@@ -2149,7 +2149,7 @@ __Returns:__
|
|
2149
2149
|
|
2150
2150
|
--
|
2151
2151
|
|
2152
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2152
|
+
##### [for](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2153
2153
|
|
2154
2154
|
> def for(target)
|
2155
2155
|
|
@@ -2157,7 +2157,7 @@ __Returns:__
|
|
2157
2157
|
|
2158
2158
|
--
|
2159
2159
|
|
2160
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2160
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2161
2161
|
|
2162
2162
|
> def complex_find_contains(class_name, value)
|
2163
2163
|
|
@@ -2175,7 +2175,7 @@ __Returns:__
|
|
2175
2175
|
|
2176
2176
|
--
|
2177
2177
|
|
2178
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2178
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2179
2179
|
|
2180
2180
|
> def complex_finds_contains(class_name, value)
|
2181
2181
|
|
@@ -2193,7 +2193,7 @@ __Returns:__
|
|
2193
2193
|
|
2194
2194
|
--
|
2195
2195
|
|
2196
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2196
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2197
2197
|
|
2198
2198
|
> def complex_find_exact(class_name, value)
|
2199
2199
|
|
@@ -2211,7 +2211,7 @@ __Returns:__
|
|
2211
2211
|
|
2212
2212
|
--
|
2213
2213
|
|
2214
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2214
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2215
2215
|
|
2216
2216
|
> def complex_finds_exact(class_name, value)
|
2217
2217
|
|
@@ -2229,7 +2229,7 @@ __Returns:__
|
|
2229
2229
|
|
2230
2230
|
--
|
2231
2231
|
|
2232
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2232
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/textfield.rb#L24) android
|
2233
2233
|
|
2234
2234
|
> def textfield(value)
|
2235
2235
|
|
@@ -2246,7 +2246,7 @@ __Returns:__
|
|
2246
2246
|
|
2247
2247
|
--
|
2248
2248
|
|
2249
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2249
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/textfield.rb#L34) android
|
2250
2250
|
|
2251
2251
|
> def textfields(value = false)
|
2252
2252
|
|
@@ -2263,7 +2263,7 @@ __Returns:__
|
|
2263
2263
|
|
2264
2264
|
--
|
2265
2265
|
|
2266
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2266
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/textfield.rb#L42) android
|
2267
2267
|
|
2268
2268
|
> def first_textfield
|
2269
2269
|
|
@@ -2275,7 +2275,7 @@ __Returns:__
|
|
2275
2275
|
|
2276
2276
|
--
|
2277
2277
|
|
2278
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2278
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/textfield.rb#L48) android
|
2279
2279
|
|
2280
2280
|
> def last_textfield
|
2281
2281
|
|
@@ -2287,7 +2287,7 @@ __Returns:__
|
|
2287
2287
|
|
2288
2288
|
--
|
2289
2289
|
|
2290
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2290
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/textfield.rb#L55) android
|
2291
2291
|
|
2292
2292
|
> def textfield_exact(value)
|
2293
2293
|
|
@@ -2303,7 +2303,7 @@ __Returns:__
|
|
2303
2303
|
|
2304
2304
|
--
|
2305
2305
|
|
2306
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2306
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/element/textfield.rb#L62) android
|
2307
2307
|
|
2308
2308
|
> def textfields_exact(value)
|
2309
2309
|
|
@@ -2319,7 +2319,7 @@ __Returns:__
|
|
2319
2319
|
|
2320
2320
|
--
|
2321
2321
|
|
2322
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2322
|
+
##### [for](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2323
2323
|
|
2324
2324
|
> def for(target)
|
2325
2325
|
|
@@ -2327,7 +2327,7 @@ __Returns:__
|
|
2327
2327
|
|
2328
2328
|
--
|
2329
2329
|
|
2330
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2330
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2331
2331
|
|
2332
2332
|
> def string_visible_contains(class_name, value)
|
2333
2333
|
|
@@ -2348,7 +2348,7 @@ __Returns:__
|
|
2348
2348
|
|
2349
2349
|
--
|
2350
2350
|
|
2351
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2351
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2352
2352
|
|
2353
2353
|
> def complex_find_contains(class_name, value)
|
2354
2354
|
|
@@ -2366,7 +2366,7 @@ __Returns:__
|
|
2366
2366
|
|
2367
2367
|
--
|
2368
2368
|
|
2369
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2369
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2370
2370
|
|
2371
2371
|
> def complex_finds_contains(class_name, value)
|
2372
2372
|
|
@@ -2384,7 +2384,7 @@ __Returns:__
|
|
2384
2384
|
|
2385
2385
|
--
|
2386
2386
|
|
2387
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2387
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2388
2388
|
|
2389
2389
|
> def complex_find_exact(class_name, value)
|
2390
2390
|
|
@@ -2402,7 +2402,7 @@ __Returns:__
|
|
2402
2402
|
|
2403
2403
|
--
|
2404
2404
|
|
2405
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2405
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2406
2406
|
|
2407
2407
|
> def complex_finds_exact(class_name, value)
|
2408
2408
|
|
@@ -2420,7 +2420,7 @@ __Returns:__
|
|
2420
2420
|
|
2421
2421
|
--
|
2422
2422
|
|
2423
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2423
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/command/command.rb#L28) android
|
2424
2424
|
|
2425
2425
|
> def shell(command, arguments)
|
2426
2426
|
|
@@ -2435,7 +2435,7 @@ __Parameters:__
|
|
2435
2435
|
|
2436
2436
|
--
|
2437
2437
|
|
2438
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/command/command.rb#L42) android
|
2439
2439
|
|
2440
2440
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2441
2441
|
|
@@ -2447,7 +2447,7 @@ __Parameters:__
|
|
2447
2447
|
|
2448
2448
|
--
|
2449
2449
|
|
2450
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2450
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/common/command/command.rb#L55) android
|
2451
2451
|
|
2452
2452
|
> def stop_logs_broadcast
|
2453
2453
|
|
@@ -2455,7 +2455,7 @@ Stop Android logcat broadcast websocket
|
|
2455
2455
|
|
2456
2456
|
--
|
2457
2457
|
|
2458
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2458
|
+
##### [button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2459
2459
|
|
2460
2460
|
> def button(value)
|
2461
2461
|
|
@@ -2472,7 +2472,7 @@ __Returns:__
|
|
2472
2472
|
|
2473
2473
|
--
|
2474
2474
|
|
2475
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2475
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2476
2476
|
|
2477
2477
|
> def buttons(value = false)
|
2478
2478
|
|
@@ -2489,7 +2489,7 @@ __Returns:__
|
|
2489
2489
|
|
2490
2490
|
--
|
2491
2491
|
|
2492
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2492
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2493
2493
|
|
2494
2494
|
> def first_button
|
2495
2495
|
|
@@ -2501,7 +2501,7 @@ __Returns:__
|
|
2501
2501
|
|
2502
2502
|
--
|
2503
2503
|
|
2504
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2504
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2505
2505
|
|
2506
2506
|
> def last_button
|
2507
2507
|
|
@@ -2513,7 +2513,7 @@ __Returns:__
|
|
2513
2513
|
|
2514
2514
|
--
|
2515
2515
|
|
2516
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2516
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2517
2517
|
|
2518
2518
|
> def button_exact(value)
|
2519
2519
|
|
@@ -2529,7 +2529,7 @@ __Returns:__
|
|
2529
2529
|
|
2530
2530
|
--
|
2531
2531
|
|
2532
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2532
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2533
2533
|
|
2534
2534
|
> def buttons_exact(value)
|
2535
2535
|
|
@@ -2545,7 +2545,7 @@ __Returns:__
|
|
2545
2545
|
|
2546
2546
|
--
|
2547
2547
|
|
2548
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2549
2549
|
|
2550
2550
|
> def _button_visible_selectors_xpath(opts = {})
|
2551
2551
|
|
@@ -2553,7 +2553,7 @@ __Returns:__
|
|
2553
2553
|
|
2554
2554
|
--
|
2555
2555
|
|
2556
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2556
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2557
2557
|
|
2558
2558
|
> def _button_exact_string_xpath(class_name, value)
|
2559
2559
|
|
@@ -2561,7 +2561,7 @@ __Returns:__
|
|
2561
2561
|
|
2562
2562
|
--
|
2563
2563
|
|
2564
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2564
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2565
2565
|
|
2566
2566
|
> def _button_contains_string_xpath(class_name, value)
|
2567
2567
|
|
@@ -2569,7 +2569,7 @@ __Returns:__
|
|
2569
2569
|
|
2570
2570
|
--
|
2571
2571
|
|
2572
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2572
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2573
2573
|
|
2574
2574
|
> def scroll_to(text)
|
2575
2575
|
|
@@ -2586,7 +2586,7 @@ __Returns:__
|
|
2586
2586
|
|
2587
2587
|
--
|
2588
2588
|
|
2589
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2589
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/espresso/element/generic.rb#L48) android
|
2590
2590
|
|
2591
2591
|
> def scroll_to_exact(text)
|
2592
2592
|
|
@@ -2603,7 +2603,7 @@ __Returns:__
|
|
2603
2603
|
|
2604
2604
|
--
|
2605
2605
|
|
2606
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2606
|
+
##### [button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2607
2607
|
|
2608
2608
|
> def button(value)
|
2609
2609
|
|
@@ -2620,7 +2620,7 @@ __Returns:__
|
|
2620
2620
|
|
2621
2621
|
--
|
2622
2622
|
|
2623
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2623
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2624
2624
|
|
2625
2625
|
> def buttons(value = false)
|
2626
2626
|
|
@@ -2637,7 +2637,7 @@ __Returns:__
|
|
2637
2637
|
|
2638
2638
|
--
|
2639
2639
|
|
2640
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2640
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2641
2641
|
|
2642
2642
|
> def first_button
|
2643
2643
|
|
@@ -2649,7 +2649,7 @@ __Returns:__
|
|
2649
2649
|
|
2650
2650
|
--
|
2651
2651
|
|
2652
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2652
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2653
2653
|
|
2654
2654
|
> def last_button
|
2655
2655
|
|
@@ -2661,7 +2661,7 @@ __Returns:__
|
|
2661
2661
|
|
2662
2662
|
--
|
2663
2663
|
|
2664
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2665
2665
|
|
2666
2666
|
> def button_exact(value)
|
2667
2667
|
|
@@ -2677,7 +2677,7 @@ __Returns:__
|
|
2677
2677
|
|
2678
2678
|
--
|
2679
2679
|
|
2680
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2680
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/65f8b1c4406f358bf4a44ef0d4d7ae429ddc23c4/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2681
2681
|
|
2682
2682
|
> def buttons_exact(value)
|
2683
2683
|
|