appium_lib 9.3.5 → 9.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/docs/android_docs.md +237 -229
- data/docs/ios_docs.md +256 -248
- data/ios_tests/lib/ios/specs/common/command.rb +1 -0
- data/lib/appium_lib/common/command.rb +2 -1
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +10 -0
- data/release_notes.md +9 -0
- metadata +2 -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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L75)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L111)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L117)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L149)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L170)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L223)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L258)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L276)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L276)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L278)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L278)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L280)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L280)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L282)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L282)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L287)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L289)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L289)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L291)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L291)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L293)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L293)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L295)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L295)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L297)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L297)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L300)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L302)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L304)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L304)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L306)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L306)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L309)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L312)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L317)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L322)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L362)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L440)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L465)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L471)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L478)
|
464
464
|
|
465
465
|
> def check_server_version_xcuitest
|
466
466
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L497)
|
477
477
|
|
478
478
|
> def appium_server_version
|
479
479
|
|
@@ -494,7 +494,7 @@ __Returns:__
|
|
494
494
|
|
495
495
|
--
|
496
496
|
|
497
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
497
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L510)
|
498
498
|
|
499
499
|
> def appium_client_version
|
500
500
|
|
@@ -512,7 +512,7 @@ __Returns:__
|
|
512
512
|
|
513
513
|
--
|
514
514
|
|
515
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
515
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L522)
|
516
516
|
|
517
517
|
> def self.absolute_app_path(opts)
|
518
518
|
|
@@ -529,7 +529,7 @@ __Returns:__
|
|
529
529
|
|
530
530
|
--
|
531
531
|
|
532
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
532
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L555)
|
533
533
|
|
534
534
|
> def server_url
|
535
535
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L566)
|
545
545
|
|
546
546
|
> def restart
|
547
547
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
553
553
|
|
554
554
|
--
|
555
555
|
|
556
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L577)
|
557
557
|
|
558
558
|
> def screenshot(png_save_path)
|
559
559
|
|
@@ -571,7 +571,7 @@ __Returns:__
|
|
571
571
|
|
572
572
|
--
|
573
573
|
|
574
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L584)
|
575
575
|
|
576
576
|
> def driver_quit
|
577
577
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
583
583
|
|
584
584
|
--
|
585
585
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L594)
|
587
587
|
|
588
588
|
> def start_driver
|
589
589
|
|
@@ -595,7 +595,7 @@ __Returns:__
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L632)
|
599
599
|
|
600
600
|
> def no_wait
|
601
601
|
|
@@ -603,7 +603,7 @@ Set implicit wait to zero.
|
|
603
603
|
|
604
604
|
--
|
605
605
|
|
606
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L646)
|
607
607
|
|
608
608
|
> def set_wait(timeout = nil)
|
609
609
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L663)
|
629
629
|
|
630
630
|
> def exists(pre_check = 0, post_check = @default_wait)
|
631
631
|
|
@@ -649,7 +649,7 @@ __Returns:__
|
|
649
649
|
|
650
650
|
--
|
651
651
|
|
652
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
652
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L687)
|
653
653
|
|
654
654
|
> def execute_script(script, *args)
|
655
655
|
|
@@ -667,7 +667,7 @@ __Returns:__
|
|
667
667
|
|
668
668
|
--
|
669
669
|
|
670
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L695)
|
671
671
|
|
672
672
|
> def find_elements(*args)
|
673
673
|
|
@@ -683,7 +683,7 @@ __Returns:__
|
|
683
683
|
|
684
684
|
--
|
685
685
|
|
686
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
686
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L703)
|
687
687
|
|
688
688
|
> def find_element(*args)
|
689
689
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L716)
|
703
703
|
|
704
704
|
> def set_location(opts = {})
|
705
705
|
|
@@ -715,7 +715,7 @@ __Returns:__
|
|
715
715
|
|
716
716
|
--
|
717
717
|
|
718
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
718
|
+
##### [x](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L726)
|
719
719
|
|
720
720
|
> def x
|
721
721
|
|
@@ -728,7 +728,7 @@ __Returns:__
|
|
728
728
|
|
729
729
|
--
|
730
730
|
|
731
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
731
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L735)
|
732
732
|
|
733
733
|
> def set_automation_name_if_nil
|
734
734
|
|
@@ -737,7 +737,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
737
737
|
|
738
738
|
--
|
739
739
|
|
740
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/logger.rb#L13)
|
741
741
|
|
742
742
|
> def logger=(value)
|
743
743
|
|
@@ -749,7 +749,7 @@ __Parameters:__
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/logger.rb#L17)
|
753
753
|
|
754
754
|
> def logger
|
755
755
|
|
@@ -757,7 +757,7 @@ __Parameters:__
|
|
757
757
|
|
758
758
|
--
|
759
759
|
|
760
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L7)
|
761
761
|
|
762
762
|
> def app_strings
|
763
763
|
|
@@ -768,7 +768,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
768
768
|
|
769
769
|
--
|
770
770
|
|
771
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L13)
|
772
772
|
|
773
773
|
> def background_app
|
774
774
|
|
@@ -777,7 +777,7 @@ This is a blocking application
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L24)
|
781
781
|
|
782
782
|
> def current_activity
|
783
783
|
|
@@ -785,7 +785,7 @@ This is a blocking application
|
|
785
785
|
|
786
786
|
--
|
787
787
|
|
788
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L26)
|
789
789
|
|
790
790
|
> def get_system_bars
|
791
791
|
|
@@ -800,7 +800,7 @@ __Returns:__
|
|
800
800
|
|
801
801
|
--
|
802
802
|
|
803
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
803
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L34)
|
804
804
|
|
805
805
|
> def get_display_density
|
806
806
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L42)
|
819
819
|
|
820
820
|
> def is_keyboard_shown
|
821
821
|
|
@@ -830,7 +830,7 @@ __Returns:__
|
|
830
830
|
|
831
831
|
--
|
832
832
|
|
833
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
833
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L50)
|
834
834
|
|
835
835
|
> def launch_app
|
836
836
|
|
@@ -838,7 +838,7 @@ Start the simulator and application configured with desired capabilities
|
|
838
838
|
|
839
839
|
--
|
840
840
|
|
841
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
841
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L53)
|
842
842
|
|
843
843
|
> def reset
|
844
844
|
|
@@ -846,7 +846,7 @@ Reset the device, relaunching the application.
|
|
846
846
|
|
847
847
|
--
|
848
848
|
|
849
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L56)
|
850
850
|
|
851
851
|
> def shake
|
852
852
|
|
@@ -854,7 +854,7 @@ Cause the device to shake
|
|
854
854
|
|
855
855
|
--
|
856
856
|
|
857
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
857
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L59)
|
858
858
|
|
859
859
|
> def toggle_flight_mode
|
860
860
|
|
@@ -862,7 +862,7 @@ Toggle flight mode on or off
|
|
862
862
|
|
863
863
|
--
|
864
864
|
|
865
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
865
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L62)
|
866
866
|
|
867
867
|
> def device_locked?
|
868
868
|
|
@@ -870,7 +870,7 @@ Toggle flight mode on or off
|
|
870
870
|
|
871
871
|
--
|
872
872
|
|
873
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L64)
|
874
874
|
|
875
875
|
> def hide_keyboard
|
876
876
|
|
@@ -883,7 +883,7 @@ Defaults to 'Done'.
|
|
883
883
|
|
884
884
|
--
|
885
885
|
|
886
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
886
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L73)
|
887
887
|
|
888
888
|
> def press_keycode
|
889
889
|
|
@@ -898,7 +898,7 @@ __Parameters:__
|
|
898
898
|
|
899
899
|
--
|
900
900
|
|
901
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
901
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L79)
|
902
902
|
|
903
903
|
> def long_press_keycode
|
904
904
|
|
@@ -913,7 +913,7 @@ __Parameters:__
|
|
913
913
|
|
914
914
|
--
|
915
915
|
|
916
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
916
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L85)
|
917
917
|
|
918
918
|
> def push_file
|
919
919
|
|
@@ -927,7 +927,7 @@ __Parameters:__
|
|
927
927
|
|
928
928
|
--
|
929
929
|
|
930
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
930
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L90)
|
931
931
|
|
932
932
|
> def pull_file
|
933
933
|
|
@@ -944,7 +944,7 @@ __Parameters:__
|
|
944
944
|
|
945
945
|
--
|
946
946
|
|
947
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L100)
|
948
948
|
|
949
949
|
> def pull_folder
|
950
950
|
|
@@ -959,7 +959,7 @@ __Parameters:__
|
|
959
959
|
|
960
960
|
--
|
961
961
|
|
962
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
962
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L108)
|
963
963
|
|
964
964
|
> def touch_id
|
965
965
|
|
@@ -976,7 +976,15 @@ Defaults to true.
|
|
976
976
|
|
977
977
|
--
|
978
978
|
|
979
|
-
##### [
|
979
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L117)
|
980
|
+
|
981
|
+
> def toggle_touch_id_enrollment
|
982
|
+
|
983
|
+
iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
984
|
+
|
985
|
+
--
|
986
|
+
|
987
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L120)
|
980
988
|
|
981
989
|
> def end_coverage
|
982
990
|
|
@@ -990,7 +998,7 @@ __Parameters:__
|
|
990
998
|
|
991
999
|
--
|
992
1000
|
|
993
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L125)
|
994
1002
|
|
995
1003
|
> def get_settings
|
996
1004
|
|
@@ -998,7 +1006,7 @@ Get appium Settings for current test session
|
|
998
1006
|
|
999
1007
|
--
|
1000
1008
|
|
1001
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L128)
|
1002
1010
|
|
1003
1011
|
> def update_settings
|
1004
1012
|
|
@@ -1010,7 +1018,7 @@ __Parameters:__
|
|
1010
1018
|
|
1011
1019
|
--
|
1012
1020
|
|
1013
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1021
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L132)
|
1014
1022
|
|
1015
1023
|
> def start_activity
|
1016
1024
|
|
@@ -1024,7 +1032,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1024
1032
|
|
1025
1033
|
--
|
1026
1034
|
|
1027
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L146)
|
1028
1036
|
|
1029
1037
|
> def get_network_connection
|
1030
1038
|
|
@@ -1033,7 +1041,7 @@ See set_network_connection method for return value
|
|
1033
1041
|
|
1034
1042
|
--
|
1035
1043
|
|
1036
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1044
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L150)
|
1037
1045
|
|
1038
1046
|
> def set_network_connection
|
1039
1047
|
|
@@ -1052,7 +1060,7 @@ __Parameters:__
|
|
1052
1060
|
|
1053
1061
|
--
|
1054
1062
|
|
1055
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L163)
|
1056
1064
|
|
1057
1065
|
> def set_immediate_value
|
1058
1066
|
|
@@ -1066,7 +1074,7 @@ set_immediate_value element, 'hello'
|
|
1066
1074
|
|
1067
1075
|
--
|
1068
1076
|
|
1069
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1077
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L172)
|
1070
1078
|
|
1071
1079
|
> def get_performance_data_types
|
1072
1080
|
|
@@ -1080,7 +1088,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1080
1088
|
|
1081
1089
|
--
|
1082
1090
|
|
1083
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1091
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L434)
|
1084
1092
|
|
1085
1093
|
> def extend_search_contexts
|
1086
1094
|
|
@@ -1088,7 +1096,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1088
1096
|
|
1089
1097
|
--
|
1090
1098
|
|
1091
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1099
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L434)
|
1092
1100
|
|
1093
1101
|
> def find_element
|
1094
1102
|
|
@@ -1096,7 +1104,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1096
1104
|
|
1097
1105
|
--
|
1098
1106
|
|
1099
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L434)
|
1100
1108
|
|
1101
1109
|
> def find_elements
|
1102
1110
|
|
@@ -1108,7 +1116,7 @@ find_element/s with their accessibility_id
|
|
1108
1116
|
|
1109
1117
|
--
|
1110
1118
|
|
1111
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L465)
|
1112
1120
|
|
1113
1121
|
> def add_touch_actions
|
1114
1122
|
|
@@ -1116,7 +1124,7 @@ find_element/s with their accessibility_id
|
|
1116
1124
|
|
1117
1125
|
--
|
1118
1126
|
|
1119
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L488)
|
1120
1128
|
|
1121
1129
|
> def add_ime_actions
|
1122
1130
|
|
@@ -1124,7 +1132,7 @@ find_element/s with their accessibility_id
|
|
1124
1132
|
|
1125
1133
|
--
|
1126
1134
|
|
1127
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L563)
|
1128
1136
|
|
1129
1137
|
> def set_context
|
1130
1138
|
|
@@ -1139,7 +1147,7 @@ __Parameters:__
|
|
1139
1147
|
|
1140
1148
|
--
|
1141
1149
|
|
1142
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1150
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L571)
|
1143
1151
|
|
1144
1152
|
> def current_context
|
1145
1153
|
|
@@ -1151,7 +1159,7 @@ __Returns:__
|
|
1151
1159
|
|
1152
1160
|
--
|
1153
1161
|
|
1154
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L574)
|
1155
1163
|
|
1156
1164
|
> def available_contexts
|
1157
1165
|
|
@@ -1163,7 +1171,7 @@ __Returns:__
|
|
1163
1171
|
|
1164
1172
|
--
|
1165
1173
|
|
1166
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L584)
|
1167
1175
|
|
1168
1176
|
> def within_context(context)
|
1169
1177
|
|
@@ -1179,7 +1187,7 @@ __Parameters:__
|
|
1179
1187
|
|
1180
1188
|
--
|
1181
1189
|
|
1182
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1190
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L592)
|
1183
1191
|
|
1184
1192
|
> def switch_to_default_context
|
1185
1193
|
|
@@ -1187,7 +1195,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1187
1195
|
|
1188
1196
|
--
|
1189
1197
|
|
1190
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1198
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L28)
|
1191
1199
|
|
1192
1200
|
> def pinch(percentage = 25, auto_perform = true)
|
1193
1201
|
|
@@ -1206,7 +1214,7 @@ __Parameters:__
|
|
1206
1214
|
|
1207
1215
|
--
|
1208
1216
|
|
1209
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L57)
|
1210
1218
|
|
1211
1219
|
> def zoom(percentage = 200, auto_perform = true)
|
1212
1220
|
|
@@ -1225,7 +1233,7 @@ __Parameters:__
|
|
1225
1233
|
|
1226
1234
|
--
|
1227
1235
|
|
1228
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1236
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L79)
|
1229
1237
|
|
1230
1238
|
> def pinch_for_xcuitest(rate)
|
1231
1239
|
|
@@ -1233,7 +1241,7 @@ __Parameters:__
|
|
1233
1241
|
|
1234
1242
|
--
|
1235
1243
|
|
1236
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L94)
|
1237
1245
|
|
1238
1246
|
> def pinch_android(rate)
|
1239
1247
|
|
@@ -1241,7 +1249,7 @@ __Parameters:__
|
|
1241
1249
|
|
1242
1250
|
--
|
1243
1251
|
|
1244
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L108)
|
1245
1253
|
|
1246
1254
|
> def pinch_ios(rate)
|
1247
1255
|
|
@@ -1249,7 +1257,7 @@ __Parameters:__
|
|
1249
1257
|
|
1250
1258
|
--
|
1251
1259
|
|
1252
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L122)
|
1253
1261
|
|
1254
1262
|
> def zoom_for_xcuitest(rate)
|
1255
1263
|
|
@@ -1257,7 +1265,7 @@ __Parameters:__
|
|
1257
1265
|
|
1258
1266
|
--
|
1259
1267
|
|
1260
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1268
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L137)
|
1261
1269
|
|
1262
1270
|
> def zoom_android(rate)
|
1263
1271
|
|
@@ -1265,7 +1273,7 @@ __Parameters:__
|
|
1265
1273
|
|
1266
1274
|
--
|
1267
1275
|
|
1268
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1276
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L151)
|
1269
1277
|
|
1270
1278
|
> def zoom_ios(rate)
|
1271
1279
|
|
@@ -1273,7 +1281,7 @@ __Parameters:__
|
|
1273
1281
|
|
1274
1282
|
--
|
1275
1283
|
|
1276
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L166)
|
1277
1285
|
|
1278
1286
|
> def actions
|
1279
1287
|
|
@@ -1281,7 +1289,7 @@ self
|
|
1281
1289
|
|
1282
1290
|
--
|
1283
1291
|
|
1284
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L169)
|
1285
1293
|
|
1286
1294
|
> def initialize
|
1287
1295
|
|
@@ -1293,7 +1301,7 @@ __Returns:__
|
|
1293
1301
|
|
1294
1302
|
--
|
1295
1303
|
|
1296
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [add](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L175)
|
1297
1305
|
|
1298
1306
|
> def add(chain)
|
1299
1307
|
|
@@ -1305,7 +1313,7 @@ __Parameters:__
|
|
1305
1313
|
|
1306
1314
|
--
|
1307
1315
|
|
1308
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L180)
|
1309
1317
|
|
1310
1318
|
> def perform
|
1311
1319
|
|
@@ -1313,7 +1321,7 @@ Ask Appium to perform the actions
|
|
1313
1321
|
|
1314
1322
|
--
|
1315
1323
|
|
1316
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L20)
|
1317
1325
|
|
1318
1326
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1319
1327
|
|
@@ -1321,7 +1329,7 @@ Ask Appium to perform the actions
|
|
1321
1329
|
|
1322
1330
|
--
|
1323
1331
|
|
1324
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1332
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L21)
|
1325
1333
|
|
1326
1334
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1327
1335
|
|
@@ -1329,7 +1337,7 @@ Ask Appium to perform the actions
|
|
1329
1337
|
|
1330
1338
|
--
|
1331
1339
|
|
1332
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L35)
|
1333
1341
|
|
1334
1342
|
> def actions
|
1335
1343
|
|
@@ -1337,7 +1345,7 @@ Returns the value of attribute actions
|
|
1337
1345
|
|
1338
1346
|
--
|
1339
1347
|
|
1340
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L37)
|
1341
1349
|
|
1342
1350
|
> def initialize
|
1343
1351
|
|
@@ -1349,7 +1357,7 @@ __Returns:__
|
|
1349
1357
|
|
1350
1358
|
--
|
1351
1359
|
|
1352
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L48)
|
1353
1361
|
|
1354
1362
|
> def move_to(opts)
|
1355
1363
|
|
@@ -1363,7 +1371,7 @@ __Parameters:__
|
|
1363
1371
|
|
1364
1372
|
--
|
1365
1373
|
|
1366
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L62)
|
1367
1375
|
|
1368
1376
|
> def long_press(opts)
|
1369
1377
|
|
@@ -1384,7 +1392,7 @@ __Parameters:__
|
|
1384
1392
|
|
1385
1393
|
--
|
1386
1394
|
|
1387
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [press](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L74)
|
1388
1396
|
|
1389
1397
|
> def press(opts)
|
1390
1398
|
|
@@ -1397,7 +1405,7 @@ __Parameters:__
|
|
1397
1405
|
|
1398
1406
|
--
|
1399
1407
|
|
1400
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1408
|
+
##### [release](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L85)
|
1401
1409
|
|
1402
1410
|
> def release(opts = nil)
|
1403
1411
|
|
@@ -1409,7 +1417,7 @@ __Parameters:__
|
|
1409
1417
|
|
1410
1418
|
--
|
1411
1419
|
|
1412
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L97)
|
1413
1421
|
|
1414
1422
|
> def tap(opts)
|
1415
1423
|
|
@@ -1422,7 +1430,7 @@ __Parameters:__
|
|
1422
1430
|
|
1423
1431
|
--
|
1424
1432
|
|
1425
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L110)
|
1426
1434
|
|
1427
1435
|
> def double_tap(opts)
|
1428
1436
|
|
@@ -1434,7 +1442,7 @@ __Parameters:__
|
|
1434
1442
|
|
1435
1443
|
--
|
1436
1444
|
|
1437
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L121)
|
1438
1446
|
|
1439
1447
|
> def two_finger_tap(opts)
|
1440
1448
|
|
@@ -1446,7 +1454,7 @@ __Parameters:__
|
|
1446
1454
|
|
1447
1455
|
--
|
1448
1456
|
|
1449
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L129)
|
1450
1458
|
|
1451
1459
|
> def wait(milliseconds)
|
1452
1460
|
|
@@ -1458,7 +1466,7 @@ __Parameters:__
|
|
1458
1466
|
|
1459
1467
|
--
|
1460
1468
|
|
1461
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L152)
|
1462
1470
|
|
1463
1471
|
> def swipe(opts, ele = nil)
|
1464
1472
|
|
@@ -1479,7 +1487,7 @@ __Parameters:__
|
|
1479
1487
|
|
1480
1488
|
--
|
1481
1489
|
|
1482
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1490
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L177)
|
1483
1491
|
|
1484
1492
|
> def perform
|
1485
1493
|
|
@@ -1487,7 +1495,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1487
1495
|
|
1488
1496
|
--
|
1489
1497
|
|
1490
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1498
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L184)
|
1491
1499
|
|
1492
1500
|
> def cancel
|
1493
1501
|
|
@@ -1495,7 +1503,7 @@ Does nothing, currently.
|
|
1495
1503
|
|
1496
1504
|
--
|
1497
1505
|
|
1498
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1506
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L190)
|
1499
1507
|
|
1500
1508
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1501
1509
|
|
@@ -1503,7 +1511,7 @@ Does nothing, currently.
|
|
1503
1511
|
|
1504
1512
|
--
|
1505
1513
|
|
1506
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1514
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L208)
|
1507
1515
|
|
1508
1516
|
> def chain_method(method, args = nil)
|
1509
1517
|
|
@@ -1511,7 +1519,7 @@ Does nothing, currently.
|
|
1511
1519
|
|
1512
1520
|
--
|
1513
1521
|
|
1514
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1522
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L214)
|
1515
1523
|
|
1516
1524
|
> def args_with_ele_ref(args)
|
1517
1525
|
|
@@ -1519,7 +1527,7 @@ Does nothing, currently.
|
|
1519
1527
|
|
1520
1528
|
--
|
1521
1529
|
|
1522
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1530
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L9)
|
1523
1531
|
|
1524
1532
|
> def _generic_wait(opts = {})
|
1525
1533
|
|
@@ -1528,7 +1536,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1528
1536
|
|
1529
1537
|
--
|
1530
1538
|
|
1531
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L48)
|
1532
1540
|
|
1533
1541
|
> def _process_wait_opts(opts)
|
1534
1542
|
|
@@ -1536,7 +1544,7 @@ process opts before calling _generic_wait
|
|
1536
1544
|
|
1537
1545
|
--
|
1538
1546
|
|
1539
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L69)
|
1540
1548
|
|
1541
1549
|
> def wait_true(opts = {}, &block)
|
1542
1550
|
|
@@ -1556,7 +1564,7 @@ __Parameters:__
|
|
1556
1564
|
|
1557
1565
|
--
|
1558
1566
|
|
1559
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L87)
|
1560
1568
|
|
1561
1569
|
> def wait(opts = {}, &block)
|
1562
1570
|
|
@@ -1574,7 +1582,7 @@ __Parameters:__
|
|
1574
1582
|
|
1575
1583
|
--
|
1576
1584
|
|
1577
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1585
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L24)
|
1578
1586
|
|
1579
1587
|
> def ignore
|
1580
1588
|
|
@@ -1582,7 +1590,7 @@ Return yield and ignore any exceptions.
|
|
1582
1590
|
|
1583
1591
|
--
|
1584
1592
|
|
1585
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1593
|
+
##### [back](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L31)
|
1586
1594
|
|
1587
1595
|
> def back
|
1588
1596
|
|
@@ -1594,7 +1602,7 @@ __Returns:__
|
|
1594
1602
|
|
1595
1603
|
--
|
1596
1604
|
|
1597
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1605
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L36)
|
1598
1606
|
|
1599
1607
|
> def session_id
|
1600
1608
|
|
@@ -1602,7 +1610,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1602
1610
|
|
1603
1611
|
--
|
1604
1612
|
|
1605
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1613
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L44)
|
1606
1614
|
|
1607
1615
|
> def xpath(xpath_str)
|
1608
1616
|
|
@@ -1618,7 +1626,7 @@ __Returns:__
|
|
1618
1626
|
|
1619
1627
|
--
|
1620
1628
|
|
1621
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L52)
|
1622
1630
|
|
1623
1631
|
> def xpaths(xpath_str)
|
1624
1632
|
|
@@ -1634,7 +1642,7 @@ __Returns:__
|
|
1634
1642
|
|
1635
1643
|
--
|
1636
1644
|
|
1637
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L56)
|
1638
1646
|
|
1639
1647
|
> def _print_source(source)
|
1640
1648
|
|
@@ -1642,7 +1650,7 @@ __Returns:__
|
|
1642
1650
|
|
1643
1651
|
--
|
1644
1652
|
|
1645
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [result](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L69)
|
1646
1654
|
|
1647
1655
|
> def result
|
1648
1656
|
|
@@ -1650,7 +1658,7 @@ Returns the value of attribute result
|
|
1650
1658
|
|
1651
1659
|
--
|
1652
1660
|
|
1653
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1661
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L71)
|
1654
1662
|
|
1655
1663
|
> def initialize
|
1656
1664
|
|
@@ -1662,7 +1670,7 @@ __Returns:__
|
|
1662
1670
|
|
1663
1671
|
--
|
1664
1672
|
|
1665
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L75)
|
1666
1674
|
|
1667
1675
|
> def reset
|
1668
1676
|
|
@@ -1670,7 +1678,7 @@ __Returns:__
|
|
1670
1678
|
|
1671
1679
|
--
|
1672
1680
|
|
1673
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1681
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L80)
|
1674
1682
|
|
1675
1683
|
> def start_element(name, attrs = [])
|
1676
1684
|
|
@@ -1678,7 +1686,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1678
1686
|
|
1679
1687
|
--
|
1680
1688
|
|
1681
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1689
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L86)
|
1682
1690
|
|
1683
1691
|
> def formatted_result
|
1684
1692
|
|
@@ -1686,7 +1694,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1686
1694
|
|
1687
1695
|
--
|
1688
1696
|
|
1689
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1697
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L97)
|
1690
1698
|
|
1691
1699
|
> def get_page_class
|
1692
1700
|
|
@@ -1694,7 +1702,7 @@ Returns a string of class counts of visible elements.
|
|
1694
1702
|
|
1695
1703
|
--
|
1696
1704
|
|
1697
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L108)
|
1698
1706
|
|
1699
1707
|
> def page_class
|
1700
1708
|
|
@@ -1703,7 +1711,7 @@ Useful for appium_console.
|
|
1703
1711
|
|
1704
1712
|
--
|
1705
1713
|
|
1706
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1714
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L118)
|
1707
1715
|
|
1708
1716
|
> def px_to_window_rel(opts = {})
|
1709
1717
|
|
@@ -1715,7 +1723,7 @@ px_to_window_rel x: 50, y: 150
|
|
1715
1723
|
|
1716
1724
|
--
|
1717
1725
|
|
1718
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1726
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L137)
|
1719
1727
|
|
1720
1728
|
> def xml_keys(target)
|
1721
1729
|
|
@@ -1731,7 +1739,7 @@ __Returns:__
|
|
1731
1739
|
|
1732
1740
|
--
|
1733
1741
|
|
1734
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1742
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L145)
|
1735
1743
|
|
1736
1744
|
> def xml_values(target)
|
1737
1745
|
|
@@ -1747,7 +1755,7 @@ __Returns:__
|
|
1747
1755
|
|
1748
1756
|
--
|
1749
1757
|
|
1750
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1758
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L153)
|
1751
1759
|
|
1752
1760
|
> def resolve_id(id)
|
1753
1761
|
|
@@ -1763,7 +1771,7 @@ __Returns:__
|
|
1763
1771
|
|
1764
1772
|
--
|
1765
1773
|
|
1766
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1774
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L159)
|
1767
1775
|
|
1768
1776
|
> def filter
|
1769
1777
|
|
@@ -1771,7 +1779,7 @@ Returns the value of attribute filter
|
|
1771
1779
|
|
1772
1780
|
--
|
1773
1781
|
|
1774
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1782
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L162)
|
1775
1783
|
|
1776
1784
|
> def filter=(value)
|
1777
1785
|
|
@@ -1779,7 +1787,7 @@ convert to string to support symbols
|
|
1779
1787
|
|
1780
1788
|
--
|
1781
1789
|
|
1782
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1790
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L168)
|
1783
1791
|
|
1784
1792
|
> def initialize
|
1785
1793
|
|
@@ -1791,7 +1799,7 @@ __Returns:__
|
|
1791
1799
|
|
1792
1800
|
--
|
1793
1801
|
|
1794
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1802
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L173)
|
1795
1803
|
|
1796
1804
|
> def reset
|
1797
1805
|
|
@@ -1799,7 +1807,7 @@ __Returns:__
|
|
1799
1807
|
|
1800
1808
|
--
|
1801
1809
|
|
1802
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1810
|
+
##### [result](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L179)
|
1803
1811
|
|
1804
1812
|
> def result
|
1805
1813
|
|
@@ -1807,7 +1815,7 @@ __Returns:__
|
|
1807
1815
|
|
1808
1816
|
--
|
1809
1817
|
|
1810
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1818
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L195)
|
1811
1819
|
|
1812
1820
|
> def start_element(name, attrs = [])
|
1813
1821
|
|
@@ -1815,7 +1823,7 @@ __Returns:__
|
|
1815
1823
|
|
1816
1824
|
--
|
1817
1825
|
|
1818
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1826
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L204)
|
1819
1827
|
|
1820
1828
|
> def end_element(name)
|
1821
1829
|
|
@@ -1823,7 +1831,7 @@ __Returns:__
|
|
1823
1831
|
|
1824
1832
|
--
|
1825
1833
|
|
1826
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L210)
|
1827
1835
|
|
1828
1836
|
> def characters(chars)
|
1829
1837
|
|
@@ -1831,7 +1839,7 @@ __Returns:__
|
|
1831
1839
|
|
1832
1840
|
--
|
1833
1841
|
|
1834
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1842
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L217)
|
1835
1843
|
|
1836
1844
|
> def _no_such_element
|
1837
1845
|
|
@@ -1839,7 +1847,7 @@ __Returns:__
|
|
1839
1847
|
|
1840
1848
|
--
|
1841
1849
|
|
1842
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1850
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/command.rb#L4)
|
1843
1851
|
|
1844
1852
|
> COMMAND_NO_ARG = {
|
1845
1853
|
|
@@ -1847,7 +1855,7 @@ __Returns:__
|
|
1847
1855
|
|
1848
1856
|
--
|
1849
1857
|
|
1850
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1858
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/command.rb#L27)
|
1851
1859
|
|
1852
1860
|
> COMMAND = {
|
1853
1861
|
|
@@ -1855,7 +1863,7 @@ __Returns:__
|
|
1855
1863
|
|
1856
1864
|
--
|
1857
1865
|
|
1858
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1866
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/element/window.rb#L5)
|
1859
1867
|
|
1860
1868
|
> def window_size
|
1861
1869
|
|
@@ -1863,7 +1871,7 @@ Get the window's size
|
|
1863
1871
|
|
1864
1872
|
--
|
1865
1873
|
|
1866
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1874
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/search_context.rb#L5)
|
1867
1875
|
|
1868
1876
|
> FINDERS = {
|
1869
1877
|
|
@@ -1871,7 +1879,7 @@ rubocop:disable Style/MutableConstant
|
|
1871
1879
|
|
1872
1880
|
--
|
1873
1881
|
|
1874
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1882
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L4) ios
|
1875
1883
|
|
1876
1884
|
> def filter
|
1877
1885
|
|
@@ -1879,7 +1887,7 @@ Returns the value of attribute filter
|
|
1879
1887
|
|
1880
1888
|
--
|
1881
1889
|
|
1882
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1890
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L4) ios
|
1883
1891
|
|
1884
1892
|
> def filter=(value)
|
1885
1893
|
|
@@ -1891,7 +1899,7 @@ __Parameters:__
|
|
1891
1899
|
|
1892
1900
|
--
|
1893
1901
|
|
1894
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1902
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L6) ios
|
1895
1903
|
|
1896
1904
|
> def start_element(type, attrs = [])
|
1897
1905
|
|
@@ -1899,7 +1907,7 @@ __Parameters:__
|
|
1899
1907
|
|
1900
1908
|
--
|
1901
1909
|
|
1902
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1910
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L15) ios
|
1903
1911
|
|
1904
1912
|
> def _print_attr(type, name, label, value, hint)
|
1905
1913
|
|
@@ -1907,7 +1915,7 @@ __Parameters:__
|
|
1907
1915
|
|
1908
1916
|
--
|
1909
1917
|
|
1910
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1918
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L41) ios
|
1911
1919
|
|
1912
1920
|
> def ios_password(length = 1)
|
1913
1921
|
|
@@ -1925,7 +1933,7 @@ __Returns:__
|
|
1925
1933
|
|
1926
1934
|
--
|
1927
1935
|
|
1928
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1936
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L53) ios
|
1929
1937
|
|
1930
1938
|
> def get_page(element = source_window(0), class_name = nil)
|
1931
1939
|
|
@@ -1946,7 +1954,7 @@ __Returns:__
|
|
1946
1954
|
|
1947
1955
|
--
|
1948
1956
|
|
1949
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1957
|
+
##### [page](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L139) ios
|
1950
1958
|
|
1951
1959
|
> def page(opts = {})
|
1952
1960
|
|
@@ -1972,7 +1980,7 @@ __Returns:__
|
|
1972
1980
|
|
1973
1981
|
--
|
1974
1982
|
|
1975
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L170) ios
|
1976
1984
|
|
1977
1985
|
> def source_window(_window_number = 0)
|
1978
1986
|
|
@@ -1988,7 +1996,7 @@ __Returns:__
|
|
1988
1996
|
|
1989
1997
|
--
|
1990
1998
|
|
1991
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L185) ios
|
1992
2000
|
|
1993
2001
|
> def page_window(window_number = 0)
|
1994
2002
|
|
@@ -2006,7 +2014,7 @@ __Returns:__
|
|
2006
2014
|
|
2007
2015
|
--
|
2008
2016
|
|
2009
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2017
|
+
##### [id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L193) ios
|
2010
2018
|
|
2011
2019
|
> def id(id)
|
2012
2020
|
|
@@ -2022,7 +2030,7 @@ __Returns:__
|
|
2022
2030
|
|
2023
2031
|
--
|
2024
2032
|
|
2025
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
2033
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L199) ios
|
2026
2034
|
|
2027
2035
|
> def ios_version
|
2028
2036
|
|
@@ -2034,7 +2042,7 @@ __Returns:__
|
|
2034
2042
|
|
2035
2043
|
--
|
2036
2044
|
|
2037
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L212) ios
|
2038
2046
|
|
2039
2047
|
> def ele_index(class_name, index)
|
2040
2048
|
|
@@ -2052,7 +2060,7 @@ __Returns:__
|
|
2052
2060
|
|
2053
2061
|
--
|
2054
2062
|
|
2055
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
2063
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L248) ios
|
2056
2064
|
|
2057
2065
|
> def find_ele_by_attr(class_name, attr, value)
|
2058
2066
|
|
@@ -2074,7 +2082,7 @@ __Returns:__
|
|
2074
2082
|
|
2075
2083
|
--
|
2076
2084
|
|
2077
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L259) ios
|
2078
2086
|
|
2079
2087
|
> def find_eles_by_attr(class_name, attr, value)
|
2080
2088
|
|
@@ -2096,7 +2104,7 @@ __Returns:__
|
|
2096
2104
|
|
2097
2105
|
--
|
2098
2106
|
|
2099
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2107
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L280) ios
|
2100
2108
|
|
2101
2109
|
> def find_ele_by_predicate(class_name: '*', value:)
|
2102
2110
|
|
@@ -2113,7 +2121,7 @@ __Returns:__
|
|
2113
2121
|
|
2114
2122
|
--
|
2115
2123
|
|
2116
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2124
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L291) ios
|
2117
2125
|
|
2118
2126
|
> def find_eles_by_predicate(class_name: '*', value:)
|
2119
2127
|
|
@@ -2132,7 +2140,7 @@ __Returns:__
|
|
2132
2140
|
|
2133
2141
|
--
|
2134
2142
|
|
2135
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L307) ios
|
2136
2144
|
|
2137
2145
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2138
2146
|
|
@@ -2153,7 +2161,7 @@ __Returns:__
|
|
2153
2161
|
|
2154
2162
|
--
|
2155
2163
|
|
2156
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2164
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L317) ios
|
2157
2165
|
|
2158
2166
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2159
2167
|
|
@@ -2174,7 +2182,7 @@ __Returns:__
|
|
2174
2182
|
|
2175
2183
|
--
|
2176
2184
|
|
2177
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2185
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L325) ios
|
2178
2186
|
|
2179
2187
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
2180
2188
|
|
@@ -2191,7 +2199,7 @@ __Returns:__
|
|
2191
2199
|
|
2192
2200
|
--
|
2193
2201
|
|
2194
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2202
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L336) ios
|
2195
2203
|
|
2196
2204
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
2197
2205
|
|
@@ -2210,7 +2218,7 @@ __Returns:__
|
|
2210
2218
|
|
2211
2219
|
--
|
2212
2220
|
|
2213
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2221
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L349) ios
|
2214
2222
|
|
2215
2223
|
> def first_ele(class_name)
|
2216
2224
|
|
@@ -2226,7 +2234,7 @@ __Returns:__
|
|
2226
2234
|
|
2227
2235
|
--
|
2228
2236
|
|
2229
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2237
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L356) ios
|
2230
2238
|
|
2231
2239
|
> def last_ele(class_name)
|
2232
2240
|
|
@@ -2242,7 +2250,7 @@ __Returns:__
|
|
2242
2250
|
|
2243
2251
|
--
|
2244
2252
|
|
2245
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2253
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L370) ios
|
2246
2254
|
|
2247
2255
|
> def tag(class_name)
|
2248
2256
|
|
@@ -2258,7 +2266,7 @@ __Returns:__
|
|
2258
2266
|
|
2259
2267
|
--
|
2260
2268
|
|
2261
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2269
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L382) ios
|
2262
2270
|
|
2263
2271
|
> def tags(class_name)
|
2264
2272
|
|
@@ -2274,7 +2282,7 @@ __Returns:__
|
|
2274
2282
|
|
2275
2283
|
--
|
2276
2284
|
|
2277
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2285
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L398) ios
|
2278
2286
|
|
2279
2287
|
> def tags_include(class_names:, value: nil)
|
2280
2288
|
|
@@ -2294,7 +2302,7 @@ __Returns:__
|
|
2294
2302
|
|
2295
2303
|
--
|
2296
2304
|
|
2297
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2305
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L427) ios
|
2298
2306
|
|
2299
2307
|
> def tags_exact(class_names:, value: nil)
|
2300
2308
|
|
@@ -2314,7 +2322,7 @@ __Returns:__
|
|
2314
2322
|
|
2315
2323
|
--
|
2316
2324
|
|
2317
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L478) ios
|
2318
2326
|
|
2319
2327
|
> def ele_by_json_visible_contains(element, value)
|
2320
2328
|
|
@@ -2333,7 +2341,7 @@ __Returns:__
|
|
2333
2341
|
|
2334
2342
|
--
|
2335
2343
|
|
2336
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2344
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L487) ios
|
2337
2345
|
|
2338
2346
|
> def eles_by_json_visible_contains(element, value)
|
2339
2347
|
|
@@ -2352,7 +2360,7 @@ __Returns:__
|
|
2352
2360
|
|
2353
2361
|
--
|
2354
2362
|
|
2355
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2363
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L517) ios
|
2356
2364
|
|
2357
2365
|
> def ele_by_json_visible_exact(element, value)
|
2358
2366
|
|
@@ -2371,7 +2379,7 @@ __Returns:__
|
|
2371
2379
|
|
2372
2380
|
--
|
2373
2381
|
|
2374
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2382
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L526) ios
|
2375
2383
|
|
2376
2384
|
> def eles_by_json_visible_exact(element, value)
|
2377
2385
|
|
@@ -2390,7 +2398,7 @@ __Returns:__
|
|
2390
2398
|
|
2391
2399
|
--
|
2392
2400
|
|
2393
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2401
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L591) ios
|
2394
2402
|
|
2395
2403
|
> def _all_pred(opts)
|
2396
2404
|
|
@@ -2400,7 +2408,7 @@ visible - if true, only visible elements are returned. default true
|
|
2400
2408
|
|
2401
2409
|
--
|
2402
2410
|
|
2403
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2411
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L604) ios
|
2404
2412
|
|
2405
2413
|
> def ele_with_pred(opts)
|
2406
2414
|
|
@@ -2416,7 +2424,7 @@ __Returns:__
|
|
2416
2424
|
|
2417
2425
|
--
|
2418
2426
|
|
2419
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L615) ios
|
2420
2428
|
|
2421
2429
|
> def eles_with_pred(opts)
|
2422
2430
|
|
@@ -2432,7 +2440,7 @@ __Returns:__
|
|
2432
2440
|
|
2433
2441
|
--
|
2434
2442
|
|
2435
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2443
|
+
##### [source](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L621) ios
|
2436
2444
|
|
2437
2445
|
> def source
|
2438
2446
|
|
@@ -2444,7 +2452,7 @@ __Returns:__
|
|
2444
2452
|
|
2445
2453
|
--
|
2446
2454
|
|
2447
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2455
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L625) ios
|
2448
2456
|
|
2449
2457
|
> def _validate_object(*objects)
|
2450
2458
|
|
@@ -2452,7 +2460,7 @@ __Returns:__
|
|
2452
2460
|
|
2453
2461
|
--
|
2454
2462
|
|
2455
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2463
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L674) ios
|
2456
2464
|
|
2457
2465
|
> def _by_json(opts)
|
2458
2466
|
|
@@ -2487,7 +2495,7 @@ opts = {
|
|
2487
2495
|
|
2488
2496
|
--
|
2489
2497
|
|
2490
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2498
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L724) ios
|
2491
2499
|
|
2492
2500
|
> def eles_by_json(opts)
|
2493
2501
|
|
@@ -2506,7 +2514,7 @@ eles_by_json({
|
|
2506
2514
|
|
2507
2515
|
--
|
2508
2516
|
|
2509
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2517
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L730) ios
|
2510
2518
|
|
2511
2519
|
> def ele_by_json(opts)
|
2512
2520
|
|
@@ -2514,7 +2522,7 @@ see eles_by_json
|
|
2514
2522
|
|
2515
2523
|
--
|
2516
2524
|
|
2517
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2525
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/helper.rb#L740) ios
|
2518
2526
|
|
2519
2527
|
> def get_source
|
2520
2528
|
|
@@ -2527,7 +2535,7 @@ __Returns:__
|
|
2527
2535
|
|
2528
2536
|
--
|
2529
2537
|
|
2530
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2538
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L4) ios
|
2531
2539
|
|
2532
2540
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2533
2541
|
|
@@ -2535,7 +2543,7 @@ __Returns:__
|
|
2535
2543
|
|
2536
2544
|
--
|
2537
2545
|
|
2538
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2546
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L5) ios
|
2539
2547
|
|
2540
2548
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2541
2549
|
|
@@ -2543,7 +2551,7 @@ __Returns:__
|
|
2543
2551
|
|
2544
2552
|
--
|
2545
2553
|
|
2546
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2554
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L8) ios
|
2547
2555
|
|
2548
2556
|
> def static_text_class
|
2549
2557
|
|
@@ -2555,7 +2563,7 @@ __Returns:__
|
|
2555
2563
|
|
2556
2564
|
--
|
2557
2565
|
|
2558
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2566
|
+
##### [text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L16) ios
|
2559
2567
|
|
2560
2568
|
> def text(value)
|
2561
2569
|
|
@@ -2572,7 +2580,7 @@ __Returns:__
|
|
2572
2580
|
|
2573
2581
|
--
|
2574
2582
|
|
2575
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2583
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L30) ios
|
2576
2584
|
|
2577
2585
|
> def texts(value = false)
|
2578
2586
|
|
@@ -2589,7 +2597,7 @@ __Returns:__
|
|
2589
2597
|
|
2590
2598
|
--
|
2591
2599
|
|
2592
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2600
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L43) ios
|
2593
2601
|
|
2594
2602
|
> def first_text
|
2595
2603
|
|
@@ -2601,7 +2609,7 @@ __Returns:__
|
|
2601
2609
|
|
2602
2610
|
--
|
2603
2611
|
|
2604
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2612
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L49) ios
|
2605
2613
|
|
2606
2614
|
> def last_text
|
2607
2615
|
|
@@ -2613,7 +2621,7 @@ __Returns:__
|
|
2613
2621
|
|
2614
2622
|
--
|
2615
2623
|
|
2616
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2624
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L56) ios
|
2617
2625
|
|
2618
2626
|
> def text_exact(value)
|
2619
2627
|
|
@@ -2629,7 +2637,7 @@ __Returns:__
|
|
2629
2637
|
|
2630
2638
|
--
|
2631
2639
|
|
2632
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2640
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/text.rb#L67) ios
|
2633
2641
|
|
2634
2642
|
> def texts_exact(value)
|
2635
2643
|
|
@@ -2645,7 +2653,7 @@ __Returns:__
|
|
2645
2653
|
|
2646
2654
|
--
|
2647
2655
|
|
2648
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2656
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2649
2657
|
|
2650
2658
|
> def alert_accept
|
2651
2659
|
|
@@ -2657,7 +2665,7 @@ __Returns:__
|
|
2657
2665
|
|
2658
2666
|
--
|
2659
2667
|
|
2660
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2668
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2661
2669
|
|
2662
2670
|
> def alert_dismiss
|
2663
2671
|
|
@@ -2669,7 +2677,7 @@ __Returns:__
|
|
2669
2677
|
|
2670
2678
|
--
|
2671
2679
|
|
2672
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2680
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L4) ios
|
2673
2681
|
|
2674
2682
|
> UIAButton = 'UIAButton'.freeze
|
2675
2683
|
|
@@ -2677,7 +2685,7 @@ __Returns:__
|
|
2677
2685
|
|
2678
2686
|
--
|
2679
2687
|
|
2680
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2688
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L5) ios
|
2681
2689
|
|
2682
2690
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2683
2691
|
|
@@ -2685,7 +2693,7 @@ __Returns:__
|
|
2685
2693
|
|
2686
2694
|
--
|
2687
2695
|
|
2688
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2696
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L8) ios
|
2689
2697
|
|
2690
2698
|
> def button_class
|
2691
2699
|
|
@@ -2697,7 +2705,7 @@ __Returns:__
|
|
2697
2705
|
|
2698
2706
|
--
|
2699
2707
|
|
2700
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2708
|
+
##### [button](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L16) ios
|
2701
2709
|
|
2702
2710
|
> def button(value)
|
2703
2711
|
|
@@ -2714,7 +2722,7 @@ __Returns:__
|
|
2714
2722
|
|
2715
2723
|
--
|
2716
2724
|
|
2717
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2725
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L31) ios
|
2718
2726
|
|
2719
2727
|
> def buttons(value = false)
|
2720
2728
|
|
@@ -2731,7 +2739,7 @@ __Returns:__
|
|
2731
2739
|
|
2732
2740
|
--
|
2733
2741
|
|
2734
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2742
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L44) ios
|
2735
2743
|
|
2736
2744
|
> def first_button
|
2737
2745
|
|
@@ -2743,7 +2751,7 @@ __Returns:__
|
|
2743
2751
|
|
2744
2752
|
--
|
2745
2753
|
|
2746
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2754
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L52) ios
|
2747
2755
|
|
2748
2756
|
> def last_button
|
2749
2757
|
|
@@ -2757,7 +2765,7 @@ __Returns:__
|
|
2757
2765
|
|
2758
2766
|
--
|
2759
2767
|
|
2760
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2768
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L59) ios
|
2761
2769
|
|
2762
2770
|
> def button_exact(value)
|
2763
2771
|
|
@@ -2773,7 +2781,7 @@ __Returns:__
|
|
2773
2781
|
|
2774
2782
|
--
|
2775
2783
|
|
2776
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2784
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/button.rb#L70) ios
|
2777
2785
|
|
2778
2786
|
> def buttons_exact(value)
|
2779
2787
|
|
@@ -2789,7 +2797,7 @@ __Returns:__
|
|
2789
2797
|
|
2790
2798
|
--
|
2791
2799
|
|
2792
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2800
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2793
2801
|
|
2794
2802
|
> def uiautomation_find
|
2795
2803
|
|
@@ -2801,7 +2809,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2801
2809
|
|
2802
2810
|
--
|
2803
2811
|
|
2804
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2812
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2805
2813
|
|
2806
2814
|
> def ios_predicate_string_find
|
2807
2815
|
|
@@ -2815,7 +2823,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2815
2823
|
|
2816
2824
|
--
|
2817
2825
|
|
2818
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
2826
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2819
2827
|
|
2820
2828
|
> def ios_class_chain_find
|
2821
2829
|
|
@@ -2833,7 +2841,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
2833
2841
|
|
2834
2842
|
--
|
2835
2843
|
|
2836
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2844
|
+
##### [find](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2837
2845
|
|
2838
2846
|
> def find(value)
|
2839
2847
|
|
@@ -2849,7 +2857,7 @@ __Returns:__
|
|
2849
2857
|
|
2850
2858
|
--
|
2851
2859
|
|
2852
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2860
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2853
2861
|
|
2854
2862
|
> def finds(value)
|
2855
2863
|
|
@@ -2865,7 +2873,7 @@ __Returns:__
|
|
2865
2873
|
|
2866
2874
|
--
|
2867
2875
|
|
2868
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2876
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2869
2877
|
|
2870
2878
|
> def find_exact(value)
|
2871
2879
|
|
@@ -2881,7 +2889,7 @@ __Returns:__
|
|
2881
2889
|
|
2882
2890
|
--
|
2883
2891
|
|
2884
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2892
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2885
2893
|
|
2886
2894
|
> def finds_exact(value)
|
2887
2895
|
|
@@ -2897,7 +2905,7 @@ __Returns:__
|
|
2897
2905
|
|
2898
2906
|
--
|
2899
2907
|
|
2900
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2908
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2901
2909
|
|
2902
2910
|
> def raise_error_if_no_element(element)
|
2903
2911
|
|
@@ -2905,7 +2913,7 @@ __Returns:__
|
|
2905
2913
|
|
2906
2914
|
--
|
2907
2915
|
|
2908
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2916
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2909
2917
|
|
2910
2918
|
> def select_visible_elements(elements)
|
2911
2919
|
|
@@ -2913,7 +2921,7 @@ Return visible elements.
|
|
2913
2921
|
|
2914
2922
|
--
|
2915
2923
|
|
2916
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2924
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2917
2925
|
|
2918
2926
|
> UIATextField = 'UIATextField'.freeze
|
2919
2927
|
|
@@ -2921,7 +2929,7 @@ Return visible elements.
|
|
2921
2929
|
|
2922
2930
|
--
|
2923
2931
|
|
2924
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2932
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2925
2933
|
|
2926
2934
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2927
2935
|
|
@@ -2929,7 +2937,7 @@ Return visible elements.
|
|
2929
2937
|
|
2930
2938
|
--
|
2931
2939
|
|
2932
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2940
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2933
2941
|
|
2934
2942
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2935
2943
|
|
@@ -2937,7 +2945,7 @@ Return visible elements.
|
|
2937
2945
|
|
2938
2946
|
--
|
2939
2947
|
|
2940
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2948
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2941
2949
|
|
2942
2950
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2943
2951
|
|
@@ -2945,7 +2953,7 @@ Return visible elements.
|
|
2945
2953
|
|
2946
2954
|
--
|
2947
2955
|
|
2948
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2956
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2949
2957
|
|
2950
2958
|
> def text_field_class
|
2951
2959
|
|
@@ -2957,7 +2965,7 @@ __Returns:__
|
|
2957
2965
|
|
2958
2966
|
--
|
2959
2967
|
|
2960
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2968
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2961
2969
|
|
2962
2970
|
> def secure_text_field_class
|
2963
2971
|
|
@@ -2969,7 +2977,7 @@ __Returns:__
|
|
2969
2977
|
|
2970
2978
|
--
|
2971
2979
|
|
2972
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2980
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
2973
2981
|
|
2974
2982
|
> def _textfield_visible
|
2975
2983
|
|
@@ -2977,7 +2985,7 @@ Appium
|
|
2977
2985
|
|
2978
2986
|
--
|
2979
2987
|
|
2980
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2988
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
2981
2989
|
|
2982
2990
|
> def _textfield_exact_string(value)
|
2983
2991
|
|
@@ -2985,7 +2993,7 @@ Appium
|
|
2985
2993
|
|
2986
2994
|
--
|
2987
2995
|
|
2988
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2996
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
2989
2997
|
|
2990
2998
|
> def _textfield_contains_string(value)
|
2991
2999
|
|
@@ -2993,7 +3001,7 @@ Appium
|
|
2993
3001
|
|
2994
3002
|
--
|
2995
3003
|
|
2996
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3004
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
2997
3005
|
|
2998
3006
|
> def textfield(value)
|
2999
3007
|
|
@@ -3011,7 +3019,7 @@ __Returns:__
|
|
3011
3019
|
|
3012
3020
|
--
|
3013
3021
|
|
3014
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3022
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
3015
3023
|
|
3016
3024
|
> def textfields(value = false)
|
3017
3025
|
|
@@ -3028,7 +3036,7 @@ __Returns:__
|
|
3028
3036
|
|
3029
3037
|
--
|
3030
3038
|
|
3031
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3039
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
3032
3040
|
|
3033
3041
|
> def first_textfield
|
3034
3042
|
|
@@ -3040,7 +3048,7 @@ __Returns:__
|
|
3040
3048
|
|
3041
3049
|
--
|
3042
3050
|
|
3043
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3051
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
3044
3052
|
|
3045
3053
|
> def last_textfield
|
3046
3054
|
|
@@ -3052,7 +3060,7 @@ __Returns:__
|
|
3052
3060
|
|
3053
3061
|
--
|
3054
3062
|
|
3055
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3063
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
3056
3064
|
|
3057
3065
|
> def textfield_exact(value)
|
3058
3066
|
|
@@ -3068,7 +3076,7 @@ __Returns:__
|
|
3068
3076
|
|
3069
3077
|
--
|
3070
3078
|
|
3071
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3079
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
3072
3080
|
|
3073
3081
|
> def textfields_exact(value)
|
3074
3082
|
|
@@ -3084,7 +3092,7 @@ __Returns:__
|
|
3084
3092
|
|
3085
3093
|
--
|
3086
3094
|
|
3087
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
3095
|
+
##### [value](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L12)
|
3088
3096
|
|
3089
3097
|
> def value
|
3090
3098
|
|
@@ -3094,7 +3102,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
3094
3102
|
|
3095
3103
|
--
|
3096
3104
|
|
3097
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
3105
|
+
##### [name](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L19)
|
3098
3106
|
|
3099
3107
|
> def name
|
3100
3108
|
|
@@ -3104,7 +3112,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
3104
3112
|
|
3105
3113
|
--
|
3106
3114
|
|
3107
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
3115
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L31)
|
3108
3116
|
|
3109
3117
|
> def location_rel
|
3110
3118
|
|
@@ -3122,7 +3130,7 @@ __Returns:__
|
|
3122
3130
|
|
3123
3131
|
--
|
3124
3132
|
|
3125
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
3133
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L152)
|
3126
3134
|
|
3127
3135
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
3128
3136
|
|
@@ -3130,7 +3138,7 @@ __Returns:__
|
|
3130
3138
|
|
3131
3139
|
--
|
3132
3140
|
|
3133
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
3141
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L155)
|
3134
3142
|
|
3135
3143
|
> def patch_remote_driver_commands
|
3136
3144
|
|