appium_lib 10.0.0 → 10.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/CHANGELOG.md +2 -0
- data/docs/android_docs.md +209 -209
- data/docs/ios_docs.md +251 -251
- data/lib/appium_lib/ios/common/helper.rb +2 -2
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 39dd932762844605836645953c0cf3e2d652d58b7a160e90b05ed38b8c3eb13a
|
4
|
+
data.tar.gz: 1e5756458c164f113a370ab74f8d57daadae9e5ea5972901ded0df897f3b2a32
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aea42c332418acadf02c2e792ace56f0307ea4ec3044c6626c57779bdc19f310130a22720641e32547dd46ce1bbcc7040982c9278a9493a0515b4a1d583a29c2
|
7
|
+
data.tar.gz: 34b1ed2b5ba4a6c9c5bd20a331d3af36bf2722a45c2ce5ffac6615cda7ef949ff5ce1574e0ca74c8c2a5bc5eb913797c920fa14a938ec8276b0c9922d1b4d659
|
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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L46) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L82) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L87) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L129) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/appium.rb#L185) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L35) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L35) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L38) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L41) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L44) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L47) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L51) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L52) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L53) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L54) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L55) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L56) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L57) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L58) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L59) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L60) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L61) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L62) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L65) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L67) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L70) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L72) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L140) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L259) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L281) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L285) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L289) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L295) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L301) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L307) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L327) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L341) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L361) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L369) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L373) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L386) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L398) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L421) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L430) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L443) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L457) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L464) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L467) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L478) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L493) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L526) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L547) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L558) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L572) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L589) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L613) 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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L621) 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
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L625) common
|
713
713
|
|
714
714
|
> def window_handles
|
715
715
|
|
@@ -717,7 +717,7 @@ Get the window handles of open browser windows
|
|
717
717
|
|
718
718
|
--
|
719
719
|
|
720
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L630) common
|
721
721
|
|
722
722
|
> def window_handle
|
723
723
|
|
@@ -725,7 +725,7 @@ Get the current window handle
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L634) common
|
729
729
|
|
730
730
|
> def navigate
|
731
731
|
|
@@ -733,7 +733,7 @@ Get the current window handle
|
|
733
733
|
|
734
734
|
--
|
735
735
|
|
736
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L638) common
|
737
737
|
|
738
738
|
> def manage
|
739
739
|
|
@@ -741,7 +741,7 @@ Get the current window handle
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [get](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L642) common
|
745
745
|
|
746
746
|
> def get(url)
|
747
747
|
|
@@ -749,7 +749,7 @@ Get the current window handle
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L646) common
|
753
753
|
|
754
754
|
> def current_url
|
755
755
|
|
@@ -757,7 +757,7 @@ Get the current window handle
|
|
757
757
|
|
758
758
|
--
|
759
759
|
|
760
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [title](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L650) common
|
761
761
|
|
762
762
|
> def title
|
763
763
|
|
@@ -765,7 +765,7 @@ Get the current window handle
|
|
765
765
|
|
766
766
|
--
|
767
767
|
|
768
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L656) common
|
769
769
|
|
770
770
|
> def switch_to
|
771
771
|
|
@@ -777,7 +777,7 @@ __Returns:__
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L683) common
|
781
781
|
|
782
782
|
> def find_elements(*args)
|
783
783
|
|
@@ -797,7 +797,7 @@ __Returns:__
|
|
797
797
|
|
798
798
|
--
|
799
799
|
|
800
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L699) common
|
801
801
|
|
802
802
|
> def find_element(*args)
|
803
803
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L717) common
|
819
819
|
|
820
820
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
821
821
|
|
@@ -836,7 +836,7 @@ __Returns:__
|
|
836
836
|
|
837
837
|
--
|
838
838
|
|
839
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
839
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L718) common
|
840
840
|
|
841
841
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
842
842
|
|
@@ -844,7 +844,7 @@ __Returns:__
|
|
844
844
|
|
845
845
|
--
|
846
846
|
|
847
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L736) common
|
848
848
|
|
849
849
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
850
850
|
|
@@ -865,7 +865,7 @@ __Returns:__
|
|
865
865
|
|
866
866
|
--
|
867
867
|
|
868
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L749) common
|
869
869
|
|
870
870
|
> def set_location(opts = {})
|
871
871
|
|
@@ -881,7 +881,7 @@ __Returns:__
|
|
881
881
|
|
882
882
|
--
|
883
883
|
|
884
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [x](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L759) common
|
885
885
|
|
886
886
|
> def x
|
887
887
|
|
@@ -894,7 +894,7 @@ __Returns:__
|
|
894
894
|
|
895
895
|
--
|
896
896
|
|
897
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [username](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L4) common
|
898
898
|
|
899
899
|
> def username
|
900
900
|
|
@@ -902,7 +902,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
902
902
|
|
903
903
|
--
|
904
904
|
|
905
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L6) common
|
906
906
|
|
907
907
|
> def access_key
|
908
908
|
|
@@ -910,7 +910,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L8) common
|
914
914
|
|
915
915
|
> def endpoint
|
916
916
|
|
@@ -918,7 +918,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
918
918
|
|
919
919
|
--
|
920
920
|
|
921
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L33) common
|
922
922
|
|
923
923
|
> def initialize(appium_lib_opts)
|
924
924
|
|
@@ -934,7 +934,7 @@ __Returns:__
|
|
934
934
|
|
935
935
|
--
|
936
936
|
|
937
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L53) common
|
938
938
|
|
939
939
|
> def sauce_server_url?
|
940
940
|
|
@@ -946,7 +946,7 @@ __Returns:__
|
|
946
946
|
|
947
947
|
--
|
948
948
|
|
949
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/sauce_labs.rb#L66) common
|
950
950
|
|
951
951
|
> def server_url
|
952
952
|
|
@@ -958,7 +958,7 @@ __Returns:__
|
|
958
958
|
|
959
959
|
--
|
960
960
|
|
961
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/log.rb#L11) common
|
962
962
|
|
963
963
|
> def get_log(type)
|
964
964
|
|
@@ -974,7 +974,7 @@ __Returns:__
|
|
974
974
|
|
975
975
|
--
|
976
976
|
|
977
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/log.rb#L23) common
|
978
978
|
|
979
979
|
> def get_available_log_types
|
980
980
|
|
@@ -986,7 +986,7 @@ __Returns:__
|
|
986
986
|
|
987
987
|
--
|
988
988
|
|
989
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/wait.rb#L30) common
|
990
990
|
|
991
991
|
> def wait_true(opts = {})
|
992
992
|
|
@@ -1006,7 +1006,7 @@ __Parameters:__
|
|
1006
1006
|
|
1007
1007
|
--
|
1008
1008
|
|
1009
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/wait.rb#L59) common
|
1010
1010
|
|
1011
1011
|
> def wait(opts = {})
|
1012
1012
|
|
@@ -1024,7 +1024,7 @@ __Parameters:__
|
|
1024
1024
|
|
1025
1025
|
--
|
1026
1026
|
|
1027
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/device.rb#L12) common
|
1028
1028
|
|
1029
1029
|
> def add_touch_actions
|
1030
1030
|
|
@@ -1032,7 +1032,7 @@ __Parameters:__
|
|
1032
1032
|
|
1033
1033
|
--
|
1034
1034
|
|
1035
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/device.rb#L24) common
|
1036
1036
|
|
1037
1037
|
> def delegate_from_appium_driver(method, delegation_target)
|
1038
1038
|
|
@@ -1040,7 +1040,7 @@ __Parameters:__
|
|
1040
1040
|
|
1041
1041
|
--
|
1042
1042
|
|
1043
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L16) common
|
1044
1044
|
|
1045
1045
|
> def ignore
|
1046
1046
|
|
@@ -1048,7 +1048,7 @@ Return yield and ignore any exceptions.
|
|
1048
1048
|
|
1049
1049
|
--
|
1050
1050
|
|
1051
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [back](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L23) common
|
1052
1052
|
|
1053
1053
|
> def back
|
1054
1054
|
|
@@ -1060,7 +1060,7 @@ __Returns:__
|
|
1060
1060
|
|
1061
1061
|
--
|
1062
1062
|
|
1063
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L34) common
|
1064
1064
|
|
1065
1065
|
> def session_id
|
1066
1066
|
|
@@ -1072,7 +1072,7 @@ __Returns:__
|
|
1072
1072
|
|
1073
1073
|
--
|
1074
1074
|
|
1075
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1075
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L42) common
|
1076
1076
|
|
1077
1077
|
> def xpath(xpath_str)
|
1078
1078
|
|
@@ -1088,7 +1088,7 @@ __Returns:__
|
|
1088
1088
|
|
1089
1089
|
--
|
1090
1090
|
|
1091
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1091
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L50) common
|
1092
1092
|
|
1093
1093
|
> def xpaths(xpath_str)
|
1094
1094
|
|
@@ -1104,7 +1104,7 @@ __Returns:__
|
|
1104
1104
|
|
1105
1105
|
--
|
1106
1106
|
|
1107
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L60) common
|
1108
1108
|
|
1109
1109
|
> def result
|
1110
1110
|
|
@@ -1112,7 +1112,7 @@ Returns the value of attribute result
|
|
1112
1112
|
|
1113
1113
|
--
|
1114
1114
|
|
1115
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L62) common
|
1116
1116
|
|
1117
1117
|
> def initialize(platform)
|
1118
1118
|
|
@@ -1124,7 +1124,7 @@ __Returns:__
|
|
1124
1124
|
|
1125
1125
|
--
|
1126
1126
|
|
1127
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L67) common
|
1128
1128
|
|
1129
1129
|
> def reset
|
1130
1130
|
|
@@ -1132,7 +1132,7 @@ __Returns:__
|
|
1132
1132
|
|
1133
1133
|
--
|
1134
1134
|
|
1135
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L72) common
|
1136
1136
|
|
1137
1137
|
> def start_element(name, attrs = [])
|
1138
1138
|
|
@@ -1140,7 +1140,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1140
1140
|
|
1141
1141
|
--
|
1142
1142
|
|
1143
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L83) common
|
1144
1144
|
|
1145
1145
|
> def formatted_result
|
1146
1146
|
|
@@ -1148,7 +1148,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1148
1148
|
|
1149
1149
|
--
|
1150
1150
|
|
1151
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L101) common
|
1152
1152
|
|
1153
1153
|
> def get_page_class
|
1154
1154
|
|
@@ -1160,7 +1160,7 @@ __Returns:__
|
|
1160
1160
|
|
1161
1161
|
--
|
1162
1162
|
|
1163
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1163
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L126) common
|
1164
1164
|
|
1165
1165
|
> def page_class
|
1166
1166
|
|
@@ -1173,7 +1173,7 @@ __Returns:__
|
|
1173
1173
|
|
1174
1174
|
--
|
1175
1175
|
|
1176
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [source](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L133) common
|
1177
1177
|
|
1178
1178
|
> def source
|
1179
1179
|
|
@@ -1185,7 +1185,7 @@ __Returns:__
|
|
1185
1185
|
|
1186
1186
|
--
|
1187
1187
|
|
1188
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1188
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L140) common
|
1189
1189
|
|
1190
1190
|
> def get_source
|
1191
1191
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L150) common
|
1202
1202
|
|
1203
1203
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1204
1204
|
|
@@ -1206,7 +1206,7 @@ Converts pixel values to window relative values
|
|
1206
1206
|
|
1207
1207
|
--
|
1208
1208
|
|
1209
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L169) common
|
1210
1210
|
|
1211
1211
|
> def xml_keys(target)
|
1212
1212
|
|
@@ -1222,7 +1222,7 @@ __Returns:__
|
|
1222
1222
|
|
1223
1223
|
--
|
1224
1224
|
|
1225
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L177) common
|
1226
1226
|
|
1227
1227
|
> def xml_values(target)
|
1228
1228
|
|
@@ -1238,7 +1238,7 @@ __Returns:__
|
|
1238
1238
|
|
1239
1239
|
--
|
1240
1240
|
|
1241
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1241
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L185) common
|
1242
1242
|
|
1243
1243
|
> def resolve_id(id)
|
1244
1244
|
|
@@ -1254,7 +1254,7 @@ __Returns:__
|
|
1254
1254
|
|
1255
1255
|
--
|
1256
1256
|
|
1257
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L192) common
|
1258
1258
|
|
1259
1259
|
> def filter
|
1260
1260
|
|
@@ -1262,7 +1262,7 @@ Returns the value of attribute filter
|
|
1262
1262
|
|
1263
1263
|
--
|
1264
1264
|
|
1265
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L195) common
|
1266
1266
|
|
1267
1267
|
> def filter=(value)
|
1268
1268
|
|
@@ -1270,7 +1270,7 @@ convert to string to support symbols
|
|
1270
1270
|
|
1271
1271
|
--
|
1272
1272
|
|
1273
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L202) common
|
1274
1274
|
|
1275
1275
|
> def initialize
|
1276
1276
|
|
@@ -1282,7 +1282,7 @@ __Returns:__
|
|
1282
1282
|
|
1283
1283
|
--
|
1284
1284
|
|
1285
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L207) common
|
1286
1286
|
|
1287
1287
|
> def reset
|
1288
1288
|
|
@@ -1290,7 +1290,7 @@ __Returns:__
|
|
1290
1290
|
|
1291
1291
|
--
|
1292
1292
|
|
1293
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L213) common
|
1294
1294
|
|
1295
1295
|
> def result
|
1296
1296
|
|
@@ -1298,7 +1298,7 @@ __Returns:__
|
|
1298
1298
|
|
1299
1299
|
--
|
1300
1300
|
|
1301
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L226) common
|
1302
1302
|
|
1303
1303
|
> def start_element(name, attrs = [])
|
1304
1304
|
|
@@ -1306,7 +1306,7 @@ __Returns:__
|
|
1306
1306
|
|
1307
1307
|
--
|
1308
1308
|
|
1309
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L236) common
|
1310
1310
|
|
1311
1311
|
> def end_element(name)
|
1312
1312
|
|
@@ -1314,7 +1314,7 @@ __Returns:__
|
|
1314
1314
|
|
1315
1315
|
--
|
1316
1316
|
|
1317
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/helper.rb#L243) common
|
1318
1318
|
|
1319
1319
|
> def characters(chars)
|
1320
1320
|
|
@@ -1322,7 +1322,7 @@ __Returns:__
|
|
1322
1322
|
|
1323
1323
|
--
|
1324
1324
|
|
1325
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/http_client.rb#L8) common
|
1326
1326
|
|
1327
1327
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1328
1328
|
|
@@ -1330,7 +1330,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1330
1330
|
|
1331
1331
|
--
|
1332
1332
|
|
1333
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/multi_touch.rb#L51) common
|
1334
1334
|
|
1335
1335
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1336
1336
|
|
@@ -1350,7 +1350,7 @@ __Parameters:__
|
|
1350
1350
|
|
1351
1351
|
--
|
1352
1352
|
|
1353
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1353
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/multi_touch.rb#L94) common
|
1354
1354
|
|
1355
1355
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1356
1356
|
|
@@ -1370,7 +1370,7 @@ __Parameters:__
|
|
1370
1370
|
|
1371
1371
|
--
|
1372
1372
|
|
1373
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1373
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/multi_touch.rb#L180) common
|
1374
1374
|
|
1375
1375
|
> def initialize(driver = $driver)
|
1376
1376
|
|
@@ -1382,7 +1382,7 @@ __Returns:__
|
|
1382
1382
|
|
1383
1383
|
--
|
1384
1384
|
|
1385
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1385
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/touch_actions.rb#L33) common
|
1386
1386
|
|
1387
1387
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1388
1388
|
|
@@ -1390,7 +1390,7 @@ __Returns:__
|
|
1390
1390
|
|
1391
1391
|
--
|
1392
1392
|
|
1393
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/touch_actions.rb#L48) common
|
1394
1394
|
|
1395
1395
|
> def initialize(driver = $driver)
|
1396
1396
|
|
@@ -1402,7 +1402,7 @@ __Returns:__
|
|
1402
1402
|
|
1403
1403
|
--
|
1404
1404
|
|
1405
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/touch_actions.rb#L52) common
|
1406
1406
|
|
1407
1407
|
> def swipe(opts)
|
1408
1408
|
|
@@ -1410,7 +1410,7 @@ __Returns:__
|
|
1410
1410
|
|
1411
1411
|
--
|
1412
1412
|
|
1413
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/command/ws_logcat.rb#L5) common
|
1414
1414
|
|
1415
1415
|
> def initialize(url:, output_file: 'logcat.log')
|
1416
1416
|
|
@@ -1422,7 +1422,7 @@ __Returns:__
|
|
1422
1422
|
|
1423
1423
|
--
|
1424
1424
|
|
1425
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/common/command/ws_logcat.rb#L10) common
|
1426
1426
|
|
1427
1427
|
> def handle_message_data(data)
|
1428
1428
|
|
@@ -1430,7 +1430,7 @@ __Returns:__
|
|
1430
1430
|
|
1431
1431
|
--
|
1432
1432
|
|
1433
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/android.rb#L19) android
|
1434
1434
|
|
1435
1435
|
> def self.for(target)
|
1436
1436
|
|
@@ -1438,7 +1438,7 @@ __Returns:__
|
|
1438
1438
|
|
1439
1439
|
--
|
1440
1440
|
|
1441
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/text.rb#L4) android
|
1442
1442
|
|
1443
1443
|
> TextView = 'android.widget.TextView'.freeze
|
1444
1444
|
|
@@ -1446,7 +1446,7 @@ __Returns:__
|
|
1446
1446
|
|
1447
1447
|
--
|
1448
1448
|
|
1449
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/text.rb#L10) android
|
1450
1450
|
|
1451
1451
|
> def text(value)
|
1452
1452
|
|
@@ -1463,7 +1463,7 @@ __Returns:__
|
|
1463
1463
|
|
1464
1464
|
--
|
1465
1465
|
|
1466
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1466
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/text.rb#L20) android
|
1467
1467
|
|
1468
1468
|
> def texts(value = false)
|
1469
1469
|
|
@@ -1480,7 +1480,7 @@ __Returns:__
|
|
1480
1480
|
|
1481
1481
|
--
|
1482
1482
|
|
1483
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/text.rb#L28) android
|
1484
1484
|
|
1485
1485
|
> def first_text
|
1486
1486
|
|
@@ -1492,7 +1492,7 @@ __Returns:__
|
|
1492
1492
|
|
1493
1493
|
--
|
1494
1494
|
|
1495
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1495
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/text.rb#L34) android
|
1496
1496
|
|
1497
1497
|
> def last_text
|
1498
1498
|
|
@@ -1504,7 +1504,7 @@ __Returns:__
|
|
1504
1504
|
|
1505
1505
|
--
|
1506
1506
|
|
1507
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/text.rb#L41) android
|
1508
1508
|
|
1509
1509
|
> def text_exact(value)
|
1510
1510
|
|
@@ -1520,7 +1520,7 @@ __Returns:__
|
|
1520
1520
|
|
1521
1521
|
--
|
1522
1522
|
|
1523
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1523
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/text.rb#L48) android
|
1524
1524
|
|
1525
1525
|
> def texts_exact(value)
|
1526
1526
|
|
@@ -1536,7 +1536,7 @@ __Returns:__
|
|
1536
1536
|
|
1537
1537
|
--
|
1538
1538
|
|
1539
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L6) android
|
1540
1540
|
|
1541
1541
|
> def result
|
1542
1542
|
|
@@ -1544,7 +1544,7 @@ Returns the value of attribute result
|
|
1544
1544
|
|
1545
1545
|
--
|
1546
1546
|
|
1547
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L6) android
|
1548
1548
|
|
1549
1549
|
> def keys
|
1550
1550
|
|
@@ -1552,7 +1552,7 @@ Returns the value of attribute keys
|
|
1552
1552
|
|
1553
1553
|
--
|
1554
1554
|
|
1555
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1555
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L6) android
|
1556
1556
|
|
1557
1557
|
> def filter
|
1558
1558
|
|
@@ -1560,7 +1560,7 @@ Returns the value of attribute filter
|
|
1560
1560
|
|
1561
1561
|
--
|
1562
1562
|
|
1563
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L9) android
|
1564
1564
|
|
1565
1565
|
> def filter=(value)
|
1566
1566
|
|
@@ -1568,7 +1568,7 @@ convert to string to support symbols
|
|
1568
1568
|
|
1569
1569
|
--
|
1570
1570
|
|
1571
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L16) android
|
1572
1572
|
|
1573
1573
|
> def initialize
|
1574
1574
|
|
@@ -1580,7 +1580,7 @@ __Returns:__
|
|
1580
1580
|
|
1581
1581
|
--
|
1582
1582
|
|
1583
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1583
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L21) android
|
1584
1584
|
|
1585
1585
|
> def reset
|
1586
1586
|
|
@@ -1588,7 +1588,7 @@ __Returns:__
|
|
1588
1588
|
|
1589
1589
|
--
|
1590
1590
|
|
1591
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L27) android
|
1592
1592
|
|
1593
1593
|
> def start_element(name, attrs = [], driver = $driver)
|
1594
1594
|
|
@@ -1596,7 +1596,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1596
1596
|
|
1597
1597
|
--
|
1598
1598
|
|
1599
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1599
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L81) android
|
1600
1600
|
|
1601
1601
|
> def get_android_inspect(class_name = false)
|
1602
1602
|
|
@@ -1615,7 +1615,7 @@ __Returns:__
|
|
1615
1615
|
|
1616
1616
|
--
|
1617
1617
|
|
1618
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1618
|
+
##### [page](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L107) android
|
1619
1619
|
|
1620
1620
|
> def page(opts = {})
|
1621
1621
|
|
@@ -1634,7 +1634,7 @@ __Returns:__
|
|
1634
1634
|
|
1635
1635
|
--
|
1636
1636
|
|
1637
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [id](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L116) android
|
1638
1638
|
|
1639
1639
|
> def id(id)
|
1640
1640
|
|
@@ -1650,7 +1650,7 @@ __Returns:__
|
|
1650
1650
|
|
1651
1651
|
--
|
1652
1652
|
|
1653
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L124) android
|
1654
1654
|
|
1655
1655
|
> def ids(id)
|
1656
1656
|
|
@@ -1666,7 +1666,7 @@ __Returns:__
|
|
1666
1666
|
|
1667
1667
|
--
|
1668
1668
|
|
1669
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L133) android
|
1670
1670
|
|
1671
1671
|
> def ele_index(class_name, index)
|
1672
1672
|
|
@@ -1684,7 +1684,7 @@ __Returns:__
|
|
1684
1684
|
|
1685
1685
|
--
|
1686
1686
|
|
1687
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1687
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L152) android
|
1688
1688
|
|
1689
1689
|
> def first_ele(class_name)
|
1690
1690
|
|
@@ -1700,7 +1700,7 @@ __Returns:__
|
|
1700
1700
|
|
1701
1701
|
--
|
1702
1702
|
|
1703
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L159) android
|
1704
1704
|
|
1705
1705
|
> def last_ele(class_name)
|
1706
1706
|
|
@@ -1716,7 +1716,7 @@ __Returns:__
|
|
1716
1716
|
|
1717
1717
|
--
|
1718
1718
|
|
1719
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1719
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L167) android
|
1720
1720
|
|
1721
1721
|
> def tag(class_name)
|
1722
1722
|
|
@@ -1732,7 +1732,7 @@ __Returns:__
|
|
1732
1732
|
|
1733
1733
|
--
|
1734
1734
|
|
1735
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1735
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L175) android
|
1736
1736
|
|
1737
1737
|
> def tags(class_name)
|
1738
1738
|
|
@@ -1748,7 +1748,7 @@ __Returns:__
|
|
1748
1748
|
|
1749
1749
|
--
|
1750
1750
|
|
1751
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1751
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L218) android
|
1752
1752
|
|
1753
1753
|
> def string_visible_contains_xpath(class_name, value)
|
1754
1754
|
|
@@ -1769,7 +1769,7 @@ __Returns:__
|
|
1769
1769
|
|
1770
1770
|
--
|
1771
1771
|
|
1772
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1772
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L238) android
|
1773
1773
|
|
1774
1774
|
> def string_visible_contains(class_name, value)
|
1775
1775
|
|
@@ -1790,7 +1790,7 @@ __Returns:__
|
|
1790
1790
|
|
1791
1791
|
--
|
1792
1792
|
|
1793
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1793
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L256) android
|
1794
1794
|
|
1795
1795
|
> def complex_find_contains(class_name, value)
|
1796
1796
|
|
@@ -1808,7 +1808,7 @@ __Returns:__
|
|
1808
1808
|
|
1809
1809
|
--
|
1810
1810
|
|
1811
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1811
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L264) android
|
1812
1812
|
|
1813
1813
|
> def complex_finds_contains(class_name, value)
|
1814
1814
|
|
@@ -1826,7 +1826,7 @@ __Returns:__
|
|
1826
1826
|
|
1827
1827
|
--
|
1828
1828
|
|
1829
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L306) android
|
1830
1830
|
|
1831
1831
|
> def complex_find_exact(class_name, value)
|
1832
1832
|
|
@@ -1844,7 +1844,7 @@ __Returns:__
|
|
1844
1844
|
|
1845
1845
|
--
|
1846
1846
|
|
1847
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/helper.rb#L314) android
|
1848
1848
|
|
1849
1849
|
> def complex_finds_exact(class_name, value)
|
1850
1850
|
|
@@ -1862,7 +1862,7 @@ __Returns:__
|
|
1862
1862
|
|
1863
1863
|
--
|
1864
1864
|
|
1865
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/alert.rb#L6) android
|
1866
1866
|
|
1867
1867
|
> def alert_click(value)
|
1868
1868
|
|
@@ -1878,7 +1878,7 @@ __Returns:__
|
|
1878
1878
|
|
1879
1879
|
--
|
1880
1880
|
|
1881
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/alert.rb#L13) android
|
1882
1882
|
|
1883
1883
|
> def alert_accept
|
1884
1884
|
|
@@ -1891,7 +1891,7 @@ __Returns:__
|
|
1891
1891
|
|
1892
1892
|
--
|
1893
1893
|
|
1894
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1894
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/alert.rb#L20) android
|
1895
1895
|
|
1896
1896
|
> def alert_accept_text
|
1897
1897
|
|
@@ -1904,7 +1904,7 @@ __Returns:__
|
|
1904
1904
|
|
1905
1905
|
--
|
1906
1906
|
|
1907
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1907
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/alert.rb#L27) android
|
1908
1908
|
|
1909
1909
|
> def alert_dismiss
|
1910
1910
|
|
@@ -1917,7 +1917,7 @@ __Returns:__
|
|
1917
1917
|
|
1918
1918
|
--
|
1919
1919
|
|
1920
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1920
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/alert.rb#L34) android
|
1921
1921
|
|
1922
1922
|
> def alert_dismiss_text
|
1923
1923
|
|
@@ -1930,7 +1930,7 @@ __Returns:__
|
|
1930
1930
|
|
1931
1931
|
--
|
1932
1932
|
|
1933
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L3) android
|
1934
1934
|
|
1935
1935
|
> Button = 'android.widget.Button'.freeze
|
1936
1936
|
|
@@ -1938,7 +1938,7 @@ __Returns:__
|
|
1938
1938
|
|
1939
1939
|
--
|
1940
1940
|
|
1941
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1941
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L4) android
|
1942
1942
|
|
1943
1943
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1944
1944
|
|
@@ -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/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L10) android
|
1950
1950
|
|
1951
1951
|
> def button(value)
|
1952
1952
|
|
@@ -1963,7 +1963,7 @@ __Returns:__
|
|
1963
1963
|
|
1964
1964
|
--
|
1965
1965
|
|
1966
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1966
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L28) android
|
1967
1967
|
|
1968
1968
|
> def buttons(value = false)
|
1969
1969
|
|
@@ -1980,7 +1980,7 @@ __Returns:__
|
|
1980
1980
|
|
1981
1981
|
--
|
1982
1982
|
|
1983
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L36) android
|
1984
1984
|
|
1985
1985
|
> def first_button
|
1986
1986
|
|
@@ -1992,7 +1992,7 @@ __Returns:__
|
|
1992
1992
|
|
1993
1993
|
--
|
1994
1994
|
|
1995
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L42) android
|
1996
1996
|
|
1997
1997
|
> def last_button
|
1998
1998
|
|
@@ -2004,7 +2004,7 @@ __Returns:__
|
|
2004
2004
|
|
2005
2005
|
--
|
2006
2006
|
|
2007
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2007
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L58) android
|
2008
2008
|
|
2009
2009
|
> def button_exact(value)
|
2010
2010
|
|
@@ -2020,7 +2020,7 @@ __Returns:__
|
|
2020
2020
|
|
2021
2021
|
--
|
2022
2022
|
|
2023
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2023
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L65) android
|
2024
2024
|
|
2025
2025
|
> def buttons_exact(value)
|
2026
2026
|
|
@@ -2036,7 +2036,7 @@ __Returns:__
|
|
2036
2036
|
|
2037
2037
|
--
|
2038
2038
|
|
2039
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2039
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L78) android
|
2040
2040
|
|
2041
2041
|
> def _button_visible_selectors(opts = {})
|
2042
2042
|
|
@@ -2044,7 +2044,7 @@ __Returns:__
|
|
2044
2044
|
|
2045
2045
|
--
|
2046
2046
|
|
2047
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2047
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L91) android
|
2048
2048
|
|
2049
2049
|
> def _button_exact_string(value)
|
2050
2050
|
|
@@ -2052,7 +2052,7 @@ __Returns:__
|
|
2052
2052
|
|
2053
2053
|
--
|
2054
2054
|
|
2055
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2055
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/button.rb#L97) android
|
2056
2056
|
|
2057
2057
|
> def _button_contains_string(value)
|
2058
2058
|
|
@@ -2060,7 +2060,7 @@ __Returns:__
|
|
2060
2060
|
|
2061
2061
|
--
|
2062
2062
|
|
2063
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2063
|
+
##### [find](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/generic.rb#L6) android
|
2064
2064
|
|
2065
2065
|
> def find(value)
|
2066
2066
|
|
@@ -2076,7 +2076,7 @@ __Returns:__
|
|
2076
2076
|
|
2077
2077
|
--
|
2078
2078
|
|
2079
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/generic.rb#L13) android
|
2080
2080
|
|
2081
2081
|
> def finds(value)
|
2082
2082
|
|
@@ -2092,7 +2092,7 @@ __Returns:__
|
|
2092
2092
|
|
2093
2093
|
--
|
2094
2094
|
|
2095
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/generic.rb#L20) android
|
2096
2096
|
|
2097
2097
|
> def find_exact(value)
|
2098
2098
|
|
@@ -2108,7 +2108,7 @@ __Returns:__
|
|
2108
2108
|
|
2109
2109
|
--
|
2110
2110
|
|
2111
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/generic.rb#L27) android
|
2112
2112
|
|
2113
2113
|
> def finds_exact(value)
|
2114
2114
|
|
@@ -2124,7 +2124,7 @@ __Returns:__
|
|
2124
2124
|
|
2125
2125
|
--
|
2126
2126
|
|
2127
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/generic.rb#L40) android
|
2128
2128
|
|
2129
2129
|
> def scroll_to(text, scrollable_index = 0)
|
2130
2130
|
|
@@ -2142,7 +2142,7 @@ __Returns:__
|
|
2142
2142
|
|
2143
2143
|
--
|
2144
2144
|
|
2145
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/generic.rb#L58) android
|
2146
2146
|
|
2147
2147
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2148
2148
|
|
@@ -2160,7 +2160,7 @@ __Returns:__
|
|
2160
2160
|
|
2161
2161
|
--
|
2162
2162
|
|
2163
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
2164
2164
|
|
2165
2165
|
> def self.for(target)
|
2166
2166
|
|
@@ -2168,7 +2168,7 @@ __Returns:__
|
|
2168
2168
|
|
2169
2169
|
--
|
2170
2170
|
|
2171
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/helper.rb#L9) android
|
2172
2172
|
|
2173
2173
|
> def complex_find_contains(class_name, value)
|
2174
2174
|
|
@@ -2186,7 +2186,7 @@ __Returns:__
|
|
2186
2186
|
|
2187
2187
|
--
|
2188
2188
|
|
2189
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2189
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/helper.rb#L17) android
|
2190
2190
|
|
2191
2191
|
> def complex_finds_contains(class_name, value)
|
2192
2192
|
|
@@ -2204,7 +2204,7 @@ __Returns:__
|
|
2204
2204
|
|
2205
2205
|
--
|
2206
2206
|
|
2207
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/helper.rb#L25) android
|
2208
2208
|
|
2209
2209
|
> def complex_find_exact(class_name, value)
|
2210
2210
|
|
@@ -2222,7 +2222,7 @@ __Returns:__
|
|
2222
2222
|
|
2223
2223
|
--
|
2224
2224
|
|
2225
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2225
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/helper.rb#L33) android
|
2226
2226
|
|
2227
2227
|
> def complex_finds_exact(class_name, value)
|
2228
2228
|
|
@@ -2240,7 +2240,7 @@ __Returns:__
|
|
2240
2240
|
|
2241
2241
|
--
|
2242
2242
|
|
2243
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2243
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/textfield.rb#L3) android
|
2244
2244
|
|
2245
2245
|
> EditText = 'android.widget.EditText'.freeze
|
2246
2246
|
|
@@ -2248,7 +2248,7 @@ __Returns:__
|
|
2248
2248
|
|
2249
2249
|
--
|
2250
2250
|
|
2251
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/textfield.rb#L9) android
|
2252
2252
|
|
2253
2253
|
> def textfield(value)
|
2254
2254
|
|
@@ -2265,7 +2265,7 @@ __Returns:__
|
|
2265
2265
|
|
2266
2266
|
--
|
2267
2267
|
|
2268
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2268
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/textfield.rb#L19) android
|
2269
2269
|
|
2270
2270
|
> def textfields(value = false)
|
2271
2271
|
|
@@ -2282,7 +2282,7 @@ __Returns:__
|
|
2282
2282
|
|
2283
2283
|
--
|
2284
2284
|
|
2285
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2285
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/textfield.rb#L27) android
|
2286
2286
|
|
2287
2287
|
> def first_textfield
|
2288
2288
|
|
@@ -2294,7 +2294,7 @@ __Returns:__
|
|
2294
2294
|
|
2295
2295
|
--
|
2296
2296
|
|
2297
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2297
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/textfield.rb#L33) android
|
2298
2298
|
|
2299
2299
|
> def last_textfield
|
2300
2300
|
|
@@ -2306,7 +2306,7 @@ __Returns:__
|
|
2306
2306
|
|
2307
2307
|
--
|
2308
2308
|
|
2309
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2309
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/textfield.rb#L40) android
|
2310
2310
|
|
2311
2311
|
> def textfield_exact(value)
|
2312
2312
|
|
@@ -2322,7 +2322,7 @@ __Returns:__
|
|
2322
2322
|
|
2323
2323
|
--
|
2324
2324
|
|
2325
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/element/textfield.rb#L47) android
|
2326
2326
|
|
2327
2327
|
> def textfields_exact(value)
|
2328
2328
|
|
@@ -2338,7 +2338,7 @@ __Returns:__
|
|
2338
2338
|
|
2339
2339
|
--
|
2340
2340
|
|
2341
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2341
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2342
2342
|
|
2343
2343
|
> def self.for(target)
|
2344
2344
|
|
@@ -2346,7 +2346,7 @@ __Returns:__
|
|
2346
2346
|
|
2347
2347
|
--
|
2348
2348
|
|
2349
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2349
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2350
2350
|
|
2351
2351
|
> def string_visible_contains(class_name, value)
|
2352
2352
|
|
@@ -2367,7 +2367,7 @@ __Returns:__
|
|
2367
2367
|
|
2368
2368
|
--
|
2369
2369
|
|
2370
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2370
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2371
2371
|
|
2372
2372
|
> def complex_find_contains(class_name, value)
|
2373
2373
|
|
@@ -2385,7 +2385,7 @@ __Returns:__
|
|
2385
2385
|
|
2386
2386
|
--
|
2387
2387
|
|
2388
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2388
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/helper.rb#L42) android
|
2389
2389
|
|
2390
2390
|
> def complex_finds_contains(class_name, value)
|
2391
2391
|
|
@@ -2403,7 +2403,7 @@ __Returns:__
|
|
2403
2403
|
|
2404
2404
|
--
|
2405
2405
|
|
2406
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2406
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/helper.rb#L70) android
|
2407
2407
|
|
2408
2408
|
> def complex_find_exact(class_name, value)
|
2409
2409
|
|
@@ -2421,7 +2421,7 @@ __Returns:__
|
|
2421
2421
|
|
2422
2422
|
--
|
2423
2423
|
|
2424
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2424
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/helper.rb#L81) android
|
2425
2425
|
|
2426
2426
|
> def complex_finds_exact(class_name, value)
|
2427
2427
|
|
@@ -2439,7 +2439,7 @@ __Returns:__
|
|
2439
2439
|
|
2440
2440
|
--
|
2441
2441
|
|
2442
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2442
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/command/command.rb#L14) android
|
2443
2443
|
|
2444
2444
|
> def shell(command, arguments)
|
2445
2445
|
|
@@ -2454,7 +2454,7 @@ __Parameters:__
|
|
2454
2454
|
|
2455
2455
|
--
|
2456
2456
|
|
2457
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2457
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/command/command.rb#L28) android
|
2458
2458
|
|
2459
2459
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2460
2460
|
|
@@ -2466,7 +2466,7 @@ __Parameters:__
|
|
2466
2466
|
|
2467
2467
|
--
|
2468
2468
|
|
2469
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2469
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/common/command/command.rb#L41) android
|
2470
2470
|
|
2471
2471
|
> def stop_logs_broadcast
|
2472
2472
|
|
@@ -2474,7 +2474,7 @@ Stop Android logcat broadcast websocket
|
|
2474
2474
|
|
2475
2475
|
--
|
2476
2476
|
|
2477
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2477
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L9) android
|
2478
2478
|
|
2479
2479
|
> def button(value)
|
2480
2480
|
|
@@ -2491,7 +2491,7 @@ __Returns:__
|
|
2491
2491
|
|
2492
2492
|
--
|
2493
2493
|
|
2494
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2494
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L32) android
|
2495
2495
|
|
2496
2496
|
> def buttons(value = false)
|
2497
2497
|
|
@@ -2508,7 +2508,7 @@ __Returns:__
|
|
2508
2508
|
|
2509
2509
|
--
|
2510
2510
|
|
2511
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2511
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L42) android
|
2512
2512
|
|
2513
2513
|
> def first_button
|
2514
2514
|
|
@@ -2520,7 +2520,7 @@ __Returns:__
|
|
2520
2520
|
|
2521
2521
|
--
|
2522
2522
|
|
2523
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2523
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L48) android
|
2524
2524
|
|
2525
2525
|
> def last_button
|
2526
2526
|
|
@@ -2532,7 +2532,7 @@ __Returns:__
|
|
2532
2532
|
|
2533
2533
|
--
|
2534
2534
|
|
2535
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2535
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L63) android
|
2536
2536
|
|
2537
2537
|
> def button_exact(value)
|
2538
2538
|
|
@@ -2548,7 +2548,7 @@ __Returns:__
|
|
2548
2548
|
|
2549
2549
|
--
|
2550
2550
|
|
2551
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2551
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L75) android
|
2552
2552
|
|
2553
2553
|
> def buttons_exact(value)
|
2554
2554
|
|
@@ -2564,7 +2564,7 @@ __Returns:__
|
|
2564
2564
|
|
2565
2565
|
--
|
2566
2566
|
|
2567
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2567
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L90) android
|
2568
2568
|
|
2569
2569
|
> def _button_visible_selectors_xpath(opts = {})
|
2570
2570
|
|
@@ -2572,7 +2572,7 @@ __Returns:__
|
|
2572
2572
|
|
2573
2573
|
--
|
2574
2574
|
|
2575
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2575
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L111) android
|
2576
2576
|
|
2577
2577
|
> def _button_exact_string_xpath(class_name, value)
|
2578
2578
|
|
@@ -2580,7 +2580,7 @@ __Returns:__
|
|
2580
2580
|
|
2581
2581
|
--
|
2582
2582
|
|
2583
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2583
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/button.rb#L116) android
|
2584
2584
|
|
2585
2585
|
> def _button_contains_string_xpath(class_name, value)
|
2586
2586
|
|
@@ -2588,7 +2588,7 @@ __Returns:__
|
|
2588
2588
|
|
2589
2589
|
--
|
2590
2590
|
|
2591
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2591
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/generic.rb#L9) android
|
2592
2592
|
|
2593
2593
|
> def scroll_to(text)
|
2594
2594
|
|
@@ -2605,7 +2605,7 @@ __Returns:__
|
|
2605
2605
|
|
2606
2606
|
--
|
2607
2607
|
|
2608
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2608
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/espresso/element/generic.rb#L36) android
|
2609
2609
|
|
2610
2610
|
> def scroll_to_exact(text)
|
2611
2611
|
|
@@ -2622,7 +2622,7 @@ __Returns:__
|
|
2622
2622
|
|
2623
2623
|
--
|
2624
2624
|
|
2625
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2625
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2626
2626
|
|
2627
2627
|
> def button(value)
|
2628
2628
|
|
@@ -2639,7 +2639,7 @@ __Returns:__
|
|
2639
2639
|
|
2640
2640
|
--
|
2641
2641
|
|
2642
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2642
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/element/button.rb#L30) android
|
2643
2643
|
|
2644
2644
|
> def buttons(value = false)
|
2645
2645
|
|
@@ -2656,7 +2656,7 @@ __Returns:__
|
|
2656
2656
|
|
2657
2657
|
--
|
2658
2658
|
|
2659
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2659
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/element/button.rb#L38) android
|
2660
2660
|
|
2661
2661
|
> def first_button
|
2662
2662
|
|
@@ -2668,7 +2668,7 @@ __Returns:__
|
|
2668
2668
|
|
2669
2669
|
--
|
2670
2670
|
|
2671
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2671
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/element/button.rb#L45) android
|
2672
2672
|
|
2673
2673
|
> def last_button
|
2674
2674
|
|
@@ -2680,7 +2680,7 @@ __Returns:__
|
|
2680
2680
|
|
2681
2681
|
--
|
2682
2682
|
|
2683
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2683
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/element/button.rb#L62) android
|
2684
2684
|
|
2685
2685
|
> def button_exact(value)
|
2686
2686
|
|
@@ -2696,7 +2696,7 @@ __Returns:__
|
|
2696
2696
|
|
2697
2697
|
--
|
2698
2698
|
|
2699
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2699
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/android/uiautomator2/element/button.rb#L70) android
|
2700
2700
|
|
2701
2701
|
> def buttons_exact(value)
|
2702
2702
|
|