appium_lib 9.3.1 → 9.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/android_tests/lib/android/specs/driver.rb +1 -0
- data/docs/android_docs.md +238 -222
- data/docs/ios_docs.md +252 -236
- data/ios_tests/appium.txt +1 -0
- data/ios_tests/lib/ios/specs/driver.rb +1 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +7 -1
- data/readme.md +3 -2
- data/release_notes.md +12 -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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/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/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L291)
|
259
259
|
|
260
260
|
> def sauce_access_key=(value)
|
261
261
|
|
@@ -263,7 +263,23 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L293)
|
267
|
+
|
268
|
+
> def sauce_endpoint
|
269
|
+
|
270
|
+
Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
271
|
+
|
272
|
+
--
|
273
|
+
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L293)
|
275
|
+
|
276
|
+
> def sauce_endpoint=(value)
|
277
|
+
|
278
|
+
Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
279
|
+
|
280
|
+
--
|
281
|
+
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L295)
|
267
283
|
|
268
284
|
> def appium_port
|
269
285
|
|
@@ -271,7 +287,7 @@ Appium's server port
|
|
271
287
|
|
272
288
|
--
|
273
289
|
|
274
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L295)
|
275
291
|
|
276
292
|
> def appium_port=(value)
|
277
293
|
|
@@ -279,7 +295,7 @@ Appium's server port
|
|
279
295
|
|
280
296
|
--
|
281
297
|
|
282
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L297)
|
283
299
|
|
284
300
|
> def appium_device
|
285
301
|
|
@@ -287,7 +303,7 @@ Device type to request from the appium server
|
|
287
303
|
|
288
304
|
--
|
289
305
|
|
290
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L297)
|
291
307
|
|
292
308
|
> def appium_device=(value)
|
293
309
|
|
@@ -295,7 +311,7 @@ Device type to request from the appium server
|
|
295
311
|
|
296
312
|
--
|
297
313
|
|
298
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L300)
|
299
315
|
|
300
316
|
> def automation_name
|
301
317
|
|
@@ -304,7 +320,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
304
320
|
|
305
321
|
--
|
306
322
|
|
307
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L302)
|
308
324
|
|
309
325
|
> def appium_server_version
|
310
326
|
|
@@ -325,7 +341,7 @@ __Returns:__
|
|
325
341
|
|
326
342
|
--
|
327
343
|
|
328
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
344
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L304)
|
329
345
|
|
330
346
|
> def appium_debug
|
331
347
|
|
@@ -333,7 +349,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
333
349
|
|
334
350
|
--
|
335
351
|
|
336
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
352
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L304)
|
337
353
|
|
338
354
|
> def appium_debug=(value)
|
339
355
|
|
@@ -341,7 +357,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
341
357
|
|
342
358
|
--
|
343
359
|
|
344
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
360
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L306)
|
345
361
|
|
346
362
|
> def listener
|
347
363
|
|
@@ -349,7 +365,7 @@ instance of AbstractEventListener for logging support
|
|
349
365
|
|
350
366
|
--
|
351
367
|
|
352
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
368
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L306)
|
353
369
|
|
354
370
|
> def listener=(value)
|
355
371
|
|
@@ -357,7 +373,7 @@ instance of AbstractEventListener for logging support
|
|
357
373
|
|
358
374
|
--
|
359
375
|
|
360
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
376
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L309)
|
361
377
|
|
362
378
|
> def driver
|
363
379
|
|
@@ -369,7 +385,7 @@ __Returns:__
|
|
369
385
|
|
370
386
|
--
|
371
387
|
|
372
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
388
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L312)
|
373
389
|
|
374
390
|
> def http_client
|
375
391
|
|
@@ -381,7 +397,7 @@ __Returns:__
|
|
381
397
|
|
382
398
|
--
|
383
399
|
|
384
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
400
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L317)
|
385
401
|
|
386
402
|
> def appium_wait_timeout
|
387
403
|
|
@@ -395,7 +411,7 @@ __Returns:__
|
|
395
411
|
|
396
412
|
--
|
397
413
|
|
398
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L322)
|
399
415
|
|
400
416
|
> def appium_wait_interval
|
401
417
|
|
@@ -409,7 +425,7 @@ __Returns:__
|
|
409
425
|
|
410
426
|
--
|
411
427
|
|
412
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
428
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L362)
|
413
429
|
|
414
430
|
> def initialize(opts = {})
|
415
431
|
|
@@ -425,7 +441,7 @@ __Returns:__
|
|
425
441
|
|
426
442
|
--
|
427
443
|
|
428
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
444
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L440)
|
429
445
|
|
430
446
|
> def driver_attributes
|
431
447
|
|
@@ -433,7 +449,7 @@ Returns a hash of the driver attributes
|
|
433
449
|
|
434
450
|
--
|
435
451
|
|
436
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
452
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L465)
|
437
453
|
|
438
454
|
> def device_is_android?
|
439
455
|
|
@@ -445,7 +461,7 @@ __Returns:__
|
|
445
461
|
|
446
462
|
--
|
447
463
|
|
448
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L471)
|
449
465
|
|
450
466
|
> def automation_name_is_xcuitest?
|
451
467
|
|
@@ -457,7 +473,7 @@ __Returns:__
|
|
457
473
|
|
458
474
|
--
|
459
475
|
|
460
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L478)
|
461
477
|
|
462
478
|
> def check_server_version_xcuitest
|
463
479
|
|
@@ -470,7 +486,7 @@ __Returns:__
|
|
470
486
|
|
471
487
|
--
|
472
488
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
489
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L510)
|
474
490
|
|
475
491
|
> def appium_client_version
|
476
492
|
|
@@ -488,7 +504,7 @@ __Returns:__
|
|
488
504
|
|
489
505
|
--
|
490
506
|
|
491
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
507
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L522)
|
492
508
|
|
493
509
|
> def self.absolute_app_path(opts)
|
494
510
|
|
@@ -505,7 +521,7 @@ __Returns:__
|
|
505
521
|
|
506
522
|
--
|
507
523
|
|
508
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
524
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L555)
|
509
525
|
|
510
526
|
> def server_url
|
511
527
|
|
@@ -517,7 +533,7 @@ __Returns:__
|
|
517
533
|
|
518
534
|
--
|
519
535
|
|
520
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
536
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L566)
|
521
537
|
|
522
538
|
> def restart
|
523
539
|
|
@@ -529,7 +545,7 @@ __Returns:__
|
|
529
545
|
|
530
546
|
--
|
531
547
|
|
532
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
548
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L577)
|
533
549
|
|
534
550
|
> def screenshot(png_save_path)
|
535
551
|
|
@@ -547,7 +563,7 @@ __Returns:__
|
|
547
563
|
|
548
564
|
--
|
549
565
|
|
550
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
566
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L584)
|
551
567
|
|
552
568
|
> def driver_quit
|
553
569
|
|
@@ -559,7 +575,7 @@ __Returns:__
|
|
559
575
|
|
560
576
|
--
|
561
577
|
|
562
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
578
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L594)
|
563
579
|
|
564
580
|
> def start_driver
|
565
581
|
|
@@ -571,7 +587,7 @@ __Returns:__
|
|
571
587
|
|
572
588
|
--
|
573
589
|
|
574
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L632)
|
575
591
|
|
576
592
|
> def no_wait
|
577
593
|
|
@@ -579,7 +595,7 @@ Set implicit wait to zero.
|
|
579
595
|
|
580
596
|
--
|
581
597
|
|
582
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L646)
|
583
599
|
|
584
600
|
> def set_wait(timeout = nil)
|
585
601
|
|
@@ -601,7 +617,7 @@ __Returns:__
|
|
601
617
|
|
602
618
|
--
|
603
619
|
|
604
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
620
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L663)
|
605
621
|
|
606
622
|
> def exists(pre_check = 0, post_check = @default_wait)
|
607
623
|
|
@@ -625,7 +641,7 @@ __Returns:__
|
|
625
641
|
|
626
642
|
--
|
627
643
|
|
628
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L687)
|
629
645
|
|
630
646
|
> def execute_script(script, *args)
|
631
647
|
|
@@ -643,7 +659,7 @@ __Returns:__
|
|
643
659
|
|
644
660
|
--
|
645
661
|
|
646
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L695)
|
647
663
|
|
648
664
|
> def find_elements(*args)
|
649
665
|
|
@@ -659,7 +675,7 @@ __Returns:__
|
|
659
675
|
|
660
676
|
--
|
661
677
|
|
662
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
678
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L703)
|
663
679
|
|
664
680
|
> def find_element(*args)
|
665
681
|
|
@@ -675,7 +691,7 @@ __Returns:__
|
|
675
691
|
|
676
692
|
--
|
677
693
|
|
678
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
694
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L716)
|
679
695
|
|
680
696
|
> def set_location(opts = {})
|
681
697
|
|
@@ -691,7 +707,7 @@ __Returns:__
|
|
691
707
|
|
692
708
|
--
|
693
709
|
|
694
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [x](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L726)
|
695
711
|
|
696
712
|
> def x
|
697
713
|
|
@@ -704,7 +720,7 @@ __Returns:__
|
|
704
720
|
|
705
721
|
--
|
706
722
|
|
707
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
723
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/driver.rb#L735)
|
708
724
|
|
709
725
|
> def set_automation_name_if_nil
|
710
726
|
|
@@ -713,7 +729,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
713
729
|
|
714
730
|
--
|
715
731
|
|
716
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/logger.rb#L13)
|
717
733
|
|
718
734
|
> def logger=(value)
|
719
735
|
|
@@ -725,7 +741,7 @@ __Parameters:__
|
|
725
741
|
|
726
742
|
--
|
727
743
|
|
728
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/logger.rb#L17)
|
729
745
|
|
730
746
|
> def logger
|
731
747
|
|
@@ -733,7 +749,7 @@ __Parameters:__
|
|
733
749
|
|
734
750
|
--
|
735
751
|
|
736
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L7)
|
737
753
|
|
738
754
|
> def app_strings
|
739
755
|
|
@@ -744,7 +760,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
744
760
|
|
745
761
|
--
|
746
762
|
|
747
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
763
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L13)
|
748
764
|
|
749
765
|
> def background_app
|
750
766
|
|
@@ -753,7 +769,7 @@ This is a blocking application
|
|
753
769
|
|
754
770
|
--
|
755
771
|
|
756
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L18)
|
757
773
|
|
758
774
|
> def current_activity
|
759
775
|
|
@@ -761,7 +777,7 @@ This is a blocking application
|
|
761
777
|
|
762
778
|
--
|
763
779
|
|
764
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L20)
|
765
781
|
|
766
782
|
> def launch_app
|
767
783
|
|
@@ -769,7 +785,7 @@ Start the simulator and application configured with desired capabilities
|
|
769
785
|
|
770
786
|
--
|
771
787
|
|
772
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L23)
|
773
789
|
|
774
790
|
> def reset
|
775
791
|
|
@@ -777,7 +793,7 @@ Reset the device, relaunching the application.
|
|
777
793
|
|
778
794
|
--
|
779
795
|
|
780
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
796
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L26)
|
781
797
|
|
782
798
|
> def shake
|
783
799
|
|
@@ -785,7 +801,7 @@ Cause the device to shake
|
|
785
801
|
|
786
802
|
--
|
787
803
|
|
788
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L29)
|
789
805
|
|
790
806
|
> def toggle_flight_mode
|
791
807
|
|
@@ -793,7 +809,7 @@ Toggle flight mode on or off
|
|
793
809
|
|
794
810
|
--
|
795
811
|
|
796
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
812
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L32)
|
797
813
|
|
798
814
|
> def device_locked?
|
799
815
|
|
@@ -801,7 +817,7 @@ Toggle flight mode on or off
|
|
801
817
|
|
802
818
|
--
|
803
819
|
|
804
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
820
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L34)
|
805
821
|
|
806
822
|
> def hide_keyboard
|
807
823
|
|
@@ -814,7 +830,7 @@ Defaults to 'Done'.
|
|
814
830
|
|
815
831
|
--
|
816
832
|
|
817
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
833
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L43)
|
818
834
|
|
819
835
|
> def press_keycode
|
820
836
|
|
@@ -829,7 +845,7 @@ __Parameters:__
|
|
829
845
|
|
830
846
|
--
|
831
847
|
|
832
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
848
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L49)
|
833
849
|
|
834
850
|
> def long_press_keycode
|
835
851
|
|
@@ -844,7 +860,7 @@ __Parameters:__
|
|
844
860
|
|
845
861
|
--
|
846
862
|
|
847
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
863
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L55)
|
848
864
|
|
849
865
|
> def push_file
|
850
866
|
|
@@ -858,7 +874,7 @@ __Parameters:__
|
|
858
874
|
|
859
875
|
--
|
860
876
|
|
861
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
877
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L60)
|
862
878
|
|
863
879
|
> def pull_file
|
864
880
|
|
@@ -875,7 +891,7 @@ __Parameters:__
|
|
875
891
|
|
876
892
|
--
|
877
893
|
|
878
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
894
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L70)
|
879
895
|
|
880
896
|
> def pull_folder
|
881
897
|
|
@@ -890,7 +906,7 @@ __Parameters:__
|
|
890
906
|
|
891
907
|
--
|
892
908
|
|
893
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
909
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L78)
|
894
910
|
|
895
911
|
> def touch_id
|
896
912
|
|
@@ -907,7 +923,7 @@ Defaults to true.
|
|
907
923
|
|
908
924
|
--
|
909
925
|
|
910
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
926
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L87)
|
911
927
|
|
912
928
|
> def end_coverage
|
913
929
|
|
@@ -921,7 +937,7 @@ __Parameters:__
|
|
921
937
|
|
922
938
|
--
|
923
939
|
|
924
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
940
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L92)
|
925
941
|
|
926
942
|
> def get_settings
|
927
943
|
|
@@ -929,7 +945,7 @@ Get appium Settings for current test session
|
|
929
945
|
|
930
946
|
--
|
931
947
|
|
932
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
948
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L95)
|
933
949
|
|
934
950
|
> def update_settings
|
935
951
|
|
@@ -941,7 +957,7 @@ __Parameters:__
|
|
941
957
|
|
942
958
|
--
|
943
959
|
|
944
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
960
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L99)
|
945
961
|
|
946
962
|
> def start_activity
|
947
963
|
|
@@ -955,7 +971,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
955
971
|
|
956
972
|
--
|
957
973
|
|
958
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L113)
|
959
975
|
|
960
976
|
> def get_network_connection
|
961
977
|
|
@@ -964,7 +980,7 @@ See set_network_connection method for return value
|
|
964
980
|
|
965
981
|
--
|
966
982
|
|
967
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
983
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L117)
|
968
984
|
|
969
985
|
> def set_network_connection
|
970
986
|
|
@@ -983,7 +999,7 @@ __Parameters:__
|
|
983
999
|
|
984
1000
|
--
|
985
1001
|
|
986
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L130)
|
987
1003
|
|
988
1004
|
> def set_immediate_value
|
989
1005
|
|
@@ -997,7 +1013,7 @@ set_immediate_value element, 'hello'
|
|
997
1013
|
|
998
1014
|
--
|
999
1015
|
|
1000
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1016
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L139)
|
1001
1017
|
|
1002
1018
|
> def get_performance_data_types
|
1003
1019
|
|
@@ -1011,7 +1027,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1011
1027
|
|
1012
1028
|
--
|
1013
1029
|
|
1014
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1030
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L388)
|
1015
1031
|
|
1016
1032
|
> def extend_search_contexts
|
1017
1033
|
|
@@ -1019,7 +1035,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1019
1035
|
|
1020
1036
|
--
|
1021
1037
|
|
1022
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1038
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L388)
|
1023
1039
|
|
1024
1040
|
> def find_element
|
1025
1041
|
|
@@ -1027,7 +1043,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1027
1043
|
|
1028
1044
|
--
|
1029
1045
|
|
1030
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1046
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L388)
|
1031
1047
|
|
1032
1048
|
> def find_elements
|
1033
1049
|
|
@@ -1039,7 +1055,7 @@ find_element/s with their accessibility_id
|
|
1039
1055
|
|
1040
1056
|
--
|
1041
1057
|
|
1042
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1058
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L419)
|
1043
1059
|
|
1044
1060
|
> def add_touch_actions
|
1045
1061
|
|
@@ -1047,7 +1063,7 @@ find_element/s with their accessibility_id
|
|
1047
1063
|
|
1048
1064
|
--
|
1049
1065
|
|
1050
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1066
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L442)
|
1051
1067
|
|
1052
1068
|
> def add_ime_actions
|
1053
1069
|
|
@@ -1055,7 +1071,7 @@ find_element/s with their accessibility_id
|
|
1055
1071
|
|
1056
1072
|
--
|
1057
1073
|
|
1058
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1074
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L517)
|
1059
1075
|
|
1060
1076
|
> def set_context
|
1061
1077
|
|
@@ -1070,7 +1086,7 @@ __Parameters:__
|
|
1070
1086
|
|
1071
1087
|
--
|
1072
1088
|
|
1073
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L525)
|
1074
1090
|
|
1075
1091
|
> def current_context
|
1076
1092
|
|
@@ -1082,7 +1098,7 @@ __Returns:__
|
|
1082
1098
|
|
1083
1099
|
--
|
1084
1100
|
|
1085
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L528)
|
1086
1102
|
|
1087
1103
|
> def available_contexts
|
1088
1104
|
|
@@ -1094,7 +1110,7 @@ __Returns:__
|
|
1094
1110
|
|
1095
1111
|
--
|
1096
1112
|
|
1097
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1113
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L538)
|
1098
1114
|
|
1099
1115
|
> def within_context(context)
|
1100
1116
|
|
@@ -1110,7 +1126,7 @@ __Parameters:__
|
|
1110
1126
|
|
1111
1127
|
--
|
1112
1128
|
|
1113
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1129
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/device.rb#L546)
|
1114
1130
|
|
1115
1131
|
> def switch_to_default_context
|
1116
1132
|
|
@@ -1118,7 +1134,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1118
1134
|
|
1119
1135
|
--
|
1120
1136
|
|
1121
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1137
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L28)
|
1122
1138
|
|
1123
1139
|
> def pinch(percentage = 25, auto_perform = true)
|
1124
1140
|
|
@@ -1137,7 +1153,7 @@ __Parameters:__
|
|
1137
1153
|
|
1138
1154
|
--
|
1139
1155
|
|
1140
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L57)
|
1141
1157
|
|
1142
1158
|
> def zoom(percentage = 200, auto_perform = true)
|
1143
1159
|
|
@@ -1156,7 +1172,7 @@ __Parameters:__
|
|
1156
1172
|
|
1157
1173
|
--
|
1158
1174
|
|
1159
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L79)
|
1160
1176
|
|
1161
1177
|
> def pinch_for_xcuitest(rate)
|
1162
1178
|
|
@@ -1164,7 +1180,7 @@ __Parameters:__
|
|
1164
1180
|
|
1165
1181
|
--
|
1166
1182
|
|
1167
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L94)
|
1168
1184
|
|
1169
1185
|
> def pinch_android(rate)
|
1170
1186
|
|
@@ -1172,7 +1188,7 @@ __Parameters:__
|
|
1172
1188
|
|
1173
1189
|
--
|
1174
1190
|
|
1175
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L108)
|
1176
1192
|
|
1177
1193
|
> def pinch_ios(rate)
|
1178
1194
|
|
@@ -1180,7 +1196,7 @@ __Parameters:__
|
|
1180
1196
|
|
1181
1197
|
--
|
1182
1198
|
|
1183
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1199
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L122)
|
1184
1200
|
|
1185
1201
|
> def zoom_for_xcuitest(rate)
|
1186
1202
|
|
@@ -1188,7 +1204,7 @@ __Parameters:__
|
|
1188
1204
|
|
1189
1205
|
--
|
1190
1206
|
|
1191
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L137)
|
1192
1208
|
|
1193
1209
|
> def zoom_android(rate)
|
1194
1210
|
|
@@ -1196,7 +1212,7 @@ __Parameters:__
|
|
1196
1212
|
|
1197
1213
|
--
|
1198
1214
|
|
1199
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1215
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L151)
|
1200
1216
|
|
1201
1217
|
> def zoom_ios(rate)
|
1202
1218
|
|
@@ -1204,7 +1220,7 @@ __Parameters:__
|
|
1204
1220
|
|
1205
1221
|
--
|
1206
1222
|
|
1207
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L167)
|
1208
1224
|
|
1209
1225
|
> def initialize
|
1210
1226
|
|
@@ -1216,7 +1232,7 @@ __Returns:__
|
|
1216
1232
|
|
1217
1233
|
--
|
1218
1234
|
|
1219
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [add](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L173)
|
1220
1236
|
|
1221
1237
|
> def add(chain)
|
1222
1238
|
|
@@ -1228,7 +1244,7 @@ __Parameters:__
|
|
1228
1244
|
|
1229
1245
|
--
|
1230
1246
|
|
1231
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/multi_touch.rb#L178)
|
1232
1248
|
|
1233
1249
|
> def perform
|
1234
1250
|
|
@@ -1236,7 +1252,7 @@ Ask Appium to perform the actions
|
|
1236
1252
|
|
1237
1253
|
--
|
1238
1254
|
|
1239
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L11)
|
1240
1256
|
|
1241
1257
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1242
1258
|
|
@@ -1244,7 +1260,7 @@ Ask Appium to perform the actions
|
|
1244
1260
|
|
1245
1261
|
--
|
1246
1262
|
|
1247
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L12)
|
1248
1264
|
|
1249
1265
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1250
1266
|
|
@@ -1252,7 +1268,7 @@ Ask Appium to perform the actions
|
|
1252
1268
|
|
1253
1269
|
--
|
1254
1270
|
|
1255
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L26)
|
1256
1272
|
|
1257
1273
|
> def actions
|
1258
1274
|
|
@@ -1260,7 +1276,7 @@ Returns the value of attribute actions
|
|
1260
1276
|
|
1261
1277
|
--
|
1262
1278
|
|
1263
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L28)
|
1264
1280
|
|
1265
1281
|
> def initialize
|
1266
1282
|
|
@@ -1272,7 +1288,7 @@ __Returns:__
|
|
1272
1288
|
|
1273
1289
|
--
|
1274
1290
|
|
1275
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L39)
|
1276
1292
|
|
1277
1293
|
> def move_to(opts)
|
1278
1294
|
|
@@ -1286,7 +1302,7 @@ __Parameters:__
|
|
1286
1302
|
|
1287
1303
|
--
|
1288
1304
|
|
1289
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L53)
|
1290
1306
|
|
1291
1307
|
> def long_press(opts)
|
1292
1308
|
|
@@ -1307,7 +1323,7 @@ __Parameters:__
|
|
1307
1323
|
|
1308
1324
|
--
|
1309
1325
|
|
1310
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1326
|
+
##### [press](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L65)
|
1311
1327
|
|
1312
1328
|
> def press(opts)
|
1313
1329
|
|
@@ -1320,7 +1336,7 @@ __Parameters:__
|
|
1320
1336
|
|
1321
1337
|
--
|
1322
1338
|
|
1323
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [release](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L76)
|
1324
1340
|
|
1325
1341
|
> def release(opts = nil)
|
1326
1342
|
|
@@ -1332,7 +1348,7 @@ __Parameters:__
|
|
1332
1348
|
|
1333
1349
|
--
|
1334
1350
|
|
1335
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L88)
|
1336
1352
|
|
1337
1353
|
> def tap(opts)
|
1338
1354
|
|
@@ -1345,7 +1361,7 @@ __Parameters:__
|
|
1345
1361
|
|
1346
1362
|
--
|
1347
1363
|
|
1348
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L101)
|
1349
1365
|
|
1350
1366
|
> def double_tap(opts)
|
1351
1367
|
|
@@ -1357,7 +1373,7 @@ __Parameters:__
|
|
1357
1373
|
|
1358
1374
|
--
|
1359
1375
|
|
1360
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L112)
|
1361
1377
|
|
1362
1378
|
> def two_finger_tap(opts)
|
1363
1379
|
|
@@ -1369,7 +1385,7 @@ __Parameters:__
|
|
1369
1385
|
|
1370
1386
|
--
|
1371
1387
|
|
1372
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L120)
|
1373
1389
|
|
1374
1390
|
> def wait(milliseconds)
|
1375
1391
|
|
@@ -1381,7 +1397,7 @@ __Parameters:__
|
|
1381
1397
|
|
1382
1398
|
--
|
1383
1399
|
|
1384
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L143)
|
1385
1401
|
|
1386
1402
|
> def swipe(opts, ele = nil)
|
1387
1403
|
|
@@ -1402,7 +1418,7 @@ __Parameters:__
|
|
1402
1418
|
|
1403
1419
|
--
|
1404
1420
|
|
1405
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1421
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L168)
|
1406
1422
|
|
1407
1423
|
> def perform
|
1408
1424
|
|
@@ -1410,7 +1426,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1410
1426
|
|
1411
1427
|
--
|
1412
1428
|
|
1413
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1429
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L174)
|
1414
1430
|
|
1415
1431
|
> def cancel
|
1416
1432
|
|
@@ -1418,7 +1434,7 @@ Does nothing, currently.
|
|
1418
1434
|
|
1419
1435
|
--
|
1420
1436
|
|
1421
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1437
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L180)
|
1422
1438
|
|
1423
1439
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1424
1440
|
|
@@ -1426,7 +1442,7 @@ Does nothing, currently.
|
|
1426
1442
|
|
1427
1443
|
--
|
1428
1444
|
|
1429
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L198)
|
1430
1446
|
|
1431
1447
|
> def chain_method(method, args = nil)
|
1432
1448
|
|
@@ -1434,7 +1450,7 @@ Does nothing, currently.
|
|
1434
1450
|
|
1435
1451
|
--
|
1436
1452
|
|
1437
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1453
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/device/touch_actions.rb#L204)
|
1438
1454
|
|
1439
1455
|
> def args_with_ele_ref(args)
|
1440
1456
|
|
@@ -1442,7 +1458,7 @@ Does nothing, currently.
|
|
1442
1458
|
|
1443
1459
|
--
|
1444
1460
|
|
1445
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1461
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/wait.rb#L9)
|
1446
1462
|
|
1447
1463
|
> def _generic_wait(opts = {})
|
1448
1464
|
|
@@ -1451,7 +1467,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1451
1467
|
|
1452
1468
|
--
|
1453
1469
|
|
1454
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1470
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/wait.rb#L48)
|
1455
1471
|
|
1456
1472
|
> def _process_wait_opts(opts)
|
1457
1473
|
|
@@ -1459,7 +1475,7 @@ process opts before calling _generic_wait
|
|
1459
1475
|
|
1460
1476
|
--
|
1461
1477
|
|
1462
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1478
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/wait.rb#L69)
|
1463
1479
|
|
1464
1480
|
> def wait_true(opts = {}, &block)
|
1465
1481
|
|
@@ -1479,7 +1495,7 @@ __Parameters:__
|
|
1479
1495
|
|
1480
1496
|
--
|
1481
1497
|
|
1482
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1498
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/wait.rb#L87)
|
1483
1499
|
|
1484
1500
|
> def wait(opts = {}, &block)
|
1485
1501
|
|
@@ -1497,7 +1513,7 @@ __Parameters:__
|
|
1497
1513
|
|
1498
1514
|
--
|
1499
1515
|
|
1500
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1516
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L24)
|
1501
1517
|
|
1502
1518
|
> def ignore
|
1503
1519
|
|
@@ -1505,7 +1521,7 @@ Return yield and ignore any exceptions.
|
|
1505
1521
|
|
1506
1522
|
--
|
1507
1523
|
|
1508
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1524
|
+
##### [back](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L31)
|
1509
1525
|
|
1510
1526
|
> def back
|
1511
1527
|
|
@@ -1517,7 +1533,7 @@ __Returns:__
|
|
1517
1533
|
|
1518
1534
|
--
|
1519
1535
|
|
1520
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1536
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L36)
|
1521
1537
|
|
1522
1538
|
> def session_id
|
1523
1539
|
|
@@ -1525,7 +1541,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1525
1541
|
|
1526
1542
|
--
|
1527
1543
|
|
1528
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L44)
|
1529
1545
|
|
1530
1546
|
> def xpath(xpath_str)
|
1531
1547
|
|
@@ -1541,7 +1557,7 @@ __Returns:__
|
|
1541
1557
|
|
1542
1558
|
--
|
1543
1559
|
|
1544
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1560
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L52)
|
1545
1561
|
|
1546
1562
|
> def xpaths(xpath_str)
|
1547
1563
|
|
@@ -1557,7 +1573,7 @@ __Returns:__
|
|
1557
1573
|
|
1558
1574
|
--
|
1559
1575
|
|
1560
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1576
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L56)
|
1561
1577
|
|
1562
1578
|
> def _print_source(source)
|
1563
1579
|
|
@@ -1565,7 +1581,7 @@ __Returns:__
|
|
1565
1581
|
|
1566
1582
|
--
|
1567
1583
|
|
1568
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1584
|
+
##### [result](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L69)
|
1569
1585
|
|
1570
1586
|
> def result
|
1571
1587
|
|
@@ -1573,7 +1589,7 @@ Returns the value of attribute result
|
|
1573
1589
|
|
1574
1590
|
--
|
1575
1591
|
|
1576
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1592
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L71)
|
1577
1593
|
|
1578
1594
|
> def initialize
|
1579
1595
|
|
@@ -1585,7 +1601,7 @@ __Returns:__
|
|
1585
1601
|
|
1586
1602
|
--
|
1587
1603
|
|
1588
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1604
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L75)
|
1589
1605
|
|
1590
1606
|
> def reset
|
1591
1607
|
|
@@ -1593,7 +1609,7 @@ __Returns:__
|
|
1593
1609
|
|
1594
1610
|
--
|
1595
1611
|
|
1596
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L80)
|
1597
1613
|
|
1598
1614
|
> def start_element(name, attrs = [])
|
1599
1615
|
|
@@ -1601,7 +1617,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1601
1617
|
|
1602
1618
|
--
|
1603
1619
|
|
1604
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L86)
|
1605
1621
|
|
1606
1622
|
> def formatted_result
|
1607
1623
|
|
@@ -1609,7 +1625,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1609
1625
|
|
1610
1626
|
--
|
1611
1627
|
|
1612
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1628
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L97)
|
1613
1629
|
|
1614
1630
|
> def get_page_class
|
1615
1631
|
|
@@ -1617,7 +1633,7 @@ Returns a string of class counts of visible elements.
|
|
1617
1633
|
|
1618
1634
|
--
|
1619
1635
|
|
1620
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1636
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L108)
|
1621
1637
|
|
1622
1638
|
> def page_class
|
1623
1639
|
|
@@ -1626,7 +1642,7 @@ Useful for appium_console.
|
|
1626
1642
|
|
1627
1643
|
--
|
1628
1644
|
|
1629
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L118)
|
1630
1646
|
|
1631
1647
|
> def px_to_window_rel(opts = {})
|
1632
1648
|
|
@@ -1638,7 +1654,7 @@ px_to_window_rel x: 50, y: 150
|
|
1638
1654
|
|
1639
1655
|
--
|
1640
1656
|
|
1641
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1657
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L137)
|
1642
1658
|
|
1643
1659
|
> def xml_keys(target)
|
1644
1660
|
|
@@ -1654,7 +1670,7 @@ __Returns:__
|
|
1654
1670
|
|
1655
1671
|
--
|
1656
1672
|
|
1657
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L145)
|
1658
1674
|
|
1659
1675
|
> def xml_values(target)
|
1660
1676
|
|
@@ -1670,7 +1686,7 @@ __Returns:__
|
|
1670
1686
|
|
1671
1687
|
--
|
1672
1688
|
|
1673
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1689
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L153)
|
1674
1690
|
|
1675
1691
|
> def resolve_id(id)
|
1676
1692
|
|
@@ -1686,7 +1702,7 @@ __Returns:__
|
|
1686
1702
|
|
1687
1703
|
--
|
1688
1704
|
|
1689
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L159)
|
1690
1706
|
|
1691
1707
|
> def filter
|
1692
1708
|
|
@@ -1694,7 +1710,7 @@ Returns the value of attribute filter
|
|
1694
1710
|
|
1695
1711
|
--
|
1696
1712
|
|
1697
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1713
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L162)
|
1698
1714
|
|
1699
1715
|
> def filter=(value)
|
1700
1716
|
|
@@ -1702,7 +1718,7 @@ convert to string to support symbols
|
|
1702
1718
|
|
1703
1719
|
--
|
1704
1720
|
|
1705
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L168)
|
1706
1722
|
|
1707
1723
|
> def initialize
|
1708
1724
|
|
@@ -1714,7 +1730,7 @@ __Returns:__
|
|
1714
1730
|
|
1715
1731
|
--
|
1716
1732
|
|
1717
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1733
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L173)
|
1718
1734
|
|
1719
1735
|
> def reset
|
1720
1736
|
|
@@ -1722,7 +1738,7 @@ __Returns:__
|
|
1722
1738
|
|
1723
1739
|
--
|
1724
1740
|
|
1725
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [result](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L179)
|
1726
1742
|
|
1727
1743
|
> def result
|
1728
1744
|
|
@@ -1730,7 +1746,7 @@ __Returns:__
|
|
1730
1746
|
|
1731
1747
|
--
|
1732
1748
|
|
1733
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1749
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L195)
|
1734
1750
|
|
1735
1751
|
> def start_element(name, attrs = [])
|
1736
1752
|
|
@@ -1738,7 +1754,7 @@ __Returns:__
|
|
1738
1754
|
|
1739
1755
|
--
|
1740
1756
|
|
1741
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L204)
|
1742
1758
|
|
1743
1759
|
> def end_element(name)
|
1744
1760
|
|
@@ -1746,7 +1762,7 @@ __Returns:__
|
|
1746
1762
|
|
1747
1763
|
--
|
1748
1764
|
|
1749
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1765
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L210)
|
1750
1766
|
|
1751
1767
|
> def characters(chars)
|
1752
1768
|
|
@@ -1754,7 +1770,7 @@ __Returns:__
|
|
1754
1770
|
|
1755
1771
|
--
|
1756
1772
|
|
1757
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1773
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/helper.rb#L217)
|
1758
1774
|
|
1759
1775
|
> def _no_such_element
|
1760
1776
|
|
@@ -1762,7 +1778,7 @@ __Returns:__
|
|
1762
1778
|
|
1763
1779
|
--
|
1764
1780
|
|
1765
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/command.rb#L4)
|
1766
1782
|
|
1767
1783
|
> COMMAND_NO_ARG = {
|
1768
1784
|
|
@@ -1770,7 +1786,7 @@ __Returns:__
|
|
1770
1786
|
|
1771
1787
|
--
|
1772
1788
|
|
1773
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/command.rb#L24)
|
1774
1790
|
|
1775
1791
|
> COMMAND = {
|
1776
1792
|
|
@@ -1778,7 +1794,7 @@ __Returns:__
|
|
1778
1794
|
|
1779
1795
|
--
|
1780
1796
|
|
1781
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/element/window.rb#L5)
|
1782
1798
|
|
1783
1799
|
> def window_size
|
1784
1800
|
|
@@ -1786,7 +1802,7 @@ Get the window's size
|
|
1786
1802
|
|
1787
1803
|
--
|
1788
1804
|
|
1789
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/search_context.rb#L5)
|
1790
1806
|
|
1791
1807
|
> FINDERS = {
|
1792
1808
|
|
@@ -1794,7 +1810,7 @@ rubocop:disable Style/MutableConstant
|
|
1794
1810
|
|
1795
1811
|
--
|
1796
1812
|
|
1797
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1813
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L4) ios
|
1798
1814
|
|
1799
1815
|
> def filter
|
1800
1816
|
|
@@ -1802,7 +1818,7 @@ Returns the value of attribute filter
|
|
1802
1818
|
|
1803
1819
|
--
|
1804
1820
|
|
1805
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L4) ios
|
1806
1822
|
|
1807
1823
|
> def filter=(value)
|
1808
1824
|
|
@@ -1814,7 +1830,7 @@ __Parameters:__
|
|
1814
1830
|
|
1815
1831
|
--
|
1816
1832
|
|
1817
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1833
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L6) ios
|
1818
1834
|
|
1819
1835
|
> def start_element(type, attrs = [])
|
1820
1836
|
|
@@ -1822,7 +1838,7 @@ __Parameters:__
|
|
1822
1838
|
|
1823
1839
|
--
|
1824
1840
|
|
1825
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1841
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L15) ios
|
1826
1842
|
|
1827
1843
|
> def _print_attr(type, name, label, value, hint)
|
1828
1844
|
|
@@ -1830,7 +1846,7 @@ __Parameters:__
|
|
1830
1846
|
|
1831
1847
|
--
|
1832
1848
|
|
1833
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L41) ios
|
1834
1850
|
|
1835
1851
|
> def ios_password(length = 1)
|
1836
1852
|
|
@@ -1848,7 +1864,7 @@ __Returns:__
|
|
1848
1864
|
|
1849
1865
|
--
|
1850
1866
|
|
1851
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1867
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L53) ios
|
1852
1868
|
|
1853
1869
|
> def get_page(element = source_window(0), class_name = nil)
|
1854
1870
|
|
@@ -1869,7 +1885,7 @@ __Returns:__
|
|
1869
1885
|
|
1870
1886
|
--
|
1871
1887
|
|
1872
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1888
|
+
##### [page](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L139) ios
|
1873
1889
|
|
1874
1890
|
> def page(opts = {})
|
1875
1891
|
|
@@ -1895,7 +1911,7 @@ __Returns:__
|
|
1895
1911
|
|
1896
1912
|
--
|
1897
1913
|
|
1898
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1914
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L170) ios
|
1899
1915
|
|
1900
1916
|
> def source_window(_window_number = 0)
|
1901
1917
|
|
@@ -1911,7 +1927,7 @@ __Returns:__
|
|
1911
1927
|
|
1912
1928
|
--
|
1913
1929
|
|
1914
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1930
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L185) ios
|
1915
1931
|
|
1916
1932
|
> def page_window(window_number = 0)
|
1917
1933
|
|
@@ -1929,7 +1945,7 @@ __Returns:__
|
|
1929
1945
|
|
1930
1946
|
--
|
1931
1947
|
|
1932
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1948
|
+
##### [id](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L193) ios
|
1933
1949
|
|
1934
1950
|
> def id(id)
|
1935
1951
|
|
@@ -1945,7 +1961,7 @@ __Returns:__
|
|
1945
1961
|
|
1946
1962
|
--
|
1947
1963
|
|
1948
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
1964
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L199) ios
|
1949
1965
|
|
1950
1966
|
> def ios_version
|
1951
1967
|
|
@@ -1957,7 +1973,7 @@ __Returns:__
|
|
1957
1973
|
|
1958
1974
|
--
|
1959
1975
|
|
1960
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1976
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L212) ios
|
1961
1977
|
|
1962
1978
|
> def ele_index(class_name, index)
|
1963
1979
|
|
@@ -1975,7 +1991,7 @@ __Returns:__
|
|
1975
1991
|
|
1976
1992
|
--
|
1977
1993
|
|
1978
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
1994
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L248) ios
|
1979
1995
|
|
1980
1996
|
> def find_ele_by_attr(class_name, attr, value)
|
1981
1997
|
|
@@ -1997,7 +2013,7 @@ __Returns:__
|
|
1997
2013
|
|
1998
2014
|
--
|
1999
2015
|
|
2000
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2016
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L259) ios
|
2001
2017
|
|
2002
2018
|
> def find_eles_by_attr(class_name, attr, value)
|
2003
2019
|
|
@@ -2019,7 +2035,7 @@ __Returns:__
|
|
2019
2035
|
|
2020
2036
|
--
|
2021
2037
|
|
2022
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2038
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L282) ios
|
2023
2039
|
|
2024
2040
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2025
2041
|
|
@@ -2040,7 +2056,7 @@ __Returns:__
|
|
2040
2056
|
|
2041
2057
|
--
|
2042
2058
|
|
2043
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2059
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L292) ios
|
2044
2060
|
|
2045
2061
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2046
2062
|
|
@@ -2061,7 +2077,7 @@ __Returns:__
|
|
2061
2077
|
|
2062
2078
|
--
|
2063
2079
|
|
2064
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2080
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L299) ios
|
2065
2081
|
|
2066
2082
|
> def first_ele(class_name)
|
2067
2083
|
|
@@ -2077,7 +2093,7 @@ __Returns:__
|
|
2077
2093
|
|
2078
2094
|
--
|
2079
2095
|
|
2080
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2096
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L306) ios
|
2081
2097
|
|
2082
2098
|
> def last_ele(class_name)
|
2083
2099
|
|
@@ -2093,7 +2109,7 @@ __Returns:__
|
|
2093
2109
|
|
2094
2110
|
--
|
2095
2111
|
|
2096
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2112
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L320) ios
|
2097
2113
|
|
2098
2114
|
> def tag(class_name)
|
2099
2115
|
|
@@ -2109,7 +2125,7 @@ __Returns:__
|
|
2109
2125
|
|
2110
2126
|
--
|
2111
2127
|
|
2112
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2128
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L332) ios
|
2113
2129
|
|
2114
2130
|
> def tags(class_name)
|
2115
2131
|
|
@@ -2125,7 +2141,7 @@ __Returns:__
|
|
2125
2141
|
|
2126
2142
|
--
|
2127
2143
|
|
2128
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2144
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L370) ios
|
2129
2145
|
|
2130
2146
|
> def ele_by_json_visible_contains(element, value)
|
2131
2147
|
|
@@ -2144,7 +2160,7 @@ __Returns:__
|
|
2144
2160
|
|
2145
2161
|
--
|
2146
2162
|
|
2147
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L379) ios
|
2148
2164
|
|
2149
2165
|
> def eles_by_json_visible_contains(element, value)
|
2150
2166
|
|
@@ -2163,7 +2179,7 @@ __Returns:__
|
|
2163
2179
|
|
2164
2180
|
--
|
2165
2181
|
|
2166
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2182
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L409) ios
|
2167
2183
|
|
2168
2184
|
> def ele_by_json_visible_exact(element, value)
|
2169
2185
|
|
@@ -2182,7 +2198,7 @@ __Returns:__
|
|
2182
2198
|
|
2183
2199
|
--
|
2184
2200
|
|
2185
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2201
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L418) ios
|
2186
2202
|
|
2187
2203
|
> def eles_by_json_visible_exact(element, value)
|
2188
2204
|
|
@@ -2201,7 +2217,7 @@ __Returns:__
|
|
2201
2217
|
|
2202
2218
|
--
|
2203
2219
|
|
2204
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2220
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L483) ios
|
2205
2221
|
|
2206
2222
|
> def _all_pred(opts)
|
2207
2223
|
|
@@ -2211,7 +2227,7 @@ visible - if true, only visible elements are returned. default true
|
|
2211
2227
|
|
2212
2228
|
--
|
2213
2229
|
|
2214
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2230
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L496) ios
|
2215
2231
|
|
2216
2232
|
> def ele_with_pred(opts)
|
2217
2233
|
|
@@ -2227,7 +2243,7 @@ __Returns:__
|
|
2227
2243
|
|
2228
2244
|
--
|
2229
2245
|
|
2230
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2246
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L507) ios
|
2231
2247
|
|
2232
2248
|
> def eles_with_pred(opts)
|
2233
2249
|
|
@@ -2243,7 +2259,7 @@ __Returns:__
|
|
2243
2259
|
|
2244
2260
|
--
|
2245
2261
|
|
2246
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2262
|
+
##### [source](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L513) ios
|
2247
2263
|
|
2248
2264
|
> def source
|
2249
2265
|
|
@@ -2255,7 +2271,7 @@ __Returns:__
|
|
2255
2271
|
|
2256
2272
|
--
|
2257
2273
|
|
2258
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2274
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L517) ios
|
2259
2275
|
|
2260
2276
|
> def _validate_object(*objects)
|
2261
2277
|
|
@@ -2263,7 +2279,7 @@ __Returns:__
|
|
2263
2279
|
|
2264
2280
|
--
|
2265
2281
|
|
2266
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2282
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L566) ios
|
2267
2283
|
|
2268
2284
|
> def _by_json(opts)
|
2269
2285
|
|
@@ -2298,7 +2314,7 @@ opts = {
|
|
2298
2314
|
|
2299
2315
|
--
|
2300
2316
|
|
2301
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2317
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L616) ios
|
2302
2318
|
|
2303
2319
|
> def eles_by_json(opts)
|
2304
2320
|
|
@@ -2317,7 +2333,7 @@ eles_by_json({
|
|
2317
2333
|
|
2318
2334
|
--
|
2319
2335
|
|
2320
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2336
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L622) ios
|
2321
2337
|
|
2322
2338
|
> def ele_by_json(opts)
|
2323
2339
|
|
@@ -2325,7 +2341,7 @@ see eles_by_json
|
|
2325
2341
|
|
2326
2342
|
--
|
2327
2343
|
|
2328
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2344
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/helper.rb#L632) ios
|
2329
2345
|
|
2330
2346
|
> def get_source
|
2331
2347
|
|
@@ -2338,7 +2354,7 @@ __Returns:__
|
|
2338
2354
|
|
2339
2355
|
--
|
2340
2356
|
|
2341
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2357
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L4) ios
|
2342
2358
|
|
2343
2359
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2344
2360
|
|
@@ -2346,7 +2362,7 @@ __Returns:__
|
|
2346
2362
|
|
2347
2363
|
--
|
2348
2364
|
|
2349
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L5) ios
|
2350
2366
|
|
2351
2367
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2352
2368
|
|
@@ -2354,7 +2370,7 @@ __Returns:__
|
|
2354
2370
|
|
2355
2371
|
--
|
2356
2372
|
|
2357
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2373
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L8) ios
|
2358
2374
|
|
2359
2375
|
> def static_text_class
|
2360
2376
|
|
@@ -2366,7 +2382,7 @@ __Returns:__
|
|
2366
2382
|
|
2367
2383
|
--
|
2368
2384
|
|
2369
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2385
|
+
##### [text](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L16) ios
|
2370
2386
|
|
2371
2387
|
> def text(value)
|
2372
2388
|
|
@@ -2383,7 +2399,7 @@ __Returns:__
|
|
2383
2399
|
|
2384
2400
|
--
|
2385
2401
|
|
2386
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2402
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L30) ios
|
2387
2403
|
|
2388
2404
|
> def texts(value = false)
|
2389
2405
|
|
@@ -2400,7 +2416,7 @@ __Returns:__
|
|
2400
2416
|
|
2401
2417
|
--
|
2402
2418
|
|
2403
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2419
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L43) ios
|
2404
2420
|
|
2405
2421
|
> def first_text
|
2406
2422
|
|
@@ -2412,7 +2428,7 @@ __Returns:__
|
|
2412
2428
|
|
2413
2429
|
--
|
2414
2430
|
|
2415
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2431
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L49) ios
|
2416
2432
|
|
2417
2433
|
> def last_text
|
2418
2434
|
|
@@ -2424,7 +2440,7 @@ __Returns:__
|
|
2424
2440
|
|
2425
2441
|
--
|
2426
2442
|
|
2427
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2443
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L56) ios
|
2428
2444
|
|
2429
2445
|
> def text_exact(value)
|
2430
2446
|
|
@@ -2440,7 +2456,7 @@ __Returns:__
|
|
2440
2456
|
|
2441
2457
|
--
|
2442
2458
|
|
2443
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/text.rb#L67) ios
|
2444
2460
|
|
2445
2461
|
> def texts_exact(value)
|
2446
2462
|
|
@@ -2456,7 +2472,7 @@ __Returns:__
|
|
2456
2472
|
|
2457
2473
|
--
|
2458
2474
|
|
2459
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2475
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2460
2476
|
|
2461
2477
|
> def alert_accept
|
2462
2478
|
|
@@ -2468,7 +2484,7 @@ __Returns:__
|
|
2468
2484
|
|
2469
2485
|
--
|
2470
2486
|
|
2471
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2487
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2472
2488
|
|
2473
2489
|
> def alert_dismiss
|
2474
2490
|
|
@@ -2480,7 +2496,7 @@ __Returns:__
|
|
2480
2496
|
|
2481
2497
|
--
|
2482
2498
|
|
2483
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2499
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L4) ios
|
2484
2500
|
|
2485
2501
|
> UIAButton = 'UIAButton'.freeze
|
2486
2502
|
|
@@ -2488,7 +2504,7 @@ __Returns:__
|
|
2488
2504
|
|
2489
2505
|
--
|
2490
2506
|
|
2491
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2507
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L5) ios
|
2492
2508
|
|
2493
2509
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2494
2510
|
|
@@ -2496,7 +2512,7 @@ __Returns:__
|
|
2496
2512
|
|
2497
2513
|
--
|
2498
2514
|
|
2499
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2515
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L8) ios
|
2500
2516
|
|
2501
2517
|
> def button_class
|
2502
2518
|
|
@@ -2508,7 +2524,7 @@ __Returns:__
|
|
2508
2524
|
|
2509
2525
|
--
|
2510
2526
|
|
2511
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2527
|
+
##### [button](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L16) ios
|
2512
2528
|
|
2513
2529
|
> def button(value)
|
2514
2530
|
|
@@ -2525,7 +2541,7 @@ __Returns:__
|
|
2525
2541
|
|
2526
2542
|
--
|
2527
2543
|
|
2528
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2544
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L31) ios
|
2529
2545
|
|
2530
2546
|
> def buttons(value = false)
|
2531
2547
|
|
@@ -2542,7 +2558,7 @@ __Returns:__
|
|
2542
2558
|
|
2543
2559
|
--
|
2544
2560
|
|
2545
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2561
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L44) ios
|
2546
2562
|
|
2547
2563
|
> def first_button
|
2548
2564
|
|
@@ -2554,7 +2570,7 @@ __Returns:__
|
|
2554
2570
|
|
2555
2571
|
--
|
2556
2572
|
|
2557
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L52) ios
|
2558
2574
|
|
2559
2575
|
> def last_button
|
2560
2576
|
|
@@ -2568,7 +2584,7 @@ __Returns:__
|
|
2568
2584
|
|
2569
2585
|
--
|
2570
2586
|
|
2571
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2587
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L59) ios
|
2572
2588
|
|
2573
2589
|
> def button_exact(value)
|
2574
2590
|
|
@@ -2584,7 +2600,7 @@ __Returns:__
|
|
2584
2600
|
|
2585
2601
|
--
|
2586
2602
|
|
2587
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2603
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/button.rb#L70) ios
|
2588
2604
|
|
2589
2605
|
> def buttons_exact(value)
|
2590
2606
|
|
@@ -2600,7 +2616,7 @@ __Returns:__
|
|
2600
2616
|
|
2601
2617
|
--
|
2602
2618
|
|
2603
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2619
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/mobile_methods.rb#L19) ios
|
2604
2620
|
|
2605
2621
|
> def uiautomation_find
|
2606
2622
|
|
@@ -2612,7 +2628,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2612
2628
|
|
2613
2629
|
--
|
2614
2630
|
|
2615
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2631
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/mobile_methods.rb#L19) ios
|
2616
2632
|
|
2617
2633
|
> def ios_predicate_string_find
|
2618
2634
|
|
@@ -2626,7 +2642,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2626
2642
|
|
2627
2643
|
--
|
2628
2644
|
|
2629
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2645
|
+
##### [find](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2630
2646
|
|
2631
2647
|
> def find(value)
|
2632
2648
|
|
@@ -2642,7 +2658,7 @@ __Returns:__
|
|
2642
2658
|
|
2643
2659
|
--
|
2644
2660
|
|
2645
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2661
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2646
2662
|
|
2647
2663
|
> def finds(value)
|
2648
2664
|
|
@@ -2658,7 +2674,7 @@ __Returns:__
|
|
2658
2674
|
|
2659
2675
|
--
|
2660
2676
|
|
2661
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2677
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2662
2678
|
|
2663
2679
|
> def find_exact(value)
|
2664
2680
|
|
@@ -2674,7 +2690,7 @@ __Returns:__
|
|
2674
2690
|
|
2675
2691
|
--
|
2676
2692
|
|
2677
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2693
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2678
2694
|
|
2679
2695
|
> def finds_exact(value)
|
2680
2696
|
|
@@ -2690,7 +2706,7 @@ __Returns:__
|
|
2690
2706
|
|
2691
2707
|
--
|
2692
2708
|
|
2693
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2709
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2694
2710
|
|
2695
2711
|
> def raise_error_if_no_element(element)
|
2696
2712
|
|
@@ -2698,7 +2714,7 @@ __Returns:__
|
|
2698
2714
|
|
2699
2715
|
--
|
2700
2716
|
|
2701
|
-
##### [elements_include](https://github.com/appium/ruby_lib/blob/
|
2717
|
+
##### [elements_include](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2702
2718
|
|
2703
2719
|
> def elements_include(elements, value)
|
2704
2720
|
|
@@ -2706,7 +2722,7 @@ Return all elements include not displayed elements.
|
|
2706
2722
|
|
2707
2723
|
--
|
2708
2724
|
|
2709
|
-
##### [elements_exact](https://github.com/appium/ruby_lib/blob/
|
2725
|
+
##### [elements_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L72) ios
|
2710
2726
|
|
2711
2727
|
> def elements_exact(elements, value)
|
2712
2728
|
|
@@ -2714,7 +2730,7 @@ Return all elements include not displayed elements.
|
|
2714
2730
|
|
2715
2731
|
--
|
2716
2732
|
|
2717
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2733
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/generic.rb#L86) ios
|
2718
2734
|
|
2719
2735
|
> def select_visible_elements(elements)
|
2720
2736
|
|
@@ -2722,7 +2738,7 @@ Return visible elements.
|
|
2722
2738
|
|
2723
2739
|
--
|
2724
2740
|
|
2725
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2741
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2726
2742
|
|
2727
2743
|
> UIATextField = 'UIATextField'.freeze
|
2728
2744
|
|
@@ -2730,7 +2746,7 @@ Return visible elements.
|
|
2730
2746
|
|
2731
2747
|
--
|
2732
2748
|
|
2733
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2749
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2734
2750
|
|
2735
2751
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2736
2752
|
|
@@ -2738,7 +2754,7 @@ Return visible elements.
|
|
2738
2754
|
|
2739
2755
|
--
|
2740
2756
|
|
2741
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2757
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2742
2758
|
|
2743
2759
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2744
2760
|
|
@@ -2746,7 +2762,7 @@ Return visible elements.
|
|
2746
2762
|
|
2747
2763
|
--
|
2748
2764
|
|
2749
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2765
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2750
2766
|
|
2751
2767
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2752
2768
|
|
@@ -2754,7 +2770,7 @@ Return visible elements.
|
|
2754
2770
|
|
2755
2771
|
--
|
2756
2772
|
|
2757
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2773
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2758
2774
|
|
2759
2775
|
> def text_field_class
|
2760
2776
|
|
@@ -2766,7 +2782,7 @@ __Returns:__
|
|
2766
2782
|
|
2767
2783
|
--
|
2768
2784
|
|
2769
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2785
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2770
2786
|
|
2771
2787
|
> def secure_text_field_class
|
2772
2788
|
|
@@ -2778,7 +2794,7 @@ __Returns:__
|
|
2778
2794
|
|
2779
2795
|
--
|
2780
2796
|
|
2781
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2797
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L41) ios
|
2782
2798
|
|
2783
2799
|
> def _textfield_visible
|
2784
2800
|
|
@@ -2786,7 +2802,7 @@ Appium
|
|
2786
2802
|
|
2787
2803
|
--
|
2788
2804
|
|
2789
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2805
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L46) ios
|
2790
2806
|
|
2791
2807
|
> def _textfield_exact_string(value)
|
2792
2808
|
|
@@ -2794,7 +2810,7 @@ Appium
|
|
2794
2810
|
|
2795
2811
|
--
|
2796
2812
|
|
2797
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2813
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L53) ios
|
2798
2814
|
|
2799
2815
|
> def _textfield_contains_string(value)
|
2800
2816
|
|
@@ -2802,7 +2818,7 @@ Appium
|
|
2802
2818
|
|
2803
2819
|
--
|
2804
2820
|
|
2805
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2821
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L66) ios
|
2806
2822
|
|
2807
2823
|
> def textfield(value)
|
2808
2824
|
|
@@ -2820,7 +2836,7 @@ __Returns:__
|
|
2820
2836
|
|
2821
2837
|
--
|
2822
2838
|
|
2823
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2839
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L92) ios
|
2824
2840
|
|
2825
2841
|
> def textfields(value = false)
|
2826
2842
|
|
@@ -2837,7 +2853,7 @@ __Returns:__
|
|
2837
2853
|
|
2838
2854
|
--
|
2839
2855
|
|
2840
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2856
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L105) ios
|
2841
2857
|
|
2842
2858
|
> def first_textfield
|
2843
2859
|
|
@@ -2849,7 +2865,7 @@ __Returns:__
|
|
2849
2865
|
|
2850
2866
|
--
|
2851
2867
|
|
2852
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2868
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L115) ios
|
2853
2869
|
|
2854
2870
|
> def last_textfield
|
2855
2871
|
|
@@ -2861,7 +2877,7 @@ __Returns:__
|
|
2861
2877
|
|
2862
2878
|
--
|
2863
2879
|
|
2864
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2880
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L128) ios
|
2865
2881
|
|
2866
2882
|
> def textfield_exact(value)
|
2867
2883
|
|
@@ -2877,7 +2893,7 @@ __Returns:__
|
|
2877
2893
|
|
2878
2894
|
--
|
2879
2895
|
|
2880
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2896
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/ios/element/textfield.rb#L139) ios
|
2881
2897
|
|
2882
2898
|
> def textfields_exact(value)
|
2883
2899
|
|
@@ -2893,7 +2909,7 @@ __Returns:__
|
|
2893
2909
|
|
2894
2910
|
--
|
2895
2911
|
|
2896
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2912
|
+
##### [value](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/patch.rb#L12)
|
2897
2913
|
|
2898
2914
|
> def value
|
2899
2915
|
|
@@ -2903,7 +2919,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2903
2919
|
|
2904
2920
|
--
|
2905
2921
|
|
2906
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2922
|
+
##### [name](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/patch.rb#L19)
|
2907
2923
|
|
2908
2924
|
> def name
|
2909
2925
|
|
@@ -2913,7 +2929,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2913
2929
|
|
2914
2930
|
--
|
2915
2931
|
|
2916
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2932
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/patch.rb#L31)
|
2917
2933
|
|
2918
2934
|
> def location_rel
|
2919
2935
|
|
@@ -2931,7 +2947,7 @@ __Returns:__
|
|
2931
2947
|
|
2932
2948
|
--
|
2933
2949
|
|
2934
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2950
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/patch.rb#L152)
|
2935
2951
|
|
2936
2952
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2937
2953
|
|
@@ -2939,7 +2955,7 @@ __Returns:__
|
|
2939
2955
|
|
2940
2956
|
--
|
2941
2957
|
|
2942
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2958
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/8451abba066beebd10491c6998ca53aaa35e331d/lib/appium_lib/common/patch.rb#L155)
|
2943
2959
|
|
2944
2960
|
> def patch_remote_driver_commands
|
2945
2961
|
|