appium_lib 10.4.0 → 10.4.1
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 +1 -0
- data/docs/android_docs.md +213 -213
- data/docs/ios_docs.md +259 -259
- data/lib/appium_lib/driver.rb +1 -1
- data/lib/appium_lib/ios/common/helper.rb +1 -1
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +7 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ac7af5e72d47711ea38c395d96ad067f9b679b3ca5c090ede1f4dce2e62ae482
|
4
|
+
data.tar.gz: 2ced830e158dd4d56949d611cb01b49168f000e83ee3a1516c3f640c84921367
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49cbea0e26a2c5e94f3f150da2ae345c8b1df4b7416506b0f6131c1085c3dd65e6b3d33aef030db928190b3164b04eaedd1ee8f4a5b1d43ffbeea857eaacf0ed
|
7
|
+
data.tar.gz: c564b851a047d1dd276d767a0a3a0eab28df44d2022f14906bb3d644a4e7905bbe9012f5002b454da3dfa98711ea88d0e6bb4dc3144e9833a5b5e0812f88482a
|
data/CHANGELOG.md
CHANGED
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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/appium.rb#L96) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/appium.rb#L101) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/appium.rb#L143) 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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/appium.rb#L199) 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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L154) common
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
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/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L279) 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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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/12317e4d74b20d01813526b28e642e3522193fa3/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
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L347) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [action](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L361) common
|
425
425
|
|
426
426
|
> def action
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L381) common
|
438
438
|
|
439
439
|
> def appium_server_version
|
440
440
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L389) common
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L393) common
|
462
462
|
|
463
463
|
> def platform_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L406) common
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L418) common
|
486
486
|
|
487
487
|
> def self.absolute_app_path(opts)
|
488
488
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L441) common
|
503
503
|
|
504
504
|
> def server_url
|
505
505
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L450) common
|
515
515
|
|
516
516
|
> def restart
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L463) common
|
527
527
|
|
528
528
|
> def screenshot(png_save_path)
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L477) common
|
543
543
|
|
544
544
|
> def element_screenshot(element, png_save_path)
|
545
545
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L484) common
|
561
561
|
|
562
562
|
> def driver_quit
|
563
563
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L487) common
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L498) common
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L513) common
|
597
597
|
|
598
598
|
> def window_rect
|
599
599
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
605
605
|
|
606
606
|
--
|
607
607
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L546) common
|
609
609
|
|
610
610
|
> def start_driver(http_client_ops =
|
611
611
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L567) common
|
629
629
|
|
630
630
|
> def set_implicit_wait(wait)
|
631
631
|
|
@@ -633,7 +633,7 @@ To ignore error for Espresso Driver
|
|
633
633
|
|
634
634
|
--
|
635
635
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L578) common
|
637
637
|
|
638
638
|
> def no_wait
|
639
639
|
|
@@ -641,7 +641,7 @@ Set implicit wait to zero.
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L592) common
|
645
645
|
|
646
646
|
> def set_wait(timeout = nil)
|
647
647
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
657
657
|
|
658
658
|
--
|
659
659
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L609) common
|
661
661
|
|
662
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
663
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
681
681
|
|
682
682
|
--
|
683
683
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L633) common
|
685
685
|
|
686
686
|
> def execute_script(script, *args)
|
687
687
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L641) common
|
703
703
|
|
704
704
|
> def execute_async_script(script, *args)
|
705
705
|
|
@@ -709,7 +709,7 @@ Get the window handles of open browser windows
|
|
709
709
|
|
710
710
|
--
|
711
711
|
|
712
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L673) common
|
713
713
|
|
714
714
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
715
715
|
|
@@ -735,7 +735,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
735
735
|
|
736
736
|
--
|
737
737
|
|
738
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
738
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L677) common
|
739
739
|
|
740
740
|
> def window_handles
|
741
741
|
|
@@ -743,7 +743,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
743
743
|
|
744
744
|
--
|
745
745
|
|
746
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
746
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L682) common
|
747
747
|
|
748
748
|
> def window_handle
|
749
749
|
|
@@ -751,7 +751,7 @@ Get the current window handle
|
|
751
751
|
|
752
752
|
--
|
753
753
|
|
754
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
754
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L686) common
|
755
755
|
|
756
756
|
> def navigate
|
757
757
|
|
@@ -759,7 +759,7 @@ Get the current window handle
|
|
759
759
|
|
760
760
|
--
|
761
761
|
|
762
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
762
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L690) common
|
763
763
|
|
764
764
|
> def manage
|
765
765
|
|
@@ -767,7 +767,7 @@ Get the current window handle
|
|
767
767
|
|
768
768
|
--
|
769
769
|
|
770
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
770
|
+
##### [get](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L694) common
|
771
771
|
|
772
772
|
> def get(url)
|
773
773
|
|
@@ -775,7 +775,7 @@ Get the current window handle
|
|
775
775
|
|
776
776
|
--
|
777
777
|
|
778
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
778
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L698) common
|
779
779
|
|
780
780
|
> def current_url
|
781
781
|
|
@@ -783,7 +783,7 @@ Get the current window handle
|
|
783
783
|
|
784
784
|
--
|
785
785
|
|
786
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [title](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L702) common
|
787
787
|
|
788
788
|
> def title
|
789
789
|
|
@@ -791,7 +791,7 @@ Get the current window handle
|
|
791
791
|
|
792
792
|
--
|
793
793
|
|
794
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L708) common
|
795
795
|
|
796
796
|
> def switch_to
|
797
797
|
|
@@ -803,7 +803,7 @@ __Returns:__
|
|
803
803
|
|
804
804
|
--
|
805
805
|
|
806
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L735) common
|
807
807
|
|
808
808
|
> def find_elements(*args)
|
809
809
|
|
@@ -823,7 +823,7 @@ __Returns:__
|
|
823
823
|
|
824
824
|
--
|
825
825
|
|
826
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
826
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L751) common
|
827
827
|
|
828
828
|
> def find_element(*args)
|
829
829
|
|
@@ -841,7 +841,7 @@ __Returns:__
|
|
841
841
|
|
842
842
|
--
|
843
843
|
|
844
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
844
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L766) common
|
845
845
|
|
846
846
|
> def find_element_by_image(png_img_path)
|
847
847
|
|
@@ -857,7 +857,7 @@ __Returns:__
|
|
857
857
|
|
858
858
|
--
|
859
859
|
|
860
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L781) common
|
861
861
|
|
862
862
|
> def find_elements_by_image(png_img_paths)
|
863
863
|
|
@@ -873,7 +873,7 @@ __Returns:__
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L794) common
|
877
877
|
|
878
878
|
> def set_location(opts = {})
|
879
879
|
|
@@ -889,7 +889,7 @@ __Returns:__
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [x](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/driver.rb#L804) common
|
893
893
|
|
894
894
|
> def x
|
895
895
|
|
@@ -902,7 +902,7 @@ __Returns:__
|
|
902
902
|
|
903
903
|
--
|
904
904
|
|
905
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [username](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L18) common
|
906
906
|
|
907
907
|
> def username
|
908
908
|
|
@@ -910,7 +910,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L20) common
|
914
914
|
|
915
915
|
> def access_key
|
916
916
|
|
@@ -918,7 +918,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
918
918
|
|
919
919
|
--
|
920
920
|
|
921
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L22) common
|
922
922
|
|
923
923
|
> def endpoint
|
924
924
|
|
@@ -926,7 +926,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
926
926
|
|
927
927
|
--
|
928
928
|
|
929
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
929
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L47) common
|
930
930
|
|
931
931
|
> def initialize(appium_lib_opts)
|
932
932
|
|
@@ -942,7 +942,7 @@ __Returns:__
|
|
942
942
|
|
943
943
|
--
|
944
944
|
|
945
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L67) common
|
946
946
|
|
947
947
|
> def sauce_server_url?
|
948
948
|
|
@@ -954,7 +954,7 @@ __Returns:__
|
|
954
954
|
|
955
955
|
--
|
956
956
|
|
957
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
957
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/sauce_labs.rb#L80) common
|
958
958
|
|
959
959
|
> def server_url
|
960
960
|
|
@@ -966,7 +966,7 @@ __Returns:__
|
|
966
966
|
|
967
967
|
--
|
968
968
|
|
969
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
969
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/log.rb#L25) common
|
970
970
|
|
971
971
|
> def get_log(type)
|
972
972
|
|
@@ -982,7 +982,7 @@ __Returns:__
|
|
982
982
|
|
983
983
|
--
|
984
984
|
|
985
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
985
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/log.rb#L37) common
|
986
986
|
|
987
987
|
> def get_available_log_types
|
988
988
|
|
@@ -994,7 +994,7 @@ __Returns:__
|
|
994
994
|
|
995
995
|
--
|
996
996
|
|
997
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
997
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/wait.rb#L44) common
|
998
998
|
|
999
999
|
> def wait_true(opts = {})
|
1000
1000
|
|
@@ -1014,7 +1014,7 @@ __Parameters:__
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/wait.rb#L73) common
|
1018
1018
|
|
1019
1019
|
> def wait(opts = {})
|
1020
1020
|
|
@@ -1032,7 +1032,7 @@ __Parameters:__
|
|
1032
1032
|
|
1033
1033
|
--
|
1034
1034
|
|
1035
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/device.rb#L26) common
|
1036
1036
|
|
1037
1037
|
> def add_touch_actions
|
1038
1038
|
|
@@ -1040,7 +1040,7 @@ __Parameters:__
|
|
1040
1040
|
|
1041
1041
|
--
|
1042
1042
|
|
1043
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/device.rb#L38) common
|
1044
1044
|
|
1045
1045
|
> def delegate_from_appium_driver(method, delegation_target)
|
1046
1046
|
|
@@ -1048,7 +1048,7 @@ __Parameters:__
|
|
1048
1048
|
|
1049
1049
|
--
|
1050
1050
|
|
1051
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L30) common
|
1052
1052
|
|
1053
1053
|
> def ignore
|
1054
1054
|
|
@@ -1056,7 +1056,7 @@ Return yield and ignore any exceptions.
|
|
1056
1056
|
|
1057
1057
|
--
|
1058
1058
|
|
1059
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1059
|
+
##### [back](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L37) common
|
1060
1060
|
|
1061
1061
|
> def back
|
1062
1062
|
|
@@ -1068,7 +1068,7 @@ __Returns:__
|
|
1068
1068
|
|
1069
1069
|
--
|
1070
1070
|
|
1071
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L48) common
|
1072
1072
|
|
1073
1073
|
> def session_id
|
1074
1074
|
|
@@ -1080,7 +1080,7 @@ __Returns:__
|
|
1080
1080
|
|
1081
1081
|
--
|
1082
1082
|
|
1083
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1083
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L56) common
|
1084
1084
|
|
1085
1085
|
> def xpath(xpath_str)
|
1086
1086
|
|
@@ -1096,7 +1096,7 @@ __Returns:__
|
|
1096
1096
|
|
1097
1097
|
--
|
1098
1098
|
|
1099
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1099
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L64) common
|
1100
1100
|
|
1101
1101
|
> def xpaths(xpath_str)
|
1102
1102
|
|
@@ -1112,7 +1112,7 @@ __Returns:__
|
|
1112
1112
|
|
1113
1113
|
--
|
1114
1114
|
|
1115
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [result](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L74) common
|
1116
1116
|
|
1117
1117
|
> def result
|
1118
1118
|
|
@@ -1120,7 +1120,7 @@ Returns the value of attribute result
|
|
1120
1120
|
|
1121
1121
|
--
|
1122
1122
|
|
1123
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L76) common
|
1124
1124
|
|
1125
1125
|
> def initialize(platform)
|
1126
1126
|
|
@@ -1132,7 +1132,7 @@ __Returns:__
|
|
1132
1132
|
|
1133
1133
|
--
|
1134
1134
|
|
1135
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L81) common
|
1136
1136
|
|
1137
1137
|
> def reset
|
1138
1138
|
|
@@ -1140,7 +1140,7 @@ __Returns:__
|
|
1140
1140
|
|
1141
1141
|
--
|
1142
1142
|
|
1143
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L86) common
|
1144
1144
|
|
1145
1145
|
> def start_element(name, attrs = [])
|
1146
1146
|
|
@@ -1148,7 +1148,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1148
1148
|
|
1149
1149
|
--
|
1150
1150
|
|
1151
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L97) common
|
1152
1152
|
|
1153
1153
|
> def formatted_result
|
1154
1154
|
|
@@ -1156,7 +1156,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1156
1156
|
|
1157
1157
|
--
|
1158
1158
|
|
1159
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L115) common
|
1160
1160
|
|
1161
1161
|
> def get_page_class
|
1162
1162
|
|
@@ -1168,7 +1168,7 @@ __Returns:__
|
|
1168
1168
|
|
1169
1169
|
--
|
1170
1170
|
|
1171
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1171
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L140) common
|
1172
1172
|
|
1173
1173
|
> def page_class
|
1174
1174
|
|
@@ -1181,7 +1181,7 @@ __Returns:__
|
|
1181
1181
|
|
1182
1182
|
--
|
1183
1183
|
|
1184
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [source](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L147) common
|
1185
1185
|
|
1186
1186
|
> def source
|
1187
1187
|
|
@@ -1193,7 +1193,7 @@ __Returns:__
|
|
1193
1193
|
|
1194
1194
|
--
|
1195
1195
|
|
1196
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1196
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L154) common
|
1197
1197
|
|
1198
1198
|
> def get_source
|
1199
1199
|
|
@@ -1206,7 +1206,7 @@ __Returns:__
|
|
1206
1206
|
|
1207
1207
|
--
|
1208
1208
|
|
1209
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L164) common
|
1210
1210
|
|
1211
1211
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1212
1212
|
|
@@ -1214,7 +1214,7 @@ Converts pixel values to window relative values
|
|
1214
1214
|
|
1215
1215
|
--
|
1216
1216
|
|
1217
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L183) common
|
1218
1218
|
|
1219
1219
|
> def xml_keys(target)
|
1220
1220
|
|
@@ -1230,7 +1230,7 @@ __Returns:__
|
|
1230
1230
|
|
1231
1231
|
--
|
1232
1232
|
|
1233
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L191) common
|
1234
1234
|
|
1235
1235
|
> def xml_values(target)
|
1236
1236
|
|
@@ -1246,7 +1246,7 @@ __Returns:__
|
|
1246
1246
|
|
1247
1247
|
--
|
1248
1248
|
|
1249
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L199) common
|
1250
1250
|
|
1251
1251
|
> def resolve_id(id)
|
1252
1252
|
|
@@ -1262,7 +1262,7 @@ __Returns:__
|
|
1262
1262
|
|
1263
1263
|
--
|
1264
1264
|
|
1265
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L206) common
|
1266
1266
|
|
1267
1267
|
> def filter
|
1268
1268
|
|
@@ -1270,7 +1270,7 @@ Returns the value of attribute filter
|
|
1270
1270
|
|
1271
1271
|
--
|
1272
1272
|
|
1273
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L209) common
|
1274
1274
|
|
1275
1275
|
> def filter=(value)
|
1276
1276
|
|
@@ -1278,7 +1278,7 @@ convert to string to support symbols
|
|
1278
1278
|
|
1279
1279
|
--
|
1280
1280
|
|
1281
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L216) common
|
1282
1282
|
|
1283
1283
|
> def initialize
|
1284
1284
|
|
@@ -1290,7 +1290,7 @@ __Returns:__
|
|
1290
1290
|
|
1291
1291
|
--
|
1292
1292
|
|
1293
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L221) common
|
1294
1294
|
|
1295
1295
|
> def reset
|
1296
1296
|
|
@@ -1298,7 +1298,7 @@ __Returns:__
|
|
1298
1298
|
|
1299
1299
|
--
|
1300
1300
|
|
1301
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [result](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L227) common
|
1302
1302
|
|
1303
1303
|
> def result
|
1304
1304
|
|
@@ -1306,7 +1306,7 @@ __Returns:__
|
|
1306
1306
|
|
1307
1307
|
--
|
1308
1308
|
|
1309
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L240) common
|
1310
1310
|
|
1311
1311
|
> def start_element(name, attrs = [])
|
1312
1312
|
|
@@ -1314,7 +1314,7 @@ __Returns:__
|
|
1314
1314
|
|
1315
1315
|
--
|
1316
1316
|
|
1317
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L250) common
|
1318
1318
|
|
1319
1319
|
> def end_element(name)
|
1320
1320
|
|
@@ -1322,7 +1322,7 @@ __Returns:__
|
|
1322
1322
|
|
1323
1323
|
--
|
1324
1324
|
|
1325
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/helper.rb#L257) common
|
1326
1326
|
|
1327
1327
|
> def characters(chars)
|
1328
1328
|
|
@@ -1330,7 +1330,7 @@ __Returns:__
|
|
1330
1330
|
|
1331
1331
|
--
|
1332
1332
|
|
1333
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/http_client.rb#L22) common
|
1334
1334
|
|
1335
1335
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1336
1336
|
|
@@ -1338,7 +1338,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1338
1338
|
|
1339
1339
|
--
|
1340
1340
|
|
1341
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1341
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/multi_touch.rb#L65) common
|
1342
1342
|
|
1343
1343
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1344
1344
|
|
@@ -1358,7 +1358,7 @@ __Parameters:__
|
|
1358
1358
|
|
1359
1359
|
--
|
1360
1360
|
|
1361
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1361
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/multi_touch.rb#L108) common
|
1362
1362
|
|
1363
1363
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1364
1364
|
|
@@ -1378,7 +1378,7 @@ __Parameters:__
|
|
1378
1378
|
|
1379
1379
|
--
|
1380
1380
|
|
1381
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1381
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/multi_touch.rb#L194) common
|
1382
1382
|
|
1383
1383
|
> def initialize(driver = $driver)
|
1384
1384
|
|
@@ -1390,7 +1390,7 @@ __Returns:__
|
|
1390
1390
|
|
1391
1391
|
--
|
1392
1392
|
|
1393
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/touch_actions.rb#L47) common
|
1394
1394
|
|
1395
1395
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1396
1396
|
|
@@ -1398,7 +1398,7 @@ __Returns:__
|
|
1398
1398
|
|
1399
1399
|
--
|
1400
1400
|
|
1401
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/touch_actions.rb#L62) common
|
1402
1402
|
|
1403
1403
|
> def initialize(driver = $driver)
|
1404
1404
|
|
@@ -1410,7 +1410,7 @@ __Returns:__
|
|
1410
1410
|
|
1411
1411
|
--
|
1412
1412
|
|
1413
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/touch_actions.rb#L66) common
|
1414
1414
|
|
1415
1415
|
> def swipe(opts)
|
1416
1416
|
|
@@ -1418,7 +1418,7 @@ __Returns:__
|
|
1418
1418
|
|
1419
1419
|
--
|
1420
1420
|
|
1421
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1421
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1422
1422
|
|
1423
1423
|
> def initialize(url:, output_file: 'logcat.log')
|
1424
1424
|
|
@@ -1430,7 +1430,7 @@ __Returns:__
|
|
1430
1430
|
|
1431
1431
|
--
|
1432
1432
|
|
1433
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1434
1434
|
|
1435
1435
|
> def handle_message_data(data)
|
1436
1436
|
|
@@ -1438,7 +1438,7 @@ __Returns:__
|
|
1438
1438
|
|
1439
1439
|
--
|
1440
1440
|
|
1441
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [for](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/android.rb#L33) android
|
1442
1442
|
|
1443
1443
|
> def self.for(target)
|
1444
1444
|
|
@@ -1446,7 +1446,7 @@ __Returns:__
|
|
1446
1446
|
|
1447
1447
|
--
|
1448
1448
|
|
1449
|
-
##### [TEXT_VIEW](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [TEXT_VIEW](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L18) android
|
1450
1450
|
|
1451
1451
|
> TEXT_VIEW = 'android.widget.TextView'
|
1452
1452
|
|
@@ -1454,7 +1454,7 @@ __Returns:__
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L19) android
|
1458
1458
|
|
1459
1459
|
> TextView = TEXT_VIEW
|
1460
1460
|
|
@@ -1462,7 +1462,7 @@ __Returns:__
|
|
1462
1462
|
|
1463
1463
|
--
|
1464
1464
|
|
1465
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L25) android
|
1466
1466
|
|
1467
1467
|
> def text(value)
|
1468
1468
|
|
@@ -1479,7 +1479,7 @@ __Returns:__
|
|
1479
1479
|
|
1480
1480
|
--
|
1481
1481
|
|
1482
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1482
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L35) android
|
1483
1483
|
|
1484
1484
|
> def texts(value = false)
|
1485
1485
|
|
@@ -1496,7 +1496,7 @@ __Returns:__
|
|
1496
1496
|
|
1497
1497
|
--
|
1498
1498
|
|
1499
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1499
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L43) android
|
1500
1500
|
|
1501
1501
|
> def first_text
|
1502
1502
|
|
@@ -1508,7 +1508,7 @@ __Returns:__
|
|
1508
1508
|
|
1509
1509
|
--
|
1510
1510
|
|
1511
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1511
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L49) android
|
1512
1512
|
|
1513
1513
|
> def last_text
|
1514
1514
|
|
@@ -1520,7 +1520,7 @@ __Returns:__
|
|
1520
1520
|
|
1521
1521
|
--
|
1522
1522
|
|
1523
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1523
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L56) android
|
1524
1524
|
|
1525
1525
|
> def text_exact(value)
|
1526
1526
|
|
@@ -1536,7 +1536,7 @@ __Returns:__
|
|
1536
1536
|
|
1537
1537
|
--
|
1538
1538
|
|
1539
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/text.rb#L63) android
|
1540
1540
|
|
1541
1541
|
> def texts_exact(value)
|
1542
1542
|
|
@@ -1552,7 +1552,7 @@ __Returns:__
|
|
1552
1552
|
|
1553
1553
|
--
|
1554
1554
|
|
1555
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1555
|
+
##### [result](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L20) android
|
1556
1556
|
|
1557
1557
|
> def result
|
1558
1558
|
|
@@ -1560,7 +1560,7 @@ Returns the value of attribute result
|
|
1560
1560
|
|
1561
1561
|
--
|
1562
1562
|
|
1563
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L20) android
|
1564
1564
|
|
1565
1565
|
> def keys
|
1566
1566
|
|
@@ -1568,7 +1568,7 @@ Returns the value of attribute keys
|
|
1568
1568
|
|
1569
1569
|
--
|
1570
1570
|
|
1571
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L20) android
|
1572
1572
|
|
1573
1573
|
> def filter
|
1574
1574
|
|
@@ -1576,7 +1576,7 @@ Returns the value of attribute filter
|
|
1576
1576
|
|
1577
1577
|
--
|
1578
1578
|
|
1579
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L23) android
|
1580
1580
|
|
1581
1581
|
> def filter=(value)
|
1582
1582
|
|
@@ -1584,7 +1584,7 @@ convert to string to support symbols
|
|
1584
1584
|
|
1585
1585
|
--
|
1586
1586
|
|
1587
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1587
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L30) android
|
1588
1588
|
|
1589
1589
|
> def initialize
|
1590
1590
|
|
@@ -1596,7 +1596,7 @@ __Returns:__
|
|
1596
1596
|
|
1597
1597
|
--
|
1598
1598
|
|
1599
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1599
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L35) android
|
1600
1600
|
|
1601
1601
|
> def reset
|
1602
1602
|
|
@@ -1604,7 +1604,7 @@ __Returns:__
|
|
1604
1604
|
|
1605
1605
|
--
|
1606
1606
|
|
1607
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1607
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L41) android
|
1608
1608
|
|
1609
1609
|
> def start_element(name, attrs = [], driver = $driver)
|
1610
1610
|
|
@@ -1612,7 +1612,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1612
1612
|
|
1613
1613
|
--
|
1614
1614
|
|
1615
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1615
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L95) android
|
1616
1616
|
|
1617
1617
|
> def get_android_inspect(class_name = false)
|
1618
1618
|
|
@@ -1631,7 +1631,7 @@ __Returns:__
|
|
1631
1631
|
|
1632
1632
|
--
|
1633
1633
|
|
1634
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1634
|
+
##### [page](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L121) android
|
1635
1635
|
|
1636
1636
|
> def page(opts = {})
|
1637
1637
|
|
@@ -1650,7 +1650,7 @@ __Returns:__
|
|
1650
1650
|
|
1651
1651
|
--
|
1652
1652
|
|
1653
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [id](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L130) android
|
1654
1654
|
|
1655
1655
|
> def id(id)
|
1656
1656
|
|
@@ -1666,7 +1666,7 @@ __Returns:__
|
|
1666
1666
|
|
1667
1667
|
--
|
1668
1668
|
|
1669
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L138) android
|
1670
1670
|
|
1671
1671
|
> def ids(id)
|
1672
1672
|
|
@@ -1682,7 +1682,7 @@ __Returns:__
|
|
1682
1682
|
|
1683
1683
|
--
|
1684
1684
|
|
1685
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1685
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L147) android
|
1686
1686
|
|
1687
1687
|
> def ele_index(class_name, index)
|
1688
1688
|
|
@@ -1700,7 +1700,7 @@ __Returns:__
|
|
1700
1700
|
|
1701
1701
|
--
|
1702
1702
|
|
1703
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L166) android
|
1704
1704
|
|
1705
1705
|
> def first_ele(class_name)
|
1706
1706
|
|
@@ -1716,7 +1716,7 @@ __Returns:__
|
|
1716
1716
|
|
1717
1717
|
--
|
1718
1718
|
|
1719
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1719
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L173) android
|
1720
1720
|
|
1721
1721
|
> def last_ele(class_name)
|
1722
1722
|
|
@@ -1732,7 +1732,7 @@ __Returns:__
|
|
1732
1732
|
|
1733
1733
|
--
|
1734
1734
|
|
1735
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1735
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L181) android
|
1736
1736
|
|
1737
1737
|
> def tag(class_name)
|
1738
1738
|
|
@@ -1748,7 +1748,7 @@ __Returns:__
|
|
1748
1748
|
|
1749
1749
|
--
|
1750
1750
|
|
1751
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1751
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L189) android
|
1752
1752
|
|
1753
1753
|
> def tags(class_name)
|
1754
1754
|
|
@@ -1764,7 +1764,7 @@ __Returns:__
|
|
1764
1764
|
|
1765
1765
|
--
|
1766
1766
|
|
1767
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1767
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L232) android
|
1768
1768
|
|
1769
1769
|
> def string_visible_contains_xpath(class_name, value)
|
1770
1770
|
|
@@ -1785,7 +1785,7 @@ __Returns:__
|
|
1785
1785
|
|
1786
1786
|
--
|
1787
1787
|
|
1788
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1788
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L252) android
|
1789
1789
|
|
1790
1790
|
> def string_visible_contains(class_name, value)
|
1791
1791
|
|
@@ -1806,7 +1806,7 @@ __Returns:__
|
|
1806
1806
|
|
1807
1807
|
--
|
1808
1808
|
|
1809
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L270) android
|
1810
1810
|
|
1811
1811
|
> def complex_find_contains(class_name, value)
|
1812
1812
|
|
@@ -1824,7 +1824,7 @@ __Returns:__
|
|
1824
1824
|
|
1825
1825
|
--
|
1826
1826
|
|
1827
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1827
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L278) android
|
1828
1828
|
|
1829
1829
|
> def complex_finds_contains(class_name, value)
|
1830
1830
|
|
@@ -1842,7 +1842,7 @@ __Returns:__
|
|
1842
1842
|
|
1843
1843
|
--
|
1844
1844
|
|
1845
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L320) android
|
1846
1846
|
|
1847
1847
|
> def complex_find_exact(class_name, value)
|
1848
1848
|
|
@@ -1860,7 +1860,7 @@ __Returns:__
|
|
1860
1860
|
|
1861
1861
|
--
|
1862
1862
|
|
1863
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/helper.rb#L328) android
|
1864
1864
|
|
1865
1865
|
> def complex_finds_exact(class_name, value)
|
1866
1866
|
|
@@ -1878,7 +1878,7 @@ __Returns:__
|
|
1878
1878
|
|
1879
1879
|
--
|
1880
1880
|
|
1881
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/alert.rb#L20) android
|
1882
1882
|
|
1883
1883
|
> def alert_click(value)
|
1884
1884
|
|
@@ -1894,7 +1894,7 @@ __Returns:__
|
|
1894
1894
|
|
1895
1895
|
--
|
1896
1896
|
|
1897
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/alert.rb#L27) android
|
1898
1898
|
|
1899
1899
|
> def alert_accept
|
1900
1900
|
|
@@ -1907,7 +1907,7 @@ __Returns:__
|
|
1907
1907
|
|
1908
1908
|
--
|
1909
1909
|
|
1910
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1910
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/alert.rb#L34) android
|
1911
1911
|
|
1912
1912
|
> def alert_accept_text
|
1913
1913
|
|
@@ -1920,7 +1920,7 @@ __Returns:__
|
|
1920
1920
|
|
1921
1921
|
--
|
1922
1922
|
|
1923
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/alert.rb#L41) android
|
1924
1924
|
|
1925
1925
|
> def alert_dismiss
|
1926
1926
|
|
@@ -1933,7 +1933,7 @@ __Returns:__
|
|
1933
1933
|
|
1934
1934
|
--
|
1935
1935
|
|
1936
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1936
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/alert.rb#L48) android
|
1937
1937
|
|
1938
1938
|
> def alert_dismiss_text
|
1939
1939
|
|
@@ -1946,7 +1946,7 @@ __Returns:__
|
|
1946
1946
|
|
1947
1947
|
--
|
1948
1948
|
|
1949
|
-
##### [BUTTON](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [BUTTON](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L17) android
|
1950
1950
|
|
1951
1951
|
> BUTTON = 'android.widget.Button'
|
1952
1952
|
|
@@ -1954,7 +1954,7 @@ __Returns:__
|
|
1954
1954
|
|
1955
1955
|
--
|
1956
1956
|
|
1957
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1957
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L18) android
|
1958
1958
|
|
1959
1959
|
> Button = BUTTON # backward compatibility
|
1960
1960
|
|
@@ -1962,7 +1962,7 @@ backward compatibility
|
|
1962
1962
|
|
1963
1963
|
--
|
1964
1964
|
|
1965
|
-
##### [IMAGE_BUTTON](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [IMAGE_BUTTON](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L20) android
|
1966
1966
|
|
1967
1967
|
> IMAGE_BUTTON = 'android.widget.ImageButton'
|
1968
1968
|
|
@@ -1970,7 +1970,7 @@ backward compatibility
|
|
1970
1970
|
|
1971
1971
|
--
|
1972
1972
|
|
1973
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1973
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L21) android
|
1974
1974
|
|
1975
1975
|
> ImageButton = IMAGE_BUTTON # backward compatibility
|
1976
1976
|
|
@@ -1978,7 +1978,7 @@ backward compatibility
|
|
1978
1978
|
|
1979
1979
|
--
|
1980
1980
|
|
1981
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1981
|
+
##### [button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L27) android
|
1982
1982
|
|
1983
1983
|
> def button(value)
|
1984
1984
|
|
@@ -1995,7 +1995,7 @@ __Returns:__
|
|
1995
1995
|
|
1996
1996
|
--
|
1997
1997
|
|
1998
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1998
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L45) android
|
1999
1999
|
|
2000
2000
|
> def buttons(value = false)
|
2001
2001
|
|
@@ -2012,7 +2012,7 @@ __Returns:__
|
|
2012
2012
|
|
2013
2013
|
--
|
2014
2014
|
|
2015
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2015
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L53) android
|
2016
2016
|
|
2017
2017
|
> def first_button
|
2018
2018
|
|
@@ -2024,7 +2024,7 @@ __Returns:__
|
|
2024
2024
|
|
2025
2025
|
--
|
2026
2026
|
|
2027
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2027
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L59) android
|
2028
2028
|
|
2029
2029
|
> def last_button
|
2030
2030
|
|
@@ -2036,7 +2036,7 @@ __Returns:__
|
|
2036
2036
|
|
2037
2037
|
--
|
2038
2038
|
|
2039
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2039
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L75) android
|
2040
2040
|
|
2041
2041
|
> def button_exact(value)
|
2042
2042
|
|
@@ -2052,7 +2052,7 @@ __Returns:__
|
|
2052
2052
|
|
2053
2053
|
--
|
2054
2054
|
|
2055
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2055
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L82) android
|
2056
2056
|
|
2057
2057
|
> def buttons_exact(value)
|
2058
2058
|
|
@@ -2068,7 +2068,7 @@ __Returns:__
|
|
2068
2068
|
|
2069
2069
|
--
|
2070
2070
|
|
2071
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2071
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L95) android
|
2072
2072
|
|
2073
2073
|
> def _button_visible_selectors(opts = {})
|
2074
2074
|
|
@@ -2076,7 +2076,7 @@ __Returns:__
|
|
2076
2076
|
|
2077
2077
|
--
|
2078
2078
|
|
2079
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L108) android
|
2080
2080
|
|
2081
2081
|
> def _button_exact_string(value)
|
2082
2082
|
|
@@ -2084,7 +2084,7 @@ __Returns:__
|
|
2084
2084
|
|
2085
2085
|
--
|
2086
2086
|
|
2087
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2087
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/button.rb#L114) android
|
2088
2088
|
|
2089
2089
|
> def _button_contains_string(value)
|
2090
2090
|
|
@@ -2092,7 +2092,7 @@ __Returns:__
|
|
2092
2092
|
|
2093
2093
|
--
|
2094
2094
|
|
2095
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [find](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/generic.rb#L20) android
|
2096
2096
|
|
2097
2097
|
> def find(value)
|
2098
2098
|
|
@@ -2108,7 +2108,7 @@ __Returns:__
|
|
2108
2108
|
|
2109
2109
|
--
|
2110
2110
|
|
2111
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/generic.rb#L27) android
|
2112
2112
|
|
2113
2113
|
> def finds(value)
|
2114
2114
|
|
@@ -2124,7 +2124,7 @@ __Returns:__
|
|
2124
2124
|
|
2125
2125
|
--
|
2126
2126
|
|
2127
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/generic.rb#L34) android
|
2128
2128
|
|
2129
2129
|
> def find_exact(value)
|
2130
2130
|
|
@@ -2140,7 +2140,7 @@ __Returns:__
|
|
2140
2140
|
|
2141
2141
|
--
|
2142
2142
|
|
2143
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/generic.rb#L41) android
|
2144
2144
|
|
2145
2145
|
> def finds_exact(value)
|
2146
2146
|
|
@@ -2156,7 +2156,7 @@ __Returns:__
|
|
2156
2156
|
|
2157
2157
|
--
|
2158
2158
|
|
2159
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/generic.rb#L54) android
|
2160
2160
|
|
2161
2161
|
> def scroll_to(text, scrollable_index = 0)
|
2162
2162
|
|
@@ -2174,7 +2174,7 @@ __Returns:__
|
|
2174
2174
|
|
2175
2175
|
--
|
2176
2176
|
|
2177
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2177
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/generic.rb#L72) android
|
2178
2178
|
|
2179
2179
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2180
2180
|
|
@@ -2192,7 +2192,7 @@ __Returns:__
|
|
2192
2192
|
|
2193
2193
|
--
|
2194
2194
|
|
2195
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2195
|
+
##### [for](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2196
2196
|
|
2197
2197
|
> def self.for(target)
|
2198
2198
|
|
@@ -2200,7 +2200,7 @@ __Returns:__
|
|
2200
2200
|
|
2201
2201
|
--
|
2202
2202
|
|
2203
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2203
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2204
2204
|
|
2205
2205
|
> def complex_find_contains(class_name, value)
|
2206
2206
|
|
@@ -2218,7 +2218,7 @@ __Returns:__
|
|
2218
2218
|
|
2219
2219
|
--
|
2220
2220
|
|
2221
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2221
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2222
2222
|
|
2223
2223
|
> def complex_finds_contains(class_name, value)
|
2224
2224
|
|
@@ -2236,7 +2236,7 @@ __Returns:__
|
|
2236
2236
|
|
2237
2237
|
--
|
2238
2238
|
|
2239
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2239
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2240
2240
|
|
2241
2241
|
> def complex_find_exact(class_name, value)
|
2242
2242
|
|
@@ -2254,7 +2254,7 @@ __Returns:__
|
|
2254
2254
|
|
2255
2255
|
--
|
2256
2256
|
|
2257
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2257
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2258
2258
|
|
2259
2259
|
> def complex_finds_exact(class_name, value)
|
2260
2260
|
|
@@ -2272,7 +2272,7 @@ __Returns:__
|
|
2272
2272
|
|
2273
2273
|
--
|
2274
2274
|
|
2275
|
-
##### [EDIT_TEXT](https://github.com/appium/ruby_lib/blob/
|
2275
|
+
##### [EDIT_TEXT](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L17) android
|
2276
2276
|
|
2277
2277
|
> EDIT_TEXT = 'android.widget.EditText'
|
2278
2278
|
|
@@ -2280,7 +2280,7 @@ __Returns:__
|
|
2280
2280
|
|
2281
2281
|
--
|
2282
2282
|
|
2283
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2283
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L18) android
|
2284
2284
|
|
2285
2285
|
> EditText = EDIT_TEXT
|
2286
2286
|
|
@@ -2288,7 +2288,7 @@ __Returns:__
|
|
2288
2288
|
|
2289
2289
|
--
|
2290
2290
|
|
2291
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L24) android
|
2292
2292
|
|
2293
2293
|
> def textfield(value)
|
2294
2294
|
|
@@ -2305,7 +2305,7 @@ __Returns:__
|
|
2305
2305
|
|
2306
2306
|
--
|
2307
2307
|
|
2308
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2308
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L34) android
|
2309
2309
|
|
2310
2310
|
> def textfields(value = false)
|
2311
2311
|
|
@@ -2322,7 +2322,7 @@ __Returns:__
|
|
2322
2322
|
|
2323
2323
|
--
|
2324
2324
|
|
2325
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L42) android
|
2326
2326
|
|
2327
2327
|
> def first_textfield
|
2328
2328
|
|
@@ -2334,7 +2334,7 @@ __Returns:__
|
|
2334
2334
|
|
2335
2335
|
--
|
2336
2336
|
|
2337
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2337
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L48) android
|
2338
2338
|
|
2339
2339
|
> def last_textfield
|
2340
2340
|
|
@@ -2346,7 +2346,7 @@ __Returns:__
|
|
2346
2346
|
|
2347
2347
|
--
|
2348
2348
|
|
2349
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2349
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L55) android
|
2350
2350
|
|
2351
2351
|
> def textfield_exact(value)
|
2352
2352
|
|
@@ -2362,7 +2362,7 @@ __Returns:__
|
|
2362
2362
|
|
2363
2363
|
--
|
2364
2364
|
|
2365
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/element/textfield.rb#L62) android
|
2366
2366
|
|
2367
2367
|
> def textfields_exact(value)
|
2368
2368
|
|
@@ -2378,7 +2378,7 @@ __Returns:__
|
|
2378
2378
|
|
2379
2379
|
--
|
2380
2380
|
|
2381
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2381
|
+
##### [for](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2382
2382
|
|
2383
2383
|
> def self.for(target)
|
2384
2384
|
|
@@ -2386,7 +2386,7 @@ __Returns:__
|
|
2386
2386
|
|
2387
2387
|
--
|
2388
2388
|
|
2389
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2389
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2390
2390
|
|
2391
2391
|
> def string_visible_contains(class_name, value)
|
2392
2392
|
|
@@ -2407,7 +2407,7 @@ __Returns:__
|
|
2407
2407
|
|
2408
2408
|
--
|
2409
2409
|
|
2410
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2410
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2411
2411
|
|
2412
2412
|
> def complex_find_contains(class_name, value)
|
2413
2413
|
|
@@ -2425,7 +2425,7 @@ __Returns:__
|
|
2425
2425
|
|
2426
2426
|
--
|
2427
2427
|
|
2428
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2428
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2429
2429
|
|
2430
2430
|
> def complex_finds_contains(class_name, value)
|
2431
2431
|
|
@@ -2443,7 +2443,7 @@ __Returns:__
|
|
2443
2443
|
|
2444
2444
|
--
|
2445
2445
|
|
2446
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2446
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2447
2447
|
|
2448
2448
|
> def complex_find_exact(class_name, value)
|
2449
2449
|
|
@@ -2461,7 +2461,7 @@ __Returns:__
|
|
2461
2461
|
|
2462
2462
|
--
|
2463
2463
|
|
2464
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2464
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2465
2465
|
|
2466
2466
|
> def complex_finds_exact(class_name, value)
|
2467
2467
|
|
@@ -2479,7 +2479,7 @@ __Returns:__
|
|
2479
2479
|
|
2480
2480
|
--
|
2481
2481
|
|
2482
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2482
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/command/command.rb#L28) android
|
2483
2483
|
|
2484
2484
|
> def shell(command, arguments)
|
2485
2485
|
|
@@ -2494,7 +2494,7 @@ __Parameters:__
|
|
2494
2494
|
|
2495
2495
|
--
|
2496
2496
|
|
2497
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2497
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/command/command.rb#L42) android
|
2498
2498
|
|
2499
2499
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2500
2500
|
|
@@ -2506,7 +2506,7 @@ __Parameters:__
|
|
2506
2506
|
|
2507
2507
|
--
|
2508
2508
|
|
2509
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2509
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/common/command/command.rb#L55) android
|
2510
2510
|
|
2511
2511
|
> def stop_logs_broadcast
|
2512
2512
|
|
@@ -2514,7 +2514,7 @@ Stop Android logcat broadcast websocket
|
|
2514
2514
|
|
2515
2515
|
--
|
2516
2516
|
|
2517
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2517
|
+
##### [button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2518
2518
|
|
2519
2519
|
> def button(value)
|
2520
2520
|
|
@@ -2531,7 +2531,7 @@ __Returns:__
|
|
2531
2531
|
|
2532
2532
|
--
|
2533
2533
|
|
2534
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2534
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2535
2535
|
|
2536
2536
|
> def buttons(value = false)
|
2537
2537
|
|
@@ -2548,7 +2548,7 @@ __Returns:__
|
|
2548
2548
|
|
2549
2549
|
--
|
2550
2550
|
|
2551
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2551
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2552
2552
|
|
2553
2553
|
> def first_button
|
2554
2554
|
|
@@ -2560,7 +2560,7 @@ __Returns:__
|
|
2560
2560
|
|
2561
2561
|
--
|
2562
2562
|
|
2563
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2563
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2564
2564
|
|
2565
2565
|
> def last_button
|
2566
2566
|
|
@@ -2572,7 +2572,7 @@ __Returns:__
|
|
2572
2572
|
|
2573
2573
|
--
|
2574
2574
|
|
2575
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2575
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2576
2576
|
|
2577
2577
|
> def button_exact(value)
|
2578
2578
|
|
@@ -2588,7 +2588,7 @@ __Returns:__
|
|
2588
2588
|
|
2589
2589
|
--
|
2590
2590
|
|
2591
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2591
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2592
2592
|
|
2593
2593
|
> def buttons_exact(value)
|
2594
2594
|
|
@@ -2604,7 +2604,7 @@ __Returns:__
|
|
2604
2604
|
|
2605
2605
|
--
|
2606
2606
|
|
2607
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2607
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2608
2608
|
|
2609
2609
|
> def _button_visible_selectors_xpath(opts = {})
|
2610
2610
|
|
@@ -2612,7 +2612,7 @@ __Returns:__
|
|
2612
2612
|
|
2613
2613
|
--
|
2614
2614
|
|
2615
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2615
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2616
2616
|
|
2617
2617
|
> def _button_exact_string_xpath(class_name, value)
|
2618
2618
|
|
@@ -2620,7 +2620,7 @@ __Returns:__
|
|
2620
2620
|
|
2621
2621
|
--
|
2622
2622
|
|
2623
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2623
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2624
2624
|
|
2625
2625
|
> def _button_contains_string_xpath(class_name, value)
|
2626
2626
|
|
@@ -2628,7 +2628,7 @@ __Returns:__
|
|
2628
2628
|
|
2629
2629
|
--
|
2630
2630
|
|
2631
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2631
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2632
2632
|
|
2633
2633
|
> def scroll_to(text)
|
2634
2634
|
|
@@ -2645,7 +2645,7 @@ __Returns:__
|
|
2645
2645
|
|
2646
2646
|
--
|
2647
2647
|
|
2648
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2648
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/espresso/element/generic.rb#L50) android
|
2649
2649
|
|
2650
2650
|
> def scroll_to_exact(text)
|
2651
2651
|
|
@@ -2662,7 +2662,7 @@ __Returns:__
|
|
2662
2662
|
|
2663
2663
|
--
|
2664
2664
|
|
2665
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2665
|
+
##### [button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2666
2666
|
|
2667
2667
|
> def button(value)
|
2668
2668
|
|
@@ -2679,7 +2679,7 @@ __Returns:__
|
|
2679
2679
|
|
2680
2680
|
--
|
2681
2681
|
|
2682
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2682
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2683
2683
|
|
2684
2684
|
> def buttons(value = false)
|
2685
2685
|
|
@@ -2696,7 +2696,7 @@ __Returns:__
|
|
2696
2696
|
|
2697
2697
|
--
|
2698
2698
|
|
2699
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2699
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2700
2700
|
|
2701
2701
|
> def first_button
|
2702
2702
|
|
@@ -2708,7 +2708,7 @@ __Returns:__
|
|
2708
2708
|
|
2709
2709
|
--
|
2710
2710
|
|
2711
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2711
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2712
2712
|
|
2713
2713
|
> def last_button
|
2714
2714
|
|
@@ -2720,7 +2720,7 @@ __Returns:__
|
|
2720
2720
|
|
2721
2721
|
--
|
2722
2722
|
|
2723
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2723
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2724
2724
|
|
2725
2725
|
> def button_exact(value)
|
2726
2726
|
|
@@ -2736,7 +2736,7 @@ __Returns:__
|
|
2736
2736
|
|
2737
2737
|
--
|
2738
2738
|
|
2739
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2739
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/12317e4d74b20d01813526b28e642e3522193fa3/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2740
2740
|
|
2741
2741
|
> def buttons_exact(value)
|
2742
2742
|
|