appium_lib 9.4.10 → 9.5.0
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 +11 -1
- data/Rakefile +1 -1
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +237 -234
- data/docs/ios_docs.md +263 -260
- data/lib/appium_lib/common/command.rb +1 -1
- data/lib/appium_lib/common/patch.rb +10 -7
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +1 -1
- data/lib/appium_lib/driver.rb +16 -15
- data/lib/appium_lib/ios/helper.rb +1 -1
- data/release_notes.md +13 -0
- metadata +10 -10
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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L76)
|
2
2
|
|
3
3
|
> def self.load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L112)
|
31
31
|
|
32
32
|
> def self.load_settings(opts = {})
|
33
33
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
57
57
|
|
58
58
|
--
|
59
59
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L118)
|
61
61
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
63
63
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L150)
|
79
79
|
|
80
80
|
> def self.symbolize_keys(hash)
|
81
81
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L171)
|
90
90
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
92
92
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L224)
|
108
108
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
110
110
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L251)
|
138
138
|
|
139
139
|
> def self.selenium_webdriver_version_more?(version)
|
140
140
|
|
@@ -146,13 +146,11 @@ __Returns:__
|
|
146
146
|
|
147
147
|
--
|
148
148
|
|
149
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
149
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L262)
|
150
150
|
|
151
151
|
> def self.init_caps_for_appium(opts_caps = {})
|
152
152
|
|
153
|
-
|
154
|
-
Because Selenium::WebDriver::Remote::Bridge uses Capabilities.firefox by default
|
155
|
-
https://github.com/SeleniumHQ/selenium/blob/selenium-3.0.1/rb/lib/selenium/webdriver/remote/bridge.rb#L67
|
153
|
+
|
156
154
|
|
157
155
|
__Parameters:__
|
158
156
|
|
@@ -161,11 +159,12 @@ this client sends capabilities to Appium server as JSON format.
|
|
161
159
|
|
162
160
|
__Returns:__
|
163
161
|
|
164
|
-
[Selenium::WebDriver::Remote::Capabilities] Return instance of
|
162
|
+
[::Selenium::WebDriver::Remote::W3C::Capabilities] Return instance of Appium::Driver::Capabilities
|
163
|
+
inherited ::Selenium::WebDriver::Remote::W3C::Capabilities
|
165
164
|
|
166
165
|
--
|
167
166
|
|
168
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
167
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L275)
|
169
168
|
|
170
169
|
> def global_webdriver_http_sleep
|
171
170
|
|
@@ -173,7 +172,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
173
172
|
|
174
173
|
--
|
175
174
|
|
176
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
175
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L275)
|
177
176
|
|
178
177
|
> def global_webdriver_http_sleep=(value)
|
179
178
|
|
@@ -181,7 +180,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
181
180
|
|
182
181
|
--
|
183
182
|
|
184
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
183
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L277)
|
185
184
|
|
186
185
|
> def caps
|
187
186
|
|
@@ -189,7 +188,7 @@ Selenium webdriver capabilities
|
|
189
188
|
|
190
189
|
--
|
191
190
|
|
192
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
191
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L279)
|
193
192
|
|
194
193
|
> def custom_url
|
195
194
|
|
@@ -197,7 +196,7 @@ Custom URL for the selenium server
|
|
197
196
|
|
198
197
|
--
|
199
198
|
|
200
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
199
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L281)
|
201
200
|
|
202
201
|
> def export_session
|
203
202
|
|
@@ -205,7 +204,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
205
204
|
|
206
205
|
--
|
207
206
|
|
208
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
207
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L286)
|
209
208
|
|
210
209
|
> def default_wait
|
211
210
|
|
@@ -219,7 +218,7 @@ __Returns:__
|
|
219
218
|
|
220
219
|
--
|
221
220
|
|
222
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
221
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L288)
|
223
222
|
|
224
223
|
> def sauce_username
|
225
224
|
|
@@ -227,7 +226,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
227
226
|
|
228
227
|
--
|
229
228
|
|
230
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
229
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L290)
|
231
230
|
|
232
231
|
> def sauce_access_key
|
233
232
|
|
@@ -235,7 +234,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
235
234
|
|
236
235
|
--
|
237
236
|
|
238
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
237
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L292)
|
239
238
|
|
240
239
|
> def sauce_endpoint
|
241
240
|
|
@@ -243,7 +242,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
243
242
|
|
244
243
|
--
|
245
244
|
|
246
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
245
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L294)
|
247
246
|
|
248
247
|
> def appium_port
|
249
248
|
|
@@ -251,7 +250,7 @@ Appium's server port
|
|
251
250
|
|
252
251
|
--
|
253
252
|
|
254
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
253
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L296)
|
255
254
|
|
256
255
|
> def appium_device
|
257
256
|
|
@@ -259,7 +258,7 @@ Device type to request from the appium server
|
|
259
258
|
|
260
259
|
--
|
261
260
|
|
262
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
261
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L299)
|
263
262
|
|
264
263
|
> def automation_name
|
265
264
|
|
@@ -268,7 +267,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
268
267
|
|
269
268
|
--
|
270
269
|
|
271
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
270
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L301)
|
272
271
|
|
273
272
|
> def appium_server_status
|
274
273
|
|
@@ -276,7 +275,7 @@ Appium's server version
|
|
276
275
|
|
277
276
|
--
|
278
277
|
|
279
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
278
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L303)
|
280
279
|
|
281
280
|
> def appium_debug
|
282
281
|
|
@@ -284,7 +283,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
284
283
|
|
285
284
|
--
|
286
285
|
|
287
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L305)
|
288
287
|
|
289
288
|
> def listener
|
290
289
|
|
@@ -292,7 +291,7 @@ instance of AbstractEventListener for logging support
|
|
292
291
|
|
293
292
|
--
|
294
293
|
|
295
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L308)
|
296
295
|
|
297
296
|
> def driver
|
298
297
|
|
@@ -304,7 +303,7 @@ __Returns:__
|
|
304
303
|
|
305
304
|
--
|
306
305
|
|
307
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L311)
|
308
307
|
|
309
308
|
> def http_client
|
310
309
|
|
@@ -316,7 +315,7 @@ __Returns:__
|
|
316
315
|
|
317
316
|
--
|
318
317
|
|
319
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
318
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L316)
|
320
319
|
|
321
320
|
> def appium_wait_timeout
|
322
321
|
|
@@ -330,7 +329,7 @@ __Returns:__
|
|
330
329
|
|
331
330
|
--
|
332
331
|
|
333
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
332
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L321)
|
334
333
|
|
335
334
|
> def appium_wait_interval
|
336
335
|
|
@@ -344,7 +343,7 @@ __Returns:__
|
|
344
343
|
|
345
344
|
--
|
346
345
|
|
347
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
346
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L361)
|
348
347
|
|
349
348
|
> def initialize(opts = {})
|
350
349
|
|
@@ -360,7 +359,7 @@ __Returns:__
|
|
360
359
|
|
361
360
|
--
|
362
361
|
|
363
|
-
##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L427)
|
364
363
|
|
365
364
|
> def set_appium_lib_specific_values(appium_lib_opts)
|
366
365
|
|
@@ -368,7 +367,7 @@ __Returns:__
|
|
368
367
|
|
369
368
|
--
|
370
369
|
|
371
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
370
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L453)
|
372
371
|
|
373
372
|
> def driver_attributes
|
374
373
|
|
@@ -376,7 +375,7 @@ Returns a hash of the driver attributes
|
|
376
375
|
|
377
376
|
--
|
378
377
|
|
379
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L472)
|
380
379
|
|
381
380
|
> def device_is_android?
|
382
381
|
|
@@ -388,7 +387,7 @@ __Returns:__
|
|
388
387
|
|
389
388
|
--
|
390
389
|
|
391
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L478)
|
392
391
|
|
393
392
|
> def automation_name_is_xcuitest?
|
394
393
|
|
@@ -400,7 +399,7 @@ __Returns:__
|
|
400
399
|
|
401
400
|
--
|
402
401
|
|
403
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L484)
|
404
403
|
|
405
404
|
> def automation_name_is_uiautomator2?
|
406
405
|
|
@@ -412,7 +411,7 @@ __Returns:__
|
|
412
411
|
|
413
412
|
--
|
414
413
|
|
415
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L491)
|
416
415
|
|
417
416
|
> def check_server_version_xcuitest
|
418
417
|
|
@@ -425,7 +424,7 @@ __Returns:__
|
|
425
424
|
|
426
425
|
--
|
427
426
|
|
428
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
427
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L518)
|
429
428
|
|
430
429
|
> def appium_server_version
|
431
430
|
|
@@ -452,7 +451,7 @@ __Returns:__
|
|
452
451
|
|
453
452
|
--
|
454
453
|
|
455
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
454
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L539)
|
456
455
|
|
457
456
|
> def appium_client_version
|
458
457
|
|
@@ -470,7 +469,7 @@ __Returns:__
|
|
470
469
|
|
471
470
|
--
|
472
471
|
|
473
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
472
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L551)
|
474
473
|
|
475
474
|
> def self.absolute_app_path(opts)
|
476
475
|
|
@@ -487,7 +486,7 @@ __Returns:__
|
|
487
486
|
|
488
487
|
--
|
489
488
|
|
490
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
489
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L584)
|
491
490
|
|
492
491
|
> def server_url
|
493
492
|
|
@@ -499,7 +498,7 @@ __Returns:__
|
|
499
498
|
|
500
499
|
--
|
501
500
|
|
502
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
501
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L595)
|
503
502
|
|
504
503
|
> def restart
|
505
504
|
|
@@ -511,7 +510,7 @@ __Returns:__
|
|
511
510
|
|
512
511
|
--
|
513
512
|
|
514
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
513
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L606)
|
515
514
|
|
516
515
|
> def screenshot(png_save_path)
|
517
516
|
|
@@ -529,7 +528,7 @@ __Returns:__
|
|
529
528
|
|
530
529
|
--
|
531
530
|
|
532
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L613)
|
533
532
|
|
534
533
|
> def driver_quit
|
535
534
|
|
@@ -541,20 +540,24 @@ __Returns:__
|
|
541
540
|
|
542
541
|
--
|
543
542
|
|
544
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L646)
|
545
544
|
|
546
|
-
> def start_driver(http_client
|
545
|
+
> def start_driver(http_client_ops = { http_client: nil, open_timeout: 999_999, read_timeout: 999_999 })
|
547
546
|
|
548
547
|
Creates a new global driver and quits the old one if it exists.
|
549
548
|
You can customise http_client as the following
|
550
549
|
|
550
|
+
__Parameters:__
|
551
|
+
|
552
|
+
[Hash] http_client_ops - a customizable set of options
|
553
|
+
|
551
554
|
__Returns:__
|
552
555
|
|
553
556
|
[Selenium::WebDriver] the new global driver
|
554
557
|
|
555
558
|
--
|
556
559
|
|
557
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L686)
|
558
561
|
|
559
562
|
> def no_wait
|
560
563
|
|
@@ -562,7 +565,7 @@ Set implicit wait to zero.
|
|
562
565
|
|
563
566
|
--
|
564
567
|
|
565
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L700)
|
566
569
|
|
567
570
|
> def set_wait(timeout = nil)
|
568
571
|
|
@@ -584,7 +587,7 @@ __Returns:__
|
|
584
587
|
|
585
588
|
--
|
586
589
|
|
587
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L717)
|
588
591
|
|
589
592
|
> def exists(pre_check = 0, post_check = @default_wait)
|
590
593
|
|
@@ -608,7 +611,7 @@ __Returns:__
|
|
608
611
|
|
609
612
|
--
|
610
613
|
|
611
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
614
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L741)
|
612
615
|
|
613
616
|
> def execute_script(script, *args)
|
614
617
|
|
@@ -626,7 +629,7 @@ __Returns:__
|
|
626
629
|
|
627
630
|
--
|
628
631
|
|
629
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L763)
|
630
633
|
|
631
634
|
> def find_elements(*args)
|
632
635
|
|
@@ -652,7 +655,7 @@ __Returns:__
|
|
652
655
|
|
653
656
|
--
|
654
657
|
|
655
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
658
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L778)
|
656
659
|
|
657
660
|
> def find_element(*args)
|
658
661
|
|
@@ -673,7 +676,7 @@ __Returns:__
|
|
673
676
|
|
674
677
|
--
|
675
678
|
|
676
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
679
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L791)
|
677
680
|
|
678
681
|
> def set_location(opts = {})
|
679
682
|
|
@@ -689,7 +692,7 @@ __Returns:__
|
|
689
692
|
|
690
693
|
--
|
691
694
|
|
692
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
695
|
+
##### [x](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L801)
|
693
696
|
|
694
697
|
> def x
|
695
698
|
|
@@ -702,7 +705,7 @@ __Returns:__
|
|
702
705
|
|
703
706
|
--
|
704
707
|
|
705
|
-
##### [write_session_id](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [write_session_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L808)
|
706
709
|
|
707
710
|
> def write_session_id(session_id)
|
708
711
|
|
@@ -710,7 +713,7 @@ __Returns:__
|
|
710
713
|
|
711
714
|
--
|
712
715
|
|
713
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L817)
|
714
717
|
|
715
718
|
> def set_automation_name_if_nil
|
716
719
|
|
@@ -719,7 +722,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
719
722
|
|
720
723
|
--
|
721
724
|
|
722
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/logger.rb#L18)
|
723
726
|
|
724
727
|
> def logger=(value)
|
725
728
|
|
@@ -731,7 +734,7 @@ __Parameters:__
|
|
731
734
|
|
732
735
|
--
|
733
736
|
|
734
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
737
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/logger.rb#L22)
|
735
738
|
|
736
739
|
> def logger
|
737
740
|
|
@@ -739,7 +742,7 @@ __Parameters:__
|
|
739
742
|
|
740
743
|
--
|
741
744
|
|
742
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L7)
|
743
746
|
|
744
747
|
> def app_strings
|
745
748
|
|
@@ -750,7 +753,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
750
753
|
|
751
754
|
--
|
752
755
|
|
753
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L13)
|
754
757
|
|
755
758
|
> def background_app
|
756
759
|
|
@@ -759,7 +762,7 @@ This is a blocking application
|
|
759
762
|
|
760
763
|
--
|
761
764
|
|
762
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L24)
|
763
766
|
|
764
767
|
> def current_activity
|
765
768
|
|
@@ -774,7 +777,7 @@ __Returns:__
|
|
774
777
|
|
775
778
|
--
|
776
779
|
|
777
|
-
##### [current_package](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [current_package](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L32)
|
778
781
|
|
779
782
|
> def current_package
|
780
783
|
|
@@ -789,7 +792,7 @@ __Returns:__
|
|
789
792
|
|
790
793
|
--
|
791
794
|
|
792
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
795
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L40)
|
793
796
|
|
794
797
|
> def get_system_bars
|
795
798
|
|
@@ -804,7 +807,7 @@ __Returns:__
|
|
804
807
|
|
805
808
|
--
|
806
809
|
|
807
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L48)
|
808
811
|
|
809
812
|
> def get_display_density
|
810
813
|
|
@@ -819,7 +822,7 @@ __Returns:__
|
|
819
822
|
|
820
823
|
--
|
821
824
|
|
822
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
825
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L56)
|
823
826
|
|
824
827
|
> def is_keyboard_shown
|
825
828
|
|
@@ -834,7 +837,7 @@ __Returns:__
|
|
834
837
|
|
835
838
|
--
|
836
839
|
|
837
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
840
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L64)
|
838
841
|
|
839
842
|
> def launch_app
|
840
843
|
|
@@ -842,7 +845,7 @@ Start the simulator and application configured with desired capabilities
|
|
842
845
|
|
843
846
|
--
|
844
847
|
|
845
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
848
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L67)
|
846
849
|
|
847
850
|
> def reset
|
848
851
|
|
@@ -850,7 +853,7 @@ Reset the device, relaunching the application.
|
|
850
853
|
|
851
854
|
--
|
852
855
|
|
853
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L70)
|
854
857
|
|
855
858
|
> def shake
|
856
859
|
|
@@ -858,7 +861,7 @@ Cause the device to shake
|
|
858
861
|
|
859
862
|
--
|
860
863
|
|
861
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
864
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L73)
|
862
865
|
|
863
866
|
> def toggle_flight_mode
|
864
867
|
|
@@ -866,7 +869,7 @@ Toggle flight mode on or off
|
|
866
869
|
|
867
870
|
--
|
868
871
|
|
869
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L76)
|
870
873
|
|
871
874
|
> def device_locked?
|
872
875
|
|
@@ -874,7 +877,7 @@ Toggle flight mode on or off
|
|
874
877
|
|
875
878
|
--
|
876
879
|
|
877
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L78)
|
878
881
|
|
879
882
|
> def hide_keyboard
|
880
883
|
|
@@ -891,7 +894,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
891
894
|
|
892
895
|
--
|
893
896
|
|
894
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L91)
|
895
898
|
|
896
899
|
> def press_keycode
|
897
900
|
|
@@ -906,7 +909,7 @@ __Parameters:__
|
|
906
909
|
|
907
910
|
--
|
908
911
|
|
909
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
912
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L97)
|
910
913
|
|
911
914
|
> def long_press_keycode
|
912
915
|
|
@@ -921,7 +924,7 @@ __Parameters:__
|
|
921
924
|
|
922
925
|
--
|
923
926
|
|
924
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L103)
|
925
928
|
|
926
929
|
> def push_file
|
927
930
|
|
@@ -935,7 +938,7 @@ __Parameters:__
|
|
935
938
|
|
936
939
|
--
|
937
940
|
|
938
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
941
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L108)
|
939
942
|
|
940
943
|
> def pull_file
|
941
944
|
|
@@ -952,7 +955,7 @@ __Parameters:__
|
|
952
955
|
|
953
956
|
--
|
954
957
|
|
955
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L118)
|
956
959
|
|
957
960
|
> def pull_folder
|
958
961
|
|
@@ -967,7 +970,7 @@ __Parameters:__
|
|
967
970
|
|
968
971
|
--
|
969
972
|
|
970
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L126)
|
971
974
|
|
972
975
|
> def touch_id
|
973
976
|
|
@@ -984,7 +987,7 @@ Defaults to true.
|
|
984
987
|
|
985
988
|
--
|
986
989
|
|
987
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
990
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L135)
|
988
991
|
|
989
992
|
> def toggle_touch_id_enrollment
|
990
993
|
|
@@ -992,7 +995,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
992
995
|
|
993
996
|
--
|
994
997
|
|
995
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
998
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L138)
|
996
999
|
|
997
1000
|
> def end_coverage
|
998
1001
|
|
@@ -1006,7 +1009,7 @@ __Parameters:__
|
|
1006
1009
|
|
1007
1010
|
--
|
1008
1011
|
|
1009
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L143)
|
1010
1013
|
|
1011
1014
|
> def get_settings
|
1012
1015
|
|
@@ -1014,7 +1017,7 @@ Get appium Settings for current test session
|
|
1014
1017
|
|
1015
1018
|
--
|
1016
1019
|
|
1017
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1020
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L146)
|
1018
1021
|
|
1019
1022
|
> def update_settings
|
1020
1023
|
|
@@ -1026,7 +1029,7 @@ __Parameters:__
|
|
1026
1029
|
|
1027
1030
|
--
|
1028
1031
|
|
1029
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L150)
|
1030
1033
|
|
1031
1034
|
> def start_activity
|
1032
1035
|
|
@@ -1040,7 +1043,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1040
1043
|
|
1041
1044
|
--
|
1042
1045
|
|
1043
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1046
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L164)
|
1044
1047
|
|
1045
1048
|
> def get_network_connection
|
1046
1049
|
|
@@ -1049,7 +1052,7 @@ See set_network_connection method for return value
|
|
1049
1052
|
|
1050
1053
|
--
|
1051
1054
|
|
1052
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1055
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L168)
|
1053
1056
|
|
1054
1057
|
> def set_network_connection
|
1055
1058
|
|
@@ -1068,7 +1071,7 @@ __Parameters:__
|
|
1068
1071
|
|
1069
1072
|
--
|
1070
1073
|
|
1071
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1074
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L181)
|
1072
1075
|
|
1073
1076
|
> def set_immediate_value
|
1074
1077
|
|
@@ -1082,7 +1085,7 @@ set_immediate_value element, 'hello'
|
|
1082
1085
|
|
1083
1086
|
--
|
1084
1087
|
|
1085
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1088
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L190)
|
1086
1089
|
|
1087
1090
|
> def get_performance_data_types
|
1088
1091
|
|
@@ -1096,7 +1099,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1096
1099
|
|
1097
1100
|
--
|
1098
1101
|
|
1099
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1102
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
|
1100
1103
|
|
1101
1104
|
> def extend_search_contexts
|
1102
1105
|
|
@@ -1104,7 +1107,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1104
1107
|
|
1105
1108
|
--
|
1106
1109
|
|
1107
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1110
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
|
1108
1111
|
|
1109
1112
|
> def find_element_with_appium
|
1110
1113
|
|
@@ -1112,7 +1115,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1112
1115
|
|
1113
1116
|
--
|
1114
1117
|
|
1115
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
|
1116
1119
|
|
1117
1120
|
> def find_elements_with_appium
|
1118
1121
|
|
@@ -1124,7 +1127,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1124
1127
|
|
1125
1128
|
--
|
1126
1129
|
|
1127
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1130
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L484)
|
1128
1131
|
|
1129
1132
|
> def add_touch_actions
|
1130
1133
|
|
@@ -1132,7 +1135,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1132
1135
|
|
1133
1136
|
--
|
1134
1137
|
|
1135
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1138
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L507)
|
1136
1139
|
|
1137
1140
|
> def add_ime_actions
|
1138
1141
|
|
@@ -1140,7 +1143,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1140
1143
|
|
1141
1144
|
--
|
1142
1145
|
|
1143
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L582)
|
1144
1147
|
|
1145
1148
|
> def set_context
|
1146
1149
|
|
@@ -1155,7 +1158,7 @@ __Parameters:__
|
|
1155
1158
|
|
1156
1159
|
--
|
1157
1160
|
|
1158
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L590)
|
1159
1162
|
|
1160
1163
|
> def current_context
|
1161
1164
|
|
@@ -1167,7 +1170,7 @@ __Returns:__
|
|
1167
1170
|
|
1168
1171
|
--
|
1169
1172
|
|
1170
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1173
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L593)
|
1171
1174
|
|
1172
1175
|
> def available_contexts
|
1173
1176
|
|
@@ -1179,7 +1182,7 @@ __Returns:__
|
|
1179
1182
|
|
1180
1183
|
--
|
1181
1184
|
|
1182
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1185
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L604)
|
1183
1186
|
|
1184
1187
|
> def within_context(context)
|
1185
1188
|
|
@@ -1196,7 +1199,7 @@ __Parameters:__
|
|
1196
1199
|
|
1197
1200
|
--
|
1198
1201
|
|
1199
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1202
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L617)
|
1200
1203
|
|
1201
1204
|
> def switch_to_default_context
|
1202
1205
|
|
@@ -1204,7 +1207,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1204
1207
|
|
1205
1208
|
--
|
1206
1209
|
|
1207
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L28)
|
1208
1211
|
|
1209
1212
|
> def pinch(percentage = 25, auto_perform = true)
|
1210
1213
|
|
@@ -1223,7 +1226,7 @@ __Parameters:__
|
|
1223
1226
|
|
1224
1227
|
--
|
1225
1228
|
|
1226
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L57)
|
1227
1230
|
|
1228
1231
|
> def zoom(percentage = 200, auto_perform = true)
|
1229
1232
|
|
@@ -1242,7 +1245,7 @@ __Parameters:__
|
|
1242
1245
|
|
1243
1246
|
--
|
1244
1247
|
|
1245
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L79)
|
1246
1249
|
|
1247
1250
|
> def pinch_for_xcuitest(rate)
|
1248
1251
|
|
@@ -1250,7 +1253,7 @@ __Parameters:__
|
|
1250
1253
|
|
1251
1254
|
--
|
1252
1255
|
|
1253
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1256
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L94)
|
1254
1257
|
|
1255
1258
|
> def pinch_android(rate)
|
1256
1259
|
|
@@ -1258,7 +1261,7 @@ __Parameters:__
|
|
1258
1261
|
|
1259
1262
|
--
|
1260
1263
|
|
1261
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1264
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L108)
|
1262
1265
|
|
1263
1266
|
> def pinch_ios(rate)
|
1264
1267
|
|
@@ -1266,7 +1269,7 @@ __Parameters:__
|
|
1266
1269
|
|
1267
1270
|
--
|
1268
1271
|
|
1269
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L122)
|
1270
1273
|
|
1271
1274
|
> def zoom_for_xcuitest(rate)
|
1272
1275
|
|
@@ -1274,7 +1277,7 @@ __Parameters:__
|
|
1274
1277
|
|
1275
1278
|
--
|
1276
1279
|
|
1277
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1280
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L137)
|
1278
1281
|
|
1279
1282
|
> def zoom_android(rate)
|
1280
1283
|
|
@@ -1282,7 +1285,7 @@ __Parameters:__
|
|
1282
1285
|
|
1283
1286
|
--
|
1284
1287
|
|
1285
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1288
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L151)
|
1286
1289
|
|
1287
1290
|
> def zoom_ios(rate)
|
1288
1291
|
|
@@ -1290,7 +1293,7 @@ __Parameters:__
|
|
1290
1293
|
|
1291
1294
|
--
|
1292
1295
|
|
1293
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1296
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L166)
|
1294
1297
|
|
1295
1298
|
> def actions
|
1296
1299
|
|
@@ -1298,7 +1301,7 @@ self
|
|
1298
1301
|
|
1299
1302
|
--
|
1300
1303
|
|
1301
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L169)
|
1302
1305
|
|
1303
1306
|
> def initialize
|
1304
1307
|
|
@@ -1310,7 +1313,7 @@ __Returns:__
|
|
1310
1313
|
|
1311
1314
|
--
|
1312
1315
|
|
1313
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [add](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L175)
|
1314
1317
|
|
1315
1318
|
> def add(chain)
|
1316
1319
|
|
@@ -1322,7 +1325,7 @@ __Parameters:__
|
|
1322
1325
|
|
1323
1326
|
--
|
1324
1327
|
|
1325
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1328
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L180)
|
1326
1329
|
|
1327
1330
|
> def perform
|
1328
1331
|
|
@@ -1330,7 +1333,7 @@ Ask Appium to perform the actions
|
|
1330
1333
|
|
1331
1334
|
--
|
1332
1335
|
|
1333
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1336
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L22)
|
1334
1337
|
|
1335
1338
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1336
1339
|
|
@@ -1338,7 +1341,7 @@ Ask Appium to perform the actions
|
|
1338
1341
|
|
1339
1342
|
--
|
1340
1343
|
|
1341
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1344
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L23)
|
1342
1345
|
|
1343
1346
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1344
1347
|
|
@@ -1346,7 +1349,7 @@ Ask Appium to perform the actions
|
|
1346
1349
|
|
1347
1350
|
--
|
1348
1351
|
|
1349
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L37)
|
1350
1353
|
|
1351
1354
|
> def actions
|
1352
1355
|
|
@@ -1354,7 +1357,7 @@ Returns the value of attribute actions
|
|
1354
1357
|
|
1355
1358
|
--
|
1356
1359
|
|
1357
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L39)
|
1358
1361
|
|
1359
1362
|
> def initialize
|
1360
1363
|
|
@@ -1366,7 +1369,7 @@ __Returns:__
|
|
1366
1369
|
|
1367
1370
|
--
|
1368
1371
|
|
1369
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L50)
|
1370
1373
|
|
1371
1374
|
> def move_to(opts)
|
1372
1375
|
|
@@ -1380,7 +1383,7 @@ __Parameters:__
|
|
1380
1383
|
|
1381
1384
|
--
|
1382
1385
|
|
1383
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1386
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L64)
|
1384
1387
|
|
1385
1388
|
> def long_press(opts)
|
1386
1389
|
|
@@ -1401,7 +1404,7 @@ __Parameters:__
|
|
1401
1404
|
|
1402
1405
|
--
|
1403
1406
|
|
1404
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [press](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L76)
|
1405
1408
|
|
1406
1409
|
> def press(opts)
|
1407
1410
|
|
@@ -1414,7 +1417,7 @@ __Parameters:__
|
|
1414
1417
|
|
1415
1418
|
--
|
1416
1419
|
|
1417
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [release](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L87)
|
1418
1421
|
|
1419
1422
|
> def release(opts = nil)
|
1420
1423
|
|
@@ -1426,7 +1429,7 @@ __Parameters:__
|
|
1426
1429
|
|
1427
1430
|
--
|
1428
1431
|
|
1429
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1432
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L99)
|
1430
1433
|
|
1431
1434
|
> def tap(opts)
|
1432
1435
|
|
@@ -1439,7 +1442,7 @@ __Parameters:__
|
|
1439
1442
|
|
1440
1443
|
--
|
1441
1444
|
|
1442
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L112)
|
1443
1446
|
|
1444
1447
|
> def double_tap(opts)
|
1445
1448
|
|
@@ -1451,7 +1454,7 @@ __Parameters:__
|
|
1451
1454
|
|
1452
1455
|
--
|
1453
1456
|
|
1454
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L123)
|
1455
1458
|
|
1456
1459
|
> def two_finger_tap(opts)
|
1457
1460
|
|
@@ -1463,7 +1466,7 @@ __Parameters:__
|
|
1463
1466
|
|
1464
1467
|
--
|
1465
1468
|
|
1466
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L131)
|
1467
1470
|
|
1468
1471
|
> def wait(milliseconds)
|
1469
1472
|
|
@@ -1475,7 +1478,7 @@ __Parameters:__
|
|
1475
1478
|
|
1476
1479
|
--
|
1477
1480
|
|
1478
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L154)
|
1479
1482
|
|
1480
1483
|
> def swipe(opts, ele = nil)
|
1481
1484
|
|
@@ -1496,7 +1499,7 @@ __Parameters:__
|
|
1496
1499
|
|
1497
1500
|
--
|
1498
1501
|
|
1499
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1502
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L179)
|
1500
1503
|
|
1501
1504
|
> def perform
|
1502
1505
|
|
@@ -1504,7 +1507,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1504
1507
|
|
1505
1508
|
--
|
1506
1509
|
|
1507
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1510
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L186)
|
1508
1511
|
|
1509
1512
|
> def cancel
|
1510
1513
|
|
@@ -1512,7 +1515,7 @@ Does nothing, currently.
|
|
1512
1515
|
|
1513
1516
|
--
|
1514
1517
|
|
1515
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1518
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L192)
|
1516
1519
|
|
1517
1520
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1518
1521
|
|
@@ -1520,7 +1523,7 @@ Does nothing, currently.
|
|
1520
1523
|
|
1521
1524
|
--
|
1522
1525
|
|
1523
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1526
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L210)
|
1524
1527
|
|
1525
1528
|
> def chain_method(method, args = nil)
|
1526
1529
|
|
@@ -1528,7 +1531,7 @@ Does nothing, currently.
|
|
1528
1531
|
|
1529
1532
|
--
|
1530
1533
|
|
1531
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1534
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L216)
|
1532
1535
|
|
1533
1536
|
> def args_with_ele_ref(args)
|
1534
1537
|
|
@@ -1536,7 +1539,7 @@ Does nothing, currently.
|
|
1536
1539
|
|
1537
1540
|
--
|
1538
1541
|
|
1539
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1542
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L4)
|
1540
1543
|
|
1541
1544
|
> def initialize(opts = {})
|
1542
1545
|
|
@@ -1548,7 +1551,7 @@ __Returns:__
|
|
1548
1551
|
|
1549
1552
|
--
|
1550
1553
|
|
1551
|
-
##### [until](https://github.com/appium/ruby_lib/blob/
|
1554
|
+
##### [until](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L23)
|
1552
1555
|
|
1553
1556
|
> def until
|
1554
1557
|
|
@@ -1557,7 +1560,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1557
1560
|
|
1558
1561
|
--
|
1559
1562
|
|
1560
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L51)
|
1561
1564
|
|
1562
1565
|
> def _process_wait_opts(opts)
|
1563
1566
|
|
@@ -1565,7 +1568,7 @@ process opts before calling _generic_wait
|
|
1565
1568
|
|
1566
1569
|
--
|
1567
1570
|
|
1568
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L72)
|
1569
1572
|
|
1570
1573
|
> def wait_true(opts = {})
|
1571
1574
|
|
@@ -1585,7 +1588,7 @@ __Parameters:__
|
|
1585
1588
|
|
1586
1589
|
--
|
1587
1590
|
|
1588
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L95)
|
1589
1592
|
|
1590
1593
|
> def wait(opts = {})
|
1591
1594
|
|
@@ -1603,7 +1606,7 @@ __Parameters:__
|
|
1603
1606
|
|
1604
1607
|
--
|
1605
1608
|
|
1606
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1609
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L24)
|
1607
1610
|
|
1608
1611
|
> def ignore
|
1609
1612
|
|
@@ -1611,7 +1614,7 @@ Return yield and ignore any exceptions.
|
|
1611
1614
|
|
1612
1615
|
--
|
1613
1616
|
|
1614
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1617
|
+
##### [back](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L31)
|
1615
1618
|
|
1616
1619
|
> def back
|
1617
1620
|
|
@@ -1623,7 +1626,7 @@ __Returns:__
|
|
1623
1626
|
|
1624
1627
|
--
|
1625
1628
|
|
1626
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L36)
|
1627
1630
|
|
1628
1631
|
> def session_id
|
1629
1632
|
|
@@ -1631,7 +1634,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1631
1634
|
|
1632
1635
|
--
|
1633
1636
|
|
1634
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L44)
|
1635
1638
|
|
1636
1639
|
> def xpath(xpath_str)
|
1637
1640
|
|
@@ -1647,7 +1650,7 @@ __Returns:__
|
|
1647
1650
|
|
1648
1651
|
--
|
1649
1652
|
|
1650
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L52)
|
1651
1654
|
|
1652
1655
|
> def xpaths(xpath_str)
|
1653
1656
|
|
@@ -1663,7 +1666,7 @@ __Returns:__
|
|
1663
1666
|
|
1664
1667
|
--
|
1665
1668
|
|
1666
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L56)
|
1667
1670
|
|
1668
1671
|
> def _print_source(source)
|
1669
1672
|
|
@@ -1671,7 +1674,7 @@ __Returns:__
|
|
1671
1674
|
|
1672
1675
|
--
|
1673
1676
|
|
1674
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1677
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L69)
|
1675
1678
|
|
1676
1679
|
> def result
|
1677
1680
|
|
@@ -1679,7 +1682,7 @@ Returns the value of attribute result
|
|
1679
1682
|
|
1680
1683
|
--
|
1681
1684
|
|
1682
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1685
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L71)
|
1683
1686
|
|
1684
1687
|
> def initialize
|
1685
1688
|
|
@@ -1691,7 +1694,7 @@ __Returns:__
|
|
1691
1694
|
|
1692
1695
|
--
|
1693
1696
|
|
1694
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1697
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L75)
|
1695
1698
|
|
1696
1699
|
> def reset
|
1697
1700
|
|
@@ -1699,7 +1702,7 @@ __Returns:__
|
|
1699
1702
|
|
1700
1703
|
--
|
1701
1704
|
|
1702
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L80)
|
1703
1706
|
|
1704
1707
|
> def start_element(name, attrs = [])
|
1705
1708
|
|
@@ -1707,7 +1710,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1707
1710
|
|
1708
1711
|
--
|
1709
1712
|
|
1710
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1713
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L86)
|
1711
1714
|
|
1712
1715
|
> def formatted_result
|
1713
1716
|
|
@@ -1715,7 +1718,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1715
1718
|
|
1716
1719
|
--
|
1717
1720
|
|
1718
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L97)
|
1719
1722
|
|
1720
1723
|
> def get_page_class
|
1721
1724
|
|
@@ -1723,7 +1726,7 @@ Returns a string of class counts of visible elements.
|
|
1723
1726
|
|
1724
1727
|
--
|
1725
1728
|
|
1726
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1729
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L108)
|
1727
1730
|
|
1728
1731
|
> def page_class
|
1729
1732
|
|
@@ -1732,7 +1735,7 @@ Useful for appium_console.
|
|
1732
1735
|
|
1733
1736
|
--
|
1734
1737
|
|
1735
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1738
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L118)
|
1736
1739
|
|
1737
1740
|
> def px_to_window_rel(opts = {})
|
1738
1741
|
|
@@ -1744,7 +1747,7 @@ px_to_window_rel x: 50, y: 150
|
|
1744
1747
|
|
1745
1748
|
--
|
1746
1749
|
|
1747
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1750
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L137)
|
1748
1751
|
|
1749
1752
|
> def xml_keys(target)
|
1750
1753
|
|
@@ -1760,7 +1763,7 @@ __Returns:__
|
|
1760
1763
|
|
1761
1764
|
--
|
1762
1765
|
|
1763
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1766
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L145)
|
1764
1767
|
|
1765
1768
|
> def xml_values(target)
|
1766
1769
|
|
@@ -1776,7 +1779,7 @@ __Returns:__
|
|
1776
1779
|
|
1777
1780
|
--
|
1778
1781
|
|
1779
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1782
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L153)
|
1780
1783
|
|
1781
1784
|
> def resolve_id(id)
|
1782
1785
|
|
@@ -1792,7 +1795,7 @@ __Returns:__
|
|
1792
1795
|
|
1793
1796
|
--
|
1794
1797
|
|
1795
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1798
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L159)
|
1796
1799
|
|
1797
1800
|
> def filter
|
1798
1801
|
|
@@ -1800,7 +1803,7 @@ Returns the value of attribute filter
|
|
1800
1803
|
|
1801
1804
|
--
|
1802
1805
|
|
1803
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1806
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L162)
|
1804
1807
|
|
1805
1808
|
> def filter=(value)
|
1806
1809
|
|
@@ -1808,7 +1811,7 @@ convert to string to support symbols
|
|
1808
1811
|
|
1809
1812
|
--
|
1810
1813
|
|
1811
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1814
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L168)
|
1812
1815
|
|
1813
1816
|
> def initialize
|
1814
1817
|
|
@@ -1820,7 +1823,7 @@ __Returns:__
|
|
1820
1823
|
|
1821
1824
|
--
|
1822
1825
|
|
1823
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1826
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L173)
|
1824
1827
|
|
1825
1828
|
> def reset
|
1826
1829
|
|
@@ -1828,7 +1831,7 @@ __Returns:__
|
|
1828
1831
|
|
1829
1832
|
--
|
1830
1833
|
|
1831
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L179)
|
1832
1835
|
|
1833
1836
|
> def result
|
1834
1837
|
|
@@ -1836,7 +1839,7 @@ __Returns:__
|
|
1836
1839
|
|
1837
1840
|
--
|
1838
1841
|
|
1839
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1842
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L195)
|
1840
1843
|
|
1841
1844
|
> def start_element(name, attrs = [])
|
1842
1845
|
|
@@ -1844,7 +1847,7 @@ __Returns:__
|
|
1844
1847
|
|
1845
1848
|
--
|
1846
1849
|
|
1847
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1850
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L204)
|
1848
1851
|
|
1849
1852
|
> def end_element(name)
|
1850
1853
|
|
@@ -1852,7 +1855,7 @@ __Returns:__
|
|
1852
1855
|
|
1853
1856
|
--
|
1854
1857
|
|
1855
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1858
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L210)
|
1856
1859
|
|
1857
1860
|
> def characters(chars)
|
1858
1861
|
|
@@ -1860,7 +1863,7 @@ __Returns:__
|
|
1860
1863
|
|
1861
1864
|
--
|
1862
1865
|
|
1863
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1866
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L217)
|
1864
1867
|
|
1865
1868
|
> def _no_such_element
|
1866
1869
|
|
@@ -1868,7 +1871,7 @@ __Returns:__
|
|
1868
1871
|
|
1869
1872
|
--
|
1870
1873
|
|
1871
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1874
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/command.rb#L4)
|
1872
1875
|
|
1873
1876
|
> COMMAND_NO_ARG = {
|
1874
1877
|
|
@@ -1876,7 +1879,7 @@ __Returns:__
|
|
1876
1879
|
|
1877
1880
|
--
|
1878
1881
|
|
1879
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1882
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/command.rb#L28)
|
1880
1883
|
|
1881
1884
|
> COMMAND = {
|
1882
1885
|
|
@@ -1884,7 +1887,7 @@ __Returns:__
|
|
1884
1887
|
|
1885
1888
|
--
|
1886
1889
|
|
1887
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1890
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/element/window.rb#L5)
|
1888
1891
|
|
1889
1892
|
> def window_size
|
1890
1893
|
|
@@ -1892,7 +1895,7 @@ Get the window's size
|
|
1892
1895
|
|
1893
1896
|
--
|
1894
1897
|
|
1895
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1898
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/search_context.rb#L5)
|
1896
1899
|
|
1897
1900
|
> FINDERS = {
|
1898
1901
|
|
@@ -1900,7 +1903,7 @@ rubocop:disable Style/MutableConstant
|
|
1900
1903
|
|
1901
1904
|
--
|
1902
1905
|
|
1903
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1906
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L4) ios
|
1904
1907
|
|
1905
1908
|
> def filter
|
1906
1909
|
|
@@ -1908,7 +1911,7 @@ Returns the value of attribute filter
|
|
1908
1911
|
|
1909
1912
|
--
|
1910
1913
|
|
1911
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1914
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L4) ios
|
1912
1915
|
|
1913
1916
|
> def filter=(value)
|
1914
1917
|
|
@@ -1920,7 +1923,7 @@ __Parameters:__
|
|
1920
1923
|
|
1921
1924
|
--
|
1922
1925
|
|
1923
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1926
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L6) ios
|
1924
1927
|
|
1925
1928
|
> def start_element(type, attrs = [])
|
1926
1929
|
|
@@ -1928,7 +1931,7 @@ __Parameters:__
|
|
1928
1931
|
|
1929
1932
|
--
|
1930
1933
|
|
1931
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1934
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L15) ios
|
1932
1935
|
|
1933
1936
|
> def _print_attr(type, name, label, value, hint, visible) # rubocop:disable Metrics/ParameterLists
|
1934
1937
|
|
@@ -1936,7 +1939,7 @@ rubocop:disable Metrics/ParameterLists
|
|
1936
1939
|
|
1937
1940
|
--
|
1938
1941
|
|
1939
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1942
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L42) ios
|
1940
1943
|
|
1941
1944
|
> def ios_password(length = 1)
|
1942
1945
|
|
@@ -1954,7 +1957,7 @@ __Returns:__
|
|
1954
1957
|
|
1955
1958
|
--
|
1956
1959
|
|
1957
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1960
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L55) ios
|
1958
1961
|
|
1959
1962
|
> def get_page(element = source_window(0), class_name = nil)
|
1960
1963
|
|
@@ -1975,7 +1978,7 @@ __Returns:__
|
|
1975
1978
|
|
1976
1979
|
--
|
1977
1980
|
|
1978
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1981
|
+
##### [page](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L142) ios
|
1979
1982
|
|
1980
1983
|
> def page(opts = {})
|
1981
1984
|
|
@@ -2000,7 +2003,7 @@ __Returns:__
|
|
2000
2003
|
|
2001
2004
|
--
|
2002
2005
|
|
2003
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
2006
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L166) ios
|
2004
2007
|
|
2005
2008
|
> def source_window(window_number = nil)
|
2006
2009
|
|
@@ -2012,7 +2015,7 @@ __Returns:__
|
|
2012
2015
|
|
2013
2016
|
--
|
2014
2017
|
|
2015
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
2018
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L177) ios
|
2016
2019
|
|
2017
2020
|
> def page_window(window_number = 0)
|
2018
2021
|
|
@@ -2030,7 +2033,7 @@ __Returns:__
|
|
2030
2033
|
|
2031
2034
|
--
|
2032
2035
|
|
2033
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L185) ios
|
2034
2037
|
|
2035
2038
|
> def id(id)
|
2036
2039
|
|
@@ -2046,7 +2049,7 @@ __Returns:__
|
|
2046
2049
|
|
2047
2050
|
--
|
2048
2051
|
|
2049
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
2052
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L191) ios
|
2050
2053
|
|
2051
2054
|
> def ios_version
|
2052
2055
|
|
@@ -2058,7 +2061,7 @@ __Returns:__
|
|
2058
2061
|
|
2059
2062
|
--
|
2060
2063
|
|
2061
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2064
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L204) ios
|
2062
2065
|
|
2063
2066
|
> def ele_index(class_name, index)
|
2064
2067
|
|
@@ -2076,7 +2079,7 @@ __Returns:__
|
|
2076
2079
|
|
2077
2080
|
--
|
2078
2081
|
|
2079
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
2082
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L240) ios
|
2080
2083
|
|
2081
2084
|
> def find_ele_by_attr(class_name, attr, value)
|
2082
2085
|
|
@@ -2098,7 +2101,7 @@ __Returns:__
|
|
2098
2101
|
|
2099
2102
|
--
|
2100
2103
|
|
2101
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2104
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L251) ios
|
2102
2105
|
|
2103
2106
|
> def find_eles_by_attr(class_name, attr, value)
|
2104
2107
|
|
@@ -2120,7 +2123,7 @@ __Returns:__
|
|
2120
2123
|
|
2121
2124
|
--
|
2122
2125
|
|
2123
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2126
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L272) ios
|
2124
2127
|
|
2125
2128
|
> def find_ele_by_predicate(class_name: '*', value:)
|
2126
2129
|
|
@@ -2137,7 +2140,7 @@ __Returns:__
|
|
2137
2140
|
|
2138
2141
|
--
|
2139
2142
|
|
2140
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2143
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L283) ios
|
2141
2144
|
|
2142
2145
|
> def find_eles_by_predicate(class_name: '*', value:)
|
2143
2146
|
|
@@ -2156,7 +2159,7 @@ __Returns:__
|
|
2156
2159
|
|
2157
2160
|
--
|
2158
2161
|
|
2159
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2162
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L299) ios
|
2160
2163
|
|
2161
2164
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2162
2165
|
|
@@ -2177,7 +2180,7 @@ __Returns:__
|
|
2177
2180
|
|
2178
2181
|
--
|
2179
2182
|
|
2180
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2183
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L309) ios
|
2181
2184
|
|
2182
2185
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2183
2186
|
|
@@ -2198,7 +2201,7 @@ __Returns:__
|
|
2198
2201
|
|
2199
2202
|
--
|
2200
2203
|
|
2201
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2204
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L317) ios
|
2202
2205
|
|
2203
2206
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
2204
2207
|
|
@@ -2215,7 +2218,7 @@ __Returns:__
|
|
2215
2218
|
|
2216
2219
|
--
|
2217
2220
|
|
2218
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2221
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L328) ios
|
2219
2222
|
|
2220
2223
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
2221
2224
|
|
@@ -2234,7 +2237,7 @@ __Returns:__
|
|
2234
2237
|
|
2235
2238
|
--
|
2236
2239
|
|
2237
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2240
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L341) ios
|
2238
2241
|
|
2239
2242
|
> def first_ele(class_name)
|
2240
2243
|
|
@@ -2250,7 +2253,7 @@ __Returns:__
|
|
2250
2253
|
|
2251
2254
|
--
|
2252
2255
|
|
2253
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2256
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L348) ios
|
2254
2257
|
|
2255
2258
|
> def last_ele(class_name)
|
2256
2259
|
|
@@ -2266,7 +2269,7 @@ __Returns:__
|
|
2266
2269
|
|
2267
2270
|
--
|
2268
2271
|
|
2269
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2272
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L362) ios
|
2270
2273
|
|
2271
2274
|
> def tag(class_name)
|
2272
2275
|
|
@@ -2282,7 +2285,7 @@ __Returns:__
|
|
2282
2285
|
|
2283
2286
|
--
|
2284
2287
|
|
2285
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2288
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L374) ios
|
2286
2289
|
|
2287
2290
|
> def tags(class_name)
|
2288
2291
|
|
@@ -2298,7 +2301,7 @@ __Returns:__
|
|
2298
2301
|
|
2299
2302
|
--
|
2300
2303
|
|
2301
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2304
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L390) ios
|
2302
2305
|
|
2303
2306
|
> def tags_include(class_names:, value: nil)
|
2304
2307
|
|
@@ -2318,7 +2321,7 @@ __Returns:__
|
|
2318
2321
|
|
2319
2322
|
--
|
2320
2323
|
|
2321
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2324
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L419) ios
|
2322
2325
|
|
2323
2326
|
> def tags_exact(class_names:, value: nil)
|
2324
2327
|
|
@@ -2338,7 +2341,7 @@ __Returns:__
|
|
2338
2341
|
|
2339
2342
|
--
|
2340
2343
|
|
2341
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2344
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L470) ios
|
2342
2345
|
|
2343
2346
|
> def ele_by_json_visible_contains(element, value)
|
2344
2347
|
|
@@ -2357,7 +2360,7 @@ __Returns:__
|
|
2357
2360
|
|
2358
2361
|
--
|
2359
2362
|
|
2360
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2363
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L479) ios
|
2361
2364
|
|
2362
2365
|
> def eles_by_json_visible_contains(element, value)
|
2363
2366
|
|
@@ -2376,7 +2379,7 @@ __Returns:__
|
|
2376
2379
|
|
2377
2380
|
--
|
2378
2381
|
|
2379
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2382
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L509) ios
|
2380
2383
|
|
2381
2384
|
> def ele_by_json_visible_exact(element, value)
|
2382
2385
|
|
@@ -2395,7 +2398,7 @@ __Returns:__
|
|
2395
2398
|
|
2396
2399
|
--
|
2397
2400
|
|
2398
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2401
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L518) ios
|
2399
2402
|
|
2400
2403
|
> def eles_by_json_visible_exact(element, value)
|
2401
2404
|
|
@@ -2414,7 +2417,7 @@ __Returns:__
|
|
2414
2417
|
|
2415
2418
|
--
|
2416
2419
|
|
2417
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2420
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L527) ios
|
2418
2421
|
|
2419
2422
|
> def _all_pred(opts)
|
2420
2423
|
|
@@ -2424,7 +2427,7 @@ visible - if true, only visible elements are returned. default true
|
|
2424
2427
|
|
2425
2428
|
--
|
2426
2429
|
|
2427
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2430
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L540) ios
|
2428
2431
|
|
2429
2432
|
> def ele_with_pred(opts)
|
2430
2433
|
|
@@ -2440,7 +2443,7 @@ __Returns:__
|
|
2440
2443
|
|
2441
2444
|
--
|
2442
2445
|
|
2443
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2446
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L551) ios
|
2444
2447
|
|
2445
2448
|
> def eles_with_pred(opts)
|
2446
2449
|
|
@@ -2456,7 +2459,7 @@ __Returns:__
|
|
2456
2459
|
|
2457
2460
|
--
|
2458
2461
|
|
2459
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2462
|
+
##### [source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L557) ios
|
2460
2463
|
|
2461
2464
|
> def source
|
2462
2465
|
|
@@ -2468,7 +2471,7 @@ __Returns:__
|
|
2468
2471
|
|
2469
2472
|
--
|
2470
2473
|
|
2471
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2474
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L561) ios
|
2472
2475
|
|
2473
2476
|
> def _validate_object(*objects)
|
2474
2477
|
|
@@ -2476,7 +2479,7 @@ __Returns:__
|
|
2476
2479
|
|
2477
2480
|
--
|
2478
2481
|
|
2479
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2482
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L610) ios
|
2480
2483
|
|
2481
2484
|
> def _by_json(opts)
|
2482
2485
|
|
@@ -2511,7 +2514,7 @@ opts = {
|
|
2511
2514
|
|
2512
2515
|
--
|
2513
2516
|
|
2514
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2517
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L660) ios
|
2515
2518
|
|
2516
2519
|
> def eles_by_json(opts)
|
2517
2520
|
|
@@ -2530,7 +2533,7 @@ eles_by_json({
|
|
2530
2533
|
|
2531
2534
|
--
|
2532
2535
|
|
2533
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2536
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L666) ios
|
2534
2537
|
|
2535
2538
|
> def ele_by_json(opts)
|
2536
2539
|
|
@@ -2538,7 +2541,7 @@ see eles_by_json
|
|
2538
2541
|
|
2539
2542
|
--
|
2540
2543
|
|
2541
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2544
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L676) ios
|
2542
2545
|
|
2543
2546
|
> def get_source
|
2544
2547
|
|
@@ -2551,7 +2554,7 @@ __Returns:__
|
|
2551
2554
|
|
2552
2555
|
--
|
2553
2556
|
|
2554
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2557
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L4) ios
|
2555
2558
|
|
2556
2559
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2557
2560
|
|
@@ -2559,7 +2562,7 @@ __Returns:__
|
|
2559
2562
|
|
2560
2563
|
--
|
2561
2564
|
|
2562
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2565
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L5) ios
|
2563
2566
|
|
2564
2567
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2565
2568
|
|
@@ -2567,7 +2570,7 @@ __Returns:__
|
|
2567
2570
|
|
2568
2571
|
--
|
2569
2572
|
|
2570
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L8) ios
|
2571
2574
|
|
2572
2575
|
> def static_text_class
|
2573
2576
|
|
@@ -2579,7 +2582,7 @@ __Returns:__
|
|
2579
2582
|
|
2580
2583
|
--
|
2581
2584
|
|
2582
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2585
|
+
##### [text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L16) ios
|
2583
2586
|
|
2584
2587
|
> def text(value)
|
2585
2588
|
|
@@ -2596,7 +2599,7 @@ __Returns:__
|
|
2596
2599
|
|
2597
2600
|
--
|
2598
2601
|
|
2599
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2602
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L30) ios
|
2600
2603
|
|
2601
2604
|
> def texts(value = false)
|
2602
2605
|
|
@@ -2613,7 +2616,7 @@ __Returns:__
|
|
2613
2616
|
|
2614
2617
|
--
|
2615
2618
|
|
2616
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2619
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L43) ios
|
2617
2620
|
|
2618
2621
|
> def first_text
|
2619
2622
|
|
@@ -2625,7 +2628,7 @@ __Returns:__
|
|
2625
2628
|
|
2626
2629
|
--
|
2627
2630
|
|
2628
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2631
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L49) ios
|
2629
2632
|
|
2630
2633
|
> def last_text
|
2631
2634
|
|
@@ -2637,7 +2640,7 @@ __Returns:__
|
|
2637
2640
|
|
2638
2641
|
--
|
2639
2642
|
|
2640
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2643
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L56) ios
|
2641
2644
|
|
2642
2645
|
> def text_exact(value)
|
2643
2646
|
|
@@ -2653,7 +2656,7 @@ __Returns:__
|
|
2653
2656
|
|
2654
2657
|
--
|
2655
2658
|
|
2656
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2659
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L67) ios
|
2657
2660
|
|
2658
2661
|
> def texts_exact(value)
|
2659
2662
|
|
@@ -2669,7 +2672,7 @@ __Returns:__
|
|
2669
2672
|
|
2670
2673
|
--
|
2671
2674
|
|
2672
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2675
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2673
2676
|
|
2674
2677
|
> def alert_accept
|
2675
2678
|
|
@@ -2681,7 +2684,7 @@ __Returns:__
|
|
2681
2684
|
|
2682
2685
|
--
|
2683
2686
|
|
2684
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2687
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2685
2688
|
|
2686
2689
|
> def alert_dismiss
|
2687
2690
|
|
@@ -2693,7 +2696,7 @@ __Returns:__
|
|
2693
2696
|
|
2694
2697
|
--
|
2695
2698
|
|
2696
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2699
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L4) ios
|
2697
2700
|
|
2698
2701
|
> UIAButton = 'UIAButton'.freeze
|
2699
2702
|
|
@@ -2701,7 +2704,7 @@ __Returns:__
|
|
2701
2704
|
|
2702
2705
|
--
|
2703
2706
|
|
2704
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2707
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L5) ios
|
2705
2708
|
|
2706
2709
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2707
2710
|
|
@@ -2709,7 +2712,7 @@ __Returns:__
|
|
2709
2712
|
|
2710
2713
|
--
|
2711
2714
|
|
2712
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2715
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L8) ios
|
2713
2716
|
|
2714
2717
|
> def button_class
|
2715
2718
|
|
@@ -2721,7 +2724,7 @@ __Returns:__
|
|
2721
2724
|
|
2722
2725
|
--
|
2723
2726
|
|
2724
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2727
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L16) ios
|
2725
2728
|
|
2726
2729
|
> def button(value)
|
2727
2730
|
|
@@ -2738,7 +2741,7 @@ __Returns:__
|
|
2738
2741
|
|
2739
2742
|
--
|
2740
2743
|
|
2741
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2744
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L31) ios
|
2742
2745
|
|
2743
2746
|
> def buttons(value = false)
|
2744
2747
|
|
@@ -2755,7 +2758,7 @@ __Returns:__
|
|
2755
2758
|
|
2756
2759
|
--
|
2757
2760
|
|
2758
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2761
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L44) ios
|
2759
2762
|
|
2760
2763
|
> def first_button
|
2761
2764
|
|
@@ -2767,7 +2770,7 @@ __Returns:__
|
|
2767
2770
|
|
2768
2771
|
--
|
2769
2772
|
|
2770
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2773
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L52) ios
|
2771
2774
|
|
2772
2775
|
> def last_button
|
2773
2776
|
|
@@ -2781,7 +2784,7 @@ __Returns:__
|
|
2781
2784
|
|
2782
2785
|
--
|
2783
2786
|
|
2784
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2787
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L59) ios
|
2785
2788
|
|
2786
2789
|
> def button_exact(value)
|
2787
2790
|
|
@@ -2797,7 +2800,7 @@ __Returns:__
|
|
2797
2800
|
|
2798
2801
|
--
|
2799
2802
|
|
2800
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2803
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L70) ios
|
2801
2804
|
|
2802
2805
|
> def buttons_exact(value)
|
2803
2806
|
|
@@ -2813,7 +2816,7 @@ __Returns:__
|
|
2813
2816
|
|
2814
2817
|
--
|
2815
2818
|
|
2816
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2819
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/mobile_methods.rb#L19) ios
|
2817
2820
|
|
2818
2821
|
> def uiautomation_find
|
2819
2822
|
|
@@ -2825,7 +2828,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2825
2828
|
|
2826
2829
|
--
|
2827
2830
|
|
2828
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2831
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/mobile_methods.rb#L19) ios
|
2829
2832
|
|
2830
2833
|
> def ios_predicate_string_find
|
2831
2834
|
|
@@ -2839,7 +2842,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2839
2842
|
|
2840
2843
|
--
|
2841
2844
|
|
2842
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
2845
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/mobile_methods.rb#L39) ios
|
2843
2846
|
|
2844
2847
|
> def ios_class_chain_find
|
2845
2848
|
|
@@ -2857,7 +2860,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
2857
2860
|
|
2858
2861
|
--
|
2859
2862
|
|
2860
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2863
|
+
##### [find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2861
2864
|
|
2862
2865
|
> def find(value)
|
2863
2866
|
|
@@ -2873,7 +2876,7 @@ __Returns:__
|
|
2873
2876
|
|
2874
2877
|
--
|
2875
2878
|
|
2876
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2879
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2877
2880
|
|
2878
2881
|
> def finds(value)
|
2879
2882
|
|
@@ -2889,7 +2892,7 @@ __Returns:__
|
|
2889
2892
|
|
2890
2893
|
--
|
2891
2894
|
|
2892
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2895
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2893
2896
|
|
2894
2897
|
> def find_exact(value)
|
2895
2898
|
|
@@ -2905,7 +2908,7 @@ __Returns:__
|
|
2905
2908
|
|
2906
2909
|
--
|
2907
2910
|
|
2908
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2911
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2909
2912
|
|
2910
2913
|
> def finds_exact(value)
|
2911
2914
|
|
@@ -2921,7 +2924,7 @@ __Returns:__
|
|
2921
2924
|
|
2922
2925
|
--
|
2923
2926
|
|
2924
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2927
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2925
2928
|
|
2926
2929
|
> def raise_error_if_no_element(element)
|
2927
2930
|
|
@@ -2929,7 +2932,7 @@ __Returns:__
|
|
2929
2932
|
|
2930
2933
|
--
|
2931
2934
|
|
2932
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2935
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2933
2936
|
|
2934
2937
|
> def select_visible_elements(elements)
|
2935
2938
|
|
@@ -2937,7 +2940,7 @@ Return visible elements.
|
|
2937
2940
|
|
2938
2941
|
--
|
2939
2942
|
|
2940
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2943
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2941
2944
|
|
2942
2945
|
> UIATextField = 'UIATextField'.freeze
|
2943
2946
|
|
@@ -2945,7 +2948,7 @@ Return visible elements.
|
|
2945
2948
|
|
2946
2949
|
--
|
2947
2950
|
|
2948
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2951
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2949
2952
|
|
2950
2953
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2951
2954
|
|
@@ -2953,7 +2956,7 @@ Return visible elements.
|
|
2953
2956
|
|
2954
2957
|
--
|
2955
2958
|
|
2956
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2959
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2957
2960
|
|
2958
2961
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2959
2962
|
|
@@ -2961,7 +2964,7 @@ Return visible elements.
|
|
2961
2964
|
|
2962
2965
|
--
|
2963
2966
|
|
2964
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2967
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2965
2968
|
|
2966
2969
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2967
2970
|
|
@@ -2969,7 +2972,7 @@ Return visible elements.
|
|
2969
2972
|
|
2970
2973
|
--
|
2971
2974
|
|
2972
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2975
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2973
2976
|
|
2974
2977
|
> def text_field_class
|
2975
2978
|
|
@@ -2981,7 +2984,7 @@ __Returns:__
|
|
2981
2984
|
|
2982
2985
|
--
|
2983
2986
|
|
2984
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2987
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2985
2988
|
|
2986
2989
|
> def secure_text_field_class
|
2987
2990
|
|
@@ -2993,7 +2996,7 @@ __Returns:__
|
|
2993
2996
|
|
2994
2997
|
--
|
2995
2998
|
|
2996
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2999
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
2997
3000
|
|
2998
3001
|
> def _textfield_visible
|
2999
3002
|
|
@@ -3001,7 +3004,7 @@ Appium
|
|
3001
3004
|
|
3002
3005
|
--
|
3003
3006
|
|
3004
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
3007
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
3005
3008
|
|
3006
3009
|
> def _textfield_exact_string(value)
|
3007
3010
|
|
@@ -3009,7 +3012,7 @@ Appium
|
|
3009
3012
|
|
3010
3013
|
--
|
3011
3014
|
|
3012
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
3015
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
3013
3016
|
|
3014
3017
|
> def _textfield_contains_string(value)
|
3015
3018
|
|
@@ -3017,7 +3020,7 @@ Appium
|
|
3017
3020
|
|
3018
3021
|
--
|
3019
3022
|
|
3020
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
3023
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
3021
3024
|
|
3022
3025
|
> def textfield(value)
|
3023
3026
|
|
@@ -3035,7 +3038,7 @@ __Returns:__
|
|
3035
3038
|
|
3036
3039
|
--
|
3037
3040
|
|
3038
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
3041
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
3039
3042
|
|
3040
3043
|
> def textfields(value = false)
|
3041
3044
|
|
@@ -3052,7 +3055,7 @@ __Returns:__
|
|
3052
3055
|
|
3053
3056
|
--
|
3054
3057
|
|
3055
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
3058
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
3056
3059
|
|
3057
3060
|
> def first_textfield
|
3058
3061
|
|
@@ -3064,7 +3067,7 @@ __Returns:__
|
|
3064
3067
|
|
3065
3068
|
--
|
3066
3069
|
|
3067
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3070
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
3068
3071
|
|
3069
3072
|
> def last_textfield
|
3070
3073
|
|
@@ -3076,7 +3079,7 @@ __Returns:__
|
|
3076
3079
|
|
3077
3080
|
--
|
3078
3081
|
|
3079
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3082
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
3080
3083
|
|
3081
3084
|
> def textfield_exact(value)
|
3082
3085
|
|
@@ -3092,7 +3095,7 @@ __Returns:__
|
|
3092
3095
|
|
3093
3096
|
--
|
3094
3097
|
|
3095
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3098
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
3096
3099
|
|
3097
3100
|
> def textfields_exact(value)
|
3098
3101
|
|
@@ -3108,7 +3111,7 @@ __Returns:__
|
|
3108
3111
|
|
3109
3112
|
--
|
3110
3113
|
|
3111
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
3114
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L11) ios
|
3112
3115
|
|
3113
3116
|
> def swipe(direction:, element: nil)
|
3114
3117
|
|
@@ -3122,7 +3125,7 @@ __Parameters:__
|
|
3122
3125
|
|
3123
3126
|
--
|
3124
3127
|
|
3125
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
3128
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L31) ios
|
3126
3129
|
|
3127
3130
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3128
3131
|
|
@@ -3136,7 +3139,7 @@ __Parameters:__
|
|
3136
3139
|
|
3137
3140
|
--
|
3138
3141
|
|
3139
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
3142
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L50) ios
|
3140
3143
|
|
3141
3144
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3142
3145
|
|
@@ -3152,7 +3155,7 @@ __Parameters:__
|
|
3152
3155
|
|
3153
3156
|
--
|
3154
3157
|
|
3155
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3158
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L67) ios
|
3156
3159
|
|
3157
3160
|
> def double_tap(x: nil, y: nil, element: nil)
|
3158
3161
|
|
@@ -3168,7 +3171,7 @@ __Parameters:__
|
|
3168
3171
|
|
3169
3172
|
--
|
3170
3173
|
|
3171
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
3174
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L85) ios
|
3172
3175
|
|
3173
3176
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
3174
3177
|
|
@@ -3186,7 +3189,7 @@ __Parameters:__
|
|
3186
3189
|
|
3187
3190
|
--
|
3188
3191
|
|
3189
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3192
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L99) ios
|
3190
3193
|
|
3191
3194
|
> def two_finger_tap(element:)
|
3192
3195
|
|
@@ -3202,7 +3205,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3202
3205
|
|
3203
3206
|
--
|
3204
3207
|
|
3205
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3208
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L116) ios
|
3206
3209
|
|
3207
3210
|
> def tap(x:, y:, element: nil)
|
3208
3211
|
|
@@ -3218,7 +3221,7 @@ __Parameters:__
|
|
3218
3221
|
|
3219
3222
|
--
|
3220
3223
|
|
3221
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3224
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L138) ios
|
3222
3225
|
|
3223
3226
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3224
3227
|
|
@@ -3241,7 +3244,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3241
3244
|
|
3242
3245
|
--
|
3243
3246
|
|
3244
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3247
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L157) ios
|
3245
3248
|
|
3246
3249
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3247
3250
|
|
@@ -3258,7 +3261,7 @@ __Parameters:__
|
|
3258
3261
|
|
3259
3262
|
--
|
3260
3263
|
|
3261
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3264
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L176) ios
|
3262
3265
|
|
3263
3266
|
> def alert(action:, button_label: nil)
|
3264
3267
|
|
@@ -3273,7 +3276,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
3273
3276
|
|
3274
3277
|
--
|
3275
3278
|
|
3276
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
3279
|
+
##### [value](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L12)
|
3277
3280
|
|
3278
3281
|
> def value
|
3279
3282
|
|
@@ -3283,7 +3286,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
3283
3286
|
|
3284
3287
|
--
|
3285
3288
|
|
3286
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
3289
|
+
##### [name](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L19)
|
3287
3290
|
|
3288
3291
|
> def name
|
3289
3292
|
|
@@ -3293,7 +3296,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
3293
3296
|
|
3294
3297
|
--
|
3295
3298
|
|
3296
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
3299
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L30)
|
3297
3300
|
|
3298
3301
|
> def location_rel
|
3299
3302
|
|
@@ -3309,7 +3312,7 @@ __Returns:__
|
|
3309
3312
|
|
3310
3313
|
--
|
3311
3314
|
|
3312
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
3315
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L165)
|
3313
3316
|
|
3314
3317
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
3315
3318
|
|
@@ -3317,7 +3320,7 @@ __Returns:__
|
|
3317
3320
|
|
3318
3321
|
--
|
3319
3322
|
|
3320
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
3323
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L168)
|
3321
3324
|
|
3322
3325
|
> def patch_remote_driver_commands
|
3323
3326
|
|