appium_lib 9.5.0 → 9.6.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.
Files changed (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -0
  3. data/docs/android_docs.md +512 -287
  4. data/docs/ios_docs.md +906 -315
  5. data/docs/ios_xcuitest.md +4 -0
  6. data/lib/appium_lib/android/device.rb +39 -0
  7. data/lib/appium_lib/android/element/button.rb +36 -65
  8. data/lib/appium_lib/android/element/generic.rb +20 -12
  9. data/lib/appium_lib/android/helper.rb +4 -16
  10. data/lib/appium_lib/android/uiautomator2/element/button.rb +110 -0
  11. data/lib/appium_lib/android/uiautomator2/helper.rb +85 -0
  12. data/lib/appium_lib/common/command.rb +9 -1
  13. data/lib/appium_lib/common/helper.rb +5 -4
  14. data/lib/appium_lib/common/patch.rb +21 -5
  15. data/lib/appium_lib/common/version.rb +2 -2
  16. data/lib/appium_lib/common/wait.rb +1 -0
  17. data/lib/appium_lib/device/device.rb +13 -23
  18. data/lib/appium_lib/device/multi_touch.rb +60 -20
  19. data/lib/appium_lib/device/touch_actions.rb +17 -8
  20. data/lib/appium_lib/driver.rb +79 -19
  21. data/lib/appium_lib/ios/element/button.rb +5 -25
  22. data/lib/appium_lib/ios/element/generic.rb +4 -22
  23. data/lib/appium_lib/ios/element/text.rb +5 -25
  24. data/lib/appium_lib/ios/element/textfield.rb +31 -78
  25. data/lib/appium_lib/ios/helper.rb +11 -74
  26. data/lib/appium_lib/ios/mobile_methods.rb +0 -20
  27. data/lib/appium_lib/ios/patch.rb +2 -6
  28. data/lib/appium_lib/ios/xcuitest/device.rb +59 -0
  29. data/lib/appium_lib/ios/xcuitest/element.rb +24 -0
  30. data/lib/appium_lib/ios/xcuitest/element/button.rb +64 -0
  31. data/lib/appium_lib/ios/xcuitest/element/generic.rb +50 -0
  32. data/lib/appium_lib/ios/xcuitest/element/text.rb +61 -0
  33. data/lib/appium_lib/ios/xcuitest/element/textfield.rb +94 -0
  34. data/lib/appium_lib/ios/{xcuitest_gestures.rb → xcuitest/gestures.rb} +10 -23
  35. data/lib/appium_lib/ios/xcuitest/helper.rb +103 -0
  36. data/lib/appium_lib/ios/xcuitest/mobile_methods.rb +23 -0
  37. data/release_notes.md +6 -0
  38. metadata +14 -3
data/docs/ios_docs.md CHANGED
@@ -1,4 +1,4 @@
1
- ##### [load_settings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L76)
1
+ ##### [load_settings](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L91)
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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L112)
30
+ ##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L127)
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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L118)
60
+ ##### [expand_required_files](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L133)
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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L150)
78
+ ##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L165)
79
79
 
80
80
  > def self.symbolize_keys(hash)
81
81
 
@@ -86,9 +86,9 @@ 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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L171)
89
+ ##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L186)
90
90
 
91
- > def self.promote_singleton_appium_methods(modules)
91
+ > def self.promote_singleton_appium_methods(modules, driver = $driver)
92
92
 
93
93
  This method is intended to work with page objects that share
94
94
  a common module. For example, Page::HomePage, Page::SignIn
@@ -104,9 +104,9 @@ 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/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L224)
107
+ ##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L239)
108
108
 
109
- > def self.promote_appium_methods(class_array)
109
+ > def self.promote_appium_methods(class_array, driver = $driver)
110
110
 
111
111
  Promote appium methods to class instance methods
112
112
 
@@ -134,7 +134,7 @@ __Parameters:__
134
134
 
135
135
  --
136
136
 
137
- ##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L251)
137
+ ##### [selenium_webdriver_version_more?](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L266)
138
138
 
139
139
  > def self.selenium_webdriver_version_more?(version)
140
140
 
@@ -146,7 +146,7 @@ __Returns:__
146
146
 
147
147
  --
148
148
 
149
- ##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L262)
149
+ ##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L277)
150
150
 
151
151
  > def self.init_caps_for_appium(opts_caps = {})
152
152
 
@@ -164,7 +164,7 @@ inherited ::Selenium::WebDriver::Remote::W3C::Capabilities
164
164
 
165
165
  --
166
166
 
167
- ##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L275)
167
+ ##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L290)
168
168
 
169
169
  > def global_webdriver_http_sleep
170
170
 
@@ -172,7 +172,7 @@ The amount to sleep in seconds before every webdriver http call.
172
172
 
173
173
  --
174
174
 
175
- ##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L275)
175
+ ##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L290)
176
176
 
177
177
  > def global_webdriver_http_sleep=(value)
178
178
 
@@ -180,7 +180,7 @@ The amount to sleep in seconds before every webdriver http call.
180
180
 
181
181
  --
182
182
 
183
- ##### [caps](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L277)
183
+ ##### [caps](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L292)
184
184
 
185
185
  > def caps
186
186
 
@@ -188,7 +188,7 @@ Selenium webdriver capabilities
188
188
 
189
189
  --
190
190
 
191
- ##### [custom_url](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L279)
191
+ ##### [custom_url](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L294)
192
192
 
193
193
  > def custom_url
194
194
 
@@ -196,7 +196,7 @@ Custom URL for the selenium server
196
196
 
197
197
  --
198
198
 
199
- ##### [export_session](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L281)
199
+ ##### [export_session](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L296)
200
200
 
201
201
  > def export_session
202
202
 
@@ -204,7 +204,7 @@ Export session id to textfile in /tmp for 3rd party tools
204
204
 
205
205
  --
206
206
 
207
- ##### [default_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L286)
207
+ ##### [default_wait](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L301)
208
208
 
209
209
  > def default_wait
210
210
 
@@ -218,7 +218,7 @@ __Returns:__
218
218
 
219
219
  --
220
220
 
221
- ##### [sauce_username](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L288)
221
+ ##### [sauce_username](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L303)
222
222
 
223
223
  > def sauce_username
224
224
 
@@ -226,7 +226,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
226
226
 
227
227
  --
228
228
 
229
- ##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L290)
229
+ ##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L305)
230
230
 
231
231
  > def sauce_access_key
232
232
 
@@ -234,7 +234,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
234
234
 
235
235
  --
236
236
 
237
- ##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L292)
237
+ ##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L307)
238
238
 
239
239
  > def sauce_endpoint
240
240
 
@@ -242,7 +242,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
242
242
 
243
243
  --
244
244
 
245
- ##### [appium_port](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L294)
245
+ ##### [appium_port](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L309)
246
246
 
247
247
  > def appium_port
248
248
 
@@ -250,7 +250,7 @@ Appium's server port
250
250
 
251
251
  --
252
252
 
253
- ##### [appium_device](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L296)
253
+ ##### [appium_device](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L311)
254
254
 
255
255
  > def appium_device
256
256
 
@@ -258,7 +258,7 @@ Device type to request from the appium server
258
258
 
259
259
  --
260
260
 
261
- ##### [automation_name](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L299)
261
+ ##### [automation_name](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L314)
262
262
 
263
263
  > def automation_name
264
264
 
@@ -267,7 +267,7 @@ If automation_name is nil, it is not set both client side and server side.
267
267
 
268
268
  --
269
269
 
270
- ##### [appium_server_status](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L301)
270
+ ##### [appium_server_status](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L316)
271
271
 
272
272
  > def appium_server_status
273
273
 
@@ -275,7 +275,7 @@ Appium's server version
275
275
 
276
276
  --
277
277
 
278
- ##### [appium_debug](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L303)
278
+ ##### [appium_debug](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L318)
279
279
 
280
280
  > def appium_debug
281
281
 
@@ -283,7 +283,7 @@ Boolean debug mode for the Appium Ruby bindings
283
283
 
284
284
  --
285
285
 
286
- ##### [listener](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L305)
286
+ ##### [listener](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L320)
287
287
 
288
288
  > def listener
289
289
 
@@ -291,7 +291,7 @@ instance of AbstractEventListener for logging support
291
291
 
292
292
  --
293
293
 
294
- ##### [driver](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L308)
294
+ ##### [driver](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L323)
295
295
 
296
296
  > def driver
297
297
 
@@ -303,7 +303,7 @@ __Returns:__
303
303
 
304
304
  --
305
305
 
306
- ##### [http_client](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L311)
306
+ ##### [http_client](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L326)
307
307
 
308
308
  > def http_client
309
309
 
@@ -315,7 +315,7 @@ __Returns:__
315
315
 
316
316
  --
317
317
 
318
- ##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L316)
318
+ ##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L331)
319
319
 
320
320
  > def appium_wait_timeout
321
321
 
@@ -329,7 +329,7 @@ __Returns:__
329
329
 
330
330
  --
331
331
 
332
- ##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L321)
332
+ ##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L336)
333
333
 
334
334
  > def appium_wait_interval
335
335
 
@@ -343,23 +343,26 @@ __Returns:__
343
343
 
344
344
  --
345
345
 
346
- ##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L361)
346
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L390)
347
347
 
348
- > def initialize(opts = {})
348
+ > def initialize(opts = {}, global_driver = true)
349
349
 
350
- Creates a new driver
350
+ Creates a new driver. The driver is defined as global scope by default.
351
+ We can avoid defining global driver.
351
352
 
352
353
  __Parameters:__
353
354
 
354
355
       [Object] opts - A hash containing various options.
355
356
 
357
+      [Bool] global_driver - A bool require global driver before initialize.
358
+
356
359
  __Returns:__
357
360
 
358
361
       [Driver]
359
362
 
360
363
  --
361
364
 
362
- ##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L427)
365
+ ##### [set_appium_lib_specific_values](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L468)
363
366
 
364
367
  > def set_appium_lib_specific_values(appium_lib_opts)
365
368
 
@@ -367,7 +370,7 @@ __Returns:__
367
370
 
368
371
  --
369
372
 
370
- ##### [driver_attributes](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L453)
373
+ ##### [driver_attributes](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L494)
371
374
 
372
375
  > def driver_attributes
373
376
 
@@ -375,7 +378,7 @@ Returns a hash of the driver attributes
375
378
 
376
379
  --
377
380
 
378
- ##### [device_is_android?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L472)
381
+ ##### [device_is_android?](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L513)
379
382
 
380
383
  > def device_is_android?
381
384
 
@@ -387,7 +390,7 @@ __Returns:__
387
390
 
388
391
  --
389
392
 
390
- ##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L478)
393
+ ##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L519)
391
394
 
392
395
  > def automation_name_is_xcuitest?
393
396
 
@@ -399,7 +402,7 @@ __Returns:__
399
402
 
400
403
  --
401
404
 
402
- ##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L484)
405
+ ##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L525)
403
406
 
404
407
  > def automation_name_is_uiautomator2?
405
408
 
@@ -411,7 +414,19 @@ __Returns:__
411
414
 
412
415
  --
413
416
 
414
- ##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L491)
417
+ ##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L531)
418
+
419
+ > def automation_name_is_espresso?
420
+
421
+ Return true if automationName is 'Espresso'
422
+
423
+ __Returns:__
424
+
425
+      [Boolean]
426
+
427
+ --
428
+
429
+ ##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L538)
415
430
 
416
431
  > def check_server_version_xcuitest
417
432
 
@@ -424,7 +439,7 @@ __Returns:__
424
439
 
425
440
  --
426
441
 
427
- ##### [appium_server_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L518)
442
+ ##### [appium_server_version](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L565)
428
443
 
429
444
  > def appium_server_version
430
445
 
@@ -451,7 +466,7 @@ __Returns:__
451
466
 
452
467
  --
453
468
 
454
- ##### [appium_client_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L539)
469
+ ##### [appium_client_version](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L586)
455
470
 
456
471
  > def appium_client_version
457
472
 
@@ -469,7 +484,7 @@ __Returns:__
469
484
 
470
485
  --
471
486
 
472
- ##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L551)
487
+ ##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L598)
473
488
 
474
489
  > def self.absolute_app_path(opts)
475
490
 
@@ -486,7 +501,7 @@ __Returns:__
486
501
 
487
502
  --
488
503
 
489
- ##### [server_url](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L584)
504
+ ##### [server_url](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L631)
490
505
 
491
506
  > def server_url
492
507
 
@@ -498,7 +513,7 @@ __Returns:__
498
513
 
499
514
  --
500
515
 
501
- ##### [restart](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L595)
516
+ ##### [restart](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L642)
502
517
 
503
518
  > def restart
504
519
 
@@ -510,7 +525,7 @@ __Returns:__
510
525
 
511
526
  --
512
527
 
513
- ##### [screenshot](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L606)
528
+ ##### [screenshot](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L653)
514
529
 
515
530
  > def screenshot(png_save_path)
516
531
 
@@ -528,11 +543,24 @@ __Returns:__
528
543
 
529
544
  --
530
545
 
531
- ##### [driver_quit](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L613)
546
+ ##### [driver_quit](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L660)
547
+
548
+ > def driver_quit
549
+
550
+ Quits the driver
551
+
552
+ __Returns:__
553
+
554
+      [void]
555
+
556
+ --
557
+
558
+ ##### [quit_driver](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L668)
532
559
 
533
560
  > def driver_quit
534
561
 
535
562
  Quits the driver
563
+ Alias for driver_quit
536
564
 
537
565
  __Returns:__
538
566
 
@@ -540,7 +568,7 @@ __Returns:__
540
568
 
541
569
  --
542
570
 
543
- ##### [start_driver](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L646)
571
+ ##### [start_driver](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L696)
544
572
 
545
573
  > def start_driver(http_client_ops = { http_client: nil, open_timeout: 999_999, read_timeout: 999_999 })
546
574
 
@@ -557,7 +585,15 @@ __Returns:__
557
585
 
558
586
  --
559
587
 
560
- ##### [no_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L686)
588
+ ##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L736)
589
+
590
+ > def set_implicit_wait(wait)
591
+
592
+ To ignore error for Espresso Driver
593
+
594
+ --
595
+
596
+ ##### [no_wait](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L746)
561
597
 
562
598
  > def no_wait
563
599
 
@@ -565,7 +601,7 @@ Set implicit wait to zero.
565
601
 
566
602
  --
567
603
 
568
- ##### [set_wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L700)
604
+ ##### [set_wait](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L760)
569
605
 
570
606
  > def set_wait(timeout = nil)
571
607
 
@@ -587,7 +623,7 @@ __Returns:__
587
623
 
588
624
  --
589
625
 
590
- ##### [exists](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L717)
626
+ ##### [exists](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L777)
591
627
 
592
628
  > def exists(pre_check = 0, post_check = @default_wait)
593
629
 
@@ -611,7 +647,7 @@ __Returns:__
611
647
 
612
648
  --
613
649
 
614
- ##### [execute_script](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L741)
650
+ ##### [execute_script](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L801)
615
651
 
616
652
  > def execute_script(script, *args)
617
653
 
@@ -629,7 +665,7 @@ __Returns:__
629
665
 
630
666
  --
631
667
 
632
- ##### [find_elements](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L763)
668
+ ##### [find_elements](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L823)
633
669
 
634
670
  > def find_elements(*args)
635
671
 
@@ -655,7 +691,7 @@ __Returns:__
655
691
 
656
692
  --
657
693
 
658
- ##### [find_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L778)
694
+ ##### [find_element](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L838)
659
695
 
660
696
  > def find_element(*args)
661
697
 
@@ -676,7 +712,7 @@ __Returns:__
676
712
 
677
713
  --
678
714
 
679
- ##### [set_location](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L791)
715
+ ##### [set_location](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L851)
680
716
 
681
717
  > def set_location(opts = {})
682
718
 
@@ -692,7 +728,7 @@ __Returns:__
692
728
 
693
729
  --
694
730
 
695
- ##### [x](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L801)
731
+ ##### [x](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L861)
696
732
 
697
733
  > def x
698
734
 
@@ -705,7 +741,7 @@ __Returns:__
705
741
 
706
742
  --
707
743
 
708
- ##### [write_session_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L808)
744
+ ##### [write_session_id](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L868)
709
745
 
710
746
  > def write_session_id(session_id)
711
747
 
@@ -713,7 +749,7 @@ __Returns:__
713
749
 
714
750
  --
715
751
 
716
- ##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/driver.rb#L817)
752
+ ##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/driver.rb#L877)
717
753
 
718
754
  > def set_automation_name_if_nil
719
755
 
@@ -722,7 +758,7 @@ Since @automation_name is set only client side before start_driver is called.
722
758
 
723
759
  --
724
760
 
725
- ##### [logger=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/logger.rb#L18)
761
+ ##### [logger=](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/logger.rb#L18)
726
762
 
727
763
  > def logger=(value)
728
764
 
@@ -734,7 +770,7 @@ __Parameters:__
734
770
 
735
771
  --
736
772
 
737
- ##### [logger](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/logger.rb#L22)
773
+ ##### [logger](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/logger.rb#L22)
738
774
 
739
775
  > def logger
740
776
 
@@ -742,7 +778,7 @@ __Parameters:__
742
778
 
743
779
  --
744
780
 
745
- ##### [app_strings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L7)
781
+ ##### [app_strings](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L7)
746
782
 
747
783
  > def app_strings
748
784
 
@@ -753,7 +789,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
753
789
 
754
790
  --
755
791
 
756
- ##### [background_app](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L13)
792
+ ##### [background_app](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L13)
757
793
 
758
794
  > def background_app
759
795
 
@@ -762,7 +798,7 @@ This is a blocking application
762
798
 
763
799
  --
764
800
 
765
- ##### [current_activity](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L24)
801
+ ##### [current_activity](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L24)
766
802
 
767
803
  > def current_activity
768
804
 
@@ -777,7 +813,7 @@ __Returns:__
777
813
 
778
814
  --
779
815
 
780
- ##### [current_package](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L32)
816
+ ##### [current_package](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L32)
781
817
 
782
818
  > def current_package
783
819
 
@@ -792,7 +828,7 @@ __Returns:__
792
828
 
793
829
  --
794
830
 
795
- ##### [get_system_bars](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L40)
831
+ ##### [get_system_bars](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L40)
796
832
 
797
833
  > def get_system_bars
798
834
 
@@ -807,7 +843,7 @@ __Returns:__
807
843
 
808
844
  --
809
845
 
810
- ##### [get_display_density](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L48)
846
+ ##### [get_display_density](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L48)
811
847
 
812
848
  > def get_display_density
813
849
 
@@ -822,7 +858,7 @@ __Returns:__
822
858
 
823
859
  --
824
860
 
825
- ##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L56)
861
+ ##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L56)
826
862
 
827
863
  > def is_keyboard_shown
828
864
 
@@ -837,7 +873,7 @@ __Returns:__
837
873
 
838
874
  --
839
875
 
840
- ##### [launch_app](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L64)
876
+ ##### [launch_app](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L64)
841
877
 
842
878
  > def launch_app
843
879
 
@@ -845,7 +881,7 @@ Start the simulator and application configured with desired capabilities
845
881
 
846
882
  --
847
883
 
848
- ##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L67)
884
+ ##### [reset](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L67)
849
885
 
850
886
  > def reset
851
887
 
@@ -853,7 +889,7 @@ Reset the device, relaunching the application.
853
889
 
854
890
  --
855
891
 
856
- ##### [shake](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L70)
892
+ ##### [shake](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L70)
857
893
 
858
894
  > def shake
859
895
 
@@ -861,7 +897,7 @@ Cause the device to shake
861
897
 
862
898
  --
863
899
 
864
- ##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L73)
900
+ ##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L73)
865
901
 
866
902
  > def toggle_flight_mode
867
903
 
@@ -869,7 +905,7 @@ Toggle flight mode on or off
869
905
 
870
906
  --
871
907
 
872
- ##### [device_locked?](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L76)
908
+ ##### [device_locked?](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L76)
873
909
 
874
910
  > def device_locked?
875
911
 
@@ -877,7 +913,7 @@ Toggle flight mode on or off
877
913
 
878
914
  --
879
915
 
880
- ##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L78)
916
+ ##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L78)
881
917
 
882
918
  > def hide_keyboard
883
919
 
@@ -894,7 +930,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
894
930
 
895
931
  --
896
932
 
897
- ##### [press_keycode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L91)
933
+ ##### [press_keycode](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L91)
898
934
 
899
935
  > def press_keycode
900
936
 
@@ -909,7 +945,7 @@ __Parameters:__
909
945
 
910
946
  --
911
947
 
912
- ##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L97)
948
+ ##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L97)
913
949
 
914
950
  > def long_press_keycode
915
951
 
@@ -924,7 +960,7 @@ __Parameters:__
924
960
 
925
961
  --
926
962
 
927
- ##### [push_file](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L103)
963
+ ##### [push_file](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L103)
928
964
 
929
965
  > def push_file
930
966
 
@@ -938,7 +974,7 @@ __Parameters:__
938
974
 
939
975
  --
940
976
 
941
- ##### [pull_file](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L108)
977
+ ##### [pull_file](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L108)
942
978
 
943
979
  > def pull_file
944
980
 
@@ -955,7 +991,7 @@ __Parameters:__
955
991
 
956
992
  --
957
993
 
958
- ##### [pull_folder](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L118)
994
+ ##### [pull_folder](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L118)
959
995
 
960
996
  > def pull_folder
961
997
 
@@ -970,7 +1006,7 @@ __Parameters:__
970
1006
 
971
1007
  --
972
1008
 
973
- ##### [touch_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L126)
1009
+ ##### [touch_id](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L126)
974
1010
 
975
1011
  > def touch_id
976
1012
 
@@ -987,7 +1023,7 @@ Defaults to true.
987
1023
 
988
1024
  --
989
1025
 
990
- ##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L135)
1026
+ ##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L135)
991
1027
 
992
1028
  > def toggle_touch_id_enrollment
993
1029
 
@@ -995,7 +1031,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
995
1031
 
996
1032
  --
997
1033
 
998
- ##### [end_coverage](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L138)
1034
+ ##### [end_coverage](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L138)
999
1035
 
1000
1036
  > def end_coverage
1001
1037
 
@@ -1009,7 +1045,7 @@ __Parameters:__
1009
1045
 
1010
1046
  --
1011
1047
 
1012
- ##### [get_settings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L143)
1048
+ ##### [get_settings](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L143)
1013
1049
 
1014
1050
  > def get_settings
1015
1051
 
@@ -1017,7 +1053,7 @@ Get appium Settings for current test session
1017
1053
 
1018
1054
  --
1019
1055
 
1020
- ##### [update_settings](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L146)
1056
+ ##### [update_settings](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L146)
1021
1057
 
1022
1058
  > def update_settings
1023
1059
 
@@ -1029,7 +1065,7 @@ __Parameters:__
1029
1065
 
1030
1066
  --
1031
1067
 
1032
- ##### [start_activity](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L150)
1068
+ ##### [start_activity](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L150)
1033
1069
 
1034
1070
  > def start_activity
1035
1071
 
@@ -1043,7 +1079,7 @@ start_activity app_package: 'io.appium.android.apis',
1043
1079
 
1044
1080
  --
1045
1081
 
1046
- ##### [get_network_connection](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L164)
1082
+ ##### [get_network_connection](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L164)
1047
1083
 
1048
1084
  > def get_network_connection
1049
1085
 
@@ -1052,7 +1088,7 @@ See set_network_connection method for return value
1052
1088
 
1053
1089
  --
1054
1090
 
1055
- ##### [set_network_connection](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L168)
1091
+ ##### [set_network_connection](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L168)
1056
1092
 
1057
1093
  > def set_network_connection
1058
1094
 
@@ -1071,7 +1107,7 @@ __Parameters:__
1071
1107
 
1072
1108
  --
1073
1109
 
1074
- ##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L181)
1110
+ ##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L181)
1075
1111
 
1076
1112
  > def set_immediate_value
1077
1113
 
@@ -1085,7 +1121,7 @@ set_immediate_value element, 'hello'
1085
1121
 
1086
1122
  --
1087
1123
 
1088
- ##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L190)
1124
+ ##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L190)
1089
1125
 
1090
1126
  > def get_performance_data_types
1091
1127
 
@@ -1099,7 +1135,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
1099
1135
 
1100
1136
  --
1101
1137
 
1102
- ##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
1138
+ ##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L443)
1103
1139
 
1104
1140
  > def extend_search_contexts
1105
1141
 
@@ -1107,7 +1143,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
1107
1143
 
1108
1144
  --
1109
1145
 
1110
- ##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
1146
+ ##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L443)
1111
1147
 
1112
1148
  > def find_element_with_appium
1113
1149
 
@@ -1115,7 +1151,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
1115
1151
 
1116
1152
  --
1117
1153
 
1118
- ##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L453)
1154
+ ##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L443)
1119
1155
 
1120
1156
  > def find_elements_with_appium
1121
1157
 
@@ -1127,7 +1163,7 @@ find_element/s_with_appium with their accessibility_id
1127
1163
 
1128
1164
  --
1129
1165
 
1130
- ##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L484)
1166
+ ##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L474)
1131
1167
 
1132
1168
  > def add_touch_actions
1133
1169
 
@@ -1135,7 +1171,7 @@ find_element/s_with_appium with their accessibility_id
1135
1171
 
1136
1172
  --
1137
1173
 
1138
- ##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L507)
1174
+ ##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L497)
1139
1175
 
1140
1176
  > def add_ime_actions
1141
1177
 
@@ -1143,7 +1179,7 @@ find_element/s_with_appium with their accessibility_id
1143
1179
 
1144
1180
  --
1145
1181
 
1146
- ##### [set_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L582)
1182
+ ##### [set_context](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L572)
1147
1183
 
1148
1184
  > def set_context
1149
1185
 
@@ -1158,7 +1194,7 @@ __Parameters:__
1158
1194
 
1159
1195
  --
1160
1196
 
1161
- ##### [current_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L590)
1197
+ ##### [current_context](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L580)
1162
1198
 
1163
1199
  > def current_context
1164
1200
 
@@ -1170,7 +1206,7 @@ __Returns:__
1170
1206
 
1171
1207
  --
1172
1208
 
1173
- ##### [available_contexts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L593)
1209
+ ##### [available_contexts](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L583)
1174
1210
 
1175
1211
  > def available_contexts
1176
1212
 
@@ -1182,7 +1218,7 @@ __Returns:__
1182
1218
 
1183
1219
  --
1184
1220
 
1185
- ##### [within_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L604)
1221
+ ##### [within_context](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L594)
1186
1222
 
1187
1223
  > def within_context(context)
1188
1224
 
@@ -1199,7 +1235,7 @@ __Parameters:__
1199
1235
 
1200
1236
  --
1201
1237
 
1202
- ##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/device.rb#L617)
1238
+ ##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/device.rb#L607)
1203
1239
 
1204
1240
  > def switch_to_default_context
1205
1241
 
@@ -1207,34 +1243,62 @@ Change to the default context. This is equivalent to `set_context nil`.
1207
1243
 
1208
1244
  --
1209
1245
 
1210
- ##### [pinch](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L28)
1246
+ ##### [pinch](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L53)
1211
1247
 
1212
- > def pinch(percentage = 25, auto_perform = true)
1248
+ > def pinch(percentage = 25, auto_perform = true, driver = $driver)
1213
1249
 
1214
1250
  Convenience method for pinching the screen.
1215
1251
  Places two fingers at the edges of the screen and brings them together.
1216
1252
  ```ruby
1217
- action = pinch 75 #=> Pinch the screen from the top right and bottom left corners
1253
+ pinch 75 #=> Pinch the screen from the top right and bottom left corners
1254
+ ```
1255
+
1256
+ Without auto_perform
1257
+
1258
+ ```ruby
1259
+ action = pinch 75, false #=> Pinch the screen from the top right and bottom left corners
1218
1260
  action.perform #=> to 25% of its size.
1219
1261
  ```
1220
1262
 
1263
+ With driver
1264
+
1265
+ ```ruby
1266
+ driver = Appium::Driver.new(opts, false).start_driver
1267
+ pinch 75, true, driver #=> Pinch the screen from the top right and bottom left corners
1268
+ ```
1269
+
1221
1270
  __Parameters:__
1222
1271
 
1223
1272
       [int] percentage - The percent size by which to shrink the screen when pinched.
1224
1273
 
1225
1274
       [boolean] auto_perform - Whether to perform the action immediately (default true)
1226
1275
 
1276
+      [Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
1277
+
1227
1278
  --
1228
1279
 
1229
- ##### [zoom](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L57)
1280
+ ##### [zoom](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L96)
1230
1281
 
1231
- > def zoom(percentage = 200, auto_perform = true)
1282
+ > def zoom(percentage = 200, auto_perform = true, driver = $driver)
1232
1283
 
1233
1284
  Convenience method for zooming the screen.
1234
1285
  Places two fingers at the edges of the screen and brings them together.
1235
1286
  ```ruby
1236
1287
  action = zoom 200 #=> Zoom in the screen from the center until it doubles in size.
1237
- action.perform
1288
+ ```
1289
+
1290
+ Without auto_perform
1291
+
1292
+ ```ruby
1293
+ action = zoom 200, false #=> Zoom in the screen from the center until it doubles in size.
1294
+ action.perform #=> to 25% of its size.
1295
+ ```
1296
+
1297
+ With driver
1298
+
1299
+ ```ruby
1300
+ driver = Appium::Driver.new(opts, false).start_driver
1301
+ pinch 200, true, driver #=> Zoom in the screen from the center until it doubles in size.
1238
1302
  ```
1239
1303
 
1240
1304
  __Parameters:__
@@ -1243,17 +1307,19 @@ __Parameters:__
1243
1307
 
1244
1308
       [boolean] auto_perform - Whether to perform the action immediately (default true)
1245
1309
 
1310
+      [Driver] driver - Set a driver to conduct the action. DEfault is global driver($driver)
1311
+
1246
1312
  --
1247
1313
 
1248
- ##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L79)
1314
+ ##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L118)
1249
1315
 
1250
- > def pinch_for_xcuitest(rate)
1316
+ > def pinch_for_xcuitest(rate, driver)
1251
1317
 
1252
1318
 
1253
1319
 
1254
1320
  --
1255
1321
 
1256
- ##### [pinch_android](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L94)
1322
+ ##### [pinch_android](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L133)
1257
1323
 
1258
1324
  > def pinch_android(rate)
1259
1325
 
@@ -1261,7 +1327,7 @@ __Parameters:__
1261
1327
 
1262
1328
  --
1263
1329
 
1264
- ##### [pinch_ios](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L108)
1330
+ ##### [pinch_ios](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L147)
1265
1331
 
1266
1332
  > def pinch_ios(rate)
1267
1333
 
@@ -1269,15 +1335,15 @@ __Parameters:__
1269
1335
 
1270
1336
  --
1271
1337
 
1272
- ##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L122)
1338
+ ##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L161)
1273
1339
 
1274
- > def zoom_for_xcuitest(rate)
1340
+ > def zoom_for_xcuitest(rate, driver)
1275
1341
 
1276
1342
 
1277
1343
 
1278
1344
  --
1279
1345
 
1280
- ##### [zoom_android](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L137)
1346
+ ##### [zoom_android](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L176)
1281
1347
 
1282
1348
  > def zoom_android(rate)
1283
1349
 
@@ -1285,7 +1351,7 @@ __Parameters:__
1285
1351
 
1286
1352
  --
1287
1353
 
1288
- ##### [zoom_ios](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L151)
1354
+ ##### [zoom_ios](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L190)
1289
1355
 
1290
1356
  > def zoom_ios(rate)
1291
1357
 
@@ -1293,7 +1359,7 @@ __Parameters:__
1293
1359
 
1294
1360
  --
1295
1361
 
1296
- ##### [actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L166)
1362
+ ##### [actions](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L205)
1297
1363
 
1298
1364
  > def actions
1299
1365
 
@@ -1301,11 +1367,19 @@ self
1301
1367
 
1302
1368
  --
1303
1369
 
1304
- ##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L169)
1370
+ ##### [driver](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L205)
1305
1371
 
1306
- > def initialize
1372
+ > def driver
1307
1373
 
1308
- Create a new multi-action
1374
+ self
1375
+
1376
+ --
1377
+
1378
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L208)
1379
+
1380
+ > def initialize(driver = $driver)
1381
+
1382
+ Create a new multi-action with Driver
1309
1383
 
1310
1384
  __Returns:__
1311
1385
 
@@ -1313,7 +1387,7 @@ __Returns:__
1313
1387
 
1314
1388
  --
1315
1389
 
1316
- ##### [add](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L175)
1390
+ ##### [add](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L215)
1317
1391
 
1318
1392
  > def add(chain)
1319
1393
 
@@ -1325,7 +1399,7 @@ __Parameters:__
1325
1399
 
1326
1400
  --
1327
1401
 
1328
- ##### [perform](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/multi_touch.rb#L180)
1402
+ ##### [perform](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/multi_touch.rb#L220)
1329
1403
 
1330
1404
  > def perform
1331
1405
 
@@ -1333,7 +1407,7 @@ Ask Appium to perform the actions
1333
1407
 
1334
1408
  --
1335
1409
 
1336
- ##### [ACTIONS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L22)
1410
+ ##### [ACTIONS](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L30)
1337
1411
 
1338
1412
  > ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
1339
1413
 
@@ -1341,7 +1415,7 @@ Ask Appium to perform the actions
1341
1415
 
1342
1416
  --
1343
1417
 
1344
- ##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L23)
1418
+ ##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L31)
1345
1419
 
1346
1420
  > COMPLEX_ACTIONS = [:swipe].freeze
1347
1421
 
@@ -1349,7 +1423,7 @@ Ask Appium to perform the actions
1349
1423
 
1350
1424
  --
1351
1425
 
1352
- ##### [actions](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L37)
1426
+ ##### [actions](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L45)
1353
1427
 
1354
1428
  > def actions
1355
1429
 
@@ -1357,7 +1431,7 @@ Returns the value of attribute actions
1357
1431
 
1358
1432
  --
1359
1433
 
1360
- ##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L39)
1434
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L47)
1361
1435
 
1362
1436
  > def initialize
1363
1437
 
@@ -1369,7 +1443,7 @@ __Returns:__
1369
1443
 
1370
1444
  --
1371
1445
 
1372
- ##### [move_to](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L50)
1446
+ ##### [move_to](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L58)
1373
1447
 
1374
1448
  > def move_to(opts)
1375
1449
 
@@ -1383,7 +1457,7 @@ __Parameters:__
1383
1457
 
1384
1458
  --
1385
1459
 
1386
- ##### [long_press](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L64)
1460
+ ##### [long_press](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L72)
1387
1461
 
1388
1462
  > def long_press(opts)
1389
1463
 
@@ -1404,7 +1478,7 @@ __Parameters:__
1404
1478
 
1405
1479
  --
1406
1480
 
1407
- ##### [press](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L76)
1481
+ ##### [press](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L84)
1408
1482
 
1409
1483
  > def press(opts)
1410
1484
 
@@ -1417,7 +1491,7 @@ __Parameters:__
1417
1491
 
1418
1492
  --
1419
1493
 
1420
- ##### [release](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L87)
1494
+ ##### [release](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L95)
1421
1495
 
1422
1496
  > def release(opts = nil)
1423
1497
 
@@ -1429,7 +1503,7 @@ __Parameters:__
1429
1503
 
1430
1504
  --
1431
1505
 
1432
- ##### [tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L99)
1506
+ ##### [tap](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L107)
1433
1507
 
1434
1508
  > def tap(opts)
1435
1509
 
@@ -1442,7 +1516,7 @@ __Parameters:__
1442
1516
 
1443
1517
  --
1444
1518
 
1445
- ##### [double_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L112)
1519
+ ##### [double_tap](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L120)
1446
1520
 
1447
1521
  > def double_tap(opts)
1448
1522
 
@@ -1454,7 +1528,7 @@ __Parameters:__
1454
1528
 
1455
1529
  --
1456
1530
 
1457
- ##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L123)
1531
+ ##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L131)
1458
1532
 
1459
1533
  > def two_finger_tap(opts)
1460
1534
 
@@ -1466,7 +1540,7 @@ __Parameters:__
1466
1540
 
1467
1541
  --
1468
1542
 
1469
- ##### [wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L131)
1543
+ ##### [wait](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L139)
1470
1544
 
1471
1545
  > def wait(milliseconds)
1472
1546
 
@@ -1478,7 +1552,7 @@ __Parameters:__
1478
1552
 
1479
1553
  --
1480
1554
 
1481
- ##### [swipe](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L154)
1555
+ ##### [swipe](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L162)
1482
1556
 
1483
1557
  > def swipe(opts, ele = nil)
1484
1558
 
@@ -1499,31 +1573,31 @@ __Parameters:__
1499
1573
 
1500
1574
  --
1501
1575
 
1502
- ##### [perform](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L179)
1576
+ ##### [perform](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L187)
1503
1577
 
1504
- > def perform
1578
+ > def perform(driver = $driver)
1505
1579
 
1506
1580
  Ask the driver to perform all actions in this action chain.
1507
1581
 
1508
1582
  --
1509
1583
 
1510
- ##### [cancel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L186)
1584
+ ##### [cancel](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L194)
1511
1585
 
1512
- > def cancel
1586
+ > def cancel(driver = $driver)
1513
1587
 
1514
1588
  Does nothing, currently.
1515
1589
 
1516
1590
  --
1517
1591
 
1518
- ##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L192)
1519
-
1520
- > def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
1592
+ ##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L201)
1521
1593
 
1594
+ > def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil, driver: $driver)
1522
1595
 
1596
+ Visible for testing
1523
1597
 
1524
1598
  --
1525
1599
 
1526
- ##### [chain_method](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L210)
1600
+ ##### [chain_method](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L219)
1527
1601
 
1528
1602
  > def chain_method(method, args = nil)
1529
1603
 
@@ -1531,7 +1605,7 @@ Does nothing, currently.
1531
1605
 
1532
1606
  --
1533
1607
 
1534
- ##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/device/touch_actions.rb#L216)
1608
+ ##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/device/touch_actions.rb#L225)
1535
1609
 
1536
1610
  > def args_with_ele_ref(args)
1537
1611
 
@@ -1539,7 +1613,7 @@ Does nothing, currently.
1539
1613
 
1540
1614
  --
1541
1615
 
1542
- ##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L4)
1616
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/wait.rb#L4)
1543
1617
 
1544
1618
  > def initialize(opts = {})
1545
1619
 
@@ -1551,7 +1625,7 @@ __Returns:__
1551
1625
 
1552
1626
  --
1553
1627
 
1554
- ##### [until](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L23)
1628
+ ##### [until](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/wait.rb#L23)
1555
1629
 
1556
1630
  > def until
1557
1631
 
@@ -1560,15 +1634,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
1560
1634
 
1561
1635
  --
1562
1636
 
1563
- ##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L51)
1564
-
1565
- > def _process_wait_opts(opts)
1566
-
1567
- process opts before calling _generic_wait
1568
-
1569
- --
1570
-
1571
- ##### [wait_true](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L72)
1637
+ ##### [wait_true](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/wait.rb#L73)
1572
1638
 
1573
1639
  > def wait_true(opts = {})
1574
1640
 
@@ -1588,7 +1654,7 @@ __Parameters:__
1588
1654
 
1589
1655
  --
1590
1656
 
1591
- ##### [wait](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/wait.rb#L95)
1657
+ ##### [wait](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/wait.rb#L96)
1592
1658
 
1593
1659
  > def wait(opts = {})
1594
1660
 
@@ -1606,7 +1672,7 @@ __Parameters:__
1606
1672
 
1607
1673
  --
1608
1674
 
1609
- ##### [ignore](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L24)
1675
+ ##### [ignore](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L24)
1610
1676
 
1611
1677
  > def ignore
1612
1678
 
@@ -1614,7 +1680,7 @@ Return yield and ignore any exceptions.
1614
1680
 
1615
1681
  --
1616
1682
 
1617
- ##### [back](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L31)
1683
+ ##### [back](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L31)
1618
1684
 
1619
1685
  > def back
1620
1686
 
@@ -1626,7 +1692,7 @@ __Returns:__
1626
1692
 
1627
1693
  --
1628
1694
 
1629
- ##### [session_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L36)
1695
+ ##### [session_id](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L36)
1630
1696
 
1631
1697
  > def session_id
1632
1698
 
@@ -1634,7 +1700,7 @@ For Sauce Labs reporting. Returns the current session id.
1634
1700
 
1635
1701
  --
1636
1702
 
1637
- ##### [xpath](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L44)
1703
+ ##### [xpath](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L44)
1638
1704
 
1639
1705
  > def xpath(xpath_str)
1640
1706
 
@@ -1650,7 +1716,7 @@ __Returns:__
1650
1716
 
1651
1717
  --
1652
1718
 
1653
- ##### [xpaths](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L52)
1719
+ ##### [xpaths](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L52)
1654
1720
 
1655
1721
  > def xpaths(xpath_str)
1656
1722
 
@@ -1666,7 +1732,7 @@ __Returns:__
1666
1732
 
1667
1733
  --
1668
1734
 
1669
- ##### [_print_source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L56)
1735
+ ##### [_print_source](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L56)
1670
1736
 
1671
1737
  > def _print_source(source)
1672
1738
 
@@ -1674,7 +1740,7 @@ __Returns:__
1674
1740
 
1675
1741
  --
1676
1742
 
1677
- ##### [result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L69)
1743
+ ##### [result](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L69)
1678
1744
 
1679
1745
  > def result
1680
1746
 
@@ -1682,7 +1748,7 @@ Returns the value of attribute result
1682
1748
 
1683
1749
  --
1684
1750
 
1685
- ##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L71)
1751
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L71)
1686
1752
 
1687
1753
  > def initialize
1688
1754
 
@@ -1694,7 +1760,7 @@ __Returns:__
1694
1760
 
1695
1761
  --
1696
1762
 
1697
- ##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L75)
1763
+ ##### [reset](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L75)
1698
1764
 
1699
1765
  > def reset
1700
1766
 
@@ -1702,15 +1768,15 @@ __Returns:__
1702
1768
 
1703
1769
  --
1704
1770
 
1705
- ##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L80)
1771
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L80)
1706
1772
 
1707
- > def start_element(name, attrs = [])
1773
+ > def start_element(name, attrs = [], driver = $driver)
1708
1774
 
1709
1775
  http://nokogiri.org/Nokogiri/XML/SAX/Document.html
1710
1776
 
1711
1777
  --
1712
1778
 
1713
- ##### [formatted_result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L86)
1779
+ ##### [formatted_result](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L86)
1714
1780
 
1715
1781
  > def formatted_result
1716
1782
 
@@ -1718,7 +1784,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
1718
1784
 
1719
1785
  --
1720
1786
 
1721
- ##### [get_page_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L97)
1787
+ ##### [get_page_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L97)
1722
1788
 
1723
1789
  > def get_page_class
1724
1790
 
@@ -1726,7 +1792,7 @@ Returns a string of class counts of visible elements.
1726
1792
 
1727
1793
  --
1728
1794
 
1729
- ##### [page_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L108)
1795
+ ##### [page_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L108)
1730
1796
 
1731
1797
  > def page_class
1732
1798
 
@@ -1735,9 +1801,9 @@ Useful for appium_console.
1735
1801
 
1736
1802
  --
1737
1803
 
1738
- ##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L118)
1804
+ ##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L118)
1739
1805
 
1740
- > def px_to_window_rel(opts = {})
1806
+ > def px_to_window_rel(opts = {}, driver = $driver)
1741
1807
 
1742
1808
  Converts pixel values to window relative values
1743
1809
 
@@ -1747,7 +1813,7 @@ px_to_window_rel x: 50, y: 150
1747
1813
 
1748
1814
  --
1749
1815
 
1750
- ##### [xml_keys](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L137)
1816
+ ##### [xml_keys](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L137)
1751
1817
 
1752
1818
  > def xml_keys(target)
1753
1819
 
@@ -1763,7 +1829,7 @@ __Returns:__
1763
1829
 
1764
1830
  --
1765
1831
 
1766
- ##### [xml_values](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L145)
1832
+ ##### [xml_values](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L145)
1767
1833
 
1768
1834
  > def xml_values(target)
1769
1835
 
@@ -1779,7 +1845,7 @@ __Returns:__
1779
1845
 
1780
1846
  --
1781
1847
 
1782
- ##### [resolve_id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L153)
1848
+ ##### [resolve_id](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L153)
1783
1849
 
1784
1850
  > def resolve_id(id)
1785
1851
 
@@ -1795,7 +1861,7 @@ __Returns:__
1795
1861
 
1796
1862
  --
1797
1863
 
1798
- ##### [filter](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L159)
1864
+ ##### [filter](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L159)
1799
1865
 
1800
1866
  > def filter
1801
1867
 
@@ -1803,7 +1869,7 @@ Returns the value of attribute filter
1803
1869
 
1804
1870
  --
1805
1871
 
1806
- ##### [filter=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L162)
1872
+ ##### [filter=](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L162)
1807
1873
 
1808
1874
  > def filter=(value)
1809
1875
 
@@ -1811,7 +1877,7 @@ convert to string to support symbols
1811
1877
 
1812
1878
  --
1813
1879
 
1814
- ##### [initialize](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L168)
1880
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L168)
1815
1881
 
1816
1882
  > def initialize
1817
1883
 
@@ -1823,7 +1889,7 @@ __Returns:__
1823
1889
 
1824
1890
  --
1825
1891
 
1826
- ##### [reset](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L173)
1892
+ ##### [reset](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L173)
1827
1893
 
1828
1894
  > def reset
1829
1895
 
@@ -1831,7 +1897,7 @@ __Returns:__
1831
1897
 
1832
1898
  --
1833
1899
 
1834
- ##### [result](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L179)
1900
+ ##### [result](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L179)
1835
1901
 
1836
1902
  > def result
1837
1903
 
@@ -1839,7 +1905,7 @@ __Returns:__
1839
1905
 
1840
1906
  --
1841
1907
 
1842
- ##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L195)
1908
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L195)
1843
1909
 
1844
1910
  > def start_element(name, attrs = [])
1845
1911
 
@@ -1847,7 +1913,7 @@ __Returns:__
1847
1913
 
1848
1914
  --
1849
1915
 
1850
- ##### [end_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L204)
1916
+ ##### [end_element](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L204)
1851
1917
 
1852
1918
  > def end_element(name)
1853
1919
 
@@ -1855,7 +1921,7 @@ __Returns:__
1855
1921
 
1856
1922
  --
1857
1923
 
1858
- ##### [characters](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L210)
1924
+ ##### [characters](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/helper.rb#L210)
1859
1925
 
1860
1926
  > def characters(chars)
1861
1927
 
@@ -1863,31 +1929,39 @@ __Returns:__
1863
1929
 
1864
1930
  --
1865
1931
 
1866
- ##### [_no_such_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/helper.rb#L217)
1932
+ ##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/command.rb#L4)
1867
1933
 
1868
- > def _no_such_element
1934
+ > COMMAND_NO_ARG = {
1869
1935
 
1870
1936
 
1871
1937
 
1872
1938
  --
1873
1939
 
1874
- ##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/command.rb#L4)
1940
+ ##### [COMMAND](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/command.rb#L28)
1875
1941
 
1876
- > COMMAND_NO_ARG = {
1942
+ > COMMAND = {
1877
1943
 
1878
1944
 
1879
1945
 
1880
1946
  --
1881
1947
 
1882
- ##### [COMMAND](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/command.rb#L28)
1948
+ ##### [COMMANDS_EXTEND_OSS](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/command.rb#L66)
1883
1949
 
1884
- > COMMAND = {
1950
+ > COMMANDS_EXTEND_OSS = COMMAND.merge(::Selenium::WebDriver::Remote::OSS::Bridge::COMMANDS).freeze
1951
+
1952
+
1953
+
1954
+ --
1955
+
1956
+ ##### [COMMANDS_EXTEND_W3C](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/command.rb#L67)
1957
+
1958
+ > COMMANDS_EXTEND_W3C = COMMAND.merge(::Selenium::WebDriver::Remote::W3C::Bridge::COMMANDS).freeze
1885
1959
 
1886
1960
 
1887
1961
 
1888
1962
  --
1889
1963
 
1890
- ##### [window_size](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/element/window.rb#L5)
1964
+ ##### [window_size](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/element/window.rb#L5)
1891
1965
 
1892
1966
  > def window_size
1893
1967
 
@@ -1895,7 +1969,7 @@ Get the window's size
1895
1969
 
1896
1970
  --
1897
1971
 
1898
- ##### [FINDERS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/search_context.rb#L5)
1972
+ ##### [FINDERS](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/search_context.rb#L5)
1899
1973
 
1900
1974
  > FINDERS = {
1901
1975
 
@@ -1903,7 +1977,7 @@ rubocop:disable Style/MutableConstant
1903
1977
 
1904
1978
  --
1905
1979
 
1906
- ##### [filter](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L4) ios
1980
+ ##### [filter](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L4) ios
1907
1981
 
1908
1982
  > def filter
1909
1983
 
@@ -1911,7 +1985,7 @@ Returns the value of attribute filter
1911
1985
 
1912
1986
  --
1913
1987
 
1914
- ##### [filter=](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L4) ios
1988
+ ##### [filter=](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L4) ios
1915
1989
 
1916
1990
  > def filter=(value)
1917
1991
 
@@ -1923,7 +1997,7 @@ __Parameters:__
1923
1997
 
1924
1998
  --
1925
1999
 
1926
- ##### [start_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L6) ios
2000
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L6) ios
1927
2001
 
1928
2002
  > def start_element(type, attrs = [])
1929
2003
 
@@ -1931,7 +2005,7 @@ __Parameters:__
1931
2005
 
1932
2006
  --
1933
2007
 
1934
- ##### [_print_attr](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L15) ios
2008
+ ##### [_print_attr](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L15) ios
1935
2009
 
1936
2010
  > def _print_attr(type, name, label, value, hint, visible) # rubocop:disable Metrics/ParameterLists
1937
2011
 
@@ -1939,7 +2013,7 @@ rubocop:disable Metrics/ParameterLists
1939
2013
 
1940
2014
  --
1941
2015
 
1942
- ##### [ios_password](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L42) ios
2016
+ ##### [ios_password](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L42) ios
1943
2017
 
1944
2018
  > def ios_password(length = 1)
1945
2019
 
@@ -1957,7 +2031,7 @@ __Returns:__
1957
2031
 
1958
2032
  --
1959
2033
 
1960
- ##### [get_page](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L55) ios
2034
+ ##### [get_page](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L55) ios
1961
2035
 
1962
2036
  > def get_page(element = source_window(0), class_name = nil)
1963
2037
 
@@ -1978,7 +2052,7 @@ __Returns:__
1978
2052
 
1979
2053
  --
1980
2054
 
1981
- ##### [page](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L142) ios
2055
+ ##### [page](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L142) ios
1982
2056
 
1983
2057
  > def page(opts = {})
1984
2058
 
@@ -2003,7 +2077,7 @@ __Returns:__
2003
2077
 
2004
2078
  --
2005
2079
 
2006
- ##### [source_window](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L166) ios
2080
+ ##### [source_window](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L166) ios
2007
2081
 
2008
2082
  > def source_window(window_number = nil)
2009
2083
 
@@ -2015,7 +2089,7 @@ __Returns:__
2015
2089
 
2016
2090
  --
2017
2091
 
2018
- ##### [page_window](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L177) ios
2092
+ ##### [page_window](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L177) ios
2019
2093
 
2020
2094
  > def page_window(window_number = 0)
2021
2095
 
@@ -2033,7 +2107,7 @@ __Returns:__
2033
2107
 
2034
2108
  --
2035
2109
 
2036
- ##### [id](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L185) ios
2110
+ ##### [id](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L185) ios
2037
2111
 
2038
2112
  > def id(id)
2039
2113
 
@@ -2049,7 +2123,7 @@ __Returns:__
2049
2123
 
2050
2124
  --
2051
2125
 
2052
- ##### [ios_version](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L191) ios
2126
+ ##### [ios_version](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L191) ios
2053
2127
 
2054
2128
  > def ios_version
2055
2129
 
@@ -2061,7 +2135,7 @@ __Returns:__
2061
2135
 
2062
2136
  --
2063
2137
 
2064
- ##### [ele_index](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L204) ios
2138
+ ##### [ele_index](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L200) ios
2065
2139
 
2066
2140
  > def ele_index(class_name, index)
2067
2141
 
@@ -2079,7 +2153,7 @@ __Returns:__
2079
2153
 
2080
2154
  --
2081
2155
 
2082
- ##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L240) ios
2156
+ ##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L228) ios
2083
2157
 
2084
2158
  > def find_ele_by_attr(class_name, attr, value)
2085
2159
 
@@ -2101,7 +2175,7 @@ __Returns:__
2101
2175
 
2102
2176
  --
2103
2177
 
2104
- ##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L251) ios
2178
+ ##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L239) ios
2105
2179
 
2106
2180
  > def find_eles_by_attr(class_name, attr, value)
2107
2181
 
@@ -2123,7 +2197,7 @@ __Returns:__
2123
2197
 
2124
2198
  --
2125
2199
 
2126
- ##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L272) ios
2200
+ ##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L252) ios
2127
2201
 
2128
2202
  > def find_ele_by_predicate(class_name: '*', value:)
2129
2203
 
@@ -2140,7 +2214,7 @@ __Returns:__
2140
2214
 
2141
2215
  --
2142
2216
 
2143
- ##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L283) ios
2217
+ ##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L263) ios
2144
2218
 
2145
2219
  > def find_eles_by_predicate(class_name: '*', value:)
2146
2220
 
@@ -2159,7 +2233,7 @@ __Returns:__
2159
2233
 
2160
2234
  --
2161
2235
 
2162
- ##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L299) ios
2236
+ ##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L279) ios
2163
2237
 
2164
2238
  > def find_ele_by_attr_include(class_name, attr, value)
2165
2239
 
@@ -2180,7 +2254,7 @@ __Returns:__
2180
2254
 
2181
2255
  --
2182
2256
 
2183
- ##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L309) ios
2257
+ ##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L289) ios
2184
2258
 
2185
2259
  > def find_eles_by_attr_include(class_name, attr, value)
2186
2260
 
@@ -2201,7 +2275,7 @@ __Returns:__
2201
2275
 
2202
2276
  --
2203
2277
 
2204
- ##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L317) ios
2278
+ ##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L297) ios
2205
2279
 
2206
2280
  > def find_ele_by_predicate_include(class_name: '*', value:)
2207
2281
 
@@ -2218,7 +2292,7 @@ __Returns:__
2218
2292
 
2219
2293
  --
2220
2294
 
2221
- ##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L328) ios
2295
+ ##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L308) ios
2222
2296
 
2223
2297
  > def find_eles_by_predicate_include(class_name: '*', value:)
2224
2298
 
@@ -2237,7 +2311,7 @@ __Returns:__
2237
2311
 
2238
2312
  --
2239
2313
 
2240
- ##### [first_ele](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L341) ios
2314
+ ##### [first_ele](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L321) ios
2241
2315
 
2242
2316
  > def first_ele(class_name)
2243
2317
 
@@ -2253,7 +2327,7 @@ __Returns:__
2253
2327
 
2254
2328
  --
2255
2329
 
2256
- ##### [last_ele](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L348) ios
2330
+ ##### [last_ele](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L328) ios
2257
2331
 
2258
2332
  > def last_ele(class_name)
2259
2333
 
@@ -2269,7 +2343,7 @@ __Returns:__
2269
2343
 
2270
2344
  --
2271
2345
 
2272
- ##### [tag](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L362) ios
2346
+ ##### [tag](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L336) ios
2273
2347
 
2274
2348
  > def tag(class_name)
2275
2349
 
@@ -2285,7 +2359,7 @@ __Returns:__
2285
2359
 
2286
2360
  --
2287
2361
 
2288
- ##### [tags](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L374) ios
2362
+ ##### [tags](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L344) ios
2289
2363
 
2290
2364
  > def tags(class_name)
2291
2365
 
@@ -2301,7 +2375,7 @@ __Returns:__
2301
2375
 
2302
2376
  --
2303
2377
 
2304
- ##### [tags_include](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L390) ios
2378
+ ##### [tags_include](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L355) ios
2305
2379
 
2306
2380
  > def tags_include(class_names:, value: nil)
2307
2381
 
@@ -2321,7 +2395,7 @@ __Returns:__
2321
2395
 
2322
2396
  --
2323
2397
 
2324
- ##### [tags_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L419) ios
2398
+ ##### [tags_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L370) ios
2325
2399
 
2326
2400
  > def tags_exact(class_names:, value: nil)
2327
2401
 
@@ -2341,7 +2415,7 @@ __Returns:__
2341
2415
 
2342
2416
  --
2343
2417
 
2344
- ##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L470) ios
2418
+ ##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L407) ios
2345
2419
 
2346
2420
  > def ele_by_json_visible_contains(element, value)
2347
2421
 
@@ -2360,7 +2434,7 @@ __Returns:__
2360
2434
 
2361
2435
  --
2362
2436
 
2363
- ##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L479) ios
2437
+ ##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L416) ios
2364
2438
 
2365
2439
  > def eles_by_json_visible_contains(element, value)
2366
2440
 
@@ -2379,7 +2453,7 @@ __Returns:__
2379
2453
 
2380
2454
  --
2381
2455
 
2382
- ##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L509) ios
2456
+ ##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L446) ios
2383
2457
 
2384
2458
  > def ele_by_json_visible_exact(element, value)
2385
2459
 
@@ -2398,7 +2472,7 @@ __Returns:__
2398
2472
 
2399
2473
  --
2400
2474
 
2401
- ##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L518) ios
2475
+ ##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L455) ios
2402
2476
 
2403
2477
  > def eles_by_json_visible_exact(element, value)
2404
2478
 
@@ -2417,7 +2491,7 @@ __Returns:__
2417
2491
 
2418
2492
  --
2419
2493
 
2420
- ##### [_all_pred](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L527) ios
2494
+ ##### [_all_pred](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L464) ios
2421
2495
 
2422
2496
  > def _all_pred(opts)
2423
2497
 
@@ -2427,7 +2501,7 @@ visible - if true, only visible elements are returned. default true
2427
2501
 
2428
2502
  --
2429
2503
 
2430
- ##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L540) ios
2504
+ ##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L477) ios
2431
2505
 
2432
2506
  > def ele_with_pred(opts)
2433
2507
 
@@ -2443,7 +2517,7 @@ __Returns:__
2443
2517
 
2444
2518
  --
2445
2519
 
2446
- ##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L551) ios
2520
+ ##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L488) ios
2447
2521
 
2448
2522
  > def eles_with_pred(opts)
2449
2523
 
@@ -2459,7 +2533,7 @@ __Returns:__
2459
2533
 
2460
2534
  --
2461
2535
 
2462
- ##### [source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L557) ios
2536
+ ##### [source](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L494) ios
2463
2537
 
2464
2538
  > def source
2465
2539
 
@@ -2471,7 +2545,7 @@ __Returns:__
2471
2545
 
2472
2546
  --
2473
2547
 
2474
- ##### [_validate_object](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L561) ios
2548
+ ##### [_validate_object](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L498) ios
2475
2549
 
2476
2550
  > def _validate_object(*objects)
2477
2551
 
@@ -2479,7 +2553,7 @@ __Returns:__
2479
2553
 
2480
2554
  --
2481
2555
 
2482
- ##### [_by_json](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L610) ios
2556
+ ##### [_by_json](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L547) ios
2483
2557
 
2484
2558
  > def _by_json(opts)
2485
2559
 
@@ -2514,7 +2588,7 @@ opts = {
2514
2588
 
2515
2589
  --
2516
2590
 
2517
- ##### [eles_by_json](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L660) ios
2591
+ ##### [eles_by_json](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L597) ios
2518
2592
 
2519
2593
  > def eles_by_json(opts)
2520
2594
 
@@ -2533,7 +2607,7 @@ eles_by_json({
2533
2607
 
2534
2608
  --
2535
2609
 
2536
- ##### [ele_by_json](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L666) ios
2610
+ ##### [ele_by_json](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L603) ios
2537
2611
 
2538
2612
  > def ele_by_json(opts)
2539
2613
 
@@ -2541,7 +2615,7 @@ see eles_by_json
2541
2615
 
2542
2616
  --
2543
2617
 
2544
- ##### [get_source](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/helper.rb#L676) ios
2618
+ ##### [get_source](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/helper.rb#L613) ios
2545
2619
 
2546
2620
  > def get_source
2547
2621
 
@@ -2554,7 +2628,7 @@ __Returns:__
2554
2628
 
2555
2629
  --
2556
2630
 
2557
- ##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L4) ios
2631
+ ##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L4) ios
2558
2632
 
2559
2633
  > UIAStaticText = 'UIAStaticText'.freeze
2560
2634
 
@@ -2562,7 +2636,7 @@ __Returns:__
2562
2636
 
2563
2637
  --
2564
2638
 
2565
- ##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L5) ios
2639
+ ##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L5) ios
2566
2640
 
2567
2641
  > XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
2568
2642
 
@@ -2570,7 +2644,7 @@ __Returns:__
2570
2644
 
2571
2645
  --
2572
2646
 
2573
- ##### [static_text_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L8) ios
2647
+ ##### [static_text_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L8) ios
2574
2648
 
2575
2649
  > def static_text_class
2576
2650
 
@@ -2582,7 +2656,7 @@ __Returns:__
2582
2656
 
2583
2657
  --
2584
2658
 
2585
- ##### [text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L16) ios
2659
+ ##### [text](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L16) ios
2586
2660
 
2587
2661
  > def text(value)
2588
2662
 
@@ -2599,7 +2673,7 @@ __Returns:__
2599
2673
 
2600
2674
  --
2601
2675
 
2602
- ##### [texts](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L30) ios
2676
+ ##### [texts](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L25) ios
2603
2677
 
2604
2678
  > def texts(value = false)
2605
2679
 
@@ -2616,7 +2690,7 @@ __Returns:__
2616
2690
 
2617
2691
  --
2618
2692
 
2619
- ##### [first_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L43) ios
2693
+ ##### [first_text](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L32) ios
2620
2694
 
2621
2695
  > def first_text
2622
2696
 
@@ -2628,7 +2702,7 @@ __Returns:__
2628
2702
 
2629
2703
  --
2630
2704
 
2631
- ##### [last_text](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L49) ios
2705
+ ##### [last_text](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L38) ios
2632
2706
 
2633
2707
  > def last_text
2634
2708
 
@@ -2640,7 +2714,7 @@ __Returns:__
2640
2714
 
2641
2715
  --
2642
2716
 
2643
- ##### [text_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L56) ios
2717
+ ##### [text_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L45) ios
2644
2718
 
2645
2719
  > def text_exact(value)
2646
2720
 
@@ -2656,7 +2730,7 @@ __Returns:__
2656
2730
 
2657
2731
  --
2658
2732
 
2659
- ##### [texts_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/text.rb#L67) ios
2733
+ ##### [texts_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/text.rb#L52) ios
2660
2734
 
2661
2735
  > def texts_exact(value)
2662
2736
 
@@ -2672,7 +2746,7 @@ __Returns:__
2672
2746
 
2673
2747
  --
2674
2748
 
2675
- ##### [alert_accept](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/alert.rb#L5) ios
2749
+ ##### [alert_accept](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/alert.rb#L5) ios
2676
2750
 
2677
2751
  > def alert_accept
2678
2752
 
@@ -2684,7 +2758,7 @@ __Returns:__
2684
2758
 
2685
2759
  --
2686
2760
 
2687
- ##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/alert.rb#L13) ios
2761
+ ##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/alert.rb#L13) ios
2688
2762
 
2689
2763
  > def alert_dismiss
2690
2764
 
@@ -2696,7 +2770,7 @@ __Returns:__
2696
2770
 
2697
2771
  --
2698
2772
 
2699
- ##### [UIAButton](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L4) ios
2773
+ ##### [UIAButton](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L4) ios
2700
2774
 
2701
2775
  > UIAButton = 'UIAButton'.freeze
2702
2776
 
@@ -2704,7 +2778,7 @@ __Returns:__
2704
2778
 
2705
2779
  --
2706
2780
 
2707
- ##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L5) ios
2781
+ ##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L5) ios
2708
2782
 
2709
2783
  > XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
2710
2784
 
@@ -2712,7 +2786,7 @@ __Returns:__
2712
2786
 
2713
2787
  --
2714
2788
 
2715
- ##### [button_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L8) ios
2789
+ ##### [button_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L8) ios
2716
2790
 
2717
2791
  > def button_class
2718
2792
 
@@ -2724,7 +2798,7 @@ __Returns:__
2724
2798
 
2725
2799
  --
2726
2800
 
2727
- ##### [button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L16) ios
2801
+ ##### [button](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L16) ios
2728
2802
 
2729
2803
  > def button(value)
2730
2804
 
@@ -2741,7 +2815,7 @@ __Returns:__
2741
2815
 
2742
2816
  --
2743
2817
 
2744
- ##### [buttons](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L31) ios
2818
+ ##### [buttons](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L26) ios
2745
2819
 
2746
2820
  > def buttons(value = false)
2747
2821
 
@@ -2758,7 +2832,7 @@ __Returns:__
2758
2832
 
2759
2833
  --
2760
2834
 
2761
- ##### [first_button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L44) ios
2835
+ ##### [first_button](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L33) ios
2762
2836
 
2763
2837
  > def first_button
2764
2838
 
@@ -2770,7 +2844,7 @@ __Returns:__
2770
2844
 
2771
2845
  --
2772
2846
 
2773
- ##### [last_button](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L52) ios
2847
+ ##### [last_button](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L41) ios
2774
2848
 
2775
2849
  > def last_button
2776
2850
 
@@ -2784,7 +2858,7 @@ __Returns:__
2784
2858
 
2785
2859
  --
2786
2860
 
2787
- ##### [button_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L59) ios
2861
+ ##### [button_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L48) ios
2788
2862
 
2789
2863
  > def button_exact(value)
2790
2864
 
@@ -2800,7 +2874,7 @@ __Returns:__
2800
2874
 
2801
2875
  --
2802
2876
 
2803
- ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/button.rb#L70) ios
2877
+ ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/button.rb#L55) ios
2804
2878
 
2805
2879
  > def buttons_exact(value)
2806
2880
 
@@ -2816,7 +2890,7 @@ __Returns:__
2816
2890
 
2817
2891
  --
2818
2892
 
2819
- ##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/mobile_methods.rb#L19) ios
2893
+ ##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/mobile_methods.rb#L19) ios
2820
2894
 
2821
2895
  > def uiautomation_find
2822
2896
 
@@ -2828,7 +2902,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
2828
2902
 
2829
2903
  --
2830
2904
 
2831
- ##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/mobile_methods.rb#L19) ios
2905
+ ##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/mobile_methods.rb#L19) ios
2832
2906
 
2833
2907
  > def ios_predicate_string_find
2834
2908
 
@@ -2842,25 +2916,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
2842
2916
 
2843
2917
  --
2844
2918
 
2845
- ##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/mobile_methods.rb#L39) ios
2846
-
2847
- > def ios_class_chain_find
2848
-
2849
- Only for XCUITest(WebDriverAgent)
2850
- find_element/s can be used with a [class chain]( https://github.com/facebook/WebDriverAgent/wiki/Queries)
2851
-
2852
- ```ruby
2853
- # select the third child button of the first child window element
2854
- find_elements :class_chain, 'XCUIElementTypeWindow/XCUIElementTypeButton[3]'
2855
- # select all the children windows
2856
- find_elements :class_chain, 'XCUIElementTypeWindow'
2857
- # select the second last child of the second child window
2858
- find_elements :class_chain, 'XCUIElementTypeWindow[2]/XCUIElementTypeAny[-2]'
2859
- ```
2860
-
2861
- --
2862
-
2863
- ##### [find](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L6) ios
2919
+ ##### [find](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/generic.rb#L6) ios
2864
2920
 
2865
2921
  > def find(value)
2866
2922
 
@@ -2876,7 +2932,7 @@ __Returns:__
2876
2932
 
2877
2933
  --
2878
2934
 
2879
- ##### [finds](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L17) ios
2935
+ ##### [finds](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/generic.rb#L13) ios
2880
2936
 
2881
2937
  > def finds(value)
2882
2938
 
@@ -2892,7 +2948,7 @@ __Returns:__
2892
2948
 
2893
2949
  --
2894
2950
 
2895
- ##### [find_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L29) ios
2951
+ ##### [find_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/generic.rb#L20) ios
2896
2952
 
2897
2953
  > def find_exact(value)
2898
2954
 
@@ -2908,7 +2964,7 @@ __Returns:__
2908
2964
 
2909
2965
  --
2910
2966
 
2911
- ##### [finds_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L40) ios
2967
+ ##### [finds_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/generic.rb#L27) ios
2912
2968
 
2913
2969
  > def finds_exact(value)
2914
2970
 
@@ -2924,7 +2980,7 @@ __Returns:__
2924
2980
 
2925
2981
  --
2926
2982
 
2927
- ##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L51) ios
2983
+ ##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/generic.rb#L33) ios
2928
2984
 
2929
2985
  > def raise_error_if_no_element(element)
2930
2986
 
@@ -2932,7 +2988,7 @@ __Returns:__
2932
2988
 
2933
2989
  --
2934
2990
 
2935
- ##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/generic.rb#L58) ios
2991
+ ##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/generic.rb#L40) ios
2936
2992
 
2937
2993
  > def select_visible_elements(elements)
2938
2994
 
@@ -2940,87 +2996,179 @@ Return visible elements.
2940
2996
 
2941
2997
  --
2942
2998
 
2943
- ##### [UIATextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L3) ios
2999
+ ##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/device.rb#L9) ios
2944
3000
 
2945
- > UIATextField = 'UIATextField'.freeze
3001
+ > def hide_keyboard
3002
+
3003
+ Hide the onscreen keyboard
3004
+
3005
+ __Parameters:__
2946
3006
 
3007
+      [String] close_key - The name of the key which closes the keyboard.
2947
3008
 
3009
+      [Symbol] strategy - The symbol of the strategy which closes the keyboard.
3010
+ XCUITest ignore this argument.
3011
+ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
2948
3012
 
2949
3013
  --
2950
3014
 
2951
- ##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L4) ios
3015
+ ##### [ios_version](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/helper.rb#L7) ios
2952
3016
 
2953
- > UIASecureTextField = 'UIASecureTextField'.freeze
3017
+ > def ios_version
3018
+
3019
+ Return the iOS version as an array of integers
2954
3020
 
3021
+ __Returns:__
2955
3022
 
3023
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Integer>]
2956
3024
 
2957
3025
  --
2958
3026
 
2959
- ##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L6) ios
3027
+ ##### [last_ele](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/helper.rb#L32) ios
2960
3028
 
2961
- > XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
3029
+ > def last_ele(class_name)
3030
+
3031
+ Get the last tag that matches class_name
3032
+
3033
+ __Parameters:__
3034
+
3035
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] class_name - the tag to match
2962
3036
 
3037
+ __Returns:__
2963
3038
 
3039
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element]
2964
3040
 
2965
3041
  --
2966
3042
 
2967
- ##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L7) ios
3043
+ ##### [tag](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/helper.rb#L42) ios
2968
3044
 
2969
- > XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
3045
+ > def tag(class_name)
3046
+
3047
+ Returns the first **visible** element matching class_name
3048
+
3049
+ __Parameters:__
3050
+
3051
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] class_name - the class_name to search for
2970
3052
 
3053
+ __Returns:__
2971
3054
 
3055
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element]
2972
3056
 
2973
3057
  --
2974
3058
 
2975
- ##### [text_field_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L10) ios
3059
+ ##### [tags](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/helper.rb#L50) ios
2976
3060
 
2977
- > def text_field_class
3061
+ > def tags(class_name)
3062
+
3063
+ Returns all visible elements matching class_name
2978
3064
 
3065
+ __Parameters:__
2979
3066
 
3067
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] class_name - the class_name to search for
2980
3068
 
2981
3069
  __Returns:__
2982
3070
 
2983
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text field
3071
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element]
2984
3072
 
2985
3073
  --
2986
3074
 
2987
- ##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L15) ios
3075
+ ##### [tags_include](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/helper.rb#L62) ios
2988
3076
 
2989
- > def secure_text_field_class
3077
+ > def tags_include(class_names:, value: nil)
3078
+
3079
+ Returns all visible elements matching class_names and value
3080
+ This method calls find_element/s and element.value/text many times.
3081
+ So, if you set many class_names, this method's performance become worse.
3082
+
3083
+ __Parameters:__
2990
3084
 
3085
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[String]] class_names - the class_names to search for
2991
3086
 
3087
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
2992
3088
 
2993
3089
  __Returns:__
2994
3090
 
2995
- &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for secure text field
3091
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[Element]]
2996
3092
 
2997
3093
  --
2998
3094
 
2999
- ##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L35) ios
3095
+ ##### [tags_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/helper.rb#L85) ios
3000
3096
 
3001
- > def _textfield_visible
3097
+ > def tags_exact(class_names:, value: nil)
3002
3098
 
3003
- Appium
3099
+ Returns all visible elements matching class_names and value.
3100
+ This method calls find_element/s and element.value/text many times.
3101
+ So, if you set many class_names, this method's performance become worse.
3102
+
3103
+ __Parameters:__
3104
+
3105
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[String]] class_names - the class_names to search for
3106
+
3107
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3108
+
3109
+ __Returns:__
3110
+
3111
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array[Element]]
3004
3112
 
3005
3113
  --
3006
3114
 
3007
- ##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L40) ios
3115
+ ##### [UIATextField](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L3) ios
3116
+
3117
+ > UIATextField = 'UIATextField'.freeze
3008
3118
 
3009
- > def _textfield_exact_string(value)
3010
3119
 
3011
- Appium
3012
3120
 
3013
3121
  --
3014
3122
 
3015
- ##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L47) ios
3123
+ ##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L4) ios
3016
3124
 
3017
- > def _textfield_contains_string(value)
3125
+ > UIASecureTextField = 'UIASecureTextField'.freeze
3018
3126
 
3019
- Appium
3127
+
3128
+
3129
+ --
3130
+
3131
+ ##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L6) ios
3132
+
3133
+ > XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
3134
+
3135
+
3136
+
3137
+ --
3138
+
3139
+ ##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L7) ios
3140
+
3141
+ > XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
3142
+
3143
+
3144
+
3145
+ --
3146
+
3147
+ ##### [text_field_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L10) ios
3148
+
3149
+ > def text_field_class
3150
+
3151
+
3152
+
3153
+ __Returns:__
3154
+
3155
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text field
3156
+
3157
+ --
3158
+
3159
+ ##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L15) ios
3160
+
3161
+ > def secure_text_field_class
3162
+
3163
+
3164
+
3165
+ __Returns:__
3166
+
3167
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for secure text field
3020
3168
 
3021
3169
  --
3022
3170
 
3023
- ##### [textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L60) ios
3171
+ ##### [textfield](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L24) ios
3024
3172
 
3025
3173
  > def textfield(value)
3026
3174
 
@@ -3038,7 +3186,7 @@ __Returns:__
3038
3186
 
3039
3187
  --
3040
3188
 
3041
- ##### [textfields](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L86) ios
3189
+ ##### [textfields](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L42) ios
3042
3190
 
3043
3191
  > def textfields(value = false)
3044
3192
 
@@ -3055,7 +3203,7 @@ __Returns:__
3055
3203
 
3056
3204
  --
3057
3205
 
3058
- ##### [first_textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L100) ios
3206
+ ##### [first_textfield](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L49) ios
3059
3207
 
3060
3208
  > def first_textfield
3061
3209
 
@@ -3067,7 +3215,7 @@ __Returns:__
3067
3215
 
3068
3216
  --
3069
3217
 
3070
- ##### [last_textfield](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L110) ios
3218
+ ##### [last_textfield](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L55) ios
3071
3219
 
3072
3220
  > def last_textfield
3073
3221
 
@@ -3079,7 +3227,7 @@ __Returns:__
3079
3227
 
3080
3228
  --
3081
3229
 
3082
- ##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L123) ios
3230
+ ##### [textfield_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L64) ios
3083
3231
 
3084
3232
  > def textfield_exact(value)
3085
3233
 
@@ -3095,7 +3243,7 @@ __Returns:__
3095
3243
 
3096
3244
  --
3097
3245
 
3098
- ##### [textfields_exact](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/element/textfield.rb#L134) ios
3246
+ ##### [textfields_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L71) ios
3099
3247
 
3100
3248
  > def textfields_exact(value)
3101
3249
 
@@ -3111,7 +3259,31 @@ __Returns:__
3111
3259
 
3112
3260
  --
3113
3261
 
3114
- ##### [swipe](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L11) ios
3262
+ ##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L78) ios
3263
+
3264
+ > def _textfield_visible
3265
+
3266
+ Appium
3267
+
3268
+ --
3269
+
3270
+ ##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L83) ios
3271
+
3272
+ > def _textfield_exact_string(value)
3273
+
3274
+ Appium
3275
+
3276
+ --
3277
+
3278
+ ##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/element/textfield.rb#L90) ios
3279
+
3280
+ > def _textfield_contains_string(value)
3281
+
3282
+ Appium
3283
+
3284
+ --
3285
+
3286
+ ##### [swipe](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L11) ios
3115
3287
 
3116
3288
  > def swipe(direction:, element: nil)
3117
3289
 
@@ -3125,7 +3297,7 @@ __Parameters:__
3125
3297
 
3126
3298
  --
3127
3299
 
3128
- ##### [scroll](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L31) ios
3300
+ ##### [scroll](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L29) ios
3129
3301
 
3130
3302
  > def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
3131
3303
 
@@ -3139,7 +3311,7 @@ __Parameters:__
3139
3311
 
3140
3312
  --
3141
3313
 
3142
- ##### [pinch](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L50) ios
3314
+ ##### [pinch](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L48) ios
3143
3315
 
3144
3316
  > def pinch(scale:, velocity: 1.0, element: nil)
3145
3317
 
@@ -3155,7 +3327,7 @@ __Parameters:__
3155
3327
 
3156
3328
  --
3157
3329
 
3158
- ##### [double_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L67) ios
3330
+ ##### [double_tap](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L63) ios
3159
3331
 
3160
3332
  > def double_tap(x: nil, y: nil, element: nil)
3161
3333
 
@@ -3171,7 +3343,7 @@ __Parameters:__
3171
3343
 
3172
3344
  --
3173
3345
 
3174
- ##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L85) ios
3346
+ ##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L80) ios
3175
3347
 
3176
3348
  > def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
3177
3349
 
@@ -3189,7 +3361,7 @@ __Parameters:__
3189
3361
 
3190
3362
  --
3191
3363
 
3192
- ##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L99) ios
3364
+ ##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L93) ios
3193
3365
 
3194
3366
  > def two_finger_tap(element:)
3195
3367
 
@@ -3205,7 +3377,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
3205
3377
 
3206
3378
  --
3207
3379
 
3208
- ##### [tap](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L116) ios
3380
+ ##### [tap](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L108) ios
3209
3381
 
3210
3382
  > def tap(x:, y:, element: nil)
3211
3383
 
@@ -3221,7 +3393,7 @@ __Parameters:__
3221
3393
 
3222
3394
  --
3223
3395
 
3224
- ##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L138) ios
3396
+ ##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L128) ios
3225
3397
 
3226
3398
  > def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
3227
3399
 
@@ -3244,7 +3416,7 @@ drag point should be before to start dragging. Mandatory parameter
3244
3416
 
3245
3417
  --
3246
3418
 
3247
- ##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L157) ios
3419
+ ##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L145) ios
3248
3420
 
3249
3421
  > def select_picker_wheel(element:, order:, offset: nil)
3250
3422
 
@@ -3261,7 +3433,7 @@ __Parameters:__
3261
3433
 
3262
3434
  --
3263
3435
 
3264
- ##### [alert](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/ios/xcuitest_gestures.rb#L176) ios
3436
+ ##### [alert](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/gestures.rb#L163) ios
3265
3437
 
3266
3438
  > def alert(action:, button_label: nil)
3267
3439
 
@@ -3276,7 +3448,426 @@ This is an optional parameter and is only valid in combination with accept and d
3276
3448
 
3277
3449
  --
3278
3450
 
3279
- ##### [value](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L12)
3451
+ ##### [static_text_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/text.rb#L9) ios
3452
+
3453
+ > def static_text_class
3454
+
3455
+
3456
+
3457
+ __Returns:__
3458
+
3459
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text
3460
+
3461
+ --
3462
+
3463
+ ##### [text](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/text.rb#L17) ios
3464
+
3465
+ > def text(value)
3466
+
3467
+ Find the first UIAStaticText|XCUIElementTypeStaticText that contains value or by index.
3468
+ If int then the UIAStaticText|XCUIElementTypeStaticText at that index is returned.
3469
+
3470
+ __Parameters:__
3471
+
3472
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String, Integer] value - the value to find.
3473
+
3474
+ __Returns:__
3475
+
3476
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText]
3477
+
3478
+ --
3479
+
3480
+ ##### [texts](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/text.rb#L26) ios
3481
+
3482
+ > def texts(value = false)
3483
+
3484
+ Find all UIAStaticTexts|XCUIElementTypeStaticTexts containing value.
3485
+ If value is omitted, all UIAStaticTexts|XCUIElementTypeStaticTexts are returned
3486
+
3487
+ __Parameters:__
3488
+
3489
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3490
+
3491
+ __Returns:__
3492
+
3493
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAStaticText|XCUIElementTypeStaticText>]
3494
+
3495
+ --
3496
+
3497
+ ##### [first_text](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/text.rb#L34) ios
3498
+
3499
+ > def first_text
3500
+
3501
+ Find the first UIAStaticText|XCUIElementTypeStaticText.
3502
+
3503
+ __Returns:__
3504
+
3505
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText]
3506
+
3507
+ --
3508
+
3509
+ ##### [last_text](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/text.rb#L40) ios
3510
+
3511
+ > def last_text
3512
+
3513
+ Find the last UIAStaticText|XCUIElementTypeStaticText.
3514
+
3515
+ __Returns:__
3516
+
3517
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText]
3518
+
3519
+ --
3520
+
3521
+ ##### [text_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/text.rb#L47) ios
3522
+
3523
+ > def text_exact(value)
3524
+
3525
+ Find the first UIAStaticText|XCUIElementTypeStaticText that exactly matches value.
3526
+
3527
+ __Parameters:__
3528
+
3529
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to match exactly
3530
+
3531
+ __Returns:__
3532
+
3533
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAStaticText|XCUIElementTypeStaticText]
3534
+
3535
+ --
3536
+
3537
+ ##### [texts_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/text.rb#L54) ios
3538
+
3539
+ > def texts_exact(value)
3540
+
3541
+ Find all UIAStaticTexts|XCUIElementTypeStaticTexts that exactly match value.
3542
+
3543
+ __Parameters:__
3544
+
3545
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to match exactly
3546
+
3547
+ __Returns:__
3548
+
3549
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAStaticText|XCUIElementTypeStaticText>]
3550
+
3551
+ --
3552
+
3553
+ ##### [button_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/button.rb#L9) ios
3554
+
3555
+ > def button_class
3556
+
3557
+
3558
+
3559
+ __Returns:__
3560
+
3561
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for button
3562
+
3563
+ --
3564
+
3565
+ ##### [button](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/button.rb#L17) ios
3566
+
3567
+ > def button(value)
3568
+
3569
+ Find the first UIAButton|XCUIElementTypeButton that contains value or by index.
3570
+ If int then the UIAButton|XCUIElementTypeButton at that index is returned.
3571
+
3572
+ __Parameters:__
3573
+
3574
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String, Integer] value - the value to exactly match.
3575
+
3576
+ __Returns:__
3577
+
3578
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton]
3579
+
3580
+ --
3581
+
3582
+ ##### [buttons](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/button.rb#L27) ios
3583
+
3584
+ > def buttons(value = false)
3585
+
3586
+ Find all UIAButtons|XCUIElementTypeButtons containing value.
3587
+ If value is omitted, all UIAButtons|XCUIElementTypeButtons are returned.
3588
+
3589
+ __Parameters:__
3590
+
3591
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3592
+
3593
+ __Returns:__
3594
+
3595
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAButton|XCUIElementTypeButton>]
3596
+
3597
+ --
3598
+
3599
+ ##### [first_button](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/button.rb#L35) ios
3600
+
3601
+ > def first_button
3602
+
3603
+ Find the first UIAButton|XCUIElementTypeButton.
3604
+
3605
+ __Returns:__
3606
+
3607
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton]
3608
+
3609
+ --
3610
+
3611
+ ##### [last_button](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/button.rb#L43) ios
3612
+
3613
+ > def last_button
3614
+
3615
+ TODO: add documentation regarding previous element.
3616
+ Previous UIAElement is differ from UIAButton|XCUIElementTypeButton. So, the results are different.
3617
+ Find the last UIAButton|XCUIElementTypeButton.
3618
+
3619
+ __Returns:__
3620
+
3621
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton]
3622
+
3623
+ --
3624
+
3625
+ ##### [button_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/button.rb#L50) ios
3626
+
3627
+ > def button_exact(value)
3628
+
3629
+ Find the first UIAButton|XCUIElementTypeButton that exactly matches value.
3630
+
3631
+ __Parameters:__
3632
+
3633
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to match exactly
3634
+
3635
+ __Returns:__
3636
+
3637
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[UIAButton|XCUIElementTypeButton]
3638
+
3639
+ --
3640
+
3641
+ ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/button.rb#L57) ios
3642
+
3643
+ > def buttons_exact(value)
3644
+
3645
+ Find all UIAButtons|XCUIElementTypeButtons that exactly match value.
3646
+
3647
+ __Parameters:__
3648
+
3649
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to match exactly
3650
+
3651
+ __Returns:__
3652
+
3653
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<UIAButton|XCUIElementTypeButton>]
3654
+
3655
+ --
3656
+
3657
+ ##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/mobile_methods.rb#L17) ios
3658
+
3659
+ > def ios_class_chain_find
3660
+
3661
+ Only for XCUITest(WebDriverAgent)
3662
+ find_element/s can be used with a [class chain]( https://github.com/facebook/WebDriverAgent/wiki/Queries)
3663
+
3664
+ ```ruby
3665
+ # select the third child button of the first child window element
3666
+ find_elements :class_chain, 'XCUIElementTypeWindow/XCUIElementTypeButton[3]'
3667
+ # select all the children windows
3668
+ find_elements :class_chain, 'XCUIElementTypeWindow'
3669
+ # select the second last child of the second child window
3670
+ find_elements :class_chain, 'XCUIElementTypeWindow[2]/XCUIElementTypeAny[-2]'
3671
+ ```
3672
+
3673
+ --
3674
+
3675
+ ##### [find](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/generic.rb#L8) ios
3676
+
3677
+ > def find(value)
3678
+
3679
+ Find the first element containing value
3680
+
3681
+ __Parameters:__
3682
+
3683
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3684
+
3685
+ __Returns:__
3686
+
3687
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element]
3688
+
3689
+ --
3690
+
3691
+ ##### [finds](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/generic.rb#L15) ios
3692
+
3693
+ > def finds(value)
3694
+
3695
+ Find all elements containing value
3696
+
3697
+ __Parameters:__
3698
+
3699
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3700
+
3701
+ __Returns:__
3702
+
3703
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>]
3704
+
3705
+ --
3706
+
3707
+ ##### [find_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/generic.rb#L23) ios
3708
+
3709
+ > def find_exact(value)
3710
+
3711
+ Find the first element exactly matching value
3712
+
3713
+ __Parameters:__
3714
+
3715
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3716
+
3717
+ __Returns:__
3718
+
3719
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Element]
3720
+
3721
+ --
3722
+
3723
+ ##### [finds_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/generic.rb#L30) ios
3724
+
3725
+ > def finds_exact(value)
3726
+
3727
+ Find all elements exactly matching value
3728
+
3729
+ __Parameters:__
3730
+
3731
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3732
+
3733
+ __Returns:__
3734
+
3735
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>]
3736
+
3737
+ --
3738
+
3739
+ ##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/generic.rb#L37) ios
3740
+
3741
+ > def raise_error_if_no_element(element)
3742
+
3743
+
3744
+
3745
+ --
3746
+
3747
+ ##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/generic.rb#L44) ios
3748
+
3749
+ > def select_visible_elements(elements)
3750
+
3751
+ Return visible elements.
3752
+
3753
+ --
3754
+
3755
+ ##### [text_field_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L9) ios
3756
+
3757
+ > def text_field_class
3758
+
3759
+
3760
+
3761
+ __Returns:__
3762
+
3763
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for text field
3764
+
3765
+ --
3766
+
3767
+ ##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L14) ios
3768
+
3769
+ > def secure_text_field_class
3770
+
3771
+
3772
+
3773
+ __Returns:__
3774
+
3775
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] Class name for secure text field
3776
+
3777
+ --
3778
+
3779
+ ##### [textfield](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L23) ios
3780
+
3781
+ > def textfield(value)
3782
+
3783
+ Find the first TextField that contains value or by index.
3784
+ Note: Uses XPath
3785
+ If int then the TextField at that index is returned.
3786
+
3787
+ __Parameters:__
3788
+
3789
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String, Integer] value - the text to match exactly.
3790
+
3791
+ __Returns:__
3792
+
3793
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField]
3794
+
3795
+ --
3796
+
3797
+ ##### [textfields](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L41) ios
3798
+
3799
+ > def textfields(value = false)
3800
+
3801
+ Find all TextFields containing value.
3802
+ If value is omitted, all TextFields are returned.
3803
+
3804
+ __Parameters:__
3805
+
3806
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to search for
3807
+
3808
+ __Returns:__
3809
+
3810
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextField>]
3811
+
3812
+ --
3813
+
3814
+ ##### [first_textfield](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L50) ios
3815
+
3816
+ > def first_textfield
3817
+
3818
+ Find the first TextField.
3819
+
3820
+ __Returns:__
3821
+
3822
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField]
3823
+
3824
+ --
3825
+
3826
+ ##### [last_textfield](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L56) ios
3827
+
3828
+ > def last_textfield
3829
+
3830
+ Find the last TextField.
3831
+
3832
+ __Returns:__
3833
+
3834
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField]
3835
+
3836
+ --
3837
+
3838
+ ##### [textfield_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L65) ios
3839
+
3840
+ > def textfield_exact(value)
3841
+
3842
+ Find the first TextField that exactly matches value.
3843
+
3844
+ __Parameters:__
3845
+
3846
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to match exactly
3847
+
3848
+ __Returns:__
3849
+
3850
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[TextField]
3851
+
3852
+ --
3853
+
3854
+ ##### [textfields_exact](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/ios/xcuitest/element/textfield.rb#L72) ios
3855
+
3856
+ > def textfields_exact(value)
3857
+
3858
+ Find all TextFields that exactly match value.
3859
+
3860
+ __Parameters:__
3861
+
3862
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String] value - the value to match exactly
3863
+
3864
+ __Returns:__
3865
+
3866
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<TextField>]
3867
+
3868
+ --
3869
+
3870
+ ##### [value](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/patch.rb#L12)
3280
3871
 
3281
3872
  > def value
3282
3873
 
@@ -3286,7 +3877,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
3286
3877
 
3287
3878
  --
3288
3879
 
3289
- ##### [name](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L19)
3880
+ ##### [name](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/patch.rb#L19)
3290
3881
 
3291
3882
  > def name
3292
3883
 
@@ -3296,9 +3887,9 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
3296
3887
 
3297
3888
  --
3298
3889
 
3299
- ##### [location_rel](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L30)
3890
+ ##### [location_rel](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/patch.rb#L30)
3300
3891
 
3301
- > def location_rel
3892
+ > def location_rel(driver = $driver)
3302
3893
 
3303
3894
  For use with mobile tap.
3304
3895
 
@@ -3312,7 +3903,7 @@ __Returns:__
3312
3903
 
3313
3904
  --
3314
3905
 
3315
- ##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L165)
3906
+ ##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/patch.rb#L170)
3316
3907
 
3317
3908
  > DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
3318
3909
 
@@ -3320,7 +3911,7 @@ __Returns:__
3320
3911
 
3321
3912
  --
3322
3913
 
3323
- ##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/0ae697630a959ab8178b3c4b22911460f98157d2/lib/appium_lib/common/patch.rb#L168)
3914
+ ##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/a4c238552724878c31d8ff0179ef00d8258c76a4/lib/appium_lib/common/patch.rb#L173)
3324
3915
 
3325
3916
  > def patch_remote_driver_commands
3326
3917