appium_lib 9.4.3 → 9.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/android_tests/api.apk +0 -0
- data/android_tests/readme.md +1 -0
- data/docs/android_docs.md +240 -256
- data/docs/ios_docs.md +278 -259
- data/docs/travis.sample.yml +24 -0
- data/docs_gen/make_docs.rb +2 -2
- data/ios_tests/lib/ios/specs/ios/xcuitest_gestures.rb +38 -1
- data/lib/appium_lib/android/helper.rb +4 -42
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +17 -13
- data/lib/appium_lib/driver.rb +1 -2
- data/lib/appium_lib/ios/helper.rb +0 -56
- data/lib/appium_lib/ios/xcuitest_gestures.rb +17 -0
- data/release_notes.md +12 -0
- metadata +3 -2
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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/332599f8a5b134522f03ea375f7bc666e4e39c3d/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
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L279)
|
181
181
|
|
182
182
|
> def caps=(value)
|
183
183
|
|
@@ -185,7 +185,7 @@ Selenium webdriver capabilities
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L281)
|
189
189
|
|
190
190
|
> def custom_url
|
191
191
|
|
@@ -193,7 +193,7 @@ Custom URL for the selenium server
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L281)
|
197
197
|
|
198
198
|
> def custom_url=(value)
|
199
199
|
|
@@ -201,7 +201,7 @@ Custom URL for the selenium server
|
|
201
201
|
|
202
202
|
--
|
203
203
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L283)
|
205
205
|
|
206
206
|
> def export_session
|
207
207
|
|
@@ -209,7 +209,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
209
209
|
|
210
210
|
--
|
211
211
|
|
212
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L283)
|
213
213
|
|
214
214
|
> def export_session=(value)
|
215
215
|
|
@@ -217,7 +217,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L288)
|
221
221
|
|
222
222
|
> def default_wait
|
223
223
|
|
@@ -231,7 +231,7 @@ __Returns:__
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L290)
|
235
235
|
|
236
236
|
> def sauce_username
|
237
237
|
|
@@ -239,7 +239,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L290)
|
243
243
|
|
244
244
|
> def sauce_username=(value)
|
245
245
|
|
@@ -247,7 +247,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L292)
|
251
251
|
|
252
252
|
> def sauce_access_key
|
253
253
|
|
@@ -255,7 +255,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L292)
|
259
259
|
|
260
260
|
> def sauce_access_key=(value)
|
261
261
|
|
@@ -263,7 +263,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L294)
|
267
267
|
|
268
268
|
> def sauce_endpoint
|
269
269
|
|
@@ -271,7 +271,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L294)
|
275
275
|
|
276
276
|
> def sauce_endpoint=(value)
|
277
277
|
|
@@ -279,7 +279,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L296)
|
283
283
|
|
284
284
|
> def appium_port
|
285
285
|
|
@@ -287,7 +287,7 @@ Appium's server port
|
|
287
287
|
|
288
288
|
--
|
289
289
|
|
290
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L296)
|
291
291
|
|
292
292
|
> def appium_port=(value)
|
293
293
|
|
@@ -295,7 +295,7 @@ Appium's server port
|
|
295
295
|
|
296
296
|
--
|
297
297
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L298)
|
299
299
|
|
300
300
|
> def appium_device
|
301
301
|
|
@@ -303,7 +303,7 @@ Device type to request from the appium server
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L298)
|
307
307
|
|
308
308
|
> def appium_device=(value)
|
309
309
|
|
@@ -311,7 +311,7 @@ Device type to request from the appium server
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L301)
|
315
315
|
|
316
316
|
> def automation_name
|
317
317
|
|
@@ -320,7 +320,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
320
320
|
|
321
321
|
--
|
322
322
|
|
323
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L303)
|
324
324
|
|
325
325
|
> def appium_server_status
|
326
326
|
|
@@ -328,7 +328,7 @@ Appium's server version
|
|
328
328
|
|
329
329
|
--
|
330
330
|
|
331
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
331
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L305)
|
332
332
|
|
333
333
|
> def appium_debug
|
334
334
|
|
@@ -336,7 +336,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
336
336
|
|
337
337
|
--
|
338
338
|
|
339
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
339
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L305)
|
340
340
|
|
341
341
|
> def appium_debug=(value)
|
342
342
|
|
@@ -344,7 +344,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
344
344
|
|
345
345
|
--
|
346
346
|
|
347
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
347
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L307)
|
348
348
|
|
349
349
|
> def listener
|
350
350
|
|
@@ -352,7 +352,7 @@ instance of AbstractEventListener for logging support
|
|
352
352
|
|
353
353
|
--
|
354
354
|
|
355
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
355
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L307)
|
356
356
|
|
357
357
|
> def listener=(value)
|
358
358
|
|
@@ -360,7 +360,7 @@ instance of AbstractEventListener for logging support
|
|
360
360
|
|
361
361
|
--
|
362
362
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L310)
|
364
364
|
|
365
365
|
> def driver
|
366
366
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
372
372
|
|
373
373
|
--
|
374
374
|
|
375
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L313)
|
376
376
|
|
377
377
|
> def http_client
|
378
378
|
|
@@ -384,7 +384,7 @@ __Returns:__
|
|
384
384
|
|
385
385
|
--
|
386
386
|
|
387
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
387
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L318)
|
388
388
|
|
389
389
|
> def appium_wait_timeout
|
390
390
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
398
398
|
|
399
399
|
--
|
400
400
|
|
401
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L323)
|
402
402
|
|
403
403
|
> def appium_wait_interval
|
404
404
|
|
@@ -412,7 +412,7 @@ __Returns:__
|
|
412
412
|
|
413
413
|
--
|
414
414
|
|
415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L363)
|
416
416
|
|
417
417
|
> def initialize(opts = {})
|
418
418
|
|
@@ -428,7 +428,7 @@ __Returns:__
|
|
428
428
|
|
429
429
|
--
|
430
430
|
|
431
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
431
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L441)
|
432
432
|
|
433
433
|
> def driver_attributes
|
434
434
|
|
@@ -436,7 +436,7 @@ Returns a hash of the driver attributes
|
|
436
436
|
|
437
437
|
--
|
438
438
|
|
439
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L466)
|
440
440
|
|
441
441
|
> def device_is_android?
|
442
442
|
|
@@ -448,7 +448,7 @@ __Returns:__
|
|
448
448
|
|
449
449
|
--
|
450
450
|
|
451
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L472)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L478)
|
464
464
|
|
465
465
|
> def automation_name_is_uiautomator2?
|
466
466
|
|
@@ -472,7 +472,7 @@ __Returns:__
|
|
472
472
|
|
473
473
|
--
|
474
474
|
|
475
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
475
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L485)
|
476
476
|
|
477
477
|
> def check_server_version_xcuitest
|
478
478
|
|
@@ -485,7 +485,7 @@ __Returns:__
|
|
485
485
|
|
486
486
|
--
|
487
487
|
|
488
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L506)
|
489
489
|
|
490
490
|
> def appium_server_version
|
491
491
|
|
@@ -506,7 +506,7 @@ __Returns:__
|
|
506
506
|
|
507
507
|
--
|
508
508
|
|
509
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L523)
|
510
510
|
|
511
511
|
> def appium_client_version
|
512
512
|
|
@@ -524,7 +524,7 @@ __Returns:__
|
|
524
524
|
|
525
525
|
--
|
526
526
|
|
527
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L535)
|
528
528
|
|
529
529
|
> def self.absolute_app_path(opts)
|
530
530
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L568)
|
545
545
|
|
546
546
|
> def server_url
|
547
547
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
553
553
|
|
554
554
|
--
|
555
555
|
|
556
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L579)
|
557
557
|
|
558
558
|
> def restart
|
559
559
|
|
@@ -565,7 +565,7 @@ __Returns:__
|
|
565
565
|
|
566
566
|
--
|
567
567
|
|
568
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L590)
|
569
569
|
|
570
570
|
> def screenshot(png_save_path)
|
571
571
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
583
583
|
|
584
584
|
--
|
585
585
|
|
586
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L597)
|
587
587
|
|
588
588
|
> def driver_quit
|
589
589
|
|
@@ -595,7 +595,7 @@ __Returns:__
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L607)
|
599
599
|
|
600
600
|
> def start_driver
|
601
601
|
|
@@ -607,7 +607,7 @@ __Returns:__
|
|
607
607
|
|
608
608
|
--
|
609
609
|
|
610
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L645)
|
611
611
|
|
612
612
|
> def no_wait
|
613
613
|
|
@@ -615,7 +615,7 @@ Set implicit wait to zero.
|
|
615
615
|
|
616
616
|
--
|
617
617
|
|
618
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
618
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L659)
|
619
619
|
|
620
620
|
> def set_wait(timeout = nil)
|
621
621
|
|
@@ -637,7 +637,7 @@ __Returns:__
|
|
637
637
|
|
638
638
|
--
|
639
639
|
|
640
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
640
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L676)
|
641
641
|
|
642
642
|
> def exists(pre_check = 0, post_check = @default_wait)
|
643
643
|
|
@@ -661,7 +661,7 @@ __Returns:__
|
|
661
661
|
|
662
662
|
--
|
663
663
|
|
664
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L700)
|
665
665
|
|
666
666
|
> def execute_script(script, *args)
|
667
667
|
|
@@ -679,7 +679,7 @@ __Returns:__
|
|
679
679
|
|
680
680
|
--
|
681
681
|
|
682
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L722)
|
683
683
|
|
684
684
|
> def find_elements(*args)
|
685
685
|
|
@@ -705,7 +705,7 @@ __Returns:__
|
|
705
705
|
|
706
706
|
--
|
707
707
|
|
708
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L737)
|
709
709
|
|
710
710
|
> def find_element(*args)
|
711
711
|
|
@@ -726,7 +726,7 @@ __Returns:__
|
|
726
726
|
|
727
727
|
--
|
728
728
|
|
729
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L750)
|
730
730
|
|
731
731
|
> def set_location(opts = {})
|
732
732
|
|
@@ -742,7 +742,7 @@ __Returns:__
|
|
742
742
|
|
743
743
|
--
|
744
744
|
|
745
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [x](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L760)
|
746
746
|
|
747
747
|
> def x
|
748
748
|
|
@@ -755,7 +755,7 @@ __Returns:__
|
|
755
755
|
|
756
756
|
--
|
757
757
|
|
758
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
758
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/driver.rb#L769)
|
759
759
|
|
760
760
|
> def set_automation_name_if_nil
|
761
761
|
|
@@ -764,7 +764,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/logger.rb#L13)
|
768
768
|
|
769
769
|
> def logger=(value)
|
770
770
|
|
@@ -776,7 +776,7 @@ __Parameters:__
|
|
776
776
|
|
777
777
|
--
|
778
778
|
|
779
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
779
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/logger.rb#L17)
|
780
780
|
|
781
781
|
> def logger
|
782
782
|
|
@@ -784,7 +784,7 @@ __Parameters:__
|
|
784
784
|
|
785
785
|
--
|
786
786
|
|
787
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
787
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L7)
|
788
788
|
|
789
789
|
> def app_strings
|
790
790
|
|
@@ -795,7 +795,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
795
795
|
|
796
796
|
--
|
797
797
|
|
798
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
798
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L13)
|
799
799
|
|
800
800
|
> def background_app
|
801
801
|
|
@@ -804,7 +804,7 @@ This is a blocking application
|
|
804
804
|
|
805
805
|
--
|
806
806
|
|
807
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L24)
|
808
808
|
|
809
809
|
> def current_activity
|
810
810
|
|
@@ -812,7 +812,7 @@ This is a blocking application
|
|
812
812
|
|
813
813
|
--
|
814
814
|
|
815
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L26)
|
816
816
|
|
817
817
|
> def get_system_bars
|
818
818
|
|
@@ -827,7 +827,7 @@ __Returns:__
|
|
827
827
|
|
828
828
|
--
|
829
829
|
|
830
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L34)
|
831
831
|
|
832
832
|
> def get_display_density
|
833
833
|
|
@@ -842,7 +842,7 @@ __Returns:__
|
|
842
842
|
|
843
843
|
--
|
844
844
|
|
845
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
845
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L42)
|
846
846
|
|
847
847
|
> def is_keyboard_shown
|
848
848
|
|
@@ -857,7 +857,7 @@ __Returns:__
|
|
857
857
|
|
858
858
|
--
|
859
859
|
|
860
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L50)
|
861
861
|
|
862
862
|
> def launch_app
|
863
863
|
|
@@ -865,7 +865,7 @@ Start the simulator and application configured with desired capabilities
|
|
865
865
|
|
866
866
|
--
|
867
867
|
|
868
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L53)
|
869
869
|
|
870
870
|
> def reset
|
871
871
|
|
@@ -873,7 +873,7 @@ Reset the device, relaunching the application.
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L56)
|
877
877
|
|
878
878
|
> def shake
|
879
879
|
|
@@ -881,7 +881,7 @@ Cause the device to shake
|
|
881
881
|
|
882
882
|
--
|
883
883
|
|
884
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L59)
|
885
885
|
|
886
886
|
> def toggle_flight_mode
|
887
887
|
|
@@ -889,7 +889,7 @@ Toggle flight mode on or off
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L62)
|
893
893
|
|
894
894
|
> def device_locked?
|
895
895
|
|
@@ -897,7 +897,7 @@ Toggle flight mode on or off
|
|
897
897
|
|
898
898
|
--
|
899
899
|
|
900
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L64)
|
901
901
|
|
902
902
|
> def hide_keyboard
|
903
903
|
|
@@ -906,11 +906,15 @@ Hide the onscreen keyboard
|
|
906
906
|
__Parameters:__
|
907
907
|
|
908
908
|
[String] close_key - The name of the key which closes the keyboard.
|
909
|
-
Defaults to 'Done'.
|
909
|
+
Defaults to 'Done' for iOS(except for XCUITest).
|
910
|
+
|
911
|
+
[Symbol] strategy - The symbol of the strategy which closes the keyboard.
|
912
|
+
XCUITest ignore this argument.
|
913
|
+
Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
910
914
|
|
911
915
|
--
|
912
916
|
|
913
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
917
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L77)
|
914
918
|
|
915
919
|
> def press_keycode
|
916
920
|
|
@@ -925,7 +929,7 @@ __Parameters:__
|
|
925
929
|
|
926
930
|
--
|
927
931
|
|
928
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
932
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L83)
|
929
933
|
|
930
934
|
> def long_press_keycode
|
931
935
|
|
@@ -940,7 +944,7 @@ __Parameters:__
|
|
940
944
|
|
941
945
|
--
|
942
946
|
|
943
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L89)
|
944
948
|
|
945
949
|
> def push_file
|
946
950
|
|
@@ -954,7 +958,7 @@ __Parameters:__
|
|
954
958
|
|
955
959
|
--
|
956
960
|
|
957
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L94)
|
958
962
|
|
959
963
|
> def pull_file
|
960
964
|
|
@@ -971,7 +975,7 @@ __Parameters:__
|
|
971
975
|
|
972
976
|
--
|
973
977
|
|
974
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
978
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L104)
|
975
979
|
|
976
980
|
> def pull_folder
|
977
981
|
|
@@ -986,7 +990,7 @@ __Parameters:__
|
|
986
990
|
|
987
991
|
--
|
988
992
|
|
989
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
993
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L112)
|
990
994
|
|
991
995
|
> def touch_id
|
992
996
|
|
@@ -1003,7 +1007,7 @@ Defaults to true.
|
|
1003
1007
|
|
1004
1008
|
--
|
1005
1009
|
|
1006
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
1010
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L121)
|
1007
1011
|
|
1008
1012
|
> def toggle_touch_id_enrollment
|
1009
1013
|
|
@@ -1011,7 +1015,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
1011
1015
|
|
1012
1016
|
--
|
1013
1017
|
|
1014
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
1018
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L124)
|
1015
1019
|
|
1016
1020
|
> def end_coverage
|
1017
1021
|
|
@@ -1025,7 +1029,7 @@ __Parameters:__
|
|
1025
1029
|
|
1026
1030
|
--
|
1027
1031
|
|
1028
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L129)
|
1029
1033
|
|
1030
1034
|
> def get_settings
|
1031
1035
|
|
@@ -1033,7 +1037,7 @@ Get appium Settings for current test session
|
|
1033
1037
|
|
1034
1038
|
--
|
1035
1039
|
|
1036
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L132)
|
1037
1041
|
|
1038
1042
|
> def update_settings
|
1039
1043
|
|
@@ -1045,7 +1049,7 @@ __Parameters:__
|
|
1045
1049
|
|
1046
1050
|
--
|
1047
1051
|
|
1048
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L136)
|
1049
1053
|
|
1050
1054
|
> def start_activity
|
1051
1055
|
|
@@ -1059,7 +1063,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1059
1063
|
|
1060
1064
|
--
|
1061
1065
|
|
1062
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1066
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L150)
|
1063
1067
|
|
1064
1068
|
> def get_network_connection
|
1065
1069
|
|
@@ -1068,7 +1072,7 @@ See set_network_connection method for return value
|
|
1068
1072
|
|
1069
1073
|
--
|
1070
1074
|
|
1071
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1075
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L154)
|
1072
1076
|
|
1073
1077
|
> def set_network_connection
|
1074
1078
|
|
@@ -1087,7 +1091,7 @@ __Parameters:__
|
|
1087
1091
|
|
1088
1092
|
--
|
1089
1093
|
|
1090
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1094
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L167)
|
1091
1095
|
|
1092
1096
|
> def set_immediate_value
|
1093
1097
|
|
@@ -1101,7 +1105,7 @@ set_immediate_value element, 'hello'
|
|
1101
1105
|
|
1102
1106
|
--
|
1103
1107
|
|
1104
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1108
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L176)
|
1105
1109
|
|
1106
1110
|
> def get_performance_data_types
|
1107
1111
|
|
@@ -1115,7 +1119,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1115
1119
|
|
1116
1120
|
--
|
1117
1121
|
|
1118
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1122
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L438)
|
1119
1123
|
|
1120
1124
|
> def extend_search_contexts
|
1121
1125
|
|
@@ -1123,7 +1127,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1123
1127
|
|
1124
1128
|
--
|
1125
1129
|
|
1126
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1130
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L438)
|
1127
1131
|
|
1128
1132
|
> def find_element_with_appium
|
1129
1133
|
|
@@ -1131,7 +1135,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1131
1135
|
|
1132
1136
|
--
|
1133
1137
|
|
1134
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1138
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L438)
|
1135
1139
|
|
1136
1140
|
> def find_elements_with_appium
|
1137
1141
|
|
@@ -1143,7 +1147,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1143
1147
|
|
1144
1148
|
--
|
1145
1149
|
|
1146
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1150
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L469)
|
1147
1151
|
|
1148
1152
|
> def add_touch_actions
|
1149
1153
|
|
@@ -1151,7 +1155,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1151
1155
|
|
1152
1156
|
--
|
1153
1157
|
|
1154
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1158
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L492)
|
1155
1159
|
|
1156
1160
|
> def add_ime_actions
|
1157
1161
|
|
@@ -1159,7 +1163,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1159
1163
|
|
1160
1164
|
--
|
1161
1165
|
|
1162
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1166
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L567)
|
1163
1167
|
|
1164
1168
|
> def set_context
|
1165
1169
|
|
@@ -1174,7 +1178,7 @@ __Parameters:__
|
|
1174
1178
|
|
1175
1179
|
--
|
1176
1180
|
|
1177
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1181
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L575)
|
1178
1182
|
|
1179
1183
|
> def current_context
|
1180
1184
|
|
@@ -1186,7 +1190,7 @@ __Returns:__
|
|
1186
1190
|
|
1187
1191
|
--
|
1188
1192
|
|
1189
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L578)
|
1190
1194
|
|
1191
1195
|
> def available_contexts
|
1192
1196
|
|
@@ -1198,7 +1202,7 @@ __Returns:__
|
|
1198
1202
|
|
1199
1203
|
--
|
1200
1204
|
|
1201
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L588)
|
1202
1206
|
|
1203
1207
|
> def within_context(context)
|
1204
1208
|
|
@@ -1214,7 +1218,7 @@ __Parameters:__
|
|
1214
1218
|
|
1215
1219
|
--
|
1216
1220
|
|
1217
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/device.rb#L596)
|
1218
1222
|
|
1219
1223
|
> def switch_to_default_context
|
1220
1224
|
|
@@ -1222,7 +1226,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1222
1226
|
|
1223
1227
|
--
|
1224
1228
|
|
1225
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L28)
|
1226
1230
|
|
1227
1231
|
> def pinch(percentage = 25, auto_perform = true)
|
1228
1232
|
|
@@ -1241,7 +1245,7 @@ __Parameters:__
|
|
1241
1245
|
|
1242
1246
|
--
|
1243
1247
|
|
1244
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L57)
|
1245
1249
|
|
1246
1250
|
> def zoom(percentage = 200, auto_perform = true)
|
1247
1251
|
|
@@ -1260,7 +1264,7 @@ __Parameters:__
|
|
1260
1264
|
|
1261
1265
|
--
|
1262
1266
|
|
1263
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L79)
|
1264
1268
|
|
1265
1269
|
> def pinch_for_xcuitest(rate)
|
1266
1270
|
|
@@ -1268,7 +1272,7 @@ __Parameters:__
|
|
1268
1272
|
|
1269
1273
|
--
|
1270
1274
|
|
1271
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L94)
|
1272
1276
|
|
1273
1277
|
> def pinch_android(rate)
|
1274
1278
|
|
@@ -1276,7 +1280,7 @@ __Parameters:__
|
|
1276
1280
|
|
1277
1281
|
--
|
1278
1282
|
|
1279
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L108)
|
1280
1284
|
|
1281
1285
|
> def pinch_ios(rate)
|
1282
1286
|
|
@@ -1284,7 +1288,7 @@ __Parameters:__
|
|
1284
1288
|
|
1285
1289
|
--
|
1286
1290
|
|
1287
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L122)
|
1288
1292
|
|
1289
1293
|
> def zoom_for_xcuitest(rate)
|
1290
1294
|
|
@@ -1292,7 +1296,7 @@ __Parameters:__
|
|
1292
1296
|
|
1293
1297
|
--
|
1294
1298
|
|
1295
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L137)
|
1296
1300
|
|
1297
1301
|
> def zoom_android(rate)
|
1298
1302
|
|
@@ -1300,7 +1304,7 @@ __Parameters:__
|
|
1300
1304
|
|
1301
1305
|
--
|
1302
1306
|
|
1303
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L151)
|
1304
1308
|
|
1305
1309
|
> def zoom_ios(rate)
|
1306
1310
|
|
@@ -1308,7 +1312,7 @@ __Parameters:__
|
|
1308
1312
|
|
1309
1313
|
--
|
1310
1314
|
|
1311
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L166)
|
1312
1316
|
|
1313
1317
|
> def actions
|
1314
1318
|
|
@@ -1316,7 +1320,7 @@ self
|
|
1316
1320
|
|
1317
1321
|
--
|
1318
1322
|
|
1319
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L169)
|
1320
1324
|
|
1321
1325
|
> def initialize
|
1322
1326
|
|
@@ -1328,7 +1332,7 @@ __Returns:__
|
|
1328
1332
|
|
1329
1333
|
--
|
1330
1334
|
|
1331
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [add](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L175)
|
1332
1336
|
|
1333
1337
|
> def add(chain)
|
1334
1338
|
|
@@ -1340,7 +1344,7 @@ __Parameters:__
|
|
1340
1344
|
|
1341
1345
|
--
|
1342
1346
|
|
1343
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/multi_touch.rb#L180)
|
1344
1348
|
|
1345
1349
|
> def perform
|
1346
1350
|
|
@@ -1348,7 +1352,7 @@ Ask Appium to perform the actions
|
|
1348
1352
|
|
1349
1353
|
--
|
1350
1354
|
|
1351
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L20)
|
1352
1356
|
|
1353
1357
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1354
1358
|
|
@@ -1356,7 +1360,7 @@ Ask Appium to perform the actions
|
|
1356
1360
|
|
1357
1361
|
--
|
1358
1362
|
|
1359
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L21)
|
1360
1364
|
|
1361
1365
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1362
1366
|
|
@@ -1364,7 +1368,7 @@ Ask Appium to perform the actions
|
|
1364
1368
|
|
1365
1369
|
--
|
1366
1370
|
|
1367
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L35)
|
1368
1372
|
|
1369
1373
|
> def actions
|
1370
1374
|
|
@@ -1372,7 +1376,7 @@ Returns the value of attribute actions
|
|
1372
1376
|
|
1373
1377
|
--
|
1374
1378
|
|
1375
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L37)
|
1376
1380
|
|
1377
1381
|
> def initialize
|
1378
1382
|
|
@@ -1384,7 +1388,7 @@ __Returns:__
|
|
1384
1388
|
|
1385
1389
|
--
|
1386
1390
|
|
1387
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L48)
|
1388
1392
|
|
1389
1393
|
> def move_to(opts)
|
1390
1394
|
|
@@ -1398,7 +1402,7 @@ __Parameters:__
|
|
1398
1402
|
|
1399
1403
|
--
|
1400
1404
|
|
1401
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L62)
|
1402
1406
|
|
1403
1407
|
> def long_press(opts)
|
1404
1408
|
|
@@ -1419,7 +1423,7 @@ __Parameters:__
|
|
1419
1423
|
|
1420
1424
|
--
|
1421
1425
|
|
1422
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [press](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L74)
|
1423
1427
|
|
1424
1428
|
> def press(opts)
|
1425
1429
|
|
@@ -1432,7 +1436,7 @@ __Parameters:__
|
|
1432
1436
|
|
1433
1437
|
--
|
1434
1438
|
|
1435
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [release](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L85)
|
1436
1440
|
|
1437
1441
|
> def release(opts = nil)
|
1438
1442
|
|
@@ -1444,7 +1448,7 @@ __Parameters:__
|
|
1444
1448
|
|
1445
1449
|
--
|
1446
1450
|
|
1447
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1451
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L97)
|
1448
1452
|
|
1449
1453
|
> def tap(opts)
|
1450
1454
|
|
@@ -1457,7 +1461,7 @@ __Parameters:__
|
|
1457
1461
|
|
1458
1462
|
--
|
1459
1463
|
|
1460
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1464
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L110)
|
1461
1465
|
|
1462
1466
|
> def double_tap(opts)
|
1463
1467
|
|
@@ -1469,7 +1473,7 @@ __Parameters:__
|
|
1469
1473
|
|
1470
1474
|
--
|
1471
1475
|
|
1472
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1476
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L121)
|
1473
1477
|
|
1474
1478
|
> def two_finger_tap(opts)
|
1475
1479
|
|
@@ -1481,7 +1485,7 @@ __Parameters:__
|
|
1481
1485
|
|
1482
1486
|
--
|
1483
1487
|
|
1484
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L129)
|
1485
1489
|
|
1486
1490
|
> def wait(milliseconds)
|
1487
1491
|
|
@@ -1493,7 +1497,7 @@ __Parameters:__
|
|
1493
1497
|
|
1494
1498
|
--
|
1495
1499
|
|
1496
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1500
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L152)
|
1497
1501
|
|
1498
1502
|
> def swipe(opts, ele = nil)
|
1499
1503
|
|
@@ -1514,7 +1518,7 @@ __Parameters:__
|
|
1514
1518
|
|
1515
1519
|
--
|
1516
1520
|
|
1517
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1521
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L177)
|
1518
1522
|
|
1519
1523
|
> def perform
|
1520
1524
|
|
@@ -1522,7 +1526,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1522
1526
|
|
1523
1527
|
--
|
1524
1528
|
|
1525
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1529
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L184)
|
1526
1530
|
|
1527
1531
|
> def cancel
|
1528
1532
|
|
@@ -1530,7 +1534,7 @@ Does nothing, currently.
|
|
1530
1534
|
|
1531
1535
|
--
|
1532
1536
|
|
1533
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L190)
|
1534
1538
|
|
1535
1539
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1536
1540
|
|
@@ -1538,7 +1542,7 @@ Does nothing, currently.
|
|
1538
1542
|
|
1539
1543
|
--
|
1540
1544
|
|
1541
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1545
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L208)
|
1542
1546
|
|
1543
1547
|
> def chain_method(method, args = nil)
|
1544
1548
|
|
@@ -1546,7 +1550,7 @@ Does nothing, currently.
|
|
1546
1550
|
|
1547
1551
|
--
|
1548
1552
|
|
1549
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/device/touch_actions.rb#L214)
|
1550
1554
|
|
1551
1555
|
> def args_with_ele_ref(args)
|
1552
1556
|
|
@@ -1554,7 +1558,7 @@ Does nothing, currently.
|
|
1554
1558
|
|
1555
1559
|
--
|
1556
1560
|
|
1557
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1561
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/wait.rb#L9)
|
1558
1562
|
|
1559
1563
|
> def _generic_wait(opts = {})
|
1560
1564
|
|
@@ -1563,7 +1567,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1563
1567
|
|
1564
1568
|
--
|
1565
1569
|
|
1566
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1570
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/wait.rb#L48)
|
1567
1571
|
|
1568
1572
|
> def _process_wait_opts(opts)
|
1569
1573
|
|
@@ -1571,7 +1575,7 @@ process opts before calling _generic_wait
|
|
1571
1575
|
|
1572
1576
|
--
|
1573
1577
|
|
1574
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1578
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/wait.rb#L69)
|
1575
1579
|
|
1576
1580
|
> def wait_true(opts = {}, &block)
|
1577
1581
|
|
@@ -1591,7 +1595,7 @@ __Parameters:__
|
|
1591
1595
|
|
1592
1596
|
--
|
1593
1597
|
|
1594
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1598
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/wait.rb#L87)
|
1595
1599
|
|
1596
1600
|
> def wait(opts = {}, &block)
|
1597
1601
|
|
@@ -1609,7 +1613,7 @@ __Parameters:__
|
|
1609
1613
|
|
1610
1614
|
--
|
1611
1615
|
|
1612
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1616
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L24)
|
1613
1617
|
|
1614
1618
|
> def ignore
|
1615
1619
|
|
@@ -1617,7 +1621,7 @@ Return yield and ignore any exceptions.
|
|
1617
1621
|
|
1618
1622
|
--
|
1619
1623
|
|
1620
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1624
|
+
##### [back](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L31)
|
1621
1625
|
|
1622
1626
|
> def back
|
1623
1627
|
|
@@ -1629,7 +1633,7 @@ __Returns:__
|
|
1629
1633
|
|
1630
1634
|
--
|
1631
1635
|
|
1632
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1636
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L36)
|
1633
1637
|
|
1634
1638
|
> def session_id
|
1635
1639
|
|
@@ -1637,7 +1641,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1637
1641
|
|
1638
1642
|
--
|
1639
1643
|
|
1640
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1644
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L44)
|
1641
1645
|
|
1642
1646
|
> def xpath(xpath_str)
|
1643
1647
|
|
@@ -1653,7 +1657,7 @@ __Returns:__
|
|
1653
1657
|
|
1654
1658
|
--
|
1655
1659
|
|
1656
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1660
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L52)
|
1657
1661
|
|
1658
1662
|
> def xpaths(xpath_str)
|
1659
1663
|
|
@@ -1669,7 +1673,7 @@ __Returns:__
|
|
1669
1673
|
|
1670
1674
|
--
|
1671
1675
|
|
1672
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1676
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L56)
|
1673
1677
|
|
1674
1678
|
> def _print_source(source)
|
1675
1679
|
|
@@ -1677,7 +1681,7 @@ __Returns:__
|
|
1677
1681
|
|
1678
1682
|
--
|
1679
1683
|
|
1680
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1684
|
+
##### [result](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L69)
|
1681
1685
|
|
1682
1686
|
> def result
|
1683
1687
|
|
@@ -1685,7 +1689,7 @@ Returns the value of attribute result
|
|
1685
1689
|
|
1686
1690
|
--
|
1687
1691
|
|
1688
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1692
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L71)
|
1689
1693
|
|
1690
1694
|
> def initialize
|
1691
1695
|
|
@@ -1697,7 +1701,7 @@ __Returns:__
|
|
1697
1701
|
|
1698
1702
|
--
|
1699
1703
|
|
1700
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1704
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L75)
|
1701
1705
|
|
1702
1706
|
> def reset
|
1703
1707
|
|
@@ -1705,7 +1709,7 @@ __Returns:__
|
|
1705
1709
|
|
1706
1710
|
--
|
1707
1711
|
|
1708
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1712
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L80)
|
1709
1713
|
|
1710
1714
|
> def start_element(name, attrs = [])
|
1711
1715
|
|
@@ -1713,7 +1717,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1713
1717
|
|
1714
1718
|
--
|
1715
1719
|
|
1716
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1720
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L86)
|
1717
1721
|
|
1718
1722
|
> def formatted_result
|
1719
1723
|
|
@@ -1721,7 +1725,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1721
1725
|
|
1722
1726
|
--
|
1723
1727
|
|
1724
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1728
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L97)
|
1725
1729
|
|
1726
1730
|
> def get_page_class
|
1727
1731
|
|
@@ -1729,7 +1733,7 @@ Returns a string of class counts of visible elements.
|
|
1729
1733
|
|
1730
1734
|
--
|
1731
1735
|
|
1732
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1736
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L108)
|
1733
1737
|
|
1734
1738
|
> def page_class
|
1735
1739
|
|
@@ -1738,7 +1742,7 @@ Useful for appium_console.
|
|
1738
1742
|
|
1739
1743
|
--
|
1740
1744
|
|
1741
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1745
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L118)
|
1742
1746
|
|
1743
1747
|
> def px_to_window_rel(opts = {})
|
1744
1748
|
|
@@ -1750,7 +1754,7 @@ px_to_window_rel x: 50, y: 150
|
|
1750
1754
|
|
1751
1755
|
--
|
1752
1756
|
|
1753
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L137)
|
1754
1758
|
|
1755
1759
|
> def xml_keys(target)
|
1756
1760
|
|
@@ -1766,7 +1770,7 @@ __Returns:__
|
|
1766
1770
|
|
1767
1771
|
--
|
1768
1772
|
|
1769
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1773
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L145)
|
1770
1774
|
|
1771
1775
|
> def xml_values(target)
|
1772
1776
|
|
@@ -1782,7 +1786,7 @@ __Returns:__
|
|
1782
1786
|
|
1783
1787
|
--
|
1784
1788
|
|
1785
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L153)
|
1786
1790
|
|
1787
1791
|
> def resolve_id(id)
|
1788
1792
|
|
@@ -1798,7 +1802,7 @@ __Returns:__
|
|
1798
1802
|
|
1799
1803
|
--
|
1800
1804
|
|
1801
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L159)
|
1802
1806
|
|
1803
1807
|
> def filter
|
1804
1808
|
|
@@ -1806,7 +1810,7 @@ Returns the value of attribute filter
|
|
1806
1810
|
|
1807
1811
|
--
|
1808
1812
|
|
1809
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1813
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L162)
|
1810
1814
|
|
1811
1815
|
> def filter=(value)
|
1812
1816
|
|
@@ -1814,7 +1818,7 @@ convert to string to support symbols
|
|
1814
1818
|
|
1815
1819
|
--
|
1816
1820
|
|
1817
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L168)
|
1818
1822
|
|
1819
1823
|
> def initialize
|
1820
1824
|
|
@@ -1826,7 +1830,7 @@ __Returns:__
|
|
1826
1830
|
|
1827
1831
|
--
|
1828
1832
|
|
1829
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1833
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L173)
|
1830
1834
|
|
1831
1835
|
> def reset
|
1832
1836
|
|
@@ -1834,7 +1838,7 @@ __Returns:__
|
|
1834
1838
|
|
1835
1839
|
--
|
1836
1840
|
|
1837
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1841
|
+
##### [result](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L179)
|
1838
1842
|
|
1839
1843
|
> def result
|
1840
1844
|
|
@@ -1842,7 +1846,7 @@ __Returns:__
|
|
1842
1846
|
|
1843
1847
|
--
|
1844
1848
|
|
1845
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L195)
|
1846
1850
|
|
1847
1851
|
> def start_element(name, attrs = [])
|
1848
1852
|
|
@@ -1850,7 +1854,7 @@ __Returns:__
|
|
1850
1854
|
|
1851
1855
|
--
|
1852
1856
|
|
1853
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1857
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L204)
|
1854
1858
|
|
1855
1859
|
> def end_element(name)
|
1856
1860
|
|
@@ -1858,7 +1862,7 @@ __Returns:__
|
|
1858
1862
|
|
1859
1863
|
--
|
1860
1864
|
|
1861
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L210)
|
1862
1866
|
|
1863
1867
|
> def characters(chars)
|
1864
1868
|
|
@@ -1866,7 +1870,7 @@ __Returns:__
|
|
1866
1870
|
|
1867
1871
|
--
|
1868
1872
|
|
1869
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1873
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/helper.rb#L217)
|
1870
1874
|
|
1871
1875
|
> def _no_such_element
|
1872
1876
|
|
@@ -1874,7 +1878,7 @@ __Returns:__
|
|
1874
1878
|
|
1875
1879
|
--
|
1876
1880
|
|
1877
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/command.rb#L4)
|
1878
1882
|
|
1879
1883
|
> COMMAND_NO_ARG = {
|
1880
1884
|
|
@@ -1882,7 +1886,7 @@ __Returns:__
|
|
1882
1886
|
|
1883
1887
|
--
|
1884
1888
|
|
1885
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1889
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/command.rb#L27)
|
1886
1890
|
|
1887
1891
|
> COMMAND = {
|
1888
1892
|
|
@@ -1890,7 +1894,7 @@ __Returns:__
|
|
1890
1894
|
|
1891
1895
|
--
|
1892
1896
|
|
1893
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/element/window.rb#L5)
|
1894
1898
|
|
1895
1899
|
> def window_size
|
1896
1900
|
|
@@ -1898,7 +1902,7 @@ Get the window's size
|
|
1898
1902
|
|
1899
1903
|
--
|
1900
1904
|
|
1901
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1905
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/search_context.rb#L5)
|
1902
1906
|
|
1903
1907
|
> FINDERS = {
|
1904
1908
|
|
@@ -1906,7 +1910,7 @@ rubocop:disable Style/MutableConstant
|
|
1906
1910
|
|
1907
1911
|
--
|
1908
1912
|
|
1909
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1913
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L4) ios
|
1910
1914
|
|
1911
1915
|
> def filter
|
1912
1916
|
|
@@ -1914,7 +1918,7 @@ Returns the value of attribute filter
|
|
1914
1918
|
|
1915
1919
|
--
|
1916
1920
|
|
1917
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1921
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L4) ios
|
1918
1922
|
|
1919
1923
|
> def filter=(value)
|
1920
1924
|
|
@@ -1926,7 +1930,7 @@ __Parameters:__
|
|
1926
1930
|
|
1927
1931
|
--
|
1928
1932
|
|
1929
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L6) ios
|
1930
1934
|
|
1931
1935
|
> def start_element(type, attrs = [])
|
1932
1936
|
|
@@ -1934,7 +1938,7 @@ __Parameters:__
|
|
1934
1938
|
|
1935
1939
|
--
|
1936
1940
|
|
1937
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1941
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L15) ios
|
1938
1942
|
|
1939
1943
|
> def _print_attr(type, name, label, value, hint)
|
1940
1944
|
|
@@ -1942,7 +1946,7 @@ __Parameters:__
|
|
1942
1946
|
|
1943
1947
|
--
|
1944
1948
|
|
1945
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L41) ios
|
1946
1950
|
|
1947
1951
|
> def ios_password(length = 1)
|
1948
1952
|
|
@@ -1960,7 +1964,7 @@ __Returns:__
|
|
1960
1964
|
|
1961
1965
|
--
|
1962
1966
|
|
1963
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1967
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L53) ios
|
1964
1968
|
|
1965
1969
|
> def get_page(element = source_window(0), class_name = nil)
|
1966
1970
|
|
@@ -1981,7 +1985,7 @@ __Returns:__
|
|
1981
1985
|
|
1982
1986
|
--
|
1983
1987
|
|
1984
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1988
|
+
##### [page](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L139) ios
|
1985
1989
|
|
1986
1990
|
> def page(opts = {})
|
1987
1991
|
|
@@ -2007,7 +2011,7 @@ __Returns:__
|
|
2007
2011
|
|
2008
2012
|
--
|
2009
2013
|
|
2010
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
2014
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L170) ios
|
2011
2015
|
|
2012
2016
|
> def source_window(_window_number = 0)
|
2013
2017
|
|
@@ -2023,7 +2027,7 @@ __Returns:__
|
|
2023
2027
|
|
2024
2028
|
--
|
2025
2029
|
|
2026
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
2030
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L185) ios
|
2027
2031
|
|
2028
2032
|
> def page_window(window_number = 0)
|
2029
2033
|
|
@@ -2041,7 +2045,7 @@ __Returns:__
|
|
2041
2045
|
|
2042
2046
|
--
|
2043
2047
|
|
2044
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2048
|
+
##### [id](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L193) ios
|
2045
2049
|
|
2046
2050
|
> def id(id)
|
2047
2051
|
|
@@ -2057,7 +2061,7 @@ __Returns:__
|
|
2057
2061
|
|
2058
2062
|
--
|
2059
2063
|
|
2060
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
2064
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L199) ios
|
2061
2065
|
|
2062
2066
|
> def ios_version
|
2063
2067
|
|
@@ -2069,7 +2073,7 @@ __Returns:__
|
|
2069
2073
|
|
2070
2074
|
--
|
2071
2075
|
|
2072
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2076
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L212) ios
|
2073
2077
|
|
2074
2078
|
> def ele_index(class_name, index)
|
2075
2079
|
|
@@ -2087,7 +2091,7 @@ __Returns:__
|
|
2087
2091
|
|
2088
2092
|
--
|
2089
2093
|
|
2090
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
2094
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L248) ios
|
2091
2095
|
|
2092
2096
|
> def find_ele_by_attr(class_name, attr, value)
|
2093
2097
|
|
@@ -2109,7 +2113,7 @@ __Returns:__
|
|
2109
2113
|
|
2110
2114
|
--
|
2111
2115
|
|
2112
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2116
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L259) ios
|
2113
2117
|
|
2114
2118
|
> def find_eles_by_attr(class_name, attr, value)
|
2115
2119
|
|
@@ -2131,7 +2135,7 @@ __Returns:__
|
|
2131
2135
|
|
2132
2136
|
--
|
2133
2137
|
|
2134
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2138
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L280) ios
|
2135
2139
|
|
2136
2140
|
> def find_ele_by_predicate(class_name: '*', value:)
|
2137
2141
|
|
@@ -2148,7 +2152,7 @@ __Returns:__
|
|
2148
2152
|
|
2149
2153
|
--
|
2150
2154
|
|
2151
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2155
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L291) ios
|
2152
2156
|
|
2153
2157
|
> def find_eles_by_predicate(class_name: '*', value:)
|
2154
2158
|
|
@@ -2167,7 +2171,7 @@ __Returns:__
|
|
2167
2171
|
|
2168
2172
|
--
|
2169
2173
|
|
2170
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2174
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L307) ios
|
2171
2175
|
|
2172
2176
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2173
2177
|
|
@@ -2188,7 +2192,7 @@ __Returns:__
|
|
2188
2192
|
|
2189
2193
|
--
|
2190
2194
|
|
2191
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2195
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L317) ios
|
2192
2196
|
|
2193
2197
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2194
2198
|
|
@@ -2209,7 +2213,7 @@ __Returns:__
|
|
2209
2213
|
|
2210
2214
|
--
|
2211
2215
|
|
2212
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2216
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L325) ios
|
2213
2217
|
|
2214
2218
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
2215
2219
|
|
@@ -2226,7 +2230,7 @@ __Returns:__
|
|
2226
2230
|
|
2227
2231
|
--
|
2228
2232
|
|
2229
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L336) ios
|
2230
2234
|
|
2231
2235
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
2232
2236
|
|
@@ -2245,7 +2249,7 @@ __Returns:__
|
|
2245
2249
|
|
2246
2250
|
--
|
2247
2251
|
|
2248
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2252
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L349) ios
|
2249
2253
|
|
2250
2254
|
> def first_ele(class_name)
|
2251
2255
|
|
@@ -2261,7 +2265,7 @@ __Returns:__
|
|
2261
2265
|
|
2262
2266
|
--
|
2263
2267
|
|
2264
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2268
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L356) ios
|
2265
2269
|
|
2266
2270
|
> def last_ele(class_name)
|
2267
2271
|
|
@@ -2277,7 +2281,7 @@ __Returns:__
|
|
2277
2281
|
|
2278
2282
|
--
|
2279
2283
|
|
2280
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2284
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L370) ios
|
2281
2285
|
|
2282
2286
|
> def tag(class_name)
|
2283
2287
|
|
@@ -2293,7 +2297,7 @@ __Returns:__
|
|
2293
2297
|
|
2294
2298
|
--
|
2295
2299
|
|
2296
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2300
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L382) ios
|
2297
2301
|
|
2298
2302
|
> def tags(class_name)
|
2299
2303
|
|
@@ -2309,7 +2313,7 @@ __Returns:__
|
|
2309
2313
|
|
2310
2314
|
--
|
2311
2315
|
|
2312
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2316
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L398) ios
|
2313
2317
|
|
2314
2318
|
> def tags_include(class_names:, value: nil)
|
2315
2319
|
|
@@ -2329,7 +2333,7 @@ __Returns:__
|
|
2329
2333
|
|
2330
2334
|
--
|
2331
2335
|
|
2332
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2336
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L427) ios
|
2333
2337
|
|
2334
2338
|
> def tags_exact(class_names:, value: nil)
|
2335
2339
|
|
@@ -2349,7 +2353,7 @@ __Returns:__
|
|
2349
2353
|
|
2350
2354
|
--
|
2351
2355
|
|
2352
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2356
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L478) ios
|
2353
2357
|
|
2354
2358
|
> def ele_by_json_visible_contains(element, value)
|
2355
2359
|
|
@@ -2368,7 +2372,7 @@ __Returns:__
|
|
2368
2372
|
|
2369
2373
|
--
|
2370
2374
|
|
2371
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2375
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L487) ios
|
2372
2376
|
|
2373
2377
|
> def eles_by_json_visible_contains(element, value)
|
2374
2378
|
|
@@ -2387,7 +2391,7 @@ __Returns:__
|
|
2387
2391
|
|
2388
2392
|
--
|
2389
2393
|
|
2390
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2394
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L517) ios
|
2391
2395
|
|
2392
2396
|
> def ele_by_json_visible_exact(element, value)
|
2393
2397
|
|
@@ -2406,7 +2410,7 @@ __Returns:__
|
|
2406
2410
|
|
2407
2411
|
--
|
2408
2412
|
|
2409
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2413
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L526) ios
|
2410
2414
|
|
2411
2415
|
> def eles_by_json_visible_exact(element, value)
|
2412
2416
|
|
@@ -2425,7 +2429,7 @@ __Returns:__
|
|
2425
2429
|
|
2426
2430
|
--
|
2427
2431
|
|
2428
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2432
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L535) ios
|
2429
2433
|
|
2430
2434
|
> def _all_pred(opts)
|
2431
2435
|
|
@@ -2435,7 +2439,7 @@ visible - if true, only visible elements are returned. default true
|
|
2435
2439
|
|
2436
2440
|
--
|
2437
2441
|
|
2438
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2442
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L548) ios
|
2439
2443
|
|
2440
2444
|
> def ele_with_pred(opts)
|
2441
2445
|
|
@@ -2451,7 +2455,7 @@ __Returns:__
|
|
2451
2455
|
|
2452
2456
|
--
|
2453
2457
|
|
2454
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2458
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L559) ios
|
2455
2459
|
|
2456
2460
|
> def eles_with_pred(opts)
|
2457
2461
|
|
@@ -2467,7 +2471,7 @@ __Returns:__
|
|
2467
2471
|
|
2468
2472
|
--
|
2469
2473
|
|
2470
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2474
|
+
##### [source](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L565) ios
|
2471
2475
|
|
2472
2476
|
> def source
|
2473
2477
|
|
@@ -2479,7 +2483,7 @@ __Returns:__
|
|
2479
2483
|
|
2480
2484
|
--
|
2481
2485
|
|
2482
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2486
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L569) ios
|
2483
2487
|
|
2484
2488
|
> def _validate_object(*objects)
|
2485
2489
|
|
@@ -2487,7 +2491,7 @@ __Returns:__
|
|
2487
2491
|
|
2488
2492
|
--
|
2489
2493
|
|
2490
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2494
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L618) ios
|
2491
2495
|
|
2492
2496
|
> def _by_json(opts)
|
2493
2497
|
|
@@ -2522,7 +2526,7 @@ opts = {
|
|
2522
2526
|
|
2523
2527
|
--
|
2524
2528
|
|
2525
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2529
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L668) ios
|
2526
2530
|
|
2527
2531
|
> def eles_by_json(opts)
|
2528
2532
|
|
@@ -2541,7 +2545,7 @@ eles_by_json({
|
|
2541
2545
|
|
2542
2546
|
--
|
2543
2547
|
|
2544
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L674) ios
|
2545
2549
|
|
2546
2550
|
> def ele_by_json(opts)
|
2547
2551
|
|
@@ -2549,7 +2553,7 @@ see eles_by_json
|
|
2549
2553
|
|
2550
2554
|
--
|
2551
2555
|
|
2552
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2556
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/helper.rb#L684) ios
|
2553
2557
|
|
2554
2558
|
> def get_source
|
2555
2559
|
|
@@ -2562,7 +2566,7 @@ __Returns:__
|
|
2562
2566
|
|
2563
2567
|
--
|
2564
2568
|
|
2565
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2569
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L4) ios
|
2566
2570
|
|
2567
2571
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2568
2572
|
|
@@ -2570,7 +2574,7 @@ __Returns:__
|
|
2570
2574
|
|
2571
2575
|
--
|
2572
2576
|
|
2573
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2577
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L5) ios
|
2574
2578
|
|
2575
2579
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2576
2580
|
|
@@ -2578,7 +2582,7 @@ __Returns:__
|
|
2578
2582
|
|
2579
2583
|
--
|
2580
2584
|
|
2581
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2585
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L8) ios
|
2582
2586
|
|
2583
2587
|
> def static_text_class
|
2584
2588
|
|
@@ -2590,7 +2594,7 @@ __Returns:__
|
|
2590
2594
|
|
2591
2595
|
--
|
2592
2596
|
|
2593
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2597
|
+
##### [text](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L16) ios
|
2594
2598
|
|
2595
2599
|
> def text(value)
|
2596
2600
|
|
@@ -2607,7 +2611,7 @@ __Returns:__
|
|
2607
2611
|
|
2608
2612
|
--
|
2609
2613
|
|
2610
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2614
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L30) ios
|
2611
2615
|
|
2612
2616
|
> def texts(value = false)
|
2613
2617
|
|
@@ -2624,7 +2628,7 @@ __Returns:__
|
|
2624
2628
|
|
2625
2629
|
--
|
2626
2630
|
|
2627
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2631
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L43) ios
|
2628
2632
|
|
2629
2633
|
> def first_text
|
2630
2634
|
|
@@ -2636,7 +2640,7 @@ __Returns:__
|
|
2636
2640
|
|
2637
2641
|
--
|
2638
2642
|
|
2639
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2643
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L49) ios
|
2640
2644
|
|
2641
2645
|
> def last_text
|
2642
2646
|
|
@@ -2648,7 +2652,7 @@ __Returns:__
|
|
2648
2652
|
|
2649
2653
|
--
|
2650
2654
|
|
2651
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2655
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L56) ios
|
2652
2656
|
|
2653
2657
|
> def text_exact(value)
|
2654
2658
|
|
@@ -2664,7 +2668,7 @@ __Returns:__
|
|
2664
2668
|
|
2665
2669
|
--
|
2666
2670
|
|
2667
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2671
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/text.rb#L67) ios
|
2668
2672
|
|
2669
2673
|
> def texts_exact(value)
|
2670
2674
|
|
@@ -2680,7 +2684,7 @@ __Returns:__
|
|
2680
2684
|
|
2681
2685
|
--
|
2682
2686
|
|
2683
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2687
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2684
2688
|
|
2685
2689
|
> def alert_accept
|
2686
2690
|
|
@@ -2692,7 +2696,7 @@ __Returns:__
|
|
2692
2696
|
|
2693
2697
|
--
|
2694
2698
|
|
2695
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2699
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2696
2700
|
|
2697
2701
|
> def alert_dismiss
|
2698
2702
|
|
@@ -2704,7 +2708,7 @@ __Returns:__
|
|
2704
2708
|
|
2705
2709
|
--
|
2706
2710
|
|
2707
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2711
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L4) ios
|
2708
2712
|
|
2709
2713
|
> UIAButton = 'UIAButton'.freeze
|
2710
2714
|
|
@@ -2712,7 +2716,7 @@ __Returns:__
|
|
2712
2716
|
|
2713
2717
|
--
|
2714
2718
|
|
2715
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2719
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L5) ios
|
2716
2720
|
|
2717
2721
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2718
2722
|
|
@@ -2720,7 +2724,7 @@ __Returns:__
|
|
2720
2724
|
|
2721
2725
|
--
|
2722
2726
|
|
2723
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2727
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L8) ios
|
2724
2728
|
|
2725
2729
|
> def button_class
|
2726
2730
|
|
@@ -2732,7 +2736,7 @@ __Returns:__
|
|
2732
2736
|
|
2733
2737
|
--
|
2734
2738
|
|
2735
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2739
|
+
##### [button](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L16) ios
|
2736
2740
|
|
2737
2741
|
> def button(value)
|
2738
2742
|
|
@@ -2749,7 +2753,7 @@ __Returns:__
|
|
2749
2753
|
|
2750
2754
|
--
|
2751
2755
|
|
2752
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2756
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L31) ios
|
2753
2757
|
|
2754
2758
|
> def buttons(value = false)
|
2755
2759
|
|
@@ -2766,7 +2770,7 @@ __Returns:__
|
|
2766
2770
|
|
2767
2771
|
--
|
2768
2772
|
|
2769
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2773
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L44) ios
|
2770
2774
|
|
2771
2775
|
> def first_button
|
2772
2776
|
|
@@ -2778,7 +2782,7 @@ __Returns:__
|
|
2778
2782
|
|
2779
2783
|
--
|
2780
2784
|
|
2781
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2785
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L52) ios
|
2782
2786
|
|
2783
2787
|
> def last_button
|
2784
2788
|
|
@@ -2792,7 +2796,7 @@ __Returns:__
|
|
2792
2796
|
|
2793
2797
|
--
|
2794
2798
|
|
2795
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2799
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L59) ios
|
2796
2800
|
|
2797
2801
|
> def button_exact(value)
|
2798
2802
|
|
@@ -2808,7 +2812,7 @@ __Returns:__
|
|
2808
2812
|
|
2809
2813
|
--
|
2810
2814
|
|
2811
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2815
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/button.rb#L70) ios
|
2812
2816
|
|
2813
2817
|
> def buttons_exact(value)
|
2814
2818
|
|
@@ -2824,7 +2828,7 @@ __Returns:__
|
|
2824
2828
|
|
2825
2829
|
--
|
2826
2830
|
|
2827
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2831
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2828
2832
|
|
2829
2833
|
> def uiautomation_find
|
2830
2834
|
|
@@ -2836,7 +2840,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2836
2840
|
|
2837
2841
|
--
|
2838
2842
|
|
2839
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2843
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2840
2844
|
|
2841
2845
|
> def ios_predicate_string_find
|
2842
2846
|
|
@@ -2850,7 +2854,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2850
2854
|
|
2851
2855
|
--
|
2852
2856
|
|
2853
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
2857
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2854
2858
|
|
2855
2859
|
> def ios_class_chain_find
|
2856
2860
|
|
@@ -2868,7 +2872,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
2868
2872
|
|
2869
2873
|
--
|
2870
2874
|
|
2871
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2875
|
+
##### [find](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2872
2876
|
|
2873
2877
|
> def find(value)
|
2874
2878
|
|
@@ -2884,7 +2888,7 @@ __Returns:__
|
|
2884
2888
|
|
2885
2889
|
--
|
2886
2890
|
|
2887
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2891
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2888
2892
|
|
2889
2893
|
> def finds(value)
|
2890
2894
|
|
@@ -2900,7 +2904,7 @@ __Returns:__
|
|
2900
2904
|
|
2901
2905
|
--
|
2902
2906
|
|
2903
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2907
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2904
2908
|
|
2905
2909
|
> def find_exact(value)
|
2906
2910
|
|
@@ -2916,7 +2920,7 @@ __Returns:__
|
|
2916
2920
|
|
2917
2921
|
--
|
2918
2922
|
|
2919
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2923
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2920
2924
|
|
2921
2925
|
> def finds_exact(value)
|
2922
2926
|
|
@@ -2932,7 +2936,7 @@ __Returns:__
|
|
2932
2936
|
|
2933
2937
|
--
|
2934
2938
|
|
2935
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2939
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2936
2940
|
|
2937
2941
|
> def raise_error_if_no_element(element)
|
2938
2942
|
|
@@ -2940,7 +2944,7 @@ __Returns:__
|
|
2940
2944
|
|
2941
2945
|
--
|
2942
2946
|
|
2943
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2947
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2944
2948
|
|
2945
2949
|
> def select_visible_elements(elements)
|
2946
2950
|
|
@@ -2948,7 +2952,7 @@ Return visible elements.
|
|
2948
2952
|
|
2949
2953
|
--
|
2950
2954
|
|
2951
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2955
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2952
2956
|
|
2953
2957
|
> UIATextField = 'UIATextField'.freeze
|
2954
2958
|
|
@@ -2956,7 +2960,7 @@ Return visible elements.
|
|
2956
2960
|
|
2957
2961
|
--
|
2958
2962
|
|
2959
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2963
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2960
2964
|
|
2961
2965
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2962
2966
|
|
@@ -2964,7 +2968,7 @@ Return visible elements.
|
|
2964
2968
|
|
2965
2969
|
--
|
2966
2970
|
|
2967
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2971
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2968
2972
|
|
2969
2973
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2970
2974
|
|
@@ -2972,7 +2976,7 @@ Return visible elements.
|
|
2972
2976
|
|
2973
2977
|
--
|
2974
2978
|
|
2975
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2979
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2976
2980
|
|
2977
2981
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2978
2982
|
|
@@ -2980,7 +2984,7 @@ Return visible elements.
|
|
2980
2984
|
|
2981
2985
|
--
|
2982
2986
|
|
2983
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2987
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2984
2988
|
|
2985
2989
|
> def text_field_class
|
2986
2990
|
|
@@ -2992,7 +2996,7 @@ __Returns:__
|
|
2992
2996
|
|
2993
2997
|
--
|
2994
2998
|
|
2995
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2999
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2996
3000
|
|
2997
3001
|
> def secure_text_field_class
|
2998
3002
|
|
@@ -3004,7 +3008,7 @@ __Returns:__
|
|
3004
3008
|
|
3005
3009
|
--
|
3006
3010
|
|
3007
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
3011
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
3008
3012
|
|
3009
3013
|
> def _textfield_visible
|
3010
3014
|
|
@@ -3012,7 +3016,7 @@ Appium
|
|
3012
3016
|
|
3013
3017
|
--
|
3014
3018
|
|
3015
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
3019
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
3016
3020
|
|
3017
3021
|
> def _textfield_exact_string(value)
|
3018
3022
|
|
@@ -3020,7 +3024,7 @@ Appium
|
|
3020
3024
|
|
3021
3025
|
--
|
3022
3026
|
|
3023
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
3027
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
3024
3028
|
|
3025
3029
|
> def _textfield_contains_string(value)
|
3026
3030
|
|
@@ -3028,7 +3032,7 @@ Appium
|
|
3028
3032
|
|
3029
3033
|
--
|
3030
3034
|
|
3031
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3035
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
3032
3036
|
|
3033
3037
|
> def textfield(value)
|
3034
3038
|
|
@@ -3046,7 +3050,7 @@ __Returns:__
|
|
3046
3050
|
|
3047
3051
|
--
|
3048
3052
|
|
3049
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3053
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
3050
3054
|
|
3051
3055
|
> def textfields(value = false)
|
3052
3056
|
|
@@ -3063,7 +3067,7 @@ __Returns:__
|
|
3063
3067
|
|
3064
3068
|
--
|
3065
3069
|
|
3066
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3070
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
3067
3071
|
|
3068
3072
|
> def first_textfield
|
3069
3073
|
|
@@ -3075,7 +3079,7 @@ __Returns:__
|
|
3075
3079
|
|
3076
3080
|
--
|
3077
3081
|
|
3078
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3082
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
3079
3083
|
|
3080
3084
|
> def last_textfield
|
3081
3085
|
|
@@ -3087,7 +3091,7 @@ __Returns:__
|
|
3087
3091
|
|
3088
3092
|
--
|
3089
3093
|
|
3090
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3094
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
3091
3095
|
|
3092
3096
|
> def textfield_exact(value)
|
3093
3097
|
|
@@ -3103,7 +3107,7 @@ __Returns:__
|
|
3103
3107
|
|
3104
3108
|
--
|
3105
3109
|
|
3106
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3110
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
3107
3111
|
|
3108
3112
|
> def textfields_exact(value)
|
3109
3113
|
|
@@ -3119,7 +3123,7 @@ __Returns:__
|
|
3119
3123
|
|
3120
3124
|
--
|
3121
3125
|
|
3122
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
3126
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L10) ios
|
3123
3127
|
|
3124
3128
|
> def swipe(direction:, element: nil)
|
3125
3129
|
|
@@ -3133,7 +3137,7 @@ __Parameters:__
|
|
3133
3137
|
|
3134
3138
|
--
|
3135
3139
|
|
3136
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
3140
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L30) ios
|
3137
3141
|
|
3138
3142
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3139
3143
|
|
@@ -3147,7 +3151,7 @@ __Parameters:__
|
|
3147
3151
|
|
3148
3152
|
--
|
3149
3153
|
|
3150
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
3154
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L49) ios
|
3151
3155
|
|
3152
3156
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3153
3157
|
|
@@ -3163,7 +3167,7 @@ __Parameters:__
|
|
3163
3167
|
|
3164
3168
|
--
|
3165
3169
|
|
3166
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3170
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L66) ios
|
3167
3171
|
|
3168
3172
|
> def double_tap(x: nil, y: nil, element: nil)
|
3169
3173
|
|
@@ -3179,7 +3183,7 @@ __Parameters:__
|
|
3179
3183
|
|
3180
3184
|
--
|
3181
3185
|
|
3182
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3186
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L79) ios
|
3183
3187
|
|
3184
3188
|
> def two_finger_tap(element:)
|
3185
3189
|
|
@@ -3195,7 +3199,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3195
3199
|
|
3196
3200
|
--
|
3197
3201
|
|
3198
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3202
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L96) ios
|
3199
3203
|
|
3200
3204
|
> def tap(x:, y:, element: nil)
|
3201
3205
|
|
@@ -3211,7 +3215,7 @@ __Parameters:__
|
|
3211
3215
|
|
3212
3216
|
--
|
3213
3217
|
|
3214
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3218
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L118) ios
|
3215
3219
|
|
3216
3220
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3217
3221
|
|
@@ -3234,7 +3238,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3234
3238
|
|
3235
3239
|
--
|
3236
3240
|
|
3237
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3241
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L137) ios
|
3238
3242
|
|
3239
3243
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3240
3244
|
|
@@ -3251,7 +3255,22 @@ __Parameters:__
|
|
3251
3255
|
|
3252
3256
|
--
|
3253
3257
|
|
3254
|
-
##### [
|
3258
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/ios/xcuitest_gestures.rb#L155) ios
|
3259
|
+
|
3260
|
+
> def alert(action:, button_label: nil)
|
3261
|
+
|
3262
|
+
|
3263
|
+
|
3264
|
+
__Parameters:__
|
3265
|
+
|
3266
|
+
[String] action - The following actions are supported: accept, dismiss and getButtons. Mandatory parameter
|
3267
|
+
|
3268
|
+
[String] button_label - The label text of an existing alert button to click on.
|
3269
|
+
This is an optional parameter and is only valid in combination with accept and dismiss actions.
|
3270
|
+
|
3271
|
+
--
|
3272
|
+
|
3273
|
+
##### [value](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/patch.rb#L12)
|
3255
3274
|
|
3256
3275
|
> def value
|
3257
3276
|
|
@@ -3261,7 +3280,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
3261
3280
|
|
3262
3281
|
--
|
3263
3282
|
|
3264
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
3283
|
+
##### [name](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/patch.rb#L19)
|
3265
3284
|
|
3266
3285
|
> def name
|
3267
3286
|
|
@@ -3271,7 +3290,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
3271
3290
|
|
3272
3291
|
--
|
3273
3292
|
|
3274
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
3293
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/patch.rb#L31)
|
3275
3294
|
|
3276
3295
|
> def location_rel
|
3277
3296
|
|
@@ -3289,7 +3308,7 @@ __Returns:__
|
|
3289
3308
|
|
3290
3309
|
--
|
3291
3310
|
|
3292
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
3311
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/patch.rb#L152)
|
3293
3312
|
|
3294
3313
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
3295
3314
|
|
@@ -3297,7 +3316,7 @@ __Returns:__
|
|
3297
3316
|
|
3298
3317
|
--
|
3299
3318
|
|
3300
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
3319
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/332599f8a5b134522f03ea375f7bc666e4e39c3d/lib/appium_lib/common/patch.rb#L155)
|
3301
3320
|
|
3302
3321
|
> def patch_remote_driver_commands
|
3303
3322
|
|