appium_lib 4.1.0 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/android_tests/api.apk +0 -0
  3. data/android_tests/lib/android/specs/android/element/text.rb +2 -2
  4. data/android_tests/lib/android/specs/android/helper.rb +2 -2
  5. data/android_tests/lib/android/specs/common/device.rb +10 -28
  6. data/android_tests/lib/android/specs/common/device_touchaction.rb +29 -0
  7. data/android_tests/lib/android/specs/common/helper.rb +4 -4
  8. data/android_tests/lib/android/specs/common/patch.rb +2 -2
  9. data/android_tests/lib/android/specs/driver.rb +11 -1
  10. data/android_tests/lib/android/specs/install.rb +7 -6
  11. data/appium_lib.gemspec +2 -10
  12. data/contributing.md +23 -0
  13. data/docs/android_docs.md +274 -217
  14. data/docs/docs.md +28 -0
  15. data/docs/ios_docs.md +372 -212
  16. data/ios_tests/UICatalog.app/Info.plist +0 -0
  17. data/ios_tests/appium.txt +2 -1
  18. data/ios_tests/lib/ios/specs/common/helper.rb +12 -21
  19. data/ios_tests/lib/ios/specs/common/web_context.rb +7 -2
  20. data/ios_tests/lib/ios/specs/device/device.rb +16 -10
  21. data/ios_tests/lib/ios/specs/driver.rb +13 -2
  22. data/ios_tests/lib/ios/specs/ios/element/button.rb +5 -4
  23. data/ios_tests/lib/ios/specs/ios/element/generic.rb +2 -2
  24. data/ios_tests/lib/ios/specs/ios/element/text.rb +11 -7
  25. data/ios_tests/lib/ios/specs/ios/element/textfield.rb +9 -9
  26. data/lib/appium_lib.rb +1 -17
  27. data/lib/appium_lib/android/helper.rb +55 -5
  28. data/lib/appium_lib/common/helper.rb +26 -30
  29. data/lib/appium_lib/common/patch.rb +12 -0
  30. data/lib/appium_lib/common/version.rb +2 -2
  31. data/lib/appium_lib/device/device.rb +83 -12
  32. data/lib/appium_lib/driver.rb +26 -14
  33. data/lib/appium_lib/ios/element/button.rb +4 -4
  34. data/lib/appium_lib/ios/element/generic.rb +4 -4
  35. data/lib/appium_lib/ios/element/text.rb +4 -4
  36. data/lib/appium_lib/ios/element/textfield.rb +41 -22
  37. data/lib/appium_lib/ios/helper.rb +216 -47
  38. data/lib/appium_lib/ios/patch.rb +0 -19
  39. data/readme.md +1 -0
  40. data/release_notes.md +64 -0
  41. metadata +7 -5
@@ -17,6 +17,34 @@
17
17
  - [Appium's mobile gesture docs](https://github.com/appium/appium/wiki/Automating-mobile-gestures)
18
18
  - [MiniTest Expectations](http://docs.seattlerb.org/minitest/Minitest/Expectations.html)
19
19
 
20
+
21
+ --
22
+
23
+ Driver types.
24
+
25
+ ```ruby
26
+ # appium specific driver with helpers available
27
+ @appium_driver = Appium::Driver.new @options
28
+ # standard selenium driver without any appium methods
29
+ @selenium_driver = @appium_driver.start_driver
30
+ ```
31
+
32
+ --
33
+
34
+ Example of automating the built in Android settings.
35
+
36
+ ```ruby
37
+ # run Pry, and paste the following
38
+ apk = {
39
+ platformName: :android,
40
+ deviceName: :nexus,
41
+ appPackage: 'com.android.settings',
42
+ appActivity: '.Settings',
43
+ appWaitActivity: '.Settings'
44
+ }
45
+ Appium::Driver.new(caps: apk).start_driver
46
+ ```
47
+
20
48
  --
21
49
 
22
50
  Example use of Appium's mobile gesture.
@@ -1,4 +1,4 @@
1
- ##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L72)
1
+ ##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L72)
2
2
 
3
3
  > def self.load_appium_txt opts={}
4
4
 
@@ -27,7 +27,7 @@ __Returns:__
27
27
 
28
28
  --
29
29
 
30
- ##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L142)
30
+ ##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L142)
31
31
 
32
32
  > def self.symbolize_keys hash
33
33
 
@@ -38,7 +38,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
38
38
 
39
39
  --
40
40
 
41
- ##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L155)
41
+ ##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L155)
42
42
 
43
43
  > def self.promote_singleton_appium_methods modules
44
44
 
@@ -48,7 +48,7 @@ otherwise, the array of modules will be used as the promotion target.
48
48
 
49
49
  --
50
50
 
51
- ##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L195)
51
+ ##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L195)
52
52
 
53
53
  > def self.promote_appium_methods class_array
54
54
 
@@ -66,7 +66,7 @@ __Parameters:__
66
66
 
67
67
  --
68
68
 
69
- ##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
69
+ ##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L231)
70
70
 
71
71
  > def global_webdriver_http_sleep
72
72
 
@@ -74,7 +74,7 @@ The amount to sleep in seconds before every webdriver http call.
74
74
 
75
75
  --
76
76
 
77
- ##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
77
+ ##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L231)
78
78
 
79
79
  > def global_webdriver_http_sleep=(value)
80
80
 
@@ -82,55 +82,55 @@ The amount to sleep in seconds before every webdriver http call.
82
82
 
83
83
  --
84
84
 
85
- ##### [caps](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
85
+ ##### [caps](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L233)
86
86
 
87
87
  > def caps
88
88
 
89
- The amount to sleep in seconds before every webdriver http call.
89
+ Selenium webdriver capabilities
90
90
 
91
91
  --
92
92
 
93
- ##### [caps=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
93
+ ##### [caps=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L233)
94
94
 
95
95
  > def caps=(value)
96
96
 
97
- The amount to sleep in seconds before every webdriver http call.
97
+ Selenium webdriver capabilities
98
98
 
99
99
  --
100
100
 
101
- ##### [custom_url](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
101
+ ##### [custom_url](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L235)
102
102
 
103
103
  > def custom_url
104
104
 
105
- The amount to sleep in seconds before every webdriver http call.
105
+ Custom URL for the selenium server
106
106
 
107
107
  --
108
108
 
109
- ##### [custom_url=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
109
+ ##### [custom_url=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L235)
110
110
 
111
111
  > def custom_url=(value)
112
112
 
113
- The amount to sleep in seconds before every webdriver http call.
113
+ Custom URL for the selenium server
114
114
 
115
115
  --
116
116
 
117
- ##### [export_session](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
117
+ ##### [export_session](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L237)
118
118
 
119
119
  > def export_session
120
120
 
121
- The amount to sleep in seconds before every webdriver http call.
121
+ Export session id to textfile in /tmp for 3rd party tools
122
122
 
123
123
  --
124
124
 
125
- ##### [export_session=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
125
+ ##### [export_session=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L237)
126
126
 
127
127
  > def export_session=(value)
128
128
 
129
- The amount to sleep in seconds before every webdriver http call.
129
+ Export session id to textfile in /tmp for 3rd party tools
130
130
 
131
131
  --
132
132
 
133
- ##### [default_wait](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
133
+ ##### [default_wait](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L239)
134
134
 
135
135
  > def default_wait
136
136
 
@@ -143,111 +143,111 @@ __Returns:__
143
143
 
144
144
  --
145
145
 
146
- ##### [default_wait=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
146
+ ##### [default_wait=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L239)
147
147
 
148
148
  > def default_wait=(value)
149
149
 
150
- The amount to sleep in seconds before every webdriver http call.
150
+ Default wait time for elements to appear
151
151
 
152
152
  --
153
153
 
154
- ##### [last_waits](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
154
+ ##### [last_waits](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L241)
155
155
 
156
156
  > def last_waits
157
157
 
158
- The amount to sleep in seconds before every webdriver http call.
158
+ Array of previous wait time values
159
159
 
160
160
  --
161
161
 
162
- ##### [last_waits=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
162
+ ##### [last_waits=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L241)
163
163
 
164
164
  > def last_waits=(value)
165
165
 
166
- The amount to sleep in seconds before every webdriver http call.
166
+ Array of previous wait time values
167
167
 
168
168
  --
169
169
 
170
- ##### [sauce_username](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
170
+ ##### [sauce_username](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L243)
171
171
 
172
172
  > def sauce_username
173
173
 
174
- The amount to sleep in seconds before every webdriver http call.
174
+ Username for use on Sauce Labs
175
175
 
176
176
  --
177
177
 
178
- ##### [sauce_username=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
178
+ ##### [sauce_username=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L243)
179
179
 
180
180
  > def sauce_username=(value)
181
181
 
182
- The amount to sleep in seconds before every webdriver http call.
182
+ Username for use on Sauce Labs
183
183
 
184
184
  --
185
185
 
186
- ##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
186
+ ##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L245)
187
187
 
188
188
  > def sauce_access_key
189
189
 
190
- The amount to sleep in seconds before every webdriver http call.
190
+ Access Key for use on Sauce Labs
191
191
 
192
192
  --
193
193
 
194
- ##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
194
+ ##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L245)
195
195
 
196
196
  > def sauce_access_key=(value)
197
197
 
198
- The amount to sleep in seconds before every webdriver http call.
198
+ Access Key for use on Sauce Labs
199
199
 
200
200
  --
201
201
 
202
- ##### [appium_port](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
202
+ ##### [appium_port](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L247)
203
203
 
204
204
  > def appium_port
205
205
 
206
- The amount to sleep in seconds before every webdriver http call.
206
+ Appium's server port
207
207
 
208
208
  --
209
209
 
210
- ##### [appium_port=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
210
+ ##### [appium_port=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L247)
211
211
 
212
212
  > def appium_port=(value)
213
213
 
214
- The amount to sleep in seconds before every webdriver http call.
214
+ Appium's server port
215
215
 
216
216
  --
217
217
 
218
- ##### [appium_device](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
218
+ ##### [appium_device](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L249)
219
219
 
220
220
  > def appium_device
221
221
 
222
- The amount to sleep in seconds before every webdriver http call.
222
+ Device type to request from the appium server
223
223
 
224
224
  --
225
225
 
226
- ##### [appium_device=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
226
+ ##### [appium_device=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L249)
227
227
 
228
228
  > def appium_device=(value)
229
229
 
230
- The amount to sleep in seconds before every webdriver http call.
230
+ Device type to request from the appium server
231
231
 
232
232
  --
233
233
 
234
- ##### [appium_debug](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
234
+ ##### [appium_debug](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L251)
235
235
 
236
236
  > def appium_debug
237
237
 
238
- The amount to sleep in seconds before every webdriver http call.
238
+ Boolean debug mode for the Appium Ruby bindings
239
239
 
240
240
  --
241
241
 
242
- ##### [appium_debug=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L228)
242
+ ##### [appium_debug=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L251)
243
243
 
244
244
  > def appium_debug=(value)
245
245
 
246
- The amount to sleep in seconds before every webdriver http call.
246
+ Boolean debug mode for the Appium Ruby bindings
247
247
 
248
248
  --
249
249
 
250
- ##### [initialize](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L259)
250
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L272)
251
251
 
252
252
  > def initialize opts={}
253
253
 
@@ -278,7 +278,7 @@ __Returns:__
278
278
 
279
279
  --
280
280
 
281
- ##### [driver_attributes](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L334)
281
+ ##### [driver_attributes](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L347)
282
282
 
283
283
  > def driver_attributes
284
284
 
@@ -286,7 +286,7 @@ Returns a hash of the driver attributes
286
286
 
287
287
  --
288
288
 
289
- ##### [device_is_android?](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L354)
289
+ ##### [device_is_android?](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L367)
290
290
 
291
291
  > def device_is_android?
292
292
 
@@ -298,7 +298,7 @@ __Returns:__
298
298
 
299
299
  --
300
300
 
301
- ##### [appium_server_version](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L370)
301
+ ##### [appium_server_version](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L383)
302
302
 
303
303
  > def appium_server_version
304
304
 
@@ -319,7 +319,7 @@ __Returns:__
319
319
 
320
320
  --
321
321
 
322
- ##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L382)
322
+ ##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L395)
323
323
 
324
324
  > def self.absolute_app_path opts
325
325
 
@@ -336,7 +336,7 @@ __Returns:__
336
336
 
337
337
  --
338
338
 
339
- ##### [server_url](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L415)
339
+ ##### [server_url](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L428)
340
340
 
341
341
  > def server_url
342
342
 
@@ -348,7 +348,7 @@ __Returns:__
348
348
 
349
349
  --
350
350
 
351
- ##### [restart](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L426)
351
+ ##### [restart](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L439)
352
352
 
353
353
  > def restart
354
354
 
@@ -360,7 +360,7 @@ __Returns:__
360
360
 
361
361
  --
362
362
 
363
- ##### [driver](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L433)
363
+ ##### [driver](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L446)
364
364
 
365
365
  > def driver
366
366
 
@@ -372,7 +372,7 @@ __Returns:__
372
372
 
373
373
  --
374
374
 
375
- ##### [screenshot](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L443)
375
+ ##### [screenshot](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L456)
376
376
 
377
377
  > def screenshot png_save_path
378
378
 
@@ -390,7 +390,7 @@ __Returns:__
390
390
 
391
391
  --
392
392
 
393
- ##### [driver_quit](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L450)
393
+ ##### [driver_quit](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L463)
394
394
 
395
395
  > def driver_quit
396
396
 
@@ -402,7 +402,7 @@ __Returns:__
402
402
 
403
403
  --
404
404
 
405
- ##### [start_driver](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L458)
405
+ ##### [start_driver](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L471)
406
406
 
407
407
  > def start_driver
408
408
 
@@ -414,7 +414,7 @@ __Returns:__
414
414
 
415
415
  --
416
416
 
417
- ##### [no_wait](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L485)
417
+ ##### [no_wait](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L497)
418
418
 
419
419
  > def no_wait
420
420
 
@@ -422,7 +422,7 @@ Set implicit wait and default_wait to zero.
422
422
 
423
423
  --
424
424
 
425
- ##### [set_wait](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L504)
425
+ ##### [set_wait](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L516)
426
426
 
427
427
  > def set_wait timeout=nil
428
428
 
@@ -447,7 +447,7 @@ __Returns:__
447
447
 
448
448
  --
449
449
 
450
- ##### [exists](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L538)
450
+ ##### [exists](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L550)
451
451
 
452
452
  > def exists pre_check=0, post_check=@default_wait, &search_block
453
453
 
@@ -473,7 +473,7 @@ __Returns:__
473
473
 
474
474
  --
475
475
 
476
- ##### [execute_script](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L562)
476
+ ##### [execute_script](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L574)
477
477
 
478
478
  > def execute_script script, *args
479
479
 
@@ -491,7 +491,7 @@ __Returns:__
491
491
 
492
492
  --
493
493
 
494
- ##### [find_elements](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L570)
494
+ ##### [find_elements](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L582)
495
495
 
496
496
  > def find_elements *args
497
497
 
@@ -507,7 +507,7 @@ __Returns:__
507
507
 
508
508
  --
509
509
 
510
- ##### [find_element](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L578)
510
+ ##### [find_element](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L590)
511
511
 
512
512
  > def find_element *args
513
513
 
@@ -523,7 +523,7 @@ __Returns:__
523
523
 
524
524
  --
525
525
 
526
- ##### [x](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/driver.rb#L585)
526
+ ##### [x](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/driver.rb#L597)
527
527
 
528
528
  > def x
529
529
 
@@ -536,7 +536,7 @@ __Returns:__
536
536
 
537
537
  --
538
538
 
539
- ##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L7)
539
+ ##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L7)
540
540
 
541
541
  > NoArgMethods = {
542
542
 
@@ -544,7 +544,7 @@ __Returns:__
544
544
 
545
545
  --
546
546
 
547
- ##### [app_strings](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L22)
547
+ ##### [app_strings](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L23)
548
548
 
549
549
  > def app_strings
550
550
 
@@ -555,7 +555,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
555
555
 
556
556
  --
557
557
 
558
- ##### [background_app](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L28)
558
+ ##### [background_app](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L29)
559
559
 
560
560
  > def background_app
561
561
 
@@ -564,7 +564,7 @@ This is a blocking application
564
564
 
565
565
  --
566
566
 
567
- ##### [current_activity](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L33)
567
+ ##### [current_activity](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L34)
568
568
 
569
569
  > def current_activity
570
570
 
@@ -572,15 +572,15 @@ This is a blocking application
572
572
 
573
573
  --
574
574
 
575
- ##### [launch](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L35)
575
+ ##### [launch_app](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L36)
576
576
 
577
- > def launch
577
+ > def launch_app
578
578
 
579
579
  Start the simulator and applicaton configured with desired capabilities
580
580
 
581
581
  --
582
582
 
583
- ##### [reset](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L38)
583
+ ##### [reset](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L39)
584
584
 
585
585
  > def reset
586
586
 
@@ -588,7 +588,7 @@ Reset the device, relaunching the application.
588
588
 
589
589
  --
590
590
 
591
- ##### [shake](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L41)
591
+ ##### [shake](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L42)
592
592
 
593
593
  > def shake
594
594
 
@@ -596,7 +596,7 @@ Cause the device to shake
596
596
 
597
597
  --
598
598
 
599
- ##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L44)
599
+ ##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L45)
600
600
 
601
601
  > def toggle_flight_mode
602
602
 
@@ -604,7 +604,7 @@ toggle flight mode on or off
604
604
 
605
605
  --
606
606
 
607
- ##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L47)
607
+ ##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L48)
608
608
 
609
609
  > def hide_keyboard
610
610
 
@@ -617,7 +617,7 @@ Defaults to 'Done'.
617
617
 
618
618
  --
619
619
 
620
- ##### [press_keycode](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L56)
620
+ ##### [press_keycode](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L57)
621
621
 
622
622
  > def press_keycode
623
623
 
@@ -632,7 +632,7 @@ __Parameters:__
632
632
 
633
633
  --
634
634
 
635
- ##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L62)
635
+ ##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L63)
636
636
 
637
637
  > def long_press_keycode
638
638
 
@@ -647,7 +647,7 @@ __Parameters:__
647
647
 
648
648
  --
649
649
 
650
- ##### [push_file](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L68)
650
+ ##### [push_file](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L69)
651
651
 
652
652
  > def push_file
653
653
 
@@ -661,7 +661,7 @@ __Parameters:__
661
661
 
662
662
  --
663
663
 
664
- ##### [pull_file](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L73)
664
+ ##### [pull_file](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L74)
665
665
 
666
666
  > def pull_file
667
667
 
@@ -678,7 +678,7 @@ __Parameters:__
678
678
 
679
679
  --
680
680
 
681
- ##### [pull_folder](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L83)
681
+ ##### [pull_folder](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L84)
682
682
 
683
683
  > def pull_folder
684
684
 
@@ -693,7 +693,29 @@ __Parameters:__
693
693
 
694
694
  --
695
695
 
696
- ##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L274)
696
+ ##### [end_coverage](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L92)
697
+
698
+ > def end_coverage
699
+
700
+ Android only; Ends the test coverage and writes the results to the given path on device.
701
+
702
+ __Parameters:__
703
+
704
+      [String] path - Path on the device to write too.
705
+
706
+      [String] intent - Intent to broadcast when ending coverage.
707
+
708
+ --
709
+
710
+ ##### [get_settings](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L97)
711
+
712
+ > def get_settings
713
+
714
+ Get appium Settings for current test session
715
+
716
+ --
717
+
718
+ ##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L345)
697
719
 
698
720
  > def extend_search_contexts
699
721
 
@@ -701,7 +723,7 @@ __Parameters:__
701
723
 
702
724
  --
703
725
 
704
- ##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L274)
726
+ ##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L345)
705
727
 
706
728
  > def accessiblity_id_find
707
729
 
@@ -713,7 +735,7 @@ find_element/s with their accessibility_id
713
735
 
714
736
  --
715
737
 
716
- ##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L280)
738
+ ##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L351)
717
739
 
718
740
  > def add_touch_actions
719
741
 
@@ -721,7 +743,7 @@ find_element/s with their accessibility_id
721
743
 
722
744
  --
723
745
 
724
- ##### [set_context](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L304)
746
+ ##### [set_context](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L375)
725
747
 
726
748
  > def set_context
727
749
 
@@ -736,7 +758,7 @@ __Parameters:__
736
758
 
737
759
  --
738
760
 
739
- ##### [current_context](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L312)
761
+ ##### [current_context](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L383)
740
762
 
741
763
  > def current_context
742
764
 
@@ -748,7 +770,7 @@ __Returns:__
748
770
 
749
771
  --
750
772
 
751
- ##### [available_contexts](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L315)
773
+ ##### [available_contexts](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L386)
752
774
 
753
775
  > def available_contexts
754
776
 
@@ -760,7 +782,7 @@ __Returns:__
760
782
 
761
783
  --
762
784
 
763
- ##### [within_context](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L325)
785
+ ##### [within_context](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L396)
764
786
 
765
787
  > def within_context(context)
766
788
 
@@ -776,7 +798,7 @@ __Parameters:__
776
798
 
777
799
  --
778
800
 
779
- ##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/device.rb#L333)
801
+ ##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/device.rb#L404)
780
802
 
781
803
  > def switch_to_default_context
782
804
 
@@ -784,7 +806,7 @@ Change to the default context. This is equivalent to `set_context nil`.
784
806
 
785
807
  --
786
808
 
787
- ##### [pinch](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/multi_touch.rb#L30)
809
+ ##### [pinch](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/multi_touch.rb#L30)
788
810
 
789
811
  > def pinch(percentage=25, auto_perform=true)
790
812
 
@@ -803,7 +825,7 @@ __Parameters:__
803
825
 
804
826
  --
805
827
 
806
- ##### [zoom](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/multi_touch.rb#L58)
828
+ ##### [zoom](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/multi_touch.rb#L58)
807
829
 
808
830
  > def zoom(percentage=200, auto_perform=true)
809
831
 
@@ -822,7 +844,7 @@ __Parameters:__
822
844
 
823
845
  --
824
846
 
825
- ##### [initialize](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/multi_touch.rb#L79)
847
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/multi_touch.rb#L79)
826
848
 
827
849
  > def initialize
828
850
 
@@ -834,7 +856,7 @@ __Returns:__
834
856
 
835
857
  --
836
858
 
837
- ##### [add](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/multi_touch.rb#L85)
859
+ ##### [add](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/multi_touch.rb#L85)
838
860
 
839
861
  > def add(chain)
840
862
 
@@ -846,7 +868,7 @@ __Parameters:__
846
868
 
847
869
  --
848
870
 
849
- ##### [perform](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/multi_touch.rb#L90)
871
+ ##### [perform](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/multi_touch.rb#L90)
850
872
 
851
873
  > def perform
852
874
 
@@ -854,7 +876,7 @@ Ask Appium to perform the actions
854
876
 
855
877
  --
856
878
 
857
- ##### [ACTIONS](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L12)
879
+ ##### [ACTIONS](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L12)
858
880
 
859
881
  > ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
860
882
 
@@ -862,7 +884,7 @@ Ask Appium to perform the actions
862
884
 
863
885
  --
864
886
 
865
- ##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L13)
887
+ ##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L13)
866
888
 
867
889
  > COMPLEX_ACTIONS = [:swipe]
868
890
 
@@ -870,7 +892,7 @@ Ask Appium to perform the actions
870
892
 
871
893
  --
872
894
 
873
- ##### [actions](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L27)
895
+ ##### [actions](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L27)
874
896
 
875
897
  > def actions
876
898
 
@@ -878,7 +900,7 @@ Returns the value of attribute actions
878
900
 
879
901
  --
880
902
 
881
- ##### [initialize](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L29)
903
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L29)
882
904
 
883
905
  > def initialize
884
906
 
@@ -890,7 +912,7 @@ __Returns:__
890
912
 
891
913
  --
892
914
 
893
- ##### [move_to](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L37)
915
+ ##### [move_to](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L37)
894
916
 
895
917
  > def move_to(opts)
896
918
 
@@ -902,7 +924,7 @@ __Parameters:__
902
924
 
903
925
  --
904
926
 
905
- ##### [long_press](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L47)
927
+ ##### [long_press](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L47)
906
928
 
907
929
  > def long_press(opts)
908
930
 
@@ -920,7 +942,7 @@ __Parameters:__
920
942
 
921
943
  --
922
944
 
923
- ##### [press](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L59)
945
+ ##### [press](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L59)
924
946
 
925
947
  > def press(opts)
926
948
 
@@ -933,7 +955,7 @@ __Parameters:__
933
955
 
934
956
  --
935
957
 
936
- ##### [release](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L70)
958
+ ##### [release](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L70)
937
959
 
938
960
  > def release(opts=nil)
939
961
 
@@ -945,7 +967,7 @@ __Parameters:__
945
967
 
946
968
  --
947
969
 
948
- ##### [tap](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L81)
970
+ ##### [tap](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L81)
949
971
 
950
972
  > def tap(opts)
951
973
 
@@ -957,7 +979,7 @@ __Parameters:__
957
979
 
958
980
  --
959
981
 
960
- ##### [wait](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L90)
982
+ ##### [wait](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L90)
961
983
 
962
984
  > def wait(milliseconds)
963
985
 
@@ -969,7 +991,7 @@ __Parameters:__
969
991
 
970
992
  --
971
993
 
972
- ##### [swipe](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L104)
994
+ ##### [swipe](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L104)
973
995
 
974
996
  > def swipe(opts)
975
997
 
@@ -983,7 +1005,7 @@ __Parameters:__
983
1005
 
984
1006
  --
985
1007
 
986
- ##### [perform](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L119)
1008
+ ##### [perform](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L119)
987
1009
 
988
1010
  > def perform
989
1011
 
@@ -991,7 +1013,7 @@ Ask the driver to perform all actions in this action chain.
991
1013
 
992
1014
  --
993
1015
 
994
- ##### [cancel](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L125)
1016
+ ##### [cancel](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L125)
995
1017
 
996
1018
  > def cancel
997
1019
 
@@ -999,7 +1021,7 @@ Does nothing, currently.
999
1021
 
1000
1022
  --
1001
1023
 
1002
- ##### [chain_method](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L133)
1024
+ ##### [chain_method](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L133)
1003
1025
 
1004
1026
  > def chain_method(method, args=nil)
1005
1027
 
@@ -1007,7 +1029,7 @@ Does nothing, currently.
1007
1029
 
1008
1030
  --
1009
1031
 
1010
- ##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/device/touch_actions.rb#L142)
1032
+ ##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/device/touch_actions.rb#L142)
1011
1033
 
1012
1034
  > def args_with_ele_ref(args)
1013
1035
 
@@ -1015,7 +1037,7 @@ Does nothing, currently.
1015
1037
 
1016
1038
  --
1017
1039
 
1018
- ##### [_generic_wait](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/wait.rb#L10)
1040
+ ##### [_generic_wait](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/wait.rb#L10)
1019
1041
 
1020
1042
  > def _generic_wait opts={}, &block
1021
1043
 
@@ -1024,7 +1046,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
1024
1046
 
1025
1047
  --
1026
1048
 
1027
- ##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/wait.rb#L55)
1049
+ ##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/wait.rb#L55)
1028
1050
 
1029
1051
  > def _process_wait_opts opts
1030
1052
 
@@ -1032,7 +1054,7 @@ process opts before calling _generic_wait
1032
1054
 
1033
1055
  --
1034
1056
 
1035
- ##### [wait_true](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/wait.rb#L76)
1057
+ ##### [wait_true](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/wait.rb#L76)
1036
1058
 
1037
1059
  > def wait_true opts={}, &block
1038
1060
 
@@ -1052,7 +1074,7 @@ __Parameters:__
1052
1074
 
1053
1075
  --
1054
1076
 
1055
- ##### [wait](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/wait.rb#L94)
1077
+ ##### [wait](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/wait.rb#L94)
1056
1078
 
1057
1079
  > def wait opts={}, &block
1058
1080
 
@@ -1070,7 +1092,7 @@ __Parameters:__
1070
1092
 
1071
1093
  --
1072
1094
 
1073
- ##### [ignore](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L22)
1095
+ ##### [ignore](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L24)
1074
1096
 
1075
1097
  > def ignore &block
1076
1098
 
@@ -1078,7 +1100,7 @@ Return block.call and ignore any exceptions.
1078
1100
 
1079
1101
  --
1080
1102
 
1081
- ##### [back](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L31)
1103
+ ##### [back](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L33)
1082
1104
 
1083
1105
  > def back
1084
1106
 
@@ -1090,7 +1112,7 @@ __Returns:__
1090
1112
 
1091
1113
  --
1092
1114
 
1093
- ##### [session_id](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L36)
1115
+ ##### [session_id](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L38)
1094
1116
 
1095
1117
  > def session_id
1096
1118
 
@@ -1098,7 +1120,7 @@ For Sauce Labs reporting. Returns the current session id.
1098
1120
 
1099
1121
  --
1100
1122
 
1101
- ##### [xpath](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L44)
1123
+ ##### [xpath](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L46)
1102
1124
 
1103
1125
  > def xpath xpath_str
1104
1126
 
@@ -1114,7 +1136,7 @@ __Returns:__
1114
1136
 
1115
1137
  --
1116
1138
 
1117
- ##### [xpaths](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L52)
1139
+ ##### [xpaths](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L54)
1118
1140
 
1119
1141
  > def xpaths xpath_str
1120
1142
 
@@ -1130,32 +1152,15 @@ __Returns:__
1130
1152
 
1131
1153
  --
1132
1154
 
1133
- ##### [source](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L58)
1155
+ ##### [_print_source](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L58)
1134
1156
 
1135
- > def source
1157
+ > def _print_source source
1136
1158
 
1137
- Prints xml of the current page
1138
1159
 
1139
- __Returns:__
1140
-
1141
-      [void]
1142
1160
 
1143
1161
  --
1144
1162
 
1145
- ##### [get_source](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L76)
1146
-
1147
- > def get_source
1148
-
1149
- Returns XML string for the current page
1150
- Same as driver.page_source
1151
-
1152
- __Returns:__
1153
-
1154
-      [String]
1155
-
1156
- --
1157
-
1158
- ##### [result](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L83)
1163
+ ##### [result](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L71)
1159
1164
 
1160
1165
  > def result
1161
1166
 
@@ -1163,7 +1168,7 @@ Returns the value of attribute result
1163
1168
 
1164
1169
  --
1165
1170
 
1166
- ##### [initialize](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L85)
1171
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L73)
1167
1172
 
1168
1173
  > def initialize
1169
1174
 
@@ -1175,7 +1180,7 @@ __Returns:__
1175
1180
 
1176
1181
  --
1177
1182
 
1178
- ##### [reset](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L89)
1183
+ ##### [reset](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L77)
1179
1184
 
1180
1185
  > def reset
1181
1186
 
@@ -1183,7 +1188,7 @@ __Returns:__
1183
1188
 
1184
1189
  --
1185
1190
 
1186
- ##### [start_element](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L94)
1191
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L82)
1187
1192
 
1188
1193
  > def start_element name, attrs = []
1189
1194
 
@@ -1191,7 +1196,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
1191
1196
 
1192
1197
  --
1193
1198
 
1194
- ##### [formatted_result](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L100)
1199
+ ##### [formatted_result](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L88)
1195
1200
 
1196
1201
  > def formatted_result
1197
1202
 
@@ -1199,7 +1204,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
1199
1204
 
1200
1205
  --
1201
1206
 
1202
- ##### [get_page_class](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L111)
1207
+ ##### [get_page_class](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L99)
1203
1208
 
1204
1209
  > def get_page_class
1205
1210
 
@@ -1207,7 +1212,7 @@ Returns a string of class counts of visible elements.
1207
1212
 
1208
1213
  --
1209
1214
 
1210
- ##### [page_class](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L122)
1215
+ ##### [page_class](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L110)
1211
1216
 
1212
1217
  > def page_class
1213
1218
 
@@ -1216,7 +1221,7 @@ Useful for appium_console.
1216
1221
 
1217
1222
  --
1218
1223
 
1219
- ##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L132)
1224
+ ##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L120)
1220
1225
 
1221
1226
  > def px_to_window_rel opts={}
1222
1227
 
@@ -1228,7 +1233,7 @@ px_to_window_rel x: 50, y: 150
1228
1233
 
1229
1234
  --
1230
1235
 
1231
- ##### [xml_keys](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L149)
1236
+ ##### [xml_keys](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L139)
1232
1237
 
1233
1238
  > def xml_keys target
1234
1239
 
@@ -1244,7 +1249,7 @@ __Returns:__
1244
1249
 
1245
1250
  --
1246
1251
 
1247
- ##### [xml_values](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L157)
1252
+ ##### [xml_values](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L147)
1248
1253
 
1249
1254
  > def xml_values target
1250
1255
 
@@ -1260,7 +1265,7 @@ __Returns:__
1260
1265
 
1261
1266
  --
1262
1267
 
1263
- ##### [resolve_id](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L165)
1268
+ ##### [resolve_id](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L155)
1264
1269
 
1265
1270
  > def resolve_id id
1266
1271
 
@@ -1276,7 +1281,7 @@ __Returns:__
1276
1281
 
1277
1282
  --
1278
1283
 
1279
- ##### [filter](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L171)
1284
+ ##### [filter](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L161)
1280
1285
 
1281
1286
  > def filter
1282
1287
 
@@ -1284,7 +1289,7 @@ __Returns:__
1284
1289
 
1285
1290
  --
1286
1291
 
1287
- ##### [filter=](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L176)
1292
+ ##### [filter=](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L166)
1288
1293
 
1289
1294
  > def filter= value
1290
1295
 
@@ -1292,7 +1297,7 @@ convert to string to support symbols
1292
1297
 
1293
1298
  --
1294
1299
 
1295
- ##### [initialize](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L182)
1300
+ ##### [initialize](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L172)
1296
1301
 
1297
1302
  > def initialize
1298
1303
 
@@ -1304,7 +1309,7 @@ __Returns:__
1304
1309
 
1305
1310
  --
1306
1311
 
1307
- ##### [reset](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L187)
1312
+ ##### [reset](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L177)
1308
1313
 
1309
1314
  > def reset
1310
1315
 
@@ -1312,7 +1317,7 @@ __Returns:__
1312
1317
 
1313
1318
  --
1314
1319
 
1315
- ##### [result](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L193)
1320
+ ##### [result](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L183)
1316
1321
 
1317
1322
  > def result
1318
1323
 
@@ -1320,7 +1325,7 @@ __Returns:__
1320
1325
 
1321
1326
  --
1322
1327
 
1323
- ##### [start_element](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L207)
1328
+ ##### [start_element](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L199)
1324
1329
 
1325
1330
  > def start_element name, attrs = []
1326
1331
 
@@ -1328,7 +1333,7 @@ __Returns:__
1328
1333
 
1329
1334
  --
1330
1335
 
1331
- ##### [end_element](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L217)
1336
+ ##### [end_element](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L209)
1332
1337
 
1333
1338
  > def end_element name
1334
1339
 
@@ -1336,7 +1341,7 @@ __Returns:__
1336
1341
 
1337
1342
  --
1338
1343
 
1339
- ##### [characters](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/helper.rb#L223)
1344
+ ##### [characters](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L215)
1340
1345
 
1341
1346
  > def characters(chars)
1342
1347
 
@@ -1344,7 +1349,15 @@ __Returns:__
1344
1349
 
1345
1350
  --
1346
1351
 
1347
- ##### [window_size](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/element/window.rb#L5)
1352
+ ##### [_no_such_element](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/helper.rb#L223)
1353
+
1354
+ > def _no_such_element
1355
+
1356
+
1357
+
1358
+ --
1359
+
1360
+ ##### [window_size](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/element/window.rb#L5)
1348
1361
 
1349
1362
  > def window_size
1350
1363
 
@@ -1352,7 +1365,7 @@ Get the window's size
1352
1365
 
1353
1366
  --
1354
1367
 
1355
- ##### [ios_password](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L8) ios
1368
+ ##### [ios_password](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L8) ios
1356
1369
 
1357
1370
  > def ios_password length=1
1358
1371
 
@@ -1370,7 +1383,7 @@ __Returns:__
1370
1383
 
1371
1384
  --
1372
1385
 
1373
- ##### [get_page](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L20) ios
1386
+ ##### [get_page](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L20) ios
1374
1387
 
1375
1388
  > def get_page element=source_window(0), class_name=nil
1376
1389
 
@@ -1391,7 +1404,7 @@ __Returns:__
1391
1404
 
1392
1405
  --
1393
1406
 
1394
- ##### [page](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L125) ios
1407
+ ##### [page](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L125) ios
1395
1408
 
1396
1409
  > def page opts={}
1397
1410
 
@@ -1417,7 +1430,7 @@ __Returns:__
1417
1430
 
1418
1431
  --
1419
1432
 
1420
- ##### [source_window](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L157) ios
1433
+ ##### [source_window](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L157) ios
1421
1434
 
1422
1435
  > def source_window window_number=0
1423
1436
 
@@ -1433,7 +1446,7 @@ __Returns:__
1433
1446
 
1434
1447
  --
1435
1448
 
1436
- ##### [page_window](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L171) ios
1449
+ ##### [page_window](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L171) ios
1437
1450
 
1438
1451
  > def page_window window_number=0
1439
1452
 
@@ -1451,7 +1464,7 @@ __Returns:__
1451
1464
 
1452
1465
  --
1453
1466
 
1454
- ##### [id](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L179) ios
1467
+ ##### [id](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L179) ios
1455
1468
 
1456
1469
  > def id id
1457
1470
 
@@ -1467,7 +1480,7 @@ __Returns:__
1467
1480
 
1468
1481
  --
1469
1482
 
1470
- ##### [ios_version](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L189) ios
1483
+ ##### [ios_version](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L185) ios
1471
1484
 
1472
1485
  > def ios_version
1473
1486
 
@@ -1479,7 +1492,7 @@ __Returns:__
1479
1492
 
1480
1493
  --
1481
1494
 
1482
- ##### [ele_index](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L198) ios
1495
+ ##### [ele_index](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L194) ios
1483
1496
 
1484
1497
  > def ele_index class_name, index
1485
1498
 
@@ -1497,11 +1510,12 @@ __Returns:__
1497
1510
 
1498
1511
  --
1499
1512
 
1500
- ##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L216) ios
1513
+ ##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L221) ios
1501
1514
 
1502
1515
  > def find_ele_by_attr class_name, attr, value
1503
1516
 
1504
1517
  Find the first element exactly matching class and attribute value.
1518
+ Note: Uses XPath
1505
1519
 
1506
1520
  __Parameters:__
1507
1521
 
@@ -1517,11 +1531,12 @@ __Returns:__
1517
1531
 
1518
1532
  --
1519
1533
 
1520
- ##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L225) ios
1534
+ ##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L231) ios
1521
1535
 
1522
1536
  > def find_eles_by_attr class_name, attr, value
1523
1537
 
1524
1538
  Find all elements exactly matching class and attribute value.
1539
+ Note: Uses XPath
1525
1540
 
1526
1541
  __Parameters:__
1527
1542
 
@@ -1537,11 +1552,12 @@ __Returns:__
1537
1552
 
1538
1553
  --
1539
1554
 
1540
- ##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L239) ios
1555
+ ##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L246) ios
1541
1556
 
1542
1557
  > def find_ele_by_attr_include class_name, attr, value
1543
1558
 
1544
1559
  Get the first tag by attribute that exactly matches value.
1560
+ Note: Uses XPath
1545
1561
 
1546
1562
  __Parameters:__
1547
1563
 
@@ -1557,11 +1573,12 @@ __Returns:__
1557
1573
 
1558
1574
  --
1559
1575
 
1560
- ##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L248) ios
1576
+ ##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L256) ios
1561
1577
 
1562
1578
  > def find_eles_by_attr_include class_name, attr, value
1563
1579
 
1564
1580
  Get tags by attribute that include value.
1581
+ Note: Uses XPath
1565
1582
 
1566
1583
  __Parameters:__
1567
1584
 
@@ -1577,7 +1594,7 @@ __Returns:__
1577
1594
 
1578
1595
  --
1579
1596
 
1580
- ##### [first_ele](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L255) ios
1597
+ ##### [first_ele](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L263) ios
1581
1598
 
1582
1599
  > def first_ele class_name
1583
1600
 
@@ -1593,7 +1610,7 @@ __Returns:__
1593
1610
 
1594
1611
  --
1595
1612
 
1596
- ##### [last_ele](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L263) ios
1613
+ ##### [last_ele](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L271) ios
1597
1614
 
1598
1615
  > def last_ele class_name
1599
1616
 
@@ -1609,11 +1626,11 @@ __Returns:__
1609
1626
 
1610
1627
  --
1611
1628
 
1612
- ##### [tag](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L271) ios
1629
+ ##### [tag](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L279) ios
1613
1630
 
1614
1631
  > def tag class_name
1615
1632
 
1616
- Returns the first element matching class_name
1633
+ Returns the first visible element matching class_name
1617
1634
 
1618
1635
  __Parameters:__
1619
1636
 
@@ -1625,11 +1642,11 @@ __Returns:__
1625
1642
 
1626
1643
  --
1627
1644
 
1628
- ##### [tags](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L279) ios
1645
+ ##### [tags](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L290) ios
1629
1646
 
1630
1647
  > def tags class_name
1631
1648
 
1632
- Returns all elements matching class_name
1649
+ Returns all visible elements matching class_name
1633
1650
 
1634
1651
  __Parameters:__
1635
1652
 
@@ -1641,9 +1658,9 @@ __Returns:__
1641
1658
 
1642
1659
  --
1643
1660
 
1644
- ##### [xpath_visible_contains](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L311) ios
1661
+ ##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L325) ios
1645
1662
 
1646
- > def xpath_visible_contains element, value
1663
+ > def ele_by_json_visible_contains element, value
1647
1664
 
1648
1665
  Find the first element that contains value
1649
1666
 
@@ -1659,9 +1676,9 @@ __Returns:__
1659
1676
 
1660
1677
  --
1661
1678
 
1662
- ##### [xpaths_visible_contains](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L319) ios
1679
+ ##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L333) ios
1663
1680
 
1664
- > def xpaths_visible_contains element, value
1681
+ > def eles_by_json_visible_contains element, value
1665
1682
 
1666
1683
  Find all elements containing value
1667
1684
 
@@ -1677,9 +1694,9 @@ __Returns:__
1677
1694
 
1678
1695
  --
1679
1696
 
1680
- ##### [xpath_visible_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L346) ios
1697
+ ##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L362) ios
1681
1698
 
1682
- > def xpath_visible_exact element, value
1699
+ > def ele_by_json_visible_exact element, value
1683
1700
 
1684
1701
  Find the first element exactly matching value
1685
1702
 
@@ -1695,9 +1712,9 @@ __Returns:__
1695
1712
 
1696
1713
  --
1697
1714
 
1698
- ##### [xpaths_visible_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/helper.rb#L354) ios
1715
+ ##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L370) ios
1699
1716
 
1700
- > def xpaths_visible_exact element, value
1717
+ > def eles_by_json_visible_exact element, value
1701
1718
 
1702
1719
  Find all elements exactly matching value
1703
1720
 
@@ -1713,7 +1730,142 @@ __Returns:__
1713
1730
 
1714
1731
  --
1715
1732
 
1716
- ##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/text.rb#L4) ios
1733
+ ##### [_all_pred](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L434) ios
1734
+
1735
+ > def _all_pred opts
1736
+
1737
+ predicate - the predicate to evaluate on the main app
1738
+
1739
+ visible - if true, only visible elements are returned. default true
1740
+
1741
+ --
1742
+
1743
+ ##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L447) ios
1744
+
1745
+ > def ele_with_pred opts
1746
+
1747
+ returns element matching predicate contained in the main app
1748
+
1749
+ predicate - the predicate to evaluate on the main app
1750
+
1751
+ visible - if true, only visible elements are returned. default true
1752
+
1753
+ __Returns:__
1754
+
1755
+      [Element]
1756
+
1757
+ --
1758
+
1759
+ ##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L458) ios
1760
+
1761
+ > def eles_with_pred opts
1762
+
1763
+ returns elements matching predicate contained in the main app
1764
+
1765
+ predicate - the predicate to evaluate on the main app
1766
+
1767
+ visible - if true, only visible elements are returned. default true
1768
+
1769
+ __Returns:__
1770
+
1771
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[Array<Element>]
1772
+
1773
+ --
1774
+
1775
+ ##### [source](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L464) ios
1776
+
1777
+ > def source
1778
+
1779
+ Prints xml of the current page
1780
+
1781
+ __Returns:__
1782
+
1783
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[void]
1784
+
1785
+ --
1786
+
1787
+ ##### [_validate_object](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L468) ios
1788
+
1789
+ > def _validate_object *objects
1790
+
1791
+
1792
+
1793
+ --
1794
+
1795
+ ##### [_by_json](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L516) ios
1796
+
1797
+ > def _by_json opts
1798
+
1799
+ typeArray - array of string types to search for. Example: ["UIAStaticText"]
1800
+ onlyFirst - boolean. returns only the first result if true. Example: true
1801
+ onlyVisible - boolean. returns only visible elements if true. Example: true
1802
+ target - string. the target value to search for. Example: "Buttons, Various uses of UIButton"
1803
+ substring - boolean. matches on substrings if true otherwise an exact mathc is required. Example: true
1804
+ insensitive - boolean. ignores case sensitivity if true otherwise it's case sensitive. Example: true
1805
+
1806
+ opts = {
1807
+ typeArray: ["UIAStaticText"],
1808
+ onlyFirst: true,
1809
+ onlyVisible: true,
1810
+ name: {
1811
+ target: "Buttons, Various uses of UIButton",
1812
+ substring: false,
1813
+ insensitive: false,
1814
+ },
1815
+ label: {
1816
+ target: "Buttons, Various uses of UIButton",
1817
+ substring: false,
1818
+ insensitive: false,
1819
+ },
1820
+ value: {
1821
+ target: "Buttons, Various uses of UIButton",
1822
+ substring: false,
1823
+ insensitive: false,
1824
+ }
1825
+ }
1826
+
1827
+ --
1828
+
1829
+ ##### [eles_by_json](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L556) ios
1830
+
1831
+ > def eles_by_json opts
1832
+
1833
+ example usage:
1834
+
1835
+ eles_by_json({
1836
+ typeArray: ["UIAStaticText"],
1837
+ onlyVisible: true,
1838
+ name: {
1839
+ target: "Buttons, Various uses of UIButton",
1840
+ substring: false,
1841
+ insensitive: false,
1842
+ },
1843
+ })
1844
+
1845
+ --
1846
+
1847
+ ##### [ele_by_json](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L562) ios
1848
+
1849
+ > def ele_by_json opts
1850
+
1851
+ see eles_by_json
1852
+
1853
+ --
1854
+
1855
+ ##### [get_source](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/helper.rb#L572) ios
1856
+
1857
+ > def get_source
1858
+
1859
+ Returns XML string for the current page
1860
+ Same as driver.page_source
1861
+
1862
+ __Returns:__
1863
+
1864
+ &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[String]
1865
+
1866
+ --
1867
+
1868
+ ##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/text.rb#L4) ios
1717
1869
 
1718
1870
  > UIAStaticText = 'UIAStaticText'
1719
1871
 
@@ -1721,7 +1873,7 @@ __Returns:__
1721
1873
 
1722
1874
  --
1723
1875
 
1724
- ##### [text](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/text.rb#L10) ios
1876
+ ##### [text](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/text.rb#L10) ios
1725
1877
 
1726
1878
  > def text value
1727
1879
 
@@ -1738,7 +1890,7 @@ __Returns:__
1738
1890
 
1739
1891
  --
1740
1892
 
1741
- ##### [texts](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/text.rb#L19) ios
1893
+ ##### [texts](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/text.rb#L19) ios
1742
1894
 
1743
1895
  > def texts value=false
1744
1896
 
@@ -1755,7 +1907,7 @@ __Returns:__
1755
1907
 
1756
1908
  --
1757
1909
 
1758
- ##### [first_text](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/text.rb#L26) ios
1910
+ ##### [first_text](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/text.rb#L26) ios
1759
1911
 
1760
1912
  > def first_text
1761
1913
 
@@ -1767,7 +1919,7 @@ __Returns:__
1767
1919
 
1768
1920
  --
1769
1921
 
1770
- ##### [last_text](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/text.rb#L32) ios
1922
+ ##### [last_text](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/text.rb#L32) ios
1771
1923
 
1772
1924
  > def last_text
1773
1925
 
@@ -1779,7 +1931,7 @@ __Returns:__
1779
1931
 
1780
1932
  --
1781
1933
 
1782
- ##### [text_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/text.rb#L39) ios
1934
+ ##### [text_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/text.rb#L39) ios
1783
1935
 
1784
1936
  > def text_exact value
1785
1937
 
@@ -1795,7 +1947,7 @@ __Returns:__
1795
1947
 
1796
1948
  --
1797
1949
 
1798
- ##### [texts_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/text.rb#L46) ios
1950
+ ##### [texts_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/text.rb#L46) ios
1799
1951
 
1800
1952
  > def texts_exact value
1801
1953
 
@@ -1811,7 +1963,7 @@ __Returns:__
1811
1963
 
1812
1964
  --
1813
1965
 
1814
- ##### [alert_accept](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/alert.rb#L5) ios
1966
+ ##### [alert_accept](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/alert.rb#L5) ios
1815
1967
 
1816
1968
  > def alert_accept
1817
1969
 
@@ -1823,7 +1975,7 @@ __Returns:__
1823
1975
 
1824
1976
  --
1825
1977
 
1826
- ##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/alert.rb#L13) ios
1978
+ ##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/alert.rb#L13) ios
1827
1979
 
1828
1980
  > def alert_dismiss
1829
1981
 
@@ -1835,7 +1987,7 @@ __Returns:__
1835
1987
 
1836
1988
  --
1837
1989
 
1838
- ##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/mobile_methods.rb#L10) ios
1990
+ ##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/mobile_methods.rb#L10) ios
1839
1991
 
1840
1992
  > def uiautomation_find
1841
1993
 
@@ -1847,7 +1999,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
1847
1999
 
1848
2000
  --
1849
2001
 
1850
- ##### [UIAButton](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/button.rb#L4) ios
2002
+ ##### [UIAButton](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/button.rb#L4) ios
1851
2003
 
1852
2004
  > UIAButton = 'UIAButton'
1853
2005
 
@@ -1855,7 +2007,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
1855
2007
 
1856
2008
  --
1857
2009
 
1858
- ##### [button](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/button.rb#L10) ios
2010
+ ##### [button](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/button.rb#L10) ios
1859
2011
 
1860
2012
  > def button value
1861
2013
 
@@ -1872,7 +2024,7 @@ __Returns:__
1872
2024
 
1873
2025
  --
1874
2026
 
1875
- ##### [buttons](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/button.rb#L20) ios
2027
+ ##### [buttons](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/button.rb#L20) ios
1876
2028
 
1877
2029
  > def buttons value=false
1878
2030
 
@@ -1889,7 +2041,7 @@ __Returns:__
1889
2041
 
1890
2042
  --
1891
2043
 
1892
- ##### [first_button](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/button.rb#L27) ios
2044
+ ##### [first_button](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/button.rb#L27) ios
1893
2045
 
1894
2046
  > def first_button
1895
2047
 
@@ -1901,7 +2053,7 @@ __Returns:__
1901
2053
 
1902
2054
  --
1903
2055
 
1904
- ##### [last_button](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/button.rb#L33) ios
2056
+ ##### [last_button](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/button.rb#L33) ios
1905
2057
 
1906
2058
  > def last_button
1907
2059
 
@@ -1913,7 +2065,7 @@ __Returns:__
1913
2065
 
1914
2066
  --
1915
2067
 
1916
- ##### [button_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/button.rb#L40) ios
2068
+ ##### [button_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/button.rb#L40) ios
1917
2069
 
1918
2070
  > def button_exact value
1919
2071
 
@@ -1929,7 +2081,7 @@ __Returns:__
1929
2081
 
1930
2082
  --
1931
2083
 
1932
- ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/button.rb#L47) ios
2084
+ ##### [buttons_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/button.rb#L47) ios
1933
2085
 
1934
2086
  > def buttons_exact value
1935
2087
 
@@ -1945,7 +2097,7 @@ __Returns:__
1945
2097
 
1946
2098
  --
1947
2099
 
1948
- ##### [find](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/generic.rb#L7) ios
2100
+ ##### [find](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/generic.rb#L7) ios
1949
2101
 
1950
2102
  > def find value
1951
2103
 
@@ -1961,7 +2113,7 @@ __Returns:__
1961
2113
 
1962
2114
  --
1963
2115
 
1964
- ##### [finds](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/generic.rb#L14) ios
2116
+ ##### [finds](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/generic.rb#L14) ios
1965
2117
 
1966
2118
  > def finds value
1967
2119
 
@@ -1977,7 +2129,7 @@ __Returns:__
1977
2129
 
1978
2130
  --
1979
2131
 
1980
- ##### [find_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/generic.rb#L21) ios
2132
+ ##### [find_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/generic.rb#L21) ios
1981
2133
 
1982
2134
  > def find_exact value
1983
2135
 
@@ -1993,7 +2145,7 @@ __Returns:__
1993
2145
 
1994
2146
  --
1995
2147
 
1996
- ##### [finds_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/generic.rb#L28) ios
2148
+ ##### [finds_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/generic.rb#L28) ios
1997
2149
 
1998
2150
  > def finds_exact value
1999
2151
 
@@ -2009,7 +2161,7 @@ __Returns:__
2009
2161
 
2010
2162
  --
2011
2163
 
2012
- ##### [UIATextField](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L3) ios
2164
+ ##### [UIATextField](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L3) ios
2013
2165
 
2014
2166
  > UIATextField = 'UIATextField'
2015
2167
 
@@ -2017,7 +2169,7 @@ __Returns:__
2017
2169
 
2018
2170
  --
2019
2171
 
2020
- ##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L4) ios
2172
+ ##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L4) ios
2021
2173
 
2022
2174
  > UIASecureTextField = 'UIASecureTextField'
2023
2175
 
@@ -2025,7 +2177,7 @@ __Returns:__
2025
2177
 
2026
2178
  --
2027
2179
 
2028
- ##### [textfield](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L38) ios
2180
+ ##### [textfield](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L52) ios
2029
2181
 
2030
2182
  > def textfield value
2031
2183
 
@@ -2042,7 +2194,7 @@ __Returns:__
2042
2194
 
2043
2195
  --
2044
2196
 
2045
- ##### [textfields](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L55) ios
2197
+ ##### [textfields](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L72) ios
2046
2198
 
2047
2199
  > def textfields value=false
2048
2200
 
@@ -2059,7 +2211,7 @@ __Returns:__
2059
2211
 
2060
2212
  --
2061
2213
 
2062
- ##### [first_textfield](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L62) ios
2214
+ ##### [first_textfield](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L79) ios
2063
2215
 
2064
2216
  > def first_textfield
2065
2217
 
@@ -2071,7 +2223,7 @@ __Returns:__
2071
2223
 
2072
2224
  --
2073
2225
 
2074
- ##### [last_textfield](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L68) ios
2226
+ ##### [last_textfield](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L85) ios
2075
2227
 
2076
2228
  > def last_textfield
2077
2229
 
@@ -2083,7 +2235,7 @@ __Returns:__
2083
2235
 
2084
2236
  --
2085
2237
 
2086
- ##### [textfield_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L75) ios
2238
+ ##### [textfield_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L94) ios
2087
2239
 
2088
2240
  > def textfield_exact value
2089
2241
 
@@ -2099,7 +2251,7 @@ __Returns:__
2099
2251
 
2100
2252
  --
2101
2253
 
2102
- ##### [textfields_exact](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/ios/element/textfield.rb#L82) ios
2254
+ ##### [textfields_exact](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/ios/element/textfield.rb#L101) ios
2103
2255
 
2104
2256
  > def textfields_exact value
2105
2257
 
@@ -2115,7 +2267,7 @@ __Returns:__
2115
2267
 
2116
2268
  --
2117
2269
 
2118
- ##### [value](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/patch.rb#L10)
2270
+ ##### [value](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/patch.rb#L12)
2119
2271
 
2120
2272
  > def value
2121
2273
 
@@ -2125,7 +2277,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
2125
2277
 
2126
2278
  --
2127
2279
 
2128
- ##### [name](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/patch.rb#L17)
2280
+ ##### [name](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/patch.rb#L19)
2129
2281
 
2130
2282
  > def name
2131
2283
 
@@ -2135,7 +2287,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
2135
2287
 
2136
2288
  --
2137
2289
 
2138
- ##### [location_rel](https://github.com/appium/ruby_lib/blob/a13158fb926212d84f26120c3bc5355c8cd34baf/lib/appium_lib/common/patch.rb#L29)
2290
+ ##### [location_rel](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/patch.rb#L31)
2139
2291
 
2140
2292
  > def location_rel
2141
2293
 
@@ -2153,3 +2305,11 @@ __Returns:__
2153
2305
 
2154
2306
  --
2155
2307
 
2308
+ ##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/7c3bc19905d0f008192a59dc7f5a938e3701ec8f/lib/appium_lib/common/patch.rb#L145)
2309
+
2310
+ > DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
2311
+
2312
+
2313
+
2314
+ --
2315
+