appium_lib 9.4.6 → 9.4.7
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 +9 -1
- data/appium_lib.gemspec +1 -0
- data/docs/android_docs.md +230 -224
- data/docs/ios_docs.md +256 -250
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +2 -1
- data/lib/appium_lib/driver.rb +10 -0
- data/release_notes.md +6 -0
- metadata +16 -2
data/docs/ios_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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L76)
|
2
2
|
|
3
3
|
> def self.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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L112)
|
31
31
|
|
32
32
|
> def self.load_settings(opts = {})
|
33
33
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
57
57
|
|
58
58
|
--
|
59
59
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L118)
|
61
61
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
63
63
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L150)
|
79
79
|
|
80
80
|
> def self.symbolize_keys(hash)
|
81
81
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L171)
|
90
90
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
92
92
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L224)
|
108
108
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
110
110
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L259)
|
138
138
|
|
139
139
|
> def self.init_caps_for_appium(opts_caps = {})
|
140
140
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
153
153
|
|
154
154
|
--
|
155
155
|
|
156
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L277)
|
157
157
|
|
158
158
|
> def global_webdriver_http_sleep
|
159
159
|
|
@@ -161,7 +161,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L277)
|
165
165
|
|
166
166
|
> def global_webdriver_http_sleep=(value)
|
167
167
|
|
@@ -169,7 +169,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
169
169
|
|
170
170
|
--
|
171
171
|
|
172
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
172
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L279)
|
173
173
|
|
174
174
|
> def caps
|
175
175
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
177
177
|
|
178
178
|
--
|
179
179
|
|
180
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L281)
|
181
181
|
|
182
182
|
> def custom_url
|
183
183
|
|
@@ -185,7 +185,7 @@ Custom URL for the selenium server
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L283)
|
189
189
|
|
190
190
|
> def export_session
|
191
191
|
|
@@ -193,7 +193,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L288)
|
197
197
|
|
198
198
|
> def default_wait
|
199
199
|
|
@@ -207,7 +207,7 @@ __Returns:__
|
|
207
207
|
|
208
208
|
--
|
209
209
|
|
210
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
210
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L290)
|
211
211
|
|
212
212
|
> def sauce_username
|
213
213
|
|
@@ -215,7 +215,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
215
215
|
|
216
216
|
--
|
217
217
|
|
218
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
218
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L292)
|
219
219
|
|
220
220
|
> def sauce_access_key
|
221
221
|
|
@@ -223,7 +223,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
223
223
|
|
224
224
|
--
|
225
225
|
|
226
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L294)
|
227
227
|
|
228
228
|
> def sauce_endpoint
|
229
229
|
|
@@ -231,7 +231,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L296)
|
235
235
|
|
236
236
|
> def appium_port
|
237
237
|
|
@@ -239,7 +239,7 @@ Appium's server port
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L298)
|
243
243
|
|
244
244
|
> def appium_device
|
245
245
|
|
@@ -247,7 +247,7 @@ Device type to request from the appium server
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L301)
|
251
251
|
|
252
252
|
> def automation_name
|
253
253
|
|
@@ -256,7 +256,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L303)
|
260
260
|
|
261
261
|
> def appium_server_status
|
262
262
|
|
@@ -264,7 +264,7 @@ Appium's server version
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L305)
|
268
268
|
|
269
269
|
> def appium_debug
|
270
270
|
|
@@ -272,7 +272,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L307)
|
276
276
|
|
277
277
|
> def listener
|
278
278
|
|
@@ -280,7 +280,7 @@ instance of AbstractEventListener for logging support
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L310)
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L313)
|
296
296
|
|
297
297
|
> def http_client
|
298
298
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
304
304
|
|
305
305
|
--
|
306
306
|
|
307
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L318)
|
308
308
|
|
309
309
|
> def appium_wait_timeout
|
310
310
|
|
@@ -318,7 +318,7 @@ __Returns:__
|
|
318
318
|
|
319
319
|
--
|
320
320
|
|
321
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L323)
|
322
322
|
|
323
323
|
> def appium_wait_interval
|
324
324
|
|
@@ -332,7 +332,7 @@ __Returns:__
|
|
332
332
|
|
333
333
|
--
|
334
334
|
|
335
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
335
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L363)
|
336
336
|
|
337
337
|
> def initialize(opts = {})
|
338
338
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
348
348
|
|
349
349
|
--
|
350
350
|
|
351
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
351
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L441)
|
352
352
|
|
353
353
|
> def driver_attributes
|
354
354
|
|
@@ -356,7 +356,7 @@ Returns a hash of the driver attributes
|
|
356
356
|
|
357
357
|
--
|
358
358
|
|
359
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
359
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L466)
|
360
360
|
|
361
361
|
> def device_is_android?
|
362
362
|
|
@@ -368,7 +368,7 @@ __Returns:__
|
|
368
368
|
|
369
369
|
--
|
370
370
|
|
371
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
371
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L472)
|
372
372
|
|
373
373
|
> def automation_name_is_xcuitest?
|
374
374
|
|
@@ -380,7 +380,7 @@ __Returns:__
|
|
380
380
|
|
381
381
|
--
|
382
382
|
|
383
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
383
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L478)
|
384
384
|
|
385
385
|
> def automation_name_is_uiautomator2?
|
386
386
|
|
@@ -392,7 +392,7 @@ __Returns:__
|
|
392
392
|
|
393
393
|
--
|
394
394
|
|
395
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
395
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L485)
|
396
396
|
|
397
397
|
> def check_server_version_xcuitest
|
398
398
|
|
@@ -405,7 +405,7 @@ __Returns:__
|
|
405
405
|
|
406
406
|
--
|
407
407
|
|
408
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
408
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L512)
|
409
409
|
|
410
410
|
> def appium_server_version
|
411
411
|
|
@@ -420,13 +420,19 @@ Returns the server's version info
|
|
420
420
|
}
|
421
421
|
```
|
422
422
|
|
423
|
+
Returns blank hash for Selenium Grid since `remote_status` gets 500 error
|
424
|
+
|
425
|
+
```ruby
|
426
|
+
{}
|
427
|
+
```
|
428
|
+
|
423
429
|
__Returns:__
|
424
430
|
|
425
431
|
[Hash]
|
426
432
|
|
427
433
|
--
|
428
434
|
|
429
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
435
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L533)
|
430
436
|
|
431
437
|
> def appium_client_version
|
432
438
|
|
@@ -444,7 +450,7 @@ __Returns:__
|
|
444
450
|
|
445
451
|
--
|
446
452
|
|
447
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
453
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L545)
|
448
454
|
|
449
455
|
> def self.absolute_app_path(opts)
|
450
456
|
|
@@ -461,7 +467,7 @@ __Returns:__
|
|
461
467
|
|
462
468
|
--
|
463
469
|
|
464
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
470
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L578)
|
465
471
|
|
466
472
|
> def server_url
|
467
473
|
|
@@ -473,7 +479,7 @@ __Returns:__
|
|
473
479
|
|
474
480
|
--
|
475
481
|
|
476
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
482
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L589)
|
477
483
|
|
478
484
|
> def restart
|
479
485
|
|
@@ -485,7 +491,7 @@ __Returns:__
|
|
485
491
|
|
486
492
|
--
|
487
493
|
|
488
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
494
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L600)
|
489
495
|
|
490
496
|
> def screenshot(png_save_path)
|
491
497
|
|
@@ -503,7 +509,7 @@ __Returns:__
|
|
503
509
|
|
504
510
|
--
|
505
511
|
|
506
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
512
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L607)
|
507
513
|
|
508
514
|
> def driver_quit
|
509
515
|
|
@@ -515,7 +521,7 @@ __Returns:__
|
|
515
521
|
|
516
522
|
--
|
517
523
|
|
518
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
524
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L617)
|
519
525
|
|
520
526
|
> def start_driver
|
521
527
|
|
@@ -527,7 +533,7 @@ __Returns:__
|
|
527
533
|
|
528
534
|
--
|
529
535
|
|
530
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
536
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L655)
|
531
537
|
|
532
538
|
> def no_wait
|
533
539
|
|
@@ -535,7 +541,7 @@ Set implicit wait to zero.
|
|
535
541
|
|
536
542
|
--
|
537
543
|
|
538
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L669)
|
539
545
|
|
540
546
|
> def set_wait(timeout = nil)
|
541
547
|
|
@@ -557,7 +563,7 @@ __Returns:__
|
|
557
563
|
|
558
564
|
--
|
559
565
|
|
560
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
566
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L686)
|
561
567
|
|
562
568
|
> def exists(pre_check = 0, post_check = @default_wait)
|
563
569
|
|
@@ -581,7 +587,7 @@ __Returns:__
|
|
581
587
|
|
582
588
|
--
|
583
589
|
|
584
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L710)
|
585
591
|
|
586
592
|
> def execute_script(script, *args)
|
587
593
|
|
@@ -599,7 +605,7 @@ __Returns:__
|
|
599
605
|
|
600
606
|
--
|
601
607
|
|
602
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L732)
|
603
609
|
|
604
610
|
> def find_elements(*args)
|
605
611
|
|
@@ -625,7 +631,7 @@ __Returns:__
|
|
625
631
|
|
626
632
|
--
|
627
633
|
|
628
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
634
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L747)
|
629
635
|
|
630
636
|
> def find_element(*args)
|
631
637
|
|
@@ -646,7 +652,7 @@ __Returns:__
|
|
646
652
|
|
647
653
|
--
|
648
654
|
|
649
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
655
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L760)
|
650
656
|
|
651
657
|
> def set_location(opts = {})
|
652
658
|
|
@@ -662,7 +668,7 @@ __Returns:__
|
|
662
668
|
|
663
669
|
--
|
664
670
|
|
665
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
671
|
+
##### [x](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L770)
|
666
672
|
|
667
673
|
> def x
|
668
674
|
|
@@ -675,7 +681,7 @@ __Returns:__
|
|
675
681
|
|
676
682
|
--
|
677
683
|
|
678
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L779)
|
679
685
|
|
680
686
|
> def set_automation_name_if_nil
|
681
687
|
|
@@ -684,7 +690,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
684
690
|
|
685
691
|
--
|
686
692
|
|
687
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
693
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/logger.rb#L13)
|
688
694
|
|
689
695
|
> def logger=(value)
|
690
696
|
|
@@ -696,7 +702,7 @@ __Parameters:__
|
|
696
702
|
|
697
703
|
--
|
698
704
|
|
699
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
705
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/logger.rb#L17)
|
700
706
|
|
701
707
|
> def logger
|
702
708
|
|
@@ -704,7 +710,7 @@ __Parameters:__
|
|
704
710
|
|
705
711
|
--
|
706
712
|
|
707
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
713
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L7)
|
708
714
|
|
709
715
|
> def app_strings
|
710
716
|
|
@@ -715,7 +721,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
715
721
|
|
716
722
|
--
|
717
723
|
|
718
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L13)
|
719
725
|
|
720
726
|
> def background_app
|
721
727
|
|
@@ -724,7 +730,7 @@ This is a blocking application
|
|
724
730
|
|
725
731
|
--
|
726
732
|
|
727
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
733
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L24)
|
728
734
|
|
729
735
|
> def current_activity
|
730
736
|
|
@@ -732,7 +738,7 @@ This is a blocking application
|
|
732
738
|
|
733
739
|
--
|
734
740
|
|
735
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L26)
|
736
742
|
|
737
743
|
> def get_system_bars
|
738
744
|
|
@@ -747,7 +753,7 @@ __Returns:__
|
|
747
753
|
|
748
754
|
--
|
749
755
|
|
750
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L34)
|
751
757
|
|
752
758
|
> def get_display_density
|
753
759
|
|
@@ -762,7 +768,7 @@ __Returns:__
|
|
762
768
|
|
763
769
|
--
|
764
770
|
|
765
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L42)
|
766
772
|
|
767
773
|
> def is_keyboard_shown
|
768
774
|
|
@@ -777,7 +783,7 @@ __Returns:__
|
|
777
783
|
|
778
784
|
--
|
779
785
|
|
780
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L50)
|
781
787
|
|
782
788
|
> def launch_app
|
783
789
|
|
@@ -785,7 +791,7 @@ Start the simulator and application configured with desired capabilities
|
|
785
791
|
|
786
792
|
--
|
787
793
|
|
788
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L53)
|
789
795
|
|
790
796
|
> def reset
|
791
797
|
|
@@ -793,7 +799,7 @@ Reset the device, relaunching the application.
|
|
793
799
|
|
794
800
|
--
|
795
801
|
|
796
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
802
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L56)
|
797
803
|
|
798
804
|
> def shake
|
799
805
|
|
@@ -801,7 +807,7 @@ Cause the device to shake
|
|
801
807
|
|
802
808
|
--
|
803
809
|
|
804
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L59)
|
805
811
|
|
806
812
|
> def toggle_flight_mode
|
807
813
|
|
@@ -809,7 +815,7 @@ Toggle flight mode on or off
|
|
809
815
|
|
810
816
|
--
|
811
817
|
|
812
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L62)
|
813
819
|
|
814
820
|
> def device_locked?
|
815
821
|
|
@@ -817,7 +823,7 @@ Toggle flight mode on or off
|
|
817
823
|
|
818
824
|
--
|
819
825
|
|
820
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
826
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L64)
|
821
827
|
|
822
828
|
> def hide_keyboard
|
823
829
|
|
@@ -834,7 +840,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
834
840
|
|
835
841
|
--
|
836
842
|
|
837
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L77)
|
838
844
|
|
839
845
|
> def press_keycode
|
840
846
|
|
@@ -849,7 +855,7 @@ __Parameters:__
|
|
849
855
|
|
850
856
|
--
|
851
857
|
|
852
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
858
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L83)
|
853
859
|
|
854
860
|
> def long_press_keycode
|
855
861
|
|
@@ -864,7 +870,7 @@ __Parameters:__
|
|
864
870
|
|
865
871
|
--
|
866
872
|
|
867
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L89)
|
868
874
|
|
869
875
|
> def push_file
|
870
876
|
|
@@ -878,7 +884,7 @@ __Parameters:__
|
|
878
884
|
|
879
885
|
--
|
880
886
|
|
881
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L94)
|
882
888
|
|
883
889
|
> def pull_file
|
884
890
|
|
@@ -895,7 +901,7 @@ __Parameters:__
|
|
895
901
|
|
896
902
|
--
|
897
903
|
|
898
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
904
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L104)
|
899
905
|
|
900
906
|
> def pull_folder
|
901
907
|
|
@@ -910,7 +916,7 @@ __Parameters:__
|
|
910
916
|
|
911
917
|
--
|
912
918
|
|
913
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L112)
|
914
920
|
|
915
921
|
> def touch_id
|
916
922
|
|
@@ -927,7 +933,7 @@ Defaults to true.
|
|
927
933
|
|
928
934
|
--
|
929
935
|
|
930
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
936
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L121)
|
931
937
|
|
932
938
|
> def toggle_touch_id_enrollment
|
933
939
|
|
@@ -935,7 +941,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
935
941
|
|
936
942
|
--
|
937
943
|
|
938
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
944
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L124)
|
939
945
|
|
940
946
|
> def end_coverage
|
941
947
|
|
@@ -949,7 +955,7 @@ __Parameters:__
|
|
949
955
|
|
950
956
|
--
|
951
957
|
|
952
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L129)
|
953
959
|
|
954
960
|
> def get_settings
|
955
961
|
|
@@ -957,7 +963,7 @@ Get appium Settings for current test session
|
|
957
963
|
|
958
964
|
--
|
959
965
|
|
960
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L132)
|
961
967
|
|
962
968
|
> def update_settings
|
963
969
|
|
@@ -969,7 +975,7 @@ __Parameters:__
|
|
969
975
|
|
970
976
|
--
|
971
977
|
|
972
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
978
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L136)
|
973
979
|
|
974
980
|
> def start_activity
|
975
981
|
|
@@ -983,7 +989,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
983
989
|
|
984
990
|
--
|
985
991
|
|
986
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
992
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L150)
|
987
993
|
|
988
994
|
> def get_network_connection
|
989
995
|
|
@@ -992,7 +998,7 @@ See set_network_connection method for return value
|
|
992
998
|
|
993
999
|
--
|
994
1000
|
|
995
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L154)
|
996
1002
|
|
997
1003
|
> def set_network_connection
|
998
1004
|
|
@@ -1011,7 +1017,7 @@ __Parameters:__
|
|
1011
1017
|
|
1012
1018
|
--
|
1013
1019
|
|
1014
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1020
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L167)
|
1015
1021
|
|
1016
1022
|
> def set_immediate_value
|
1017
1023
|
|
@@ -1025,7 +1031,7 @@ set_immediate_value element, 'hello'
|
|
1025
1031
|
|
1026
1032
|
--
|
1027
1033
|
|
1028
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1034
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L176)
|
1029
1035
|
|
1030
1036
|
> def get_performance_data_types
|
1031
1037
|
|
@@ -1039,7 +1045,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1039
1045
|
|
1040
1046
|
--
|
1041
1047
|
|
1042
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L439)
|
1043
1049
|
|
1044
1050
|
> def extend_search_contexts
|
1045
1051
|
|
@@ -1047,7 +1053,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1047
1053
|
|
1048
1054
|
--
|
1049
1055
|
|
1050
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L439)
|
1051
1057
|
|
1052
1058
|
> def find_element_with_appium
|
1053
1059
|
|
@@ -1055,7 +1061,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1055
1061
|
|
1056
1062
|
--
|
1057
1063
|
|
1058
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L439)
|
1059
1065
|
|
1060
1066
|
> def find_elements_with_appium
|
1061
1067
|
|
@@ -1067,7 +1073,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1067
1073
|
|
1068
1074
|
--
|
1069
1075
|
|
1070
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L470)
|
1071
1077
|
|
1072
1078
|
> def add_touch_actions
|
1073
1079
|
|
@@ -1075,7 +1081,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1075
1081
|
|
1076
1082
|
--
|
1077
1083
|
|
1078
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1084
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L493)
|
1079
1085
|
|
1080
1086
|
> def add_ime_actions
|
1081
1087
|
|
@@ -1083,7 +1089,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1083
1089
|
|
1084
1090
|
--
|
1085
1091
|
|
1086
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L568)
|
1087
1093
|
|
1088
1094
|
> def set_context
|
1089
1095
|
|
@@ -1098,7 +1104,7 @@ __Parameters:__
|
|
1098
1104
|
|
1099
1105
|
--
|
1100
1106
|
|
1101
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L576)
|
1102
1108
|
|
1103
1109
|
> def current_context
|
1104
1110
|
|
@@ -1110,7 +1116,7 @@ __Returns:__
|
|
1110
1116
|
|
1111
1117
|
--
|
1112
1118
|
|
1113
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L579)
|
1114
1120
|
|
1115
1121
|
> def available_contexts
|
1116
1122
|
|
@@ -1122,7 +1128,7 @@ __Returns:__
|
|
1122
1128
|
|
1123
1129
|
--
|
1124
1130
|
|
1125
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L589)
|
1126
1132
|
|
1127
1133
|
> def within_context(context)
|
1128
1134
|
|
@@ -1138,7 +1144,7 @@ __Parameters:__
|
|
1138
1144
|
|
1139
1145
|
--
|
1140
1146
|
|
1141
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L597)
|
1142
1148
|
|
1143
1149
|
> def switch_to_default_context
|
1144
1150
|
|
@@ -1146,7 +1152,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1146
1152
|
|
1147
1153
|
--
|
1148
1154
|
|
1149
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1155
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L28)
|
1150
1156
|
|
1151
1157
|
> def pinch(percentage = 25, auto_perform = true)
|
1152
1158
|
|
@@ -1165,7 +1171,7 @@ __Parameters:__
|
|
1165
1171
|
|
1166
1172
|
--
|
1167
1173
|
|
1168
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L57)
|
1169
1175
|
|
1170
1176
|
> def zoom(percentage = 200, auto_perform = true)
|
1171
1177
|
|
@@ -1184,7 +1190,7 @@ __Parameters:__
|
|
1184
1190
|
|
1185
1191
|
--
|
1186
1192
|
|
1187
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L79)
|
1188
1194
|
|
1189
1195
|
> def pinch_for_xcuitest(rate)
|
1190
1196
|
|
@@ -1192,7 +1198,7 @@ __Parameters:__
|
|
1192
1198
|
|
1193
1199
|
--
|
1194
1200
|
|
1195
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L94)
|
1196
1202
|
|
1197
1203
|
> def pinch_android(rate)
|
1198
1204
|
|
@@ -1200,7 +1206,7 @@ __Parameters:__
|
|
1200
1206
|
|
1201
1207
|
--
|
1202
1208
|
|
1203
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L108)
|
1204
1210
|
|
1205
1211
|
> def pinch_ios(rate)
|
1206
1212
|
|
@@ -1208,7 +1214,7 @@ __Parameters:__
|
|
1208
1214
|
|
1209
1215
|
--
|
1210
1216
|
|
1211
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L122)
|
1212
1218
|
|
1213
1219
|
> def zoom_for_xcuitest(rate)
|
1214
1220
|
|
@@ -1216,7 +1222,7 @@ __Parameters:__
|
|
1216
1222
|
|
1217
1223
|
--
|
1218
1224
|
|
1219
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L137)
|
1220
1226
|
|
1221
1227
|
> def zoom_android(rate)
|
1222
1228
|
|
@@ -1224,7 +1230,7 @@ __Parameters:__
|
|
1224
1230
|
|
1225
1231
|
--
|
1226
1232
|
|
1227
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L151)
|
1228
1234
|
|
1229
1235
|
> def zoom_ios(rate)
|
1230
1236
|
|
@@ -1232,7 +1238,7 @@ __Parameters:__
|
|
1232
1238
|
|
1233
1239
|
--
|
1234
1240
|
|
1235
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1241
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L166)
|
1236
1242
|
|
1237
1243
|
> def actions
|
1238
1244
|
|
@@ -1240,7 +1246,7 @@ self
|
|
1240
1246
|
|
1241
1247
|
--
|
1242
1248
|
|
1243
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L169)
|
1244
1250
|
|
1245
1251
|
> def initialize
|
1246
1252
|
|
@@ -1252,7 +1258,7 @@ __Returns:__
|
|
1252
1258
|
|
1253
1259
|
--
|
1254
1260
|
|
1255
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [add](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L175)
|
1256
1262
|
|
1257
1263
|
> def add(chain)
|
1258
1264
|
|
@@ -1264,7 +1270,7 @@ __Parameters:__
|
|
1264
1270
|
|
1265
1271
|
--
|
1266
1272
|
|
1267
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L180)
|
1268
1274
|
|
1269
1275
|
> def perform
|
1270
1276
|
|
@@ -1272,7 +1278,7 @@ Ask Appium to perform the actions
|
|
1272
1278
|
|
1273
1279
|
--
|
1274
1280
|
|
1275
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L22)
|
1276
1282
|
|
1277
1283
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1278
1284
|
|
@@ -1280,7 +1286,7 @@ Ask Appium to perform the actions
|
|
1280
1286
|
|
1281
1287
|
--
|
1282
1288
|
|
1283
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L23)
|
1284
1290
|
|
1285
1291
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1286
1292
|
|
@@ -1288,7 +1294,7 @@ Ask Appium to perform the actions
|
|
1288
1294
|
|
1289
1295
|
--
|
1290
1296
|
|
1291
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L37)
|
1292
1298
|
|
1293
1299
|
> def actions
|
1294
1300
|
|
@@ -1296,7 +1302,7 @@ Returns the value of attribute actions
|
|
1296
1302
|
|
1297
1303
|
--
|
1298
1304
|
|
1299
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L39)
|
1300
1306
|
|
1301
1307
|
> def initialize
|
1302
1308
|
|
@@ -1308,7 +1314,7 @@ __Returns:__
|
|
1308
1314
|
|
1309
1315
|
--
|
1310
1316
|
|
1311
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L50)
|
1312
1318
|
|
1313
1319
|
> def move_to(opts)
|
1314
1320
|
|
@@ -1322,7 +1328,7 @@ __Parameters:__
|
|
1322
1328
|
|
1323
1329
|
--
|
1324
1330
|
|
1325
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L64)
|
1326
1332
|
|
1327
1333
|
> def long_press(opts)
|
1328
1334
|
|
@@ -1343,7 +1349,7 @@ __Parameters:__
|
|
1343
1349
|
|
1344
1350
|
--
|
1345
1351
|
|
1346
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [press](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L76)
|
1347
1353
|
|
1348
1354
|
> def press(opts)
|
1349
1355
|
|
@@ -1356,7 +1362,7 @@ __Parameters:__
|
|
1356
1362
|
|
1357
1363
|
--
|
1358
1364
|
|
1359
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1365
|
+
##### [release](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L87)
|
1360
1366
|
|
1361
1367
|
> def release(opts = nil)
|
1362
1368
|
|
@@ -1368,7 +1374,7 @@ __Parameters:__
|
|
1368
1374
|
|
1369
1375
|
--
|
1370
1376
|
|
1371
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1377
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L99)
|
1372
1378
|
|
1373
1379
|
> def tap(opts)
|
1374
1380
|
|
@@ -1381,7 +1387,7 @@ __Parameters:__
|
|
1381
1387
|
|
1382
1388
|
--
|
1383
1389
|
|
1384
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1390
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L112)
|
1385
1391
|
|
1386
1392
|
> def double_tap(opts)
|
1387
1393
|
|
@@ -1393,7 +1399,7 @@ __Parameters:__
|
|
1393
1399
|
|
1394
1400
|
--
|
1395
1401
|
|
1396
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1402
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L123)
|
1397
1403
|
|
1398
1404
|
> def two_finger_tap(opts)
|
1399
1405
|
|
@@ -1405,7 +1411,7 @@ __Parameters:__
|
|
1405
1411
|
|
1406
1412
|
--
|
1407
1413
|
|
1408
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1414
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L131)
|
1409
1415
|
|
1410
1416
|
> def wait(milliseconds)
|
1411
1417
|
|
@@ -1417,7 +1423,7 @@ __Parameters:__
|
|
1417
1423
|
|
1418
1424
|
--
|
1419
1425
|
|
1420
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L154)
|
1421
1427
|
|
1422
1428
|
> def swipe(opts, ele = nil)
|
1423
1429
|
|
@@ -1438,7 +1444,7 @@ __Parameters:__
|
|
1438
1444
|
|
1439
1445
|
--
|
1440
1446
|
|
1441
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L179)
|
1442
1448
|
|
1443
1449
|
> def perform
|
1444
1450
|
|
@@ -1446,7 +1452,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1446
1452
|
|
1447
1453
|
--
|
1448
1454
|
|
1449
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L186)
|
1450
1456
|
|
1451
1457
|
> def cancel
|
1452
1458
|
|
@@ -1454,7 +1460,7 @@ Does nothing, currently.
|
|
1454
1460
|
|
1455
1461
|
--
|
1456
1462
|
|
1457
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1463
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L192)
|
1458
1464
|
|
1459
1465
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1460
1466
|
|
@@ -1462,7 +1468,7 @@ Does nothing, currently.
|
|
1462
1468
|
|
1463
1469
|
--
|
1464
1470
|
|
1465
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L210)
|
1466
1472
|
|
1467
1473
|
> def chain_method(method, args = nil)
|
1468
1474
|
|
@@ -1470,7 +1476,7 @@ Does nothing, currently.
|
|
1470
1476
|
|
1471
1477
|
--
|
1472
1478
|
|
1473
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1479
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L216)
|
1474
1480
|
|
1475
1481
|
> def args_with_ele_ref(args)
|
1476
1482
|
|
@@ -1478,7 +1484,7 @@ Does nothing, currently.
|
|
1478
1484
|
|
1479
1485
|
--
|
1480
1486
|
|
1481
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1487
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L9)
|
1482
1488
|
|
1483
1489
|
> def _generic_wait(opts = {})
|
1484
1490
|
|
@@ -1487,7 +1493,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1487
1493
|
|
1488
1494
|
--
|
1489
1495
|
|
1490
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L48)
|
1491
1497
|
|
1492
1498
|
> def _process_wait_opts(opts)
|
1493
1499
|
|
@@ -1495,7 +1501,7 @@ process opts before calling _generic_wait
|
|
1495
1501
|
|
1496
1502
|
--
|
1497
1503
|
|
1498
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1504
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L69)
|
1499
1505
|
|
1500
1506
|
> def wait_true(opts = {}, &block)
|
1501
1507
|
|
@@ -1515,7 +1521,7 @@ __Parameters:__
|
|
1515
1521
|
|
1516
1522
|
--
|
1517
1523
|
|
1518
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1524
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L87)
|
1519
1525
|
|
1520
1526
|
> def wait(opts = {}, &block)
|
1521
1527
|
|
@@ -1533,7 +1539,7 @@ __Parameters:__
|
|
1533
1539
|
|
1534
1540
|
--
|
1535
1541
|
|
1536
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1542
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L24)
|
1537
1543
|
|
1538
1544
|
> def ignore
|
1539
1545
|
|
@@ -1541,7 +1547,7 @@ Return yield and ignore any exceptions.
|
|
1541
1547
|
|
1542
1548
|
--
|
1543
1549
|
|
1544
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1550
|
+
##### [back](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L31)
|
1545
1551
|
|
1546
1552
|
> def back
|
1547
1553
|
|
@@ -1553,7 +1559,7 @@ __Returns:__
|
|
1553
1559
|
|
1554
1560
|
--
|
1555
1561
|
|
1556
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1562
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L36)
|
1557
1563
|
|
1558
1564
|
> def session_id
|
1559
1565
|
|
@@ -1561,7 +1567,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1561
1567
|
|
1562
1568
|
--
|
1563
1569
|
|
1564
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1570
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L44)
|
1565
1571
|
|
1566
1572
|
> def xpath(xpath_str)
|
1567
1573
|
|
@@ -1577,7 +1583,7 @@ __Returns:__
|
|
1577
1583
|
|
1578
1584
|
--
|
1579
1585
|
|
1580
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1586
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L52)
|
1581
1587
|
|
1582
1588
|
> def xpaths(xpath_str)
|
1583
1589
|
|
@@ -1593,7 +1599,7 @@ __Returns:__
|
|
1593
1599
|
|
1594
1600
|
--
|
1595
1601
|
|
1596
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1602
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L56)
|
1597
1603
|
|
1598
1604
|
> def _print_source(source)
|
1599
1605
|
|
@@ -1601,7 +1607,7 @@ __Returns:__
|
|
1601
1607
|
|
1602
1608
|
--
|
1603
1609
|
|
1604
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L69)
|
1605
1611
|
|
1606
1612
|
> def result
|
1607
1613
|
|
@@ -1609,7 +1615,7 @@ Returns the value of attribute result
|
|
1609
1615
|
|
1610
1616
|
--
|
1611
1617
|
|
1612
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1618
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L71)
|
1613
1619
|
|
1614
1620
|
> def initialize
|
1615
1621
|
|
@@ -1621,7 +1627,7 @@ __Returns:__
|
|
1621
1627
|
|
1622
1628
|
--
|
1623
1629
|
|
1624
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1630
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L75)
|
1625
1631
|
|
1626
1632
|
> def reset
|
1627
1633
|
|
@@ -1629,7 +1635,7 @@ __Returns:__
|
|
1629
1635
|
|
1630
1636
|
--
|
1631
1637
|
|
1632
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1638
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L80)
|
1633
1639
|
|
1634
1640
|
> def start_element(name, attrs = [])
|
1635
1641
|
|
@@ -1637,7 +1643,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1637
1643
|
|
1638
1644
|
--
|
1639
1645
|
|
1640
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1646
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L86)
|
1641
1647
|
|
1642
1648
|
> def formatted_result
|
1643
1649
|
|
@@ -1645,7 +1651,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1645
1651
|
|
1646
1652
|
--
|
1647
1653
|
|
1648
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1654
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L97)
|
1649
1655
|
|
1650
1656
|
> def get_page_class
|
1651
1657
|
|
@@ -1653,7 +1659,7 @@ Returns a string of class counts of visible elements.
|
|
1653
1659
|
|
1654
1660
|
--
|
1655
1661
|
|
1656
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1662
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L108)
|
1657
1663
|
|
1658
1664
|
> def page_class
|
1659
1665
|
|
@@ -1662,7 +1668,7 @@ Useful for appium_console.
|
|
1662
1668
|
|
1663
1669
|
--
|
1664
1670
|
|
1665
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1671
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L118)
|
1666
1672
|
|
1667
1673
|
> def px_to_window_rel(opts = {})
|
1668
1674
|
|
@@ -1674,7 +1680,7 @@ px_to_window_rel x: 50, y: 150
|
|
1674
1680
|
|
1675
1681
|
--
|
1676
1682
|
|
1677
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1683
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L137)
|
1678
1684
|
|
1679
1685
|
> def xml_keys(target)
|
1680
1686
|
|
@@ -1690,7 +1696,7 @@ __Returns:__
|
|
1690
1696
|
|
1691
1697
|
--
|
1692
1698
|
|
1693
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1699
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L145)
|
1694
1700
|
|
1695
1701
|
> def xml_values(target)
|
1696
1702
|
|
@@ -1706,7 +1712,7 @@ __Returns:__
|
|
1706
1712
|
|
1707
1713
|
--
|
1708
1714
|
|
1709
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1715
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L153)
|
1710
1716
|
|
1711
1717
|
> def resolve_id(id)
|
1712
1718
|
|
@@ -1722,7 +1728,7 @@ __Returns:__
|
|
1722
1728
|
|
1723
1729
|
--
|
1724
1730
|
|
1725
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1731
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L159)
|
1726
1732
|
|
1727
1733
|
> def filter
|
1728
1734
|
|
@@ -1730,7 +1736,7 @@ Returns the value of attribute filter
|
|
1730
1736
|
|
1731
1737
|
--
|
1732
1738
|
|
1733
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L162)
|
1734
1740
|
|
1735
1741
|
> def filter=(value)
|
1736
1742
|
|
@@ -1738,7 +1744,7 @@ convert to string to support symbols
|
|
1738
1744
|
|
1739
1745
|
--
|
1740
1746
|
|
1741
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L168)
|
1742
1748
|
|
1743
1749
|
> def initialize
|
1744
1750
|
|
@@ -1750,7 +1756,7 @@ __Returns:__
|
|
1750
1756
|
|
1751
1757
|
--
|
1752
1758
|
|
1753
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1759
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L173)
|
1754
1760
|
|
1755
1761
|
> def reset
|
1756
1762
|
|
@@ -1758,7 +1764,7 @@ __Returns:__
|
|
1758
1764
|
|
1759
1765
|
--
|
1760
1766
|
|
1761
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1767
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L179)
|
1762
1768
|
|
1763
1769
|
> def result
|
1764
1770
|
|
@@ -1766,7 +1772,7 @@ __Returns:__
|
|
1766
1772
|
|
1767
1773
|
--
|
1768
1774
|
|
1769
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1775
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L195)
|
1770
1776
|
|
1771
1777
|
> def start_element(name, attrs = [])
|
1772
1778
|
|
@@ -1774,7 +1780,7 @@ __Returns:__
|
|
1774
1780
|
|
1775
1781
|
--
|
1776
1782
|
|
1777
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1783
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L204)
|
1778
1784
|
|
1779
1785
|
> def end_element(name)
|
1780
1786
|
|
@@ -1782,7 +1788,7 @@ __Returns:__
|
|
1782
1788
|
|
1783
1789
|
--
|
1784
1790
|
|
1785
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1791
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L210)
|
1786
1792
|
|
1787
1793
|
> def characters(chars)
|
1788
1794
|
|
@@ -1790,7 +1796,7 @@ __Returns:__
|
|
1790
1796
|
|
1791
1797
|
--
|
1792
1798
|
|
1793
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1799
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L217)
|
1794
1800
|
|
1795
1801
|
> def _no_such_element
|
1796
1802
|
|
@@ -1798,7 +1804,7 @@ __Returns:__
|
|
1798
1804
|
|
1799
1805
|
--
|
1800
1806
|
|
1801
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1807
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/command.rb#L4)
|
1802
1808
|
|
1803
1809
|
> COMMAND_NO_ARG = {
|
1804
1810
|
|
@@ -1806,7 +1812,7 @@ __Returns:__
|
|
1806
1812
|
|
1807
1813
|
--
|
1808
1814
|
|
1809
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1815
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/command.rb#L27)
|
1810
1816
|
|
1811
1817
|
> COMMAND = {
|
1812
1818
|
|
@@ -1814,7 +1820,7 @@ __Returns:__
|
|
1814
1820
|
|
1815
1821
|
--
|
1816
1822
|
|
1817
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1823
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/element/window.rb#L5)
|
1818
1824
|
|
1819
1825
|
> def window_size
|
1820
1826
|
|
@@ -1822,7 +1828,7 @@ Get the window's size
|
|
1822
1828
|
|
1823
1829
|
--
|
1824
1830
|
|
1825
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1831
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/search_context.rb#L5)
|
1826
1832
|
|
1827
1833
|
> FINDERS = {
|
1828
1834
|
|
@@ -1830,7 +1836,7 @@ rubocop:disable Style/MutableConstant
|
|
1830
1836
|
|
1831
1837
|
--
|
1832
1838
|
|
1833
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L4) ios
|
1834
1840
|
|
1835
1841
|
> def filter
|
1836
1842
|
|
@@ -1838,7 +1844,7 @@ Returns the value of attribute filter
|
|
1838
1844
|
|
1839
1845
|
--
|
1840
1846
|
|
1841
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L4) ios
|
1842
1848
|
|
1843
1849
|
> def filter=(value)
|
1844
1850
|
|
@@ -1850,7 +1856,7 @@ __Parameters:__
|
|
1850
1856
|
|
1851
1857
|
--
|
1852
1858
|
|
1853
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1859
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L6) ios
|
1854
1860
|
|
1855
1861
|
> def start_element(type, attrs = [])
|
1856
1862
|
|
@@ -1858,7 +1864,7 @@ __Parameters:__
|
|
1858
1864
|
|
1859
1865
|
--
|
1860
1866
|
|
1861
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1867
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L15) ios
|
1862
1868
|
|
1863
1869
|
> def _print_attr(type, name, label, value, hint)
|
1864
1870
|
|
@@ -1866,7 +1872,7 @@ __Parameters:__
|
|
1866
1872
|
|
1867
1873
|
--
|
1868
1874
|
|
1869
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1875
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L41) ios
|
1870
1876
|
|
1871
1877
|
> def ios_password(length = 1)
|
1872
1878
|
|
@@ -1884,7 +1890,7 @@ __Returns:__
|
|
1884
1890
|
|
1885
1891
|
--
|
1886
1892
|
|
1887
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L53) ios
|
1888
1894
|
|
1889
1895
|
> def get_page(element = source_window(0), class_name = nil)
|
1890
1896
|
|
@@ -1905,7 +1911,7 @@ __Returns:__
|
|
1905
1911
|
|
1906
1912
|
--
|
1907
1913
|
|
1908
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1914
|
+
##### [page](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L139) ios
|
1909
1915
|
|
1910
1916
|
> def page(opts = {})
|
1911
1917
|
|
@@ -1931,7 +1937,7 @@ __Returns:__
|
|
1931
1937
|
|
1932
1938
|
--
|
1933
1939
|
|
1934
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1940
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L170) ios
|
1935
1941
|
|
1936
1942
|
> def source_window(_window_number = 0)
|
1937
1943
|
|
@@ -1947,7 +1953,7 @@ __Returns:__
|
|
1947
1953
|
|
1948
1954
|
--
|
1949
1955
|
|
1950
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1956
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L185) ios
|
1951
1957
|
|
1952
1958
|
> def page_window(window_number = 0)
|
1953
1959
|
|
@@ -1965,7 +1971,7 @@ __Returns:__
|
|
1965
1971
|
|
1966
1972
|
--
|
1967
1973
|
|
1968
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1974
|
+
##### [id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L193) ios
|
1969
1975
|
|
1970
1976
|
> def id(id)
|
1971
1977
|
|
@@ -1981,7 +1987,7 @@ __Returns:__
|
|
1981
1987
|
|
1982
1988
|
--
|
1983
1989
|
|
1984
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
1990
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L199) ios
|
1985
1991
|
|
1986
1992
|
> def ios_version
|
1987
1993
|
|
@@ -1993,7 +1999,7 @@ __Returns:__
|
|
1993
1999
|
|
1994
2000
|
--
|
1995
2001
|
|
1996
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2002
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L212) ios
|
1997
2003
|
|
1998
2004
|
> def ele_index(class_name, index)
|
1999
2005
|
|
@@ -2011,7 +2017,7 @@ __Returns:__
|
|
2011
2017
|
|
2012
2018
|
--
|
2013
2019
|
|
2014
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
2020
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L248) ios
|
2015
2021
|
|
2016
2022
|
> def find_ele_by_attr(class_name, attr, value)
|
2017
2023
|
|
@@ -2033,7 +2039,7 @@ __Returns:__
|
|
2033
2039
|
|
2034
2040
|
--
|
2035
2041
|
|
2036
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2042
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L259) ios
|
2037
2043
|
|
2038
2044
|
> def find_eles_by_attr(class_name, attr, value)
|
2039
2045
|
|
@@ -2055,7 +2061,7 @@ __Returns:__
|
|
2055
2061
|
|
2056
2062
|
--
|
2057
2063
|
|
2058
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2064
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L280) ios
|
2059
2065
|
|
2060
2066
|
> def find_ele_by_predicate(class_name: '*', value:)
|
2061
2067
|
|
@@ -2072,7 +2078,7 @@ __Returns:__
|
|
2072
2078
|
|
2073
2079
|
--
|
2074
2080
|
|
2075
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2081
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L291) ios
|
2076
2082
|
|
2077
2083
|
> def find_eles_by_predicate(class_name: '*', value:)
|
2078
2084
|
|
@@ -2091,7 +2097,7 @@ __Returns:__
|
|
2091
2097
|
|
2092
2098
|
--
|
2093
2099
|
|
2094
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2100
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L307) ios
|
2095
2101
|
|
2096
2102
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2097
2103
|
|
@@ -2112,7 +2118,7 @@ __Returns:__
|
|
2112
2118
|
|
2113
2119
|
--
|
2114
2120
|
|
2115
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2121
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L317) ios
|
2116
2122
|
|
2117
2123
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2118
2124
|
|
@@ -2133,7 +2139,7 @@ __Returns:__
|
|
2133
2139
|
|
2134
2140
|
--
|
2135
2141
|
|
2136
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2142
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L325) ios
|
2137
2143
|
|
2138
2144
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
2139
2145
|
|
@@ -2150,7 +2156,7 @@ __Returns:__
|
|
2150
2156
|
|
2151
2157
|
--
|
2152
2158
|
|
2153
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2159
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L336) ios
|
2154
2160
|
|
2155
2161
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
2156
2162
|
|
@@ -2169,7 +2175,7 @@ __Returns:__
|
|
2169
2175
|
|
2170
2176
|
--
|
2171
2177
|
|
2172
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2178
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L349) ios
|
2173
2179
|
|
2174
2180
|
> def first_ele(class_name)
|
2175
2181
|
|
@@ -2185,7 +2191,7 @@ __Returns:__
|
|
2185
2191
|
|
2186
2192
|
--
|
2187
2193
|
|
2188
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2194
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L356) ios
|
2189
2195
|
|
2190
2196
|
> def last_ele(class_name)
|
2191
2197
|
|
@@ -2201,7 +2207,7 @@ __Returns:__
|
|
2201
2207
|
|
2202
2208
|
--
|
2203
2209
|
|
2204
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2210
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L370) ios
|
2205
2211
|
|
2206
2212
|
> def tag(class_name)
|
2207
2213
|
|
@@ -2217,7 +2223,7 @@ __Returns:__
|
|
2217
2223
|
|
2218
2224
|
--
|
2219
2225
|
|
2220
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2226
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L382) ios
|
2221
2227
|
|
2222
2228
|
> def tags(class_name)
|
2223
2229
|
|
@@ -2233,7 +2239,7 @@ __Returns:__
|
|
2233
2239
|
|
2234
2240
|
--
|
2235
2241
|
|
2236
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2242
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L398) ios
|
2237
2243
|
|
2238
2244
|
> def tags_include(class_names:, value: nil)
|
2239
2245
|
|
@@ -2253,7 +2259,7 @@ __Returns:__
|
|
2253
2259
|
|
2254
2260
|
--
|
2255
2261
|
|
2256
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2262
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L427) ios
|
2257
2263
|
|
2258
2264
|
> def tags_exact(class_names:, value: nil)
|
2259
2265
|
|
@@ -2273,7 +2279,7 @@ __Returns:__
|
|
2273
2279
|
|
2274
2280
|
--
|
2275
2281
|
|
2276
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2282
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L478) ios
|
2277
2283
|
|
2278
2284
|
> def ele_by_json_visible_contains(element, value)
|
2279
2285
|
|
@@ -2292,7 +2298,7 @@ __Returns:__
|
|
2292
2298
|
|
2293
2299
|
--
|
2294
2300
|
|
2295
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2301
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L487) ios
|
2296
2302
|
|
2297
2303
|
> def eles_by_json_visible_contains(element, value)
|
2298
2304
|
|
@@ -2311,7 +2317,7 @@ __Returns:__
|
|
2311
2317
|
|
2312
2318
|
--
|
2313
2319
|
|
2314
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2320
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L517) ios
|
2315
2321
|
|
2316
2322
|
> def ele_by_json_visible_exact(element, value)
|
2317
2323
|
|
@@ -2330,7 +2336,7 @@ __Returns:__
|
|
2330
2336
|
|
2331
2337
|
--
|
2332
2338
|
|
2333
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L526) ios
|
2334
2340
|
|
2335
2341
|
> def eles_by_json_visible_exact(element, value)
|
2336
2342
|
|
@@ -2349,7 +2355,7 @@ __Returns:__
|
|
2349
2355
|
|
2350
2356
|
--
|
2351
2357
|
|
2352
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2358
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L535) ios
|
2353
2359
|
|
2354
2360
|
> def _all_pred(opts)
|
2355
2361
|
|
@@ -2359,7 +2365,7 @@ visible - if true, only visible elements are returned. default true
|
|
2359
2365
|
|
2360
2366
|
--
|
2361
2367
|
|
2362
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2368
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L548) ios
|
2363
2369
|
|
2364
2370
|
> def ele_with_pred(opts)
|
2365
2371
|
|
@@ -2375,7 +2381,7 @@ __Returns:__
|
|
2375
2381
|
|
2376
2382
|
--
|
2377
2383
|
|
2378
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2384
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L559) ios
|
2379
2385
|
|
2380
2386
|
> def eles_with_pred(opts)
|
2381
2387
|
|
@@ -2391,7 +2397,7 @@ __Returns:__
|
|
2391
2397
|
|
2392
2398
|
--
|
2393
2399
|
|
2394
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2400
|
+
##### [source](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L565) ios
|
2395
2401
|
|
2396
2402
|
> def source
|
2397
2403
|
|
@@ -2403,7 +2409,7 @@ __Returns:__
|
|
2403
2409
|
|
2404
2410
|
--
|
2405
2411
|
|
2406
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2412
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L569) ios
|
2407
2413
|
|
2408
2414
|
> def _validate_object(*objects)
|
2409
2415
|
|
@@ -2411,7 +2417,7 @@ __Returns:__
|
|
2411
2417
|
|
2412
2418
|
--
|
2413
2419
|
|
2414
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2420
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L618) ios
|
2415
2421
|
|
2416
2422
|
> def _by_json(opts)
|
2417
2423
|
|
@@ -2446,7 +2452,7 @@ opts = {
|
|
2446
2452
|
|
2447
2453
|
--
|
2448
2454
|
|
2449
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2455
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L668) ios
|
2450
2456
|
|
2451
2457
|
> def eles_by_json(opts)
|
2452
2458
|
|
@@ -2465,7 +2471,7 @@ eles_by_json({
|
|
2465
2471
|
|
2466
2472
|
--
|
2467
2473
|
|
2468
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2474
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L674) ios
|
2469
2475
|
|
2470
2476
|
> def ele_by_json(opts)
|
2471
2477
|
|
@@ -2473,7 +2479,7 @@ see eles_by_json
|
|
2473
2479
|
|
2474
2480
|
--
|
2475
2481
|
|
2476
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2482
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/helper.rb#L684) ios
|
2477
2483
|
|
2478
2484
|
> def get_source
|
2479
2485
|
|
@@ -2486,7 +2492,7 @@ __Returns:__
|
|
2486
2492
|
|
2487
2493
|
--
|
2488
2494
|
|
2489
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2495
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L4) ios
|
2490
2496
|
|
2491
2497
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2492
2498
|
|
@@ -2494,7 +2500,7 @@ __Returns:__
|
|
2494
2500
|
|
2495
2501
|
--
|
2496
2502
|
|
2497
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2503
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L5) ios
|
2498
2504
|
|
2499
2505
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2500
2506
|
|
@@ -2502,7 +2508,7 @@ __Returns:__
|
|
2502
2508
|
|
2503
2509
|
--
|
2504
2510
|
|
2505
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2511
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L8) ios
|
2506
2512
|
|
2507
2513
|
> def static_text_class
|
2508
2514
|
|
@@ -2514,7 +2520,7 @@ __Returns:__
|
|
2514
2520
|
|
2515
2521
|
--
|
2516
2522
|
|
2517
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2523
|
+
##### [text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L16) ios
|
2518
2524
|
|
2519
2525
|
> def text(value)
|
2520
2526
|
|
@@ -2531,7 +2537,7 @@ __Returns:__
|
|
2531
2537
|
|
2532
2538
|
--
|
2533
2539
|
|
2534
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2540
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L30) ios
|
2535
2541
|
|
2536
2542
|
> def texts(value = false)
|
2537
2543
|
|
@@ -2548,7 +2554,7 @@ __Returns:__
|
|
2548
2554
|
|
2549
2555
|
--
|
2550
2556
|
|
2551
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2557
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L43) ios
|
2552
2558
|
|
2553
2559
|
> def first_text
|
2554
2560
|
|
@@ -2560,7 +2566,7 @@ __Returns:__
|
|
2560
2566
|
|
2561
2567
|
--
|
2562
2568
|
|
2563
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2569
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L49) ios
|
2564
2570
|
|
2565
2571
|
> def last_text
|
2566
2572
|
|
@@ -2572,7 +2578,7 @@ __Returns:__
|
|
2572
2578
|
|
2573
2579
|
--
|
2574
2580
|
|
2575
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2581
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L56) ios
|
2576
2582
|
|
2577
2583
|
> def text_exact(value)
|
2578
2584
|
|
@@ -2588,7 +2594,7 @@ __Returns:__
|
|
2588
2594
|
|
2589
2595
|
--
|
2590
2596
|
|
2591
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2597
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/text.rb#L67) ios
|
2592
2598
|
|
2593
2599
|
> def texts_exact(value)
|
2594
2600
|
|
@@ -2604,7 +2610,7 @@ __Returns:__
|
|
2604
2610
|
|
2605
2611
|
--
|
2606
2612
|
|
2607
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2613
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2608
2614
|
|
2609
2615
|
> def alert_accept
|
2610
2616
|
|
@@ -2616,7 +2622,7 @@ __Returns:__
|
|
2616
2622
|
|
2617
2623
|
--
|
2618
2624
|
|
2619
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2625
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2620
2626
|
|
2621
2627
|
> def alert_dismiss
|
2622
2628
|
|
@@ -2628,7 +2634,7 @@ __Returns:__
|
|
2628
2634
|
|
2629
2635
|
--
|
2630
2636
|
|
2631
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2637
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L4) ios
|
2632
2638
|
|
2633
2639
|
> UIAButton = 'UIAButton'.freeze
|
2634
2640
|
|
@@ -2636,7 +2642,7 @@ __Returns:__
|
|
2636
2642
|
|
2637
2643
|
--
|
2638
2644
|
|
2639
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2645
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L5) ios
|
2640
2646
|
|
2641
2647
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2642
2648
|
|
@@ -2644,7 +2650,7 @@ __Returns:__
|
|
2644
2650
|
|
2645
2651
|
--
|
2646
2652
|
|
2647
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2653
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L8) ios
|
2648
2654
|
|
2649
2655
|
> def button_class
|
2650
2656
|
|
@@ -2656,7 +2662,7 @@ __Returns:__
|
|
2656
2662
|
|
2657
2663
|
--
|
2658
2664
|
|
2659
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2665
|
+
##### [button](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L16) ios
|
2660
2666
|
|
2661
2667
|
> def button(value)
|
2662
2668
|
|
@@ -2673,7 +2679,7 @@ __Returns:__
|
|
2673
2679
|
|
2674
2680
|
--
|
2675
2681
|
|
2676
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2682
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L31) ios
|
2677
2683
|
|
2678
2684
|
> def buttons(value = false)
|
2679
2685
|
|
@@ -2690,7 +2696,7 @@ __Returns:__
|
|
2690
2696
|
|
2691
2697
|
--
|
2692
2698
|
|
2693
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2699
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L44) ios
|
2694
2700
|
|
2695
2701
|
> def first_button
|
2696
2702
|
|
@@ -2702,7 +2708,7 @@ __Returns:__
|
|
2702
2708
|
|
2703
2709
|
--
|
2704
2710
|
|
2705
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2711
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L52) ios
|
2706
2712
|
|
2707
2713
|
> def last_button
|
2708
2714
|
|
@@ -2716,7 +2722,7 @@ __Returns:__
|
|
2716
2722
|
|
2717
2723
|
--
|
2718
2724
|
|
2719
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2725
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L59) ios
|
2720
2726
|
|
2721
2727
|
> def button_exact(value)
|
2722
2728
|
|
@@ -2732,7 +2738,7 @@ __Returns:__
|
|
2732
2738
|
|
2733
2739
|
--
|
2734
2740
|
|
2735
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2741
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/button.rb#L70) ios
|
2736
2742
|
|
2737
2743
|
> def buttons_exact(value)
|
2738
2744
|
|
@@ -2748,7 +2754,7 @@ __Returns:__
|
|
2748
2754
|
|
2749
2755
|
--
|
2750
2756
|
|
2751
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2757
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2752
2758
|
|
2753
2759
|
> def uiautomation_find
|
2754
2760
|
|
@@ -2760,7 +2766,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2760
2766
|
|
2761
2767
|
--
|
2762
2768
|
|
2763
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2769
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2764
2770
|
|
2765
2771
|
> def ios_predicate_string_find
|
2766
2772
|
|
@@ -2774,7 +2780,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2774
2780
|
|
2775
2781
|
--
|
2776
2782
|
|
2777
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
2783
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2778
2784
|
|
2779
2785
|
> def ios_class_chain_find
|
2780
2786
|
|
@@ -2792,7 +2798,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
2792
2798
|
|
2793
2799
|
--
|
2794
2800
|
|
2795
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2801
|
+
##### [find](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2796
2802
|
|
2797
2803
|
> def find(value)
|
2798
2804
|
|
@@ -2808,7 +2814,7 @@ __Returns:__
|
|
2808
2814
|
|
2809
2815
|
--
|
2810
2816
|
|
2811
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2817
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2812
2818
|
|
2813
2819
|
> def finds(value)
|
2814
2820
|
|
@@ -2824,7 +2830,7 @@ __Returns:__
|
|
2824
2830
|
|
2825
2831
|
--
|
2826
2832
|
|
2827
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2833
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2828
2834
|
|
2829
2835
|
> def find_exact(value)
|
2830
2836
|
|
@@ -2840,7 +2846,7 @@ __Returns:__
|
|
2840
2846
|
|
2841
2847
|
--
|
2842
2848
|
|
2843
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2849
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2844
2850
|
|
2845
2851
|
> def finds_exact(value)
|
2846
2852
|
|
@@ -2856,7 +2862,7 @@ __Returns:__
|
|
2856
2862
|
|
2857
2863
|
--
|
2858
2864
|
|
2859
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2865
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2860
2866
|
|
2861
2867
|
> def raise_error_if_no_element(element)
|
2862
2868
|
|
@@ -2864,7 +2870,7 @@ __Returns:__
|
|
2864
2870
|
|
2865
2871
|
--
|
2866
2872
|
|
2867
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2873
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2868
2874
|
|
2869
2875
|
> def select_visible_elements(elements)
|
2870
2876
|
|
@@ -2872,7 +2878,7 @@ Return visible elements.
|
|
2872
2878
|
|
2873
2879
|
--
|
2874
2880
|
|
2875
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2881
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2876
2882
|
|
2877
2883
|
> UIATextField = 'UIATextField'.freeze
|
2878
2884
|
|
@@ -2880,7 +2886,7 @@ Return visible elements.
|
|
2880
2886
|
|
2881
2887
|
--
|
2882
2888
|
|
2883
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2889
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2884
2890
|
|
2885
2891
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2886
2892
|
|
@@ -2888,7 +2894,7 @@ Return visible elements.
|
|
2888
2894
|
|
2889
2895
|
--
|
2890
2896
|
|
2891
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2897
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2892
2898
|
|
2893
2899
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2894
2900
|
|
@@ -2896,7 +2902,7 @@ Return visible elements.
|
|
2896
2902
|
|
2897
2903
|
--
|
2898
2904
|
|
2899
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2905
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2900
2906
|
|
2901
2907
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2902
2908
|
|
@@ -2904,7 +2910,7 @@ Return visible elements.
|
|
2904
2910
|
|
2905
2911
|
--
|
2906
2912
|
|
2907
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2913
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2908
2914
|
|
2909
2915
|
> def text_field_class
|
2910
2916
|
|
@@ -2916,7 +2922,7 @@ __Returns:__
|
|
2916
2922
|
|
2917
2923
|
--
|
2918
2924
|
|
2919
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2925
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2920
2926
|
|
2921
2927
|
> def secure_text_field_class
|
2922
2928
|
|
@@ -2928,7 +2934,7 @@ __Returns:__
|
|
2928
2934
|
|
2929
2935
|
--
|
2930
2936
|
|
2931
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2937
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
2932
2938
|
|
2933
2939
|
> def _textfield_visible
|
2934
2940
|
|
@@ -2936,7 +2942,7 @@ Appium
|
|
2936
2942
|
|
2937
2943
|
--
|
2938
2944
|
|
2939
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2945
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
2940
2946
|
|
2941
2947
|
> def _textfield_exact_string(value)
|
2942
2948
|
|
@@ -2944,7 +2950,7 @@ Appium
|
|
2944
2950
|
|
2945
2951
|
--
|
2946
2952
|
|
2947
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2953
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
2948
2954
|
|
2949
2955
|
> def _textfield_contains_string(value)
|
2950
2956
|
|
@@ -2952,7 +2958,7 @@ Appium
|
|
2952
2958
|
|
2953
2959
|
--
|
2954
2960
|
|
2955
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2961
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
2956
2962
|
|
2957
2963
|
> def textfield(value)
|
2958
2964
|
|
@@ -2970,7 +2976,7 @@ __Returns:__
|
|
2970
2976
|
|
2971
2977
|
--
|
2972
2978
|
|
2973
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2979
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
2974
2980
|
|
2975
2981
|
> def textfields(value = false)
|
2976
2982
|
|
@@ -2987,7 +2993,7 @@ __Returns:__
|
|
2987
2993
|
|
2988
2994
|
--
|
2989
2995
|
|
2990
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2996
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
2991
2997
|
|
2992
2998
|
> def first_textfield
|
2993
2999
|
|
@@ -2999,7 +3005,7 @@ __Returns:__
|
|
2999
3005
|
|
3000
3006
|
--
|
3001
3007
|
|
3002
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3008
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
3003
3009
|
|
3004
3010
|
> def last_textfield
|
3005
3011
|
|
@@ -3011,7 +3017,7 @@ __Returns:__
|
|
3011
3017
|
|
3012
3018
|
--
|
3013
3019
|
|
3014
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3020
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
3015
3021
|
|
3016
3022
|
> def textfield_exact(value)
|
3017
3023
|
|
@@ -3027,7 +3033,7 @@ __Returns:__
|
|
3027
3033
|
|
3028
3034
|
--
|
3029
3035
|
|
3030
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3036
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
3031
3037
|
|
3032
3038
|
> def textfields_exact(value)
|
3033
3039
|
|
@@ -3043,7 +3049,7 @@ __Returns:__
|
|
3043
3049
|
|
3044
3050
|
--
|
3045
3051
|
|
3046
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
3052
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L10) ios
|
3047
3053
|
|
3048
3054
|
> def swipe(direction:, element: nil)
|
3049
3055
|
|
@@ -3057,7 +3063,7 @@ __Parameters:__
|
|
3057
3063
|
|
3058
3064
|
--
|
3059
3065
|
|
3060
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
3066
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L30) ios
|
3061
3067
|
|
3062
3068
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3063
3069
|
|
@@ -3071,7 +3077,7 @@ __Parameters:__
|
|
3071
3077
|
|
3072
3078
|
--
|
3073
3079
|
|
3074
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
3080
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L49) ios
|
3075
3081
|
|
3076
3082
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3077
3083
|
|
@@ -3087,7 +3093,7 @@ __Parameters:__
|
|
3087
3093
|
|
3088
3094
|
--
|
3089
3095
|
|
3090
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3096
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L66) ios
|
3091
3097
|
|
3092
3098
|
> def double_tap(x: nil, y: nil, element: nil)
|
3093
3099
|
|
@@ -3103,7 +3109,7 @@ __Parameters:__
|
|
3103
3109
|
|
3104
3110
|
--
|
3105
3111
|
|
3106
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
3112
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L84) ios
|
3107
3113
|
|
3108
3114
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
3109
3115
|
|
@@ -3121,7 +3127,7 @@ __Parameters:__
|
|
3121
3127
|
|
3122
3128
|
--
|
3123
3129
|
|
3124
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3130
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L98) ios
|
3125
3131
|
|
3126
3132
|
> def two_finger_tap(element:)
|
3127
3133
|
|
@@ -3137,7 +3143,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3137
3143
|
|
3138
3144
|
--
|
3139
3145
|
|
3140
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3146
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L115) ios
|
3141
3147
|
|
3142
3148
|
> def tap(x:, y:, element: nil)
|
3143
3149
|
|
@@ -3153,7 +3159,7 @@ __Parameters:__
|
|
3153
3159
|
|
3154
3160
|
--
|
3155
3161
|
|
3156
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3162
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L137) ios
|
3157
3163
|
|
3158
3164
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3159
3165
|
|
@@ -3176,7 +3182,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3176
3182
|
|
3177
3183
|
--
|
3178
3184
|
|
3179
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3185
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L156) ios
|
3180
3186
|
|
3181
3187
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3182
3188
|
|
@@ -3193,7 +3199,7 @@ __Parameters:__
|
|
3193
3199
|
|
3194
3200
|
--
|
3195
3201
|
|
3196
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3202
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/ios/xcuitest_gestures.rb#L175) ios
|
3197
3203
|
|
3198
3204
|
> def alert(action:, button_label: nil)
|
3199
3205
|
|
@@ -3208,7 +3214,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
3208
3214
|
|
3209
3215
|
--
|
3210
3216
|
|
3211
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
3217
|
+
##### [value](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L12)
|
3212
3218
|
|
3213
3219
|
> def value
|
3214
3220
|
|
@@ -3218,7 +3224,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
3218
3224
|
|
3219
3225
|
--
|
3220
3226
|
|
3221
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
3227
|
+
##### [name](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L19)
|
3222
3228
|
|
3223
3229
|
> def name
|
3224
3230
|
|
@@ -3228,7 +3234,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
3228
3234
|
|
3229
3235
|
--
|
3230
3236
|
|
3231
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
3237
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L31)
|
3232
3238
|
|
3233
3239
|
> def location_rel
|
3234
3240
|
|
@@ -3246,7 +3252,7 @@ __Returns:__
|
|
3246
3252
|
|
3247
3253
|
--
|
3248
3254
|
|
3249
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
3255
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L152)
|
3250
3256
|
|
3251
3257
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
3252
3258
|
|
@@ -3254,7 +3260,7 @@ __Returns:__
|
|
3254
3260
|
|
3255
3261
|
--
|
3256
3262
|
|
3257
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
3263
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L155)
|
3258
3264
|
|
3259
3265
|
> def patch_remote_driver_commands
|
3260
3266
|
|