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