appium_lib 9.4.8 → 9.4.9
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 +8 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +226 -226
- data/docs/ios_docs.md +252 -252
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/ios/xcuitest_gestures.rb +2 -2
- data/release_notes.md +10 -0
- metadata +3 -3
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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L512)
|
|
409
409
|
|
|
410
410
|
> def appium_server_version
|
|
411
411
|
|
|
@@ -432,7 +432,7 @@ __Returns:__
|
|
|
432
432
|
|
|
433
433
|
--
|
|
434
434
|
|
|
435
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
435
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L533)
|
|
436
436
|
|
|
437
437
|
> def appium_client_version
|
|
438
438
|
|
|
@@ -450,7 +450,7 @@ __Returns:__
|
|
|
450
450
|
|
|
451
451
|
--
|
|
452
452
|
|
|
453
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
453
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L545)
|
|
454
454
|
|
|
455
455
|
> def self.absolute_app_path(opts)
|
|
456
456
|
|
|
@@ -467,7 +467,7 @@ __Returns:__
|
|
|
467
467
|
|
|
468
468
|
--
|
|
469
469
|
|
|
470
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
470
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L578)
|
|
471
471
|
|
|
472
472
|
> def server_url
|
|
473
473
|
|
|
@@ -479,7 +479,7 @@ __Returns:__
|
|
|
479
479
|
|
|
480
480
|
--
|
|
481
481
|
|
|
482
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
482
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L589)
|
|
483
483
|
|
|
484
484
|
> def restart
|
|
485
485
|
|
|
@@ -491,7 +491,7 @@ __Returns:__
|
|
|
491
491
|
|
|
492
492
|
--
|
|
493
493
|
|
|
494
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
494
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L600)
|
|
495
495
|
|
|
496
496
|
> def screenshot(png_save_path)
|
|
497
497
|
|
|
@@ -509,7 +509,7 @@ __Returns:__
|
|
|
509
509
|
|
|
510
510
|
--
|
|
511
511
|
|
|
512
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
512
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L607)
|
|
513
513
|
|
|
514
514
|
> def driver_quit
|
|
515
515
|
|
|
@@ -521,7 +521,7 @@ __Returns:__
|
|
|
521
521
|
|
|
522
522
|
--
|
|
523
523
|
|
|
524
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
524
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L617)
|
|
525
525
|
|
|
526
526
|
> def start_driver
|
|
527
527
|
|
|
@@ -533,7 +533,7 @@ __Returns:__
|
|
|
533
533
|
|
|
534
534
|
--
|
|
535
535
|
|
|
536
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
536
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L655)
|
|
537
537
|
|
|
538
538
|
> def no_wait
|
|
539
539
|
|
|
@@ -541,7 +541,7 @@ Set implicit wait to zero.
|
|
|
541
541
|
|
|
542
542
|
--
|
|
543
543
|
|
|
544
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
544
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L669)
|
|
545
545
|
|
|
546
546
|
> def set_wait(timeout = nil)
|
|
547
547
|
|
|
@@ -563,7 +563,7 @@ __Returns:__
|
|
|
563
563
|
|
|
564
564
|
--
|
|
565
565
|
|
|
566
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
566
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L686)
|
|
567
567
|
|
|
568
568
|
> def exists(pre_check = 0, post_check = @default_wait)
|
|
569
569
|
|
|
@@ -587,7 +587,7 @@ __Returns:__
|
|
|
587
587
|
|
|
588
588
|
--
|
|
589
589
|
|
|
590
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
590
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L710)
|
|
591
591
|
|
|
592
592
|
> def execute_script(script, *args)
|
|
593
593
|
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
|
605
605
|
|
|
606
606
|
--
|
|
607
607
|
|
|
608
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
608
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L732)
|
|
609
609
|
|
|
610
610
|
> def find_elements(*args)
|
|
611
611
|
|
|
@@ -631,7 +631,7 @@ __Returns:__
|
|
|
631
631
|
|
|
632
632
|
--
|
|
633
633
|
|
|
634
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
634
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L747)
|
|
635
635
|
|
|
636
636
|
> def find_element(*args)
|
|
637
637
|
|
|
@@ -652,7 +652,7 @@ __Returns:__
|
|
|
652
652
|
|
|
653
653
|
--
|
|
654
654
|
|
|
655
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
655
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L760)
|
|
656
656
|
|
|
657
657
|
> def set_location(opts = {})
|
|
658
658
|
|
|
@@ -668,7 +668,7 @@ __Returns:__
|
|
|
668
668
|
|
|
669
669
|
--
|
|
670
670
|
|
|
671
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
671
|
+
##### [x](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L770)
|
|
672
672
|
|
|
673
673
|
> def x
|
|
674
674
|
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
|
681
681
|
|
|
682
682
|
--
|
|
683
683
|
|
|
684
|
-
##### [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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L779)
|
|
685
685
|
|
|
686
686
|
> def set_automation_name_if_nil
|
|
687
687
|
|
|
@@ -690,7 +690,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
|
690
690
|
|
|
691
691
|
--
|
|
692
692
|
|
|
693
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
|
693
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/logger.rb#L13)
|
|
694
694
|
|
|
695
695
|
> def logger=(value)
|
|
696
696
|
|
|
@@ -702,7 +702,7 @@ __Parameters:__
|
|
|
702
702
|
|
|
703
703
|
--
|
|
704
704
|
|
|
705
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
|
705
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/logger.rb#L17)
|
|
706
706
|
|
|
707
707
|
> def logger
|
|
708
708
|
|
|
@@ -710,7 +710,7 @@ __Parameters:__
|
|
|
710
710
|
|
|
711
711
|
--
|
|
712
712
|
|
|
713
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
|
713
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L7)
|
|
714
714
|
|
|
715
715
|
> def app_strings
|
|
716
716
|
|
|
@@ -721,7 +721,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
|
721
721
|
|
|
722
722
|
--
|
|
723
723
|
|
|
724
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
|
724
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L13)
|
|
725
725
|
|
|
726
726
|
> def background_app
|
|
727
727
|
|
|
@@ -730,7 +730,7 @@ This is a blocking application
|
|
|
730
730
|
|
|
731
731
|
--
|
|
732
732
|
|
|
733
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
|
733
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L24)
|
|
734
734
|
|
|
735
735
|
> def current_activity
|
|
736
736
|
|
|
@@ -745,7 +745,7 @@ __Returns:__
|
|
|
745
745
|
|
|
746
746
|
--
|
|
747
747
|
|
|
748
|
-
##### [current_package](https://github.com/appium/ruby_lib/blob/
|
|
748
|
+
##### [current_package](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L32)
|
|
749
749
|
|
|
750
750
|
> def current_package
|
|
751
751
|
|
|
@@ -760,7 +760,7 @@ __Returns:__
|
|
|
760
760
|
|
|
761
761
|
--
|
|
762
762
|
|
|
763
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
|
763
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L40)
|
|
764
764
|
|
|
765
765
|
> def get_system_bars
|
|
766
766
|
|
|
@@ -775,7 +775,7 @@ __Returns:__
|
|
|
775
775
|
|
|
776
776
|
--
|
|
777
777
|
|
|
778
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
|
778
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L48)
|
|
779
779
|
|
|
780
780
|
> def get_display_density
|
|
781
781
|
|
|
@@ -790,7 +790,7 @@ __Returns:__
|
|
|
790
790
|
|
|
791
791
|
--
|
|
792
792
|
|
|
793
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
|
793
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L56)
|
|
794
794
|
|
|
795
795
|
> def is_keyboard_shown
|
|
796
796
|
|
|
@@ -805,7 +805,7 @@ __Returns:__
|
|
|
805
805
|
|
|
806
806
|
--
|
|
807
807
|
|
|
808
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
|
808
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L64)
|
|
809
809
|
|
|
810
810
|
> def launch_app
|
|
811
811
|
|
|
@@ -813,7 +813,7 @@ Start the simulator and application configured with desired capabilities
|
|
|
813
813
|
|
|
814
814
|
--
|
|
815
815
|
|
|
816
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
816
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L67)
|
|
817
817
|
|
|
818
818
|
> def reset
|
|
819
819
|
|
|
@@ -821,7 +821,7 @@ Reset the device, relaunching the application.
|
|
|
821
821
|
|
|
822
822
|
--
|
|
823
823
|
|
|
824
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
|
824
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L70)
|
|
825
825
|
|
|
826
826
|
> def shake
|
|
827
827
|
|
|
@@ -829,7 +829,7 @@ Cause the device to shake
|
|
|
829
829
|
|
|
830
830
|
--
|
|
831
831
|
|
|
832
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
|
832
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L73)
|
|
833
833
|
|
|
834
834
|
> def toggle_flight_mode
|
|
835
835
|
|
|
@@ -837,7 +837,7 @@ Toggle flight mode on or off
|
|
|
837
837
|
|
|
838
838
|
--
|
|
839
839
|
|
|
840
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
|
840
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L76)
|
|
841
841
|
|
|
842
842
|
> def device_locked?
|
|
843
843
|
|
|
@@ -845,7 +845,7 @@ Toggle flight mode on or off
|
|
|
845
845
|
|
|
846
846
|
--
|
|
847
847
|
|
|
848
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
848
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L78)
|
|
849
849
|
|
|
850
850
|
> def hide_keyboard
|
|
851
851
|
|
|
@@ -862,7 +862,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
|
862
862
|
|
|
863
863
|
--
|
|
864
864
|
|
|
865
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
865
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L91)
|
|
866
866
|
|
|
867
867
|
> def press_keycode
|
|
868
868
|
|
|
@@ -877,7 +877,7 @@ __Parameters:__
|
|
|
877
877
|
|
|
878
878
|
--
|
|
879
879
|
|
|
880
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
880
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L97)
|
|
881
881
|
|
|
882
882
|
> def long_press_keycode
|
|
883
883
|
|
|
@@ -892,7 +892,7 @@ __Parameters:__
|
|
|
892
892
|
|
|
893
893
|
--
|
|
894
894
|
|
|
895
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
|
895
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L103)
|
|
896
896
|
|
|
897
897
|
> def push_file
|
|
898
898
|
|
|
@@ -906,7 +906,7 @@ __Parameters:__
|
|
|
906
906
|
|
|
907
907
|
--
|
|
908
908
|
|
|
909
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
|
909
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L108)
|
|
910
910
|
|
|
911
911
|
> def pull_file
|
|
912
912
|
|
|
@@ -923,7 +923,7 @@ __Parameters:__
|
|
|
923
923
|
|
|
924
924
|
--
|
|
925
925
|
|
|
926
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
|
926
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L118)
|
|
927
927
|
|
|
928
928
|
> def pull_folder
|
|
929
929
|
|
|
@@ -938,7 +938,7 @@ __Parameters:__
|
|
|
938
938
|
|
|
939
939
|
--
|
|
940
940
|
|
|
941
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
|
941
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L126)
|
|
942
942
|
|
|
943
943
|
> def touch_id
|
|
944
944
|
|
|
@@ -955,7 +955,7 @@ Defaults to true.
|
|
|
955
955
|
|
|
956
956
|
--
|
|
957
957
|
|
|
958
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
|
958
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L135)
|
|
959
959
|
|
|
960
960
|
> def toggle_touch_id_enrollment
|
|
961
961
|
|
|
@@ -963,7 +963,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
|
963
963
|
|
|
964
964
|
--
|
|
965
965
|
|
|
966
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
|
966
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L138)
|
|
967
967
|
|
|
968
968
|
> def end_coverage
|
|
969
969
|
|
|
@@ -977,7 +977,7 @@ __Parameters:__
|
|
|
977
977
|
|
|
978
978
|
--
|
|
979
979
|
|
|
980
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
|
980
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L143)
|
|
981
981
|
|
|
982
982
|
> def get_settings
|
|
983
983
|
|
|
@@ -985,7 +985,7 @@ Get appium Settings for current test session
|
|
|
985
985
|
|
|
986
986
|
--
|
|
987
987
|
|
|
988
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
|
988
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L146)
|
|
989
989
|
|
|
990
990
|
> def update_settings
|
|
991
991
|
|
|
@@ -997,7 +997,7 @@ __Parameters:__
|
|
|
997
997
|
|
|
998
998
|
--
|
|
999
999
|
|
|
1000
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
|
1000
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L150)
|
|
1001
1001
|
|
|
1002
1002
|
> def start_activity
|
|
1003
1003
|
|
|
@@ -1011,7 +1011,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
|
1011
1011
|
|
|
1012
1012
|
--
|
|
1013
1013
|
|
|
1014
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1014
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L164)
|
|
1015
1015
|
|
|
1016
1016
|
> def get_network_connection
|
|
1017
1017
|
|
|
@@ -1020,7 +1020,7 @@ See set_network_connection method for return value
|
|
|
1020
1020
|
|
|
1021
1021
|
--
|
|
1022
1022
|
|
|
1023
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1023
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L168)
|
|
1024
1024
|
|
|
1025
1025
|
> def set_network_connection
|
|
1026
1026
|
|
|
@@ -1039,7 +1039,7 @@ __Parameters:__
|
|
|
1039
1039
|
|
|
1040
1040
|
--
|
|
1041
1041
|
|
|
1042
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
|
1042
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L181)
|
|
1043
1043
|
|
|
1044
1044
|
> def set_immediate_value
|
|
1045
1045
|
|
|
@@ -1053,7 +1053,7 @@ set_immediate_value element, 'hello'
|
|
|
1053
1053
|
|
|
1054
1054
|
--
|
|
1055
1055
|
|
|
1056
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
|
1056
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L190)
|
|
1057
1057
|
|
|
1058
1058
|
> def get_performance_data_types
|
|
1059
1059
|
|
|
@@ -1067,7 +1067,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1067
1067
|
|
|
1068
1068
|
--
|
|
1069
1069
|
|
|
1070
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1070
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L453)
|
|
1071
1071
|
|
|
1072
1072
|
> def extend_search_contexts
|
|
1073
1073
|
|
|
@@ -1075,7 +1075,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1075
1075
|
|
|
1076
1076
|
--
|
|
1077
1077
|
|
|
1078
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1078
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L453)
|
|
1079
1079
|
|
|
1080
1080
|
> def find_element_with_appium
|
|
1081
1081
|
|
|
@@ -1083,7 +1083,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1083
1083
|
|
|
1084
1084
|
--
|
|
1085
1085
|
|
|
1086
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1086
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L453)
|
|
1087
1087
|
|
|
1088
1088
|
> def find_elements_with_appium
|
|
1089
1089
|
|
|
@@ -1095,7 +1095,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1095
1095
|
|
|
1096
1096
|
--
|
|
1097
1097
|
|
|
1098
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
1098
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L484)
|
|
1099
1099
|
|
|
1100
1100
|
> def add_touch_actions
|
|
1101
1101
|
|
|
@@ -1103,7 +1103,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1103
1103
|
|
|
1104
1104
|
--
|
|
1105
1105
|
|
|
1106
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
|
1106
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L507)
|
|
1107
1107
|
|
|
1108
1108
|
> def add_ime_actions
|
|
1109
1109
|
|
|
@@ -1111,7 +1111,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1111
1111
|
|
|
1112
1112
|
--
|
|
1113
1113
|
|
|
1114
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
|
1114
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L582)
|
|
1115
1115
|
|
|
1116
1116
|
> def set_context
|
|
1117
1117
|
|
|
@@ -1126,7 +1126,7 @@ __Parameters:__
|
|
|
1126
1126
|
|
|
1127
1127
|
--
|
|
1128
1128
|
|
|
1129
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
|
1129
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L590)
|
|
1130
1130
|
|
|
1131
1131
|
> def current_context
|
|
1132
1132
|
|
|
@@ -1138,7 +1138,7 @@ __Returns:__
|
|
|
1138
1138
|
|
|
1139
1139
|
--
|
|
1140
1140
|
|
|
1141
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L593)
|
|
1142
1142
|
|
|
1143
1143
|
> def available_contexts
|
|
1144
1144
|
|
|
@@ -1150,7 +1150,7 @@ __Returns:__
|
|
|
1150
1150
|
|
|
1151
1151
|
--
|
|
1152
1152
|
|
|
1153
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
|
1153
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L604)
|
|
1154
1154
|
|
|
1155
1155
|
> def within_context(context)
|
|
1156
1156
|
|
|
@@ -1167,7 +1167,7 @@ __Parameters:__
|
|
|
1167
1167
|
|
|
1168
1168
|
--
|
|
1169
1169
|
|
|
1170
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
|
1170
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L617)
|
|
1171
1171
|
|
|
1172
1172
|
> def switch_to_default_context
|
|
1173
1173
|
|
|
@@ -1175,7 +1175,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
|
1175
1175
|
|
|
1176
1176
|
--
|
|
1177
1177
|
|
|
1178
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1178
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L28)
|
|
1179
1179
|
|
|
1180
1180
|
> def pinch(percentage = 25, auto_perform = true)
|
|
1181
1181
|
|
|
@@ -1194,7 +1194,7 @@ __Parameters:__
|
|
|
1194
1194
|
|
|
1195
1195
|
--
|
|
1196
1196
|
|
|
1197
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1197
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L57)
|
|
1198
1198
|
|
|
1199
1199
|
> def zoom(percentage = 200, auto_perform = true)
|
|
1200
1200
|
|
|
@@ -1213,7 +1213,7 @@ __Parameters:__
|
|
|
1213
1213
|
|
|
1214
1214
|
--
|
|
1215
1215
|
|
|
1216
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1216
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L79)
|
|
1217
1217
|
|
|
1218
1218
|
> def pinch_for_xcuitest(rate)
|
|
1219
1219
|
|
|
@@ -1221,7 +1221,7 @@ __Parameters:__
|
|
|
1221
1221
|
|
|
1222
1222
|
--
|
|
1223
1223
|
|
|
1224
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
|
1224
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L94)
|
|
1225
1225
|
|
|
1226
1226
|
> def pinch_android(rate)
|
|
1227
1227
|
|
|
@@ -1229,7 +1229,7 @@ __Parameters:__
|
|
|
1229
1229
|
|
|
1230
1230
|
--
|
|
1231
1231
|
|
|
1232
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
|
1232
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L108)
|
|
1233
1233
|
|
|
1234
1234
|
> def pinch_ios(rate)
|
|
1235
1235
|
|
|
@@ -1237,7 +1237,7 @@ __Parameters:__
|
|
|
1237
1237
|
|
|
1238
1238
|
--
|
|
1239
1239
|
|
|
1240
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1240
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L122)
|
|
1241
1241
|
|
|
1242
1242
|
> def zoom_for_xcuitest(rate)
|
|
1243
1243
|
|
|
@@ -1245,7 +1245,7 @@ __Parameters:__
|
|
|
1245
1245
|
|
|
1246
1246
|
--
|
|
1247
1247
|
|
|
1248
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
|
1248
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L137)
|
|
1249
1249
|
|
|
1250
1250
|
> def zoom_android(rate)
|
|
1251
1251
|
|
|
@@ -1253,7 +1253,7 @@ __Parameters:__
|
|
|
1253
1253
|
|
|
1254
1254
|
--
|
|
1255
1255
|
|
|
1256
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
|
1256
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L151)
|
|
1257
1257
|
|
|
1258
1258
|
> def zoom_ios(rate)
|
|
1259
1259
|
|
|
@@ -1261,7 +1261,7 @@ __Parameters:__
|
|
|
1261
1261
|
|
|
1262
1262
|
--
|
|
1263
1263
|
|
|
1264
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1264
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L166)
|
|
1265
1265
|
|
|
1266
1266
|
> def actions
|
|
1267
1267
|
|
|
@@ -1269,7 +1269,7 @@ self
|
|
|
1269
1269
|
|
|
1270
1270
|
--
|
|
1271
1271
|
|
|
1272
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1272
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L169)
|
|
1273
1273
|
|
|
1274
1274
|
> def initialize
|
|
1275
1275
|
|
|
@@ -1281,7 +1281,7 @@ __Returns:__
|
|
|
1281
1281
|
|
|
1282
1282
|
--
|
|
1283
1283
|
|
|
1284
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
|
1284
|
+
##### [add](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L175)
|
|
1285
1285
|
|
|
1286
1286
|
> def add(chain)
|
|
1287
1287
|
|
|
@@ -1293,7 +1293,7 @@ __Parameters:__
|
|
|
1293
1293
|
|
|
1294
1294
|
--
|
|
1295
1295
|
|
|
1296
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1296
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L180)
|
|
1297
1297
|
|
|
1298
1298
|
> def perform
|
|
1299
1299
|
|
|
@@ -1301,7 +1301,7 @@ Ask Appium to perform the actions
|
|
|
1301
1301
|
|
|
1302
1302
|
--
|
|
1303
1303
|
|
|
1304
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1304
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L22)
|
|
1305
1305
|
|
|
1306
1306
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
|
1307
1307
|
|
|
@@ -1309,7 +1309,7 @@ Ask Appium to perform the actions
|
|
|
1309
1309
|
|
|
1310
1310
|
--
|
|
1311
1311
|
|
|
1312
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1312
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L23)
|
|
1313
1313
|
|
|
1314
1314
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
|
1315
1315
|
|
|
@@ -1317,7 +1317,7 @@ Ask Appium to perform the actions
|
|
|
1317
1317
|
|
|
1318
1318
|
--
|
|
1319
1319
|
|
|
1320
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1320
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L37)
|
|
1321
1321
|
|
|
1322
1322
|
> def actions
|
|
1323
1323
|
|
|
@@ -1325,7 +1325,7 @@ Returns the value of attribute actions
|
|
|
1325
1325
|
|
|
1326
1326
|
--
|
|
1327
1327
|
|
|
1328
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1328
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L39)
|
|
1329
1329
|
|
|
1330
1330
|
> def initialize
|
|
1331
1331
|
|
|
@@ -1337,7 +1337,7 @@ __Returns:__
|
|
|
1337
1337
|
|
|
1338
1338
|
--
|
|
1339
1339
|
|
|
1340
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
|
1340
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L50)
|
|
1341
1341
|
|
|
1342
1342
|
> def move_to(opts)
|
|
1343
1343
|
|
|
@@ -1351,7 +1351,7 @@ __Parameters:__
|
|
|
1351
1351
|
|
|
1352
1352
|
--
|
|
1353
1353
|
|
|
1354
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
|
1354
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L64)
|
|
1355
1355
|
|
|
1356
1356
|
> def long_press(opts)
|
|
1357
1357
|
|
|
@@ -1372,7 +1372,7 @@ __Parameters:__
|
|
|
1372
1372
|
|
|
1373
1373
|
--
|
|
1374
1374
|
|
|
1375
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
|
1375
|
+
##### [press](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L76)
|
|
1376
1376
|
|
|
1377
1377
|
> def press(opts)
|
|
1378
1378
|
|
|
@@ -1385,7 +1385,7 @@ __Parameters:__
|
|
|
1385
1385
|
|
|
1386
1386
|
--
|
|
1387
1387
|
|
|
1388
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
|
1388
|
+
##### [release](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L87)
|
|
1389
1389
|
|
|
1390
1390
|
> def release(opts = nil)
|
|
1391
1391
|
|
|
@@ -1397,7 +1397,7 @@ __Parameters:__
|
|
|
1397
1397
|
|
|
1398
1398
|
--
|
|
1399
1399
|
|
|
1400
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
1400
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L99)
|
|
1401
1401
|
|
|
1402
1402
|
> def tap(opts)
|
|
1403
1403
|
|
|
@@ -1410,7 +1410,7 @@ __Parameters:__
|
|
|
1410
1410
|
|
|
1411
1411
|
--
|
|
1412
1412
|
|
|
1413
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
1413
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L112)
|
|
1414
1414
|
|
|
1415
1415
|
> def double_tap(opts)
|
|
1416
1416
|
|
|
@@ -1422,7 +1422,7 @@ __Parameters:__
|
|
|
1422
1422
|
|
|
1423
1423
|
--
|
|
1424
1424
|
|
|
1425
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
1425
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L123)
|
|
1426
1426
|
|
|
1427
1427
|
> def two_finger_tap(opts)
|
|
1428
1428
|
|
|
@@ -1434,7 +1434,7 @@ __Parameters:__
|
|
|
1434
1434
|
|
|
1435
1435
|
--
|
|
1436
1436
|
|
|
1437
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1437
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L131)
|
|
1438
1438
|
|
|
1439
1439
|
> def wait(milliseconds)
|
|
1440
1440
|
|
|
@@ -1446,7 +1446,7 @@ __Parameters:__
|
|
|
1446
1446
|
|
|
1447
1447
|
--
|
|
1448
1448
|
|
|
1449
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1449
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L154)
|
|
1450
1450
|
|
|
1451
1451
|
> def swipe(opts, ele = nil)
|
|
1452
1452
|
|
|
@@ -1467,7 +1467,7 @@ __Parameters:__
|
|
|
1467
1467
|
|
|
1468
1468
|
--
|
|
1469
1469
|
|
|
1470
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1470
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L179)
|
|
1471
1471
|
|
|
1472
1472
|
> def perform
|
|
1473
1473
|
|
|
@@ -1475,7 +1475,7 @@ Ask the driver to perform all actions in this action chain.
|
|
|
1475
1475
|
|
|
1476
1476
|
--
|
|
1477
1477
|
|
|
1478
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
|
1478
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L186)
|
|
1479
1479
|
|
|
1480
1480
|
> def cancel
|
|
1481
1481
|
|
|
@@ -1483,7 +1483,7 @@ Does nothing, currently.
|
|
|
1483
1483
|
|
|
1484
1484
|
--
|
|
1485
1485
|
|
|
1486
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
|
1486
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L192)
|
|
1487
1487
|
|
|
1488
1488
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
|
1489
1489
|
|
|
@@ -1491,7 +1491,7 @@ Does nothing, currently.
|
|
|
1491
1491
|
|
|
1492
1492
|
--
|
|
1493
1493
|
|
|
1494
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
|
1494
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L210)
|
|
1495
1495
|
|
|
1496
1496
|
> def chain_method(method, args = nil)
|
|
1497
1497
|
|
|
@@ -1499,7 +1499,7 @@ Does nothing, currently.
|
|
|
1499
1499
|
|
|
1500
1500
|
--
|
|
1501
1501
|
|
|
1502
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
|
1502
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L216)
|
|
1503
1503
|
|
|
1504
1504
|
> def args_with_ele_ref(args)
|
|
1505
1505
|
|
|
@@ -1507,7 +1507,7 @@ Does nothing, currently.
|
|
|
1507
1507
|
|
|
1508
1508
|
--
|
|
1509
1509
|
|
|
1510
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1510
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L4)
|
|
1511
1511
|
|
|
1512
1512
|
> def initialize(opts = {})
|
|
1513
1513
|
|
|
@@ -1519,7 +1519,7 @@ __Returns:__
|
|
|
1519
1519
|
|
|
1520
1520
|
--
|
|
1521
1521
|
|
|
1522
|
-
##### [until](https://github.com/appium/ruby_lib/blob/
|
|
1522
|
+
##### [until](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L23)
|
|
1523
1523
|
|
|
1524
1524
|
> def until
|
|
1525
1525
|
|
|
@@ -1528,7 +1528,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
|
1528
1528
|
|
|
1529
1529
|
--
|
|
1530
1530
|
|
|
1531
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
|
1531
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L51)
|
|
1532
1532
|
|
|
1533
1533
|
> def _process_wait_opts(opts)
|
|
1534
1534
|
|
|
@@ -1536,7 +1536,7 @@ process opts before calling _generic_wait
|
|
|
1536
1536
|
|
|
1537
1537
|
--
|
|
1538
1538
|
|
|
1539
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
1539
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L72)
|
|
1540
1540
|
|
|
1541
1541
|
> def wait_true(opts = {})
|
|
1542
1542
|
|
|
@@ -1556,7 +1556,7 @@ __Parameters:__
|
|
|
1556
1556
|
|
|
1557
1557
|
--
|
|
1558
1558
|
|
|
1559
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1559
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L95)
|
|
1560
1560
|
|
|
1561
1561
|
> def wait(opts = {})
|
|
1562
1562
|
|
|
@@ -1574,7 +1574,7 @@ __Parameters:__
|
|
|
1574
1574
|
|
|
1575
1575
|
--
|
|
1576
1576
|
|
|
1577
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
1577
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L24)
|
|
1578
1578
|
|
|
1579
1579
|
> def ignore
|
|
1580
1580
|
|
|
@@ -1582,7 +1582,7 @@ Return yield and ignore any exceptions.
|
|
|
1582
1582
|
|
|
1583
1583
|
--
|
|
1584
1584
|
|
|
1585
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
1585
|
+
##### [back](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L31)
|
|
1586
1586
|
|
|
1587
1587
|
> def back
|
|
1588
1588
|
|
|
@@ -1594,7 +1594,7 @@ __Returns:__
|
|
|
1594
1594
|
|
|
1595
1595
|
--
|
|
1596
1596
|
|
|
1597
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
1597
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L36)
|
|
1598
1598
|
|
|
1599
1599
|
> def session_id
|
|
1600
1600
|
|
|
@@ -1602,7 +1602,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
1602
1602
|
|
|
1603
1603
|
--
|
|
1604
1604
|
|
|
1605
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
1605
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L44)
|
|
1606
1606
|
|
|
1607
1607
|
> def xpath(xpath_str)
|
|
1608
1608
|
|
|
@@ -1618,7 +1618,7 @@ __Returns:__
|
|
|
1618
1618
|
|
|
1619
1619
|
--
|
|
1620
1620
|
|
|
1621
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1621
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L52)
|
|
1622
1622
|
|
|
1623
1623
|
> def xpaths(xpath_str)
|
|
1624
1624
|
|
|
@@ -1634,7 +1634,7 @@ __Returns:__
|
|
|
1634
1634
|
|
|
1635
1635
|
--
|
|
1636
1636
|
|
|
1637
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
|
1637
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L56)
|
|
1638
1638
|
|
|
1639
1639
|
> def _print_source(source)
|
|
1640
1640
|
|
|
@@ -1642,7 +1642,7 @@ __Returns:__
|
|
|
1642
1642
|
|
|
1643
1643
|
--
|
|
1644
1644
|
|
|
1645
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1645
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L69)
|
|
1646
1646
|
|
|
1647
1647
|
> def result
|
|
1648
1648
|
|
|
@@ -1650,7 +1650,7 @@ Returns the value of attribute result
|
|
|
1650
1650
|
|
|
1651
1651
|
--
|
|
1652
1652
|
|
|
1653
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1653
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L71)
|
|
1654
1654
|
|
|
1655
1655
|
> def initialize
|
|
1656
1656
|
|
|
@@ -1662,7 +1662,7 @@ __Returns:__
|
|
|
1662
1662
|
|
|
1663
1663
|
--
|
|
1664
1664
|
|
|
1665
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1665
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L75)
|
|
1666
1666
|
|
|
1667
1667
|
> def reset
|
|
1668
1668
|
|
|
@@ -1670,7 +1670,7 @@ __Returns:__
|
|
|
1670
1670
|
|
|
1671
1671
|
--
|
|
1672
1672
|
|
|
1673
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1673
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L80)
|
|
1674
1674
|
|
|
1675
1675
|
> def start_element(name, attrs = [])
|
|
1676
1676
|
|
|
@@ -1678,7 +1678,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1678
1678
|
|
|
1679
1679
|
--
|
|
1680
1680
|
|
|
1681
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1681
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L86)
|
|
1682
1682
|
|
|
1683
1683
|
> def formatted_result
|
|
1684
1684
|
|
|
@@ -1686,7 +1686,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1686
1686
|
|
|
1687
1687
|
--
|
|
1688
1688
|
|
|
1689
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1689
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L97)
|
|
1690
1690
|
|
|
1691
1691
|
> def get_page_class
|
|
1692
1692
|
|
|
@@ -1694,7 +1694,7 @@ Returns a string of class counts of visible elements.
|
|
|
1694
1694
|
|
|
1695
1695
|
--
|
|
1696
1696
|
|
|
1697
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1697
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L108)
|
|
1698
1698
|
|
|
1699
1699
|
> def page_class
|
|
1700
1700
|
|
|
@@ -1703,7 +1703,7 @@ Useful for appium_console.
|
|
|
1703
1703
|
|
|
1704
1704
|
--
|
|
1705
1705
|
|
|
1706
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1706
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L118)
|
|
1707
1707
|
|
|
1708
1708
|
> def px_to_window_rel(opts = {})
|
|
1709
1709
|
|
|
@@ -1715,7 +1715,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1715
1715
|
|
|
1716
1716
|
--
|
|
1717
1717
|
|
|
1718
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1718
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L137)
|
|
1719
1719
|
|
|
1720
1720
|
> def xml_keys(target)
|
|
1721
1721
|
|
|
@@ -1731,7 +1731,7 @@ __Returns:__
|
|
|
1731
1731
|
|
|
1732
1732
|
--
|
|
1733
1733
|
|
|
1734
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1734
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L145)
|
|
1735
1735
|
|
|
1736
1736
|
> def xml_values(target)
|
|
1737
1737
|
|
|
@@ -1747,7 +1747,7 @@ __Returns:__
|
|
|
1747
1747
|
|
|
1748
1748
|
--
|
|
1749
1749
|
|
|
1750
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1750
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L153)
|
|
1751
1751
|
|
|
1752
1752
|
> def resolve_id(id)
|
|
1753
1753
|
|
|
@@ -1763,7 +1763,7 @@ __Returns:__
|
|
|
1763
1763
|
|
|
1764
1764
|
--
|
|
1765
1765
|
|
|
1766
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1766
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L159)
|
|
1767
1767
|
|
|
1768
1768
|
> def filter
|
|
1769
1769
|
|
|
@@ -1771,7 +1771,7 @@ Returns the value of attribute filter
|
|
|
1771
1771
|
|
|
1772
1772
|
--
|
|
1773
1773
|
|
|
1774
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1774
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L162)
|
|
1775
1775
|
|
|
1776
1776
|
> def filter=(value)
|
|
1777
1777
|
|
|
@@ -1779,7 +1779,7 @@ convert to string to support symbols
|
|
|
1779
1779
|
|
|
1780
1780
|
--
|
|
1781
1781
|
|
|
1782
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1782
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L168)
|
|
1783
1783
|
|
|
1784
1784
|
> def initialize
|
|
1785
1785
|
|
|
@@ -1791,7 +1791,7 @@ __Returns:__
|
|
|
1791
1791
|
|
|
1792
1792
|
--
|
|
1793
1793
|
|
|
1794
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1794
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L173)
|
|
1795
1795
|
|
|
1796
1796
|
> def reset
|
|
1797
1797
|
|
|
@@ -1799,7 +1799,7 @@ __Returns:__
|
|
|
1799
1799
|
|
|
1800
1800
|
--
|
|
1801
1801
|
|
|
1802
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1802
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L179)
|
|
1803
1803
|
|
|
1804
1804
|
> def result
|
|
1805
1805
|
|
|
@@ -1807,7 +1807,7 @@ __Returns:__
|
|
|
1807
1807
|
|
|
1808
1808
|
--
|
|
1809
1809
|
|
|
1810
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1810
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L195)
|
|
1811
1811
|
|
|
1812
1812
|
> def start_element(name, attrs = [])
|
|
1813
1813
|
|
|
@@ -1815,7 +1815,7 @@ __Returns:__
|
|
|
1815
1815
|
|
|
1816
1816
|
--
|
|
1817
1817
|
|
|
1818
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1818
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L204)
|
|
1819
1819
|
|
|
1820
1820
|
> def end_element(name)
|
|
1821
1821
|
|
|
@@ -1823,7 +1823,7 @@ __Returns:__
|
|
|
1823
1823
|
|
|
1824
1824
|
--
|
|
1825
1825
|
|
|
1826
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1826
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L210)
|
|
1827
1827
|
|
|
1828
1828
|
> def characters(chars)
|
|
1829
1829
|
|
|
@@ -1831,7 +1831,7 @@ __Returns:__
|
|
|
1831
1831
|
|
|
1832
1832
|
--
|
|
1833
1833
|
|
|
1834
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
|
1834
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L217)
|
|
1835
1835
|
|
|
1836
1836
|
> def _no_such_element
|
|
1837
1837
|
|
|
@@ -1839,7 +1839,7 @@ __Returns:__
|
|
|
1839
1839
|
|
|
1840
1840
|
--
|
|
1841
1841
|
|
|
1842
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
|
1842
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/command.rb#L4)
|
|
1843
1843
|
|
|
1844
1844
|
> COMMAND_NO_ARG = {
|
|
1845
1845
|
|
|
@@ -1847,7 +1847,7 @@ __Returns:__
|
|
|
1847
1847
|
|
|
1848
1848
|
--
|
|
1849
1849
|
|
|
1850
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
|
1850
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/command.rb#L28)
|
|
1851
1851
|
|
|
1852
1852
|
> COMMAND = {
|
|
1853
1853
|
|
|
@@ -1855,7 +1855,7 @@ __Returns:__
|
|
|
1855
1855
|
|
|
1856
1856
|
--
|
|
1857
1857
|
|
|
1858
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
1858
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/element/window.rb#L5)
|
|
1859
1859
|
|
|
1860
1860
|
> def window_size
|
|
1861
1861
|
|
|
@@ -1863,7 +1863,7 @@ Get the window's size
|
|
|
1863
1863
|
|
|
1864
1864
|
--
|
|
1865
1865
|
|
|
1866
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
|
1866
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/search_context.rb#L5)
|
|
1867
1867
|
|
|
1868
1868
|
> FINDERS = {
|
|
1869
1869
|
|
|
@@ -1871,7 +1871,7 @@ rubocop:disable Style/MutableConstant
|
|
|
1871
1871
|
|
|
1872
1872
|
--
|
|
1873
1873
|
|
|
1874
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1874
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1875
1875
|
|
|
1876
1876
|
> def filter
|
|
1877
1877
|
|
|
@@ -1879,7 +1879,7 @@ Returns the value of attribute filter
|
|
|
1879
1879
|
|
|
1880
1880
|
--
|
|
1881
1881
|
|
|
1882
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1882
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L4) ios
|
|
1883
1883
|
|
|
1884
1884
|
> def filter=(value)
|
|
1885
1885
|
|
|
@@ -1891,7 +1891,7 @@ __Parameters:__
|
|
|
1891
1891
|
|
|
1892
1892
|
--
|
|
1893
1893
|
|
|
1894
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1894
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L6) ios
|
|
1895
1895
|
|
|
1896
1896
|
> def start_element(type, attrs = [])
|
|
1897
1897
|
|
|
@@ -1899,7 +1899,7 @@ __Parameters:__
|
|
|
1899
1899
|
|
|
1900
1900
|
--
|
|
1901
1901
|
|
|
1902
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
|
1902
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L15) ios
|
|
1903
1903
|
|
|
1904
1904
|
> def _print_attr(type, name, label, value, hint, visible) # rubocop:disable Metrics/ParameterLists
|
|
1905
1905
|
|
|
@@ -1907,7 +1907,7 @@ rubocop:disable Metrics/ParameterLists
|
|
|
1907
1907
|
|
|
1908
1908
|
--
|
|
1909
1909
|
|
|
1910
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
|
1910
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L42) ios
|
|
1911
1911
|
|
|
1912
1912
|
> def ios_password(length = 1)
|
|
1913
1913
|
|
|
@@ -1925,7 +1925,7 @@ __Returns:__
|
|
|
1925
1925
|
|
|
1926
1926
|
--
|
|
1927
1927
|
|
|
1928
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
|
1928
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L55) ios
|
|
1929
1929
|
|
|
1930
1930
|
> def get_page(element = source_window(0), class_name = nil)
|
|
1931
1931
|
|
|
@@ -1946,7 +1946,7 @@ __Returns:__
|
|
|
1946
1946
|
|
|
1947
1947
|
--
|
|
1948
1948
|
|
|
1949
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1949
|
+
##### [page](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L142) ios
|
|
1950
1950
|
|
|
1951
1951
|
> def page(opts = {})
|
|
1952
1952
|
|
|
@@ -1971,7 +1971,7 @@ __Returns:__
|
|
|
1971
1971
|
|
|
1972
1972
|
--
|
|
1973
1973
|
|
|
1974
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
1974
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L166) ios
|
|
1975
1975
|
|
|
1976
1976
|
> def source_window(window_number = nil)
|
|
1977
1977
|
|
|
@@ -1983,7 +1983,7 @@ __Returns:__
|
|
|
1983
1983
|
|
|
1984
1984
|
--
|
|
1985
1985
|
|
|
1986
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
1986
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L177) ios
|
|
1987
1987
|
|
|
1988
1988
|
> def page_window(window_number = 0)
|
|
1989
1989
|
|
|
@@ -2001,7 +2001,7 @@ __Returns:__
|
|
|
2001
2001
|
|
|
2002
2002
|
--
|
|
2003
2003
|
|
|
2004
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
2004
|
+
##### [id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L185) ios
|
|
2005
2005
|
|
|
2006
2006
|
> def id(id)
|
|
2007
2007
|
|
|
@@ -2017,7 +2017,7 @@ __Returns:__
|
|
|
2017
2017
|
|
|
2018
2018
|
--
|
|
2019
2019
|
|
|
2020
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
|
2020
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L191) ios
|
|
2021
2021
|
|
|
2022
2022
|
> def ios_version
|
|
2023
2023
|
|
|
@@ -2029,7 +2029,7 @@ __Returns:__
|
|
|
2029
2029
|
|
|
2030
2030
|
--
|
|
2031
2031
|
|
|
2032
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
2032
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L204) ios
|
|
2033
2033
|
|
|
2034
2034
|
> def ele_index(class_name, index)
|
|
2035
2035
|
|
|
@@ -2047,7 +2047,7 @@ __Returns:__
|
|
|
2047
2047
|
|
|
2048
2048
|
--
|
|
2049
2049
|
|
|
2050
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2050
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L240) ios
|
|
2051
2051
|
|
|
2052
2052
|
> def find_ele_by_attr(class_name, attr, value)
|
|
2053
2053
|
|
|
@@ -2069,7 +2069,7 @@ __Returns:__
|
|
|
2069
2069
|
|
|
2070
2070
|
--
|
|
2071
2071
|
|
|
2072
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
|
2072
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L251) ios
|
|
2073
2073
|
|
|
2074
2074
|
> def find_eles_by_attr(class_name, attr, value)
|
|
2075
2075
|
|
|
@@ -2091,7 +2091,7 @@ __Returns:__
|
|
|
2091
2091
|
|
|
2092
2092
|
--
|
|
2093
2093
|
|
|
2094
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2094
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L272) ios
|
|
2095
2095
|
|
|
2096
2096
|
> def find_ele_by_predicate(class_name: '*', value:)
|
|
2097
2097
|
|
|
@@ -2108,7 +2108,7 @@ __Returns:__
|
|
|
2108
2108
|
|
|
2109
2109
|
--
|
|
2110
2110
|
|
|
2111
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
|
2111
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L283) ios
|
|
2112
2112
|
|
|
2113
2113
|
> def find_eles_by_predicate(class_name: '*', value:)
|
|
2114
2114
|
|
|
@@ -2127,7 +2127,7 @@ __Returns:__
|
|
|
2127
2127
|
|
|
2128
2128
|
--
|
|
2129
2129
|
|
|
2130
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2130
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L299) ios
|
|
2131
2131
|
|
|
2132
2132
|
> def find_ele_by_attr_include(class_name, attr, value)
|
|
2133
2133
|
|
|
@@ -2148,7 +2148,7 @@ __Returns:__
|
|
|
2148
2148
|
|
|
2149
2149
|
--
|
|
2150
2150
|
|
|
2151
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
2151
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L309) ios
|
|
2152
2152
|
|
|
2153
2153
|
> def find_eles_by_attr_include(class_name, attr, value)
|
|
2154
2154
|
|
|
@@ -2169,7 +2169,7 @@ __Returns:__
|
|
|
2169
2169
|
|
|
2170
2170
|
--
|
|
2171
2171
|
|
|
2172
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2172
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L317) ios
|
|
2173
2173
|
|
|
2174
2174
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
|
2175
2175
|
|
|
@@ -2186,7 +2186,7 @@ __Returns:__
|
|
|
2186
2186
|
|
|
2187
2187
|
--
|
|
2188
2188
|
|
|
2189
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
|
2189
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L328) ios
|
|
2190
2190
|
|
|
2191
2191
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
|
2192
2192
|
|
|
@@ -2205,7 +2205,7 @@ __Returns:__
|
|
|
2205
2205
|
|
|
2206
2206
|
--
|
|
2207
2207
|
|
|
2208
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
2208
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L341) ios
|
|
2209
2209
|
|
|
2210
2210
|
> def first_ele(class_name)
|
|
2211
2211
|
|
|
@@ -2221,7 +2221,7 @@ __Returns:__
|
|
|
2221
2221
|
|
|
2222
2222
|
--
|
|
2223
2223
|
|
|
2224
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2224
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L348) ios
|
|
2225
2225
|
|
|
2226
2226
|
> def last_ele(class_name)
|
|
2227
2227
|
|
|
@@ -2237,7 +2237,7 @@ __Returns:__
|
|
|
2237
2237
|
|
|
2238
2238
|
--
|
|
2239
2239
|
|
|
2240
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2240
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L362) ios
|
|
2241
2241
|
|
|
2242
2242
|
> def tag(class_name)
|
|
2243
2243
|
|
|
@@ -2253,7 +2253,7 @@ __Returns:__
|
|
|
2253
2253
|
|
|
2254
2254
|
--
|
|
2255
2255
|
|
|
2256
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2256
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L374) ios
|
|
2257
2257
|
|
|
2258
2258
|
> def tags(class_name)
|
|
2259
2259
|
|
|
@@ -2269,7 +2269,7 @@ __Returns:__
|
|
|
2269
2269
|
|
|
2270
2270
|
--
|
|
2271
2271
|
|
|
2272
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
|
2272
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L390) ios
|
|
2273
2273
|
|
|
2274
2274
|
> def tags_include(class_names:, value: nil)
|
|
2275
2275
|
|
|
@@ -2289,7 +2289,7 @@ __Returns:__
|
|
|
2289
2289
|
|
|
2290
2290
|
--
|
|
2291
2291
|
|
|
2292
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
|
2292
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L419) ios
|
|
2293
2293
|
|
|
2294
2294
|
> def tags_exact(class_names:, value: nil)
|
|
2295
2295
|
|
|
@@ -2309,7 +2309,7 @@ __Returns:__
|
|
|
2309
2309
|
|
|
2310
2310
|
--
|
|
2311
2311
|
|
|
2312
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2312
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L470) ios
|
|
2313
2313
|
|
|
2314
2314
|
> def ele_by_json_visible_contains(element, value)
|
|
2315
2315
|
|
|
@@ -2328,7 +2328,7 @@ __Returns:__
|
|
|
2328
2328
|
|
|
2329
2329
|
--
|
|
2330
2330
|
|
|
2331
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2331
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L479) ios
|
|
2332
2332
|
|
|
2333
2333
|
> def eles_by_json_visible_contains(element, value)
|
|
2334
2334
|
|
|
@@ -2347,7 +2347,7 @@ __Returns:__
|
|
|
2347
2347
|
|
|
2348
2348
|
--
|
|
2349
2349
|
|
|
2350
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2350
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L509) ios
|
|
2351
2351
|
|
|
2352
2352
|
> def ele_by_json_visible_exact(element, value)
|
|
2353
2353
|
|
|
@@ -2366,7 +2366,7 @@ __Returns:__
|
|
|
2366
2366
|
|
|
2367
2367
|
--
|
|
2368
2368
|
|
|
2369
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
|
2369
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L518) ios
|
|
2370
2370
|
|
|
2371
2371
|
> def eles_by_json_visible_exact(element, value)
|
|
2372
2372
|
|
|
@@ -2385,7 +2385,7 @@ __Returns:__
|
|
|
2385
2385
|
|
|
2386
2386
|
--
|
|
2387
2387
|
|
|
2388
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
|
2388
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L527) ios
|
|
2389
2389
|
|
|
2390
2390
|
> def _all_pred(opts)
|
|
2391
2391
|
|
|
@@ -2395,7 +2395,7 @@ visible - if true, only visible elements are returned. default true
|
|
|
2395
2395
|
|
|
2396
2396
|
--
|
|
2397
2397
|
|
|
2398
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2398
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L540) ios
|
|
2399
2399
|
|
|
2400
2400
|
> def ele_with_pred(opts)
|
|
2401
2401
|
|
|
@@ -2411,7 +2411,7 @@ __Returns:__
|
|
|
2411
2411
|
|
|
2412
2412
|
--
|
|
2413
2413
|
|
|
2414
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
|
2414
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L551) ios
|
|
2415
2415
|
|
|
2416
2416
|
> def eles_with_pred(opts)
|
|
2417
2417
|
|
|
@@ -2427,7 +2427,7 @@ __Returns:__
|
|
|
2427
2427
|
|
|
2428
2428
|
--
|
|
2429
2429
|
|
|
2430
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
2430
|
+
##### [source](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L557) ios
|
|
2431
2431
|
|
|
2432
2432
|
> def source
|
|
2433
2433
|
|
|
@@ -2439,7 +2439,7 @@ __Returns:__
|
|
|
2439
2439
|
|
|
2440
2440
|
--
|
|
2441
2441
|
|
|
2442
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
|
2442
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L561) ios
|
|
2443
2443
|
|
|
2444
2444
|
> def _validate_object(*objects)
|
|
2445
2445
|
|
|
@@ -2447,7 +2447,7 @@ __Returns:__
|
|
|
2447
2447
|
|
|
2448
2448
|
--
|
|
2449
2449
|
|
|
2450
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2450
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L610) ios
|
|
2451
2451
|
|
|
2452
2452
|
> def _by_json(opts)
|
|
2453
2453
|
|
|
@@ -2482,7 +2482,7 @@ opts = {
|
|
|
2482
2482
|
|
|
2483
2483
|
--
|
|
2484
2484
|
|
|
2485
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2485
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L660) ios
|
|
2486
2486
|
|
|
2487
2487
|
> def eles_by_json(opts)
|
|
2488
2488
|
|
|
@@ -2501,7 +2501,7 @@ eles_by_json({
|
|
|
2501
2501
|
|
|
2502
2502
|
--
|
|
2503
2503
|
|
|
2504
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
|
2504
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L666) ios
|
|
2505
2505
|
|
|
2506
2506
|
> def ele_by_json(opts)
|
|
2507
2507
|
|
|
@@ -2509,7 +2509,7 @@ see eles_by_json
|
|
|
2509
2509
|
|
|
2510
2510
|
--
|
|
2511
2511
|
|
|
2512
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
2512
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/helper.rb#L676) ios
|
|
2513
2513
|
|
|
2514
2514
|
> def get_source
|
|
2515
2515
|
|
|
@@ -2522,7 +2522,7 @@ __Returns:__
|
|
|
2522
2522
|
|
|
2523
2523
|
--
|
|
2524
2524
|
|
|
2525
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2525
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L4) ios
|
|
2526
2526
|
|
|
2527
2527
|
> UIAStaticText = 'UIAStaticText'.freeze
|
|
2528
2528
|
|
|
@@ -2530,7 +2530,7 @@ __Returns:__
|
|
|
2530
2530
|
|
|
2531
2531
|
--
|
|
2532
2532
|
|
|
2533
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
|
2533
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L5) ios
|
|
2534
2534
|
|
|
2535
2535
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
|
2536
2536
|
|
|
@@ -2538,7 +2538,7 @@ __Returns:__
|
|
|
2538
2538
|
|
|
2539
2539
|
--
|
|
2540
2540
|
|
|
2541
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
|
2541
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L8) ios
|
|
2542
2542
|
|
|
2543
2543
|
> def static_text_class
|
|
2544
2544
|
|
|
@@ -2550,7 +2550,7 @@ __Returns:__
|
|
|
2550
2550
|
|
|
2551
2551
|
--
|
|
2552
2552
|
|
|
2553
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2553
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L16) ios
|
|
2554
2554
|
|
|
2555
2555
|
> def text(value)
|
|
2556
2556
|
|
|
@@ -2567,7 +2567,7 @@ __Returns:__
|
|
|
2567
2567
|
|
|
2568
2568
|
--
|
|
2569
2569
|
|
|
2570
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2570
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L30) ios
|
|
2571
2571
|
|
|
2572
2572
|
> def texts(value = false)
|
|
2573
2573
|
|
|
@@ -2584,7 +2584,7 @@ __Returns:__
|
|
|
2584
2584
|
|
|
2585
2585
|
--
|
|
2586
2586
|
|
|
2587
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2587
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L43) ios
|
|
2588
2588
|
|
|
2589
2589
|
> def first_text
|
|
2590
2590
|
|
|
@@ -2596,7 +2596,7 @@ __Returns:__
|
|
|
2596
2596
|
|
|
2597
2597
|
--
|
|
2598
2598
|
|
|
2599
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2599
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L49) ios
|
|
2600
2600
|
|
|
2601
2601
|
> def last_text
|
|
2602
2602
|
|
|
@@ -2608,7 +2608,7 @@ __Returns:__
|
|
|
2608
2608
|
|
|
2609
2609
|
--
|
|
2610
2610
|
|
|
2611
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2611
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L56) ios
|
|
2612
2612
|
|
|
2613
2613
|
> def text_exact(value)
|
|
2614
2614
|
|
|
@@ -2624,7 +2624,7 @@ __Returns:__
|
|
|
2624
2624
|
|
|
2625
2625
|
--
|
|
2626
2626
|
|
|
2627
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2627
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/text.rb#L67) ios
|
|
2628
2628
|
|
|
2629
2629
|
> def texts_exact(value)
|
|
2630
2630
|
|
|
@@ -2640,7 +2640,7 @@ __Returns:__
|
|
|
2640
2640
|
|
|
2641
2641
|
--
|
|
2642
2642
|
|
|
2643
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
2643
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/alert.rb#L5) ios
|
|
2644
2644
|
|
|
2645
2645
|
> def alert_accept
|
|
2646
2646
|
|
|
@@ -2652,7 +2652,7 @@ __Returns:__
|
|
|
2652
2652
|
|
|
2653
2653
|
--
|
|
2654
2654
|
|
|
2655
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
2655
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/alert.rb#L13) ios
|
|
2656
2656
|
|
|
2657
2657
|
> def alert_dismiss
|
|
2658
2658
|
|
|
@@ -2664,7 +2664,7 @@ __Returns:__
|
|
|
2664
2664
|
|
|
2665
2665
|
--
|
|
2666
2666
|
|
|
2667
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
|
2667
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L4) ios
|
|
2668
2668
|
|
|
2669
2669
|
> UIAButton = 'UIAButton'.freeze
|
|
2670
2670
|
|
|
@@ -2672,7 +2672,7 @@ __Returns:__
|
|
|
2672
2672
|
|
|
2673
2673
|
--
|
|
2674
2674
|
|
|
2675
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
|
2675
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L5) ios
|
|
2676
2676
|
|
|
2677
2677
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
|
2678
2678
|
|
|
@@ -2680,7 +2680,7 @@ __Returns:__
|
|
|
2680
2680
|
|
|
2681
2681
|
--
|
|
2682
2682
|
|
|
2683
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
|
2683
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L8) ios
|
|
2684
2684
|
|
|
2685
2685
|
> def button_class
|
|
2686
2686
|
|
|
@@ -2692,7 +2692,7 @@ __Returns:__
|
|
|
2692
2692
|
|
|
2693
2693
|
--
|
|
2694
2694
|
|
|
2695
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2695
|
+
##### [button](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L16) ios
|
|
2696
2696
|
|
|
2697
2697
|
> def button(value)
|
|
2698
2698
|
|
|
@@ -2709,7 +2709,7 @@ __Returns:__
|
|
|
2709
2709
|
|
|
2710
2710
|
--
|
|
2711
2711
|
|
|
2712
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2712
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L31) ios
|
|
2713
2713
|
|
|
2714
2714
|
> def buttons(value = false)
|
|
2715
2715
|
|
|
@@ -2726,7 +2726,7 @@ __Returns:__
|
|
|
2726
2726
|
|
|
2727
2727
|
--
|
|
2728
2728
|
|
|
2729
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2729
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L44) ios
|
|
2730
2730
|
|
|
2731
2731
|
> def first_button
|
|
2732
2732
|
|
|
@@ -2738,7 +2738,7 @@ __Returns:__
|
|
|
2738
2738
|
|
|
2739
2739
|
--
|
|
2740
2740
|
|
|
2741
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2741
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L52) ios
|
|
2742
2742
|
|
|
2743
2743
|
> def last_button
|
|
2744
2744
|
|
|
@@ -2752,7 +2752,7 @@ __Returns:__
|
|
|
2752
2752
|
|
|
2753
2753
|
--
|
|
2754
2754
|
|
|
2755
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2755
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L59) ios
|
|
2756
2756
|
|
|
2757
2757
|
> def button_exact(value)
|
|
2758
2758
|
|
|
@@ -2768,7 +2768,7 @@ __Returns:__
|
|
|
2768
2768
|
|
|
2769
2769
|
--
|
|
2770
2770
|
|
|
2771
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2771
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/button.rb#L70) ios
|
|
2772
2772
|
|
|
2773
2773
|
> def buttons_exact(value)
|
|
2774
2774
|
|
|
@@ -2784,7 +2784,7 @@ __Returns:__
|
|
|
2784
2784
|
|
|
2785
2785
|
--
|
|
2786
2786
|
|
|
2787
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
|
2787
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2788
2788
|
|
|
2789
2789
|
> def uiautomation_find
|
|
2790
2790
|
|
|
@@ -2796,7 +2796,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
|
2796
2796
|
|
|
2797
2797
|
--
|
|
2798
2798
|
|
|
2799
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
|
2799
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2800
2800
|
|
|
2801
2801
|
> def ios_predicate_string_find
|
|
2802
2802
|
|
|
@@ -2810,7 +2810,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
|
2810
2810
|
|
|
2811
2811
|
--
|
|
2812
2812
|
|
|
2813
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
|
2813
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
|
2814
2814
|
|
|
2815
2815
|
> def ios_class_chain_find
|
|
2816
2816
|
|
|
@@ -2828,7 +2828,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
|
2828
2828
|
|
|
2829
2829
|
--
|
|
2830
2830
|
|
|
2831
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2831
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/generic.rb#L6) ios
|
|
2832
2832
|
|
|
2833
2833
|
> def find(value)
|
|
2834
2834
|
|
|
@@ -2844,7 +2844,7 @@ __Returns:__
|
|
|
2844
2844
|
|
|
2845
2845
|
--
|
|
2846
2846
|
|
|
2847
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2847
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/generic.rb#L17) ios
|
|
2848
2848
|
|
|
2849
2849
|
> def finds(value)
|
|
2850
2850
|
|
|
@@ -2860,7 +2860,7 @@ __Returns:__
|
|
|
2860
2860
|
|
|
2861
2861
|
--
|
|
2862
2862
|
|
|
2863
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2863
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/generic.rb#L29) ios
|
|
2864
2864
|
|
|
2865
2865
|
> def find_exact(value)
|
|
2866
2866
|
|
|
@@ -2876,7 +2876,7 @@ __Returns:__
|
|
|
2876
2876
|
|
|
2877
2877
|
--
|
|
2878
2878
|
|
|
2879
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2879
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/generic.rb#L40) ios
|
|
2880
2880
|
|
|
2881
2881
|
> def finds_exact(value)
|
|
2882
2882
|
|
|
@@ -2892,7 +2892,7 @@ __Returns:__
|
|
|
2892
2892
|
|
|
2893
2893
|
--
|
|
2894
2894
|
|
|
2895
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
|
2895
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/generic.rb#L51) ios
|
|
2896
2896
|
|
|
2897
2897
|
> def raise_error_if_no_element(element)
|
|
2898
2898
|
|
|
@@ -2900,7 +2900,7 @@ __Returns:__
|
|
|
2900
2900
|
|
|
2901
2901
|
--
|
|
2902
2902
|
|
|
2903
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
|
2903
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/generic.rb#L58) ios
|
|
2904
2904
|
|
|
2905
2905
|
> def select_visible_elements(elements)
|
|
2906
2906
|
|
|
@@ -2908,7 +2908,7 @@ Return visible elements.
|
|
|
2908
2908
|
|
|
2909
2909
|
--
|
|
2910
2910
|
|
|
2911
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
|
2911
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
|
2912
2912
|
|
|
2913
2913
|
> UIATextField = 'UIATextField'.freeze
|
|
2914
2914
|
|
|
@@ -2916,7 +2916,7 @@ Return visible elements.
|
|
|
2916
2916
|
|
|
2917
2917
|
--
|
|
2918
2918
|
|
|
2919
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2919
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
|
2920
2920
|
|
|
2921
2921
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
|
2922
2922
|
|
|
@@ -2924,7 +2924,7 @@ Return visible elements.
|
|
|
2924
2924
|
|
|
2925
2925
|
--
|
|
2926
2926
|
|
|
2927
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
|
2927
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
|
2928
2928
|
|
|
2929
2929
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
|
2930
2930
|
|
|
@@ -2932,7 +2932,7 @@ Return visible elements.
|
|
|
2932
2932
|
|
|
2933
2933
|
--
|
|
2934
2934
|
|
|
2935
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
|
2935
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
|
2936
2936
|
|
|
2937
2937
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
|
2938
2938
|
|
|
@@ -2940,7 +2940,7 @@ Return visible elements.
|
|
|
2940
2940
|
|
|
2941
2941
|
--
|
|
2942
2942
|
|
|
2943
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2943
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
2944
2944
|
|
|
2945
2945
|
> def text_field_class
|
|
2946
2946
|
|
|
@@ -2952,7 +2952,7 @@ __Returns:__
|
|
|
2952
2952
|
|
|
2953
2953
|
--
|
|
2954
2954
|
|
|
2955
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
|
2955
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
|
2956
2956
|
|
|
2957
2957
|
> def secure_text_field_class
|
|
2958
2958
|
|
|
@@ -2964,7 +2964,7 @@ __Returns:__
|
|
|
2964
2964
|
|
|
2965
2965
|
--
|
|
2966
2966
|
|
|
2967
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
|
2967
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
|
2968
2968
|
|
|
2969
2969
|
> def _textfield_visible
|
|
2970
2970
|
|
|
@@ -2972,7 +2972,7 @@ Appium
|
|
|
2972
2972
|
|
|
2973
2973
|
--
|
|
2974
2974
|
|
|
2975
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
2975
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
|
2976
2976
|
|
|
2977
2977
|
> def _textfield_exact_string(value)
|
|
2978
2978
|
|
|
@@ -2980,7 +2980,7 @@ Appium
|
|
|
2980
2980
|
|
|
2981
2981
|
--
|
|
2982
2982
|
|
|
2983
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
2983
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
|
2984
2984
|
|
|
2985
2985
|
> def _textfield_contains_string(value)
|
|
2986
2986
|
|
|
@@ -2988,7 +2988,7 @@ Appium
|
|
|
2988
2988
|
|
|
2989
2989
|
--
|
|
2990
2990
|
|
|
2991
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2991
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
|
2992
2992
|
|
|
2993
2993
|
> def textfield(value)
|
|
2994
2994
|
|
|
@@ -3006,7 +3006,7 @@ __Returns:__
|
|
|
3006
3006
|
|
|
3007
3007
|
--
|
|
3008
3008
|
|
|
3009
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
3009
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
|
3010
3010
|
|
|
3011
3011
|
> def textfields(value = false)
|
|
3012
3012
|
|
|
@@ -3023,7 +3023,7 @@ __Returns:__
|
|
|
3023
3023
|
|
|
3024
3024
|
--
|
|
3025
3025
|
|
|
3026
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3026
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
|
3027
3027
|
|
|
3028
3028
|
> def first_textfield
|
|
3029
3029
|
|
|
@@ -3035,7 +3035,7 @@ __Returns:__
|
|
|
3035
3035
|
|
|
3036
3036
|
--
|
|
3037
3037
|
|
|
3038
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
3038
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
|
3039
3039
|
|
|
3040
3040
|
> def last_textfield
|
|
3041
3041
|
|
|
@@ -3047,7 +3047,7 @@ __Returns:__
|
|
|
3047
3047
|
|
|
3048
3048
|
--
|
|
3049
3049
|
|
|
3050
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
3050
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
|
3051
3051
|
|
|
3052
3052
|
> def textfield_exact(value)
|
|
3053
3053
|
|
|
@@ -3063,7 +3063,7 @@ __Returns:__
|
|
|
3063
3063
|
|
|
3064
3064
|
--
|
|
3065
3065
|
|
|
3066
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
3066
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
|
3067
3067
|
|
|
3068
3068
|
> def textfields_exact(value)
|
|
3069
3069
|
|
|
@@ -3079,7 +3079,7 @@ __Returns:__
|
|
|
3079
3079
|
|
|
3080
3080
|
--
|
|
3081
3081
|
|
|
3082
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
3082
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L10) ios
|
|
3083
3083
|
|
|
3084
3084
|
> def swipe(direction:, element: nil)
|
|
3085
3085
|
|
|
@@ -3093,7 +3093,7 @@ __Parameters:__
|
|
|
3093
3093
|
|
|
3094
3094
|
--
|
|
3095
3095
|
|
|
3096
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
|
3096
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L30) ios
|
|
3097
3097
|
|
|
3098
3098
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
|
3099
3099
|
|
|
@@ -3107,7 +3107,7 @@ __Parameters:__
|
|
|
3107
3107
|
|
|
3108
3108
|
--
|
|
3109
3109
|
|
|
3110
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
3110
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L49) ios
|
|
3111
3111
|
|
|
3112
3112
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
|
3113
3113
|
|
|
@@ -3123,7 +3123,7 @@ __Parameters:__
|
|
|
3123
3123
|
|
|
3124
3124
|
--
|
|
3125
3125
|
|
|
3126
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
3126
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L66) ios
|
|
3127
3127
|
|
|
3128
3128
|
> def double_tap(x: nil, y: nil, element: nil)
|
|
3129
3129
|
|
|
@@ -3139,7 +3139,7 @@ __Parameters:__
|
|
|
3139
3139
|
|
|
3140
3140
|
--
|
|
3141
3141
|
|
|
3142
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
|
3142
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L84) ios
|
|
3143
3143
|
|
|
3144
3144
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
|
3145
3145
|
|
|
@@ -3157,7 +3157,7 @@ __Parameters:__
|
|
|
3157
3157
|
|
|
3158
3158
|
--
|
|
3159
3159
|
|
|
3160
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
3160
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L98) ios
|
|
3161
3161
|
|
|
3162
3162
|
> def two_finger_tap(element:)
|
|
3163
3163
|
|
|
@@ -3173,7 +3173,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
|
3173
3173
|
|
|
3174
3174
|
--
|
|
3175
3175
|
|
|
3176
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
3176
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L115) ios
|
|
3177
3177
|
|
|
3178
3178
|
> def tap(x:, y:, element: nil)
|
|
3179
3179
|
|
|
@@ -3189,7 +3189,7 @@ __Parameters:__
|
|
|
3189
3189
|
|
|
3190
3190
|
--
|
|
3191
3191
|
|
|
3192
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
|
3192
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L137) ios
|
|
3193
3193
|
|
|
3194
3194
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
|
3195
3195
|
|
|
@@ -3212,7 +3212,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
|
3212
3212
|
|
|
3213
3213
|
--
|
|
3214
3214
|
|
|
3215
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
|
3215
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L156) ios
|
|
3216
3216
|
|
|
3217
3217
|
> def select_picker_wheel(element:, order:, offset: nil)
|
|
3218
3218
|
|
|
@@ -3229,7 +3229,7 @@ __Parameters:__
|
|
|
3229
3229
|
|
|
3230
3230
|
--
|
|
3231
3231
|
|
|
3232
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
|
3232
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/ios/xcuitest_gestures.rb#L175) ios
|
|
3233
3233
|
|
|
3234
3234
|
> def alert(action:, button_label: nil)
|
|
3235
3235
|
|
|
@@ -3244,7 +3244,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
|
3244
3244
|
|
|
3245
3245
|
--
|
|
3246
3246
|
|
|
3247
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
3247
|
+
##### [value](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L12)
|
|
3248
3248
|
|
|
3249
3249
|
> def value
|
|
3250
3250
|
|
|
@@ -3254,7 +3254,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
3254
3254
|
|
|
3255
3255
|
--
|
|
3256
3256
|
|
|
3257
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
3257
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L19)
|
|
3258
3258
|
|
|
3259
3259
|
> def name
|
|
3260
3260
|
|
|
@@ -3264,7 +3264,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
3264
3264
|
|
|
3265
3265
|
--
|
|
3266
3266
|
|
|
3267
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
3267
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L31)
|
|
3268
3268
|
|
|
3269
3269
|
> def location_rel
|
|
3270
3270
|
|
|
@@ -3282,7 +3282,7 @@ __Returns:__
|
|
|
3282
3282
|
|
|
3283
3283
|
--
|
|
3284
3284
|
|
|
3285
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
3285
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L152)
|
|
3286
3286
|
|
|
3287
3287
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
3288
3288
|
|
|
@@ -3290,7 +3290,7 @@ __Returns:__
|
|
|
3290
3290
|
|
|
3291
3291
|
--
|
|
3292
3292
|
|
|
3293
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
|
3293
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L155)
|
|
3294
3294
|
|
|
3295
3295
|
> def patch_remote_driver_commands
|
|
3296
3296
|
|