appium_lib 9.4.5 → 9.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +224 -224
- data/docs/ios_docs.md +250 -250
- data/lib/appium_lib/common/version.rb +1 -1
- data/release_notes.md +13 -0
- metadata +1 -109
- data/android_tests/Gemfile +0 -2
- data/android_tests/LICENSE-2.0.txt +0 -202
- data/android_tests/Rakefile +0 -68
- data/android_tests/api.apk +0 -0
- data/android_tests/appium.txt +0 -11
- data/android_tests/flaky.txt +0 -1
- data/android_tests/lib/android/specs/android/element/alert.rb +0 -48
- data/android_tests/lib/android/specs/android/element/button.rb +0 -52
- data/android_tests/lib/android/specs/android/element/generic.rb +0 -58
- data/android_tests/lib/android/specs/android/element/text.rb +0 -35
- data/android_tests/lib/android/specs/android/element/textfield.rb +0 -62
- data/android_tests/lib/android/specs/android/helper.rb +0 -111
- data/android_tests/lib/android/specs/android/patch.rb +0 -27
- data/android_tests/lib/android/specs/common/command.rb +0 -52
- data/android_tests/lib/android/specs/common/device.rb +0 -159
- data/android_tests/lib/android/specs/common/device_touchaction.rb +0 -34
- data/android_tests/lib/android/specs/common/element/window.rb +0 -11
- data/android_tests/lib/android/specs/common/helper.rb +0 -112
- data/android_tests/lib/android/specs/common/patch.rb +0 -78
- data/android_tests/lib/android/specs/common/version.rb +0 -9
- data/android_tests/lib/android/specs/common/web_context.rb +0 -60
- data/android_tests/lib/android/specs/device/touch_actions.rb +0 -71
- data/android_tests/lib/android/specs/driver.rb +0 -280
- data/android_tests/lib/android/specs/install.rb +0 -26
- data/android_tests/lib/format.rb +0 -47
- data/android_tests/lib/run.rb +0 -91
- data/android_tests/readme.md +0 -30
- data/grid/README.md +0 -21
- data/grid/appium.txt.ios.example +0 -15
- data/grid/config.json +0 -25
- data/grid/hub_config.json +0 -14
- data/grid/selenium-server-standalone-2.53.1.jar +0 -0
- data/grid/selenium-server-standalone-3.2.0.jar +0 -0
- data/ios_tests/Gemfile +0 -4
- data/ios_tests/LICENSE-2.0.txt +0 -202
- data/ios_tests/Rakefile +0 -54
- data/ios_tests/UICatalog.app.zip +0 -0
- data/ios_tests/UICatalog.app/12-6AM.png +0 -0
- data/ios_tests/UICatalog.app/12-6PM.png +0 -0
- data/ios_tests/UICatalog.app/6-12AM.png +0 -0
- data/ios_tests/UICatalog.app/6-12PM.png +0 -0
- data/ios_tests/UICatalog.app/Default-568h@2x.png +0 -0
- data/ios_tests/UICatalog.app/Default@2x.png +0 -0
- data/ios_tests/UICatalog.app/Info.plist +0 -0
- data/ios_tests/UICatalog.app/PkgInfo +0 -1
- data/ios_tests/UICatalog.app/UIButton_custom.png +0 -0
- data/ios_tests/UICatalog.app/UICatalog +0 -0
- data/ios_tests/UICatalog.app/blueButton.png +0 -0
- data/ios_tests/UICatalog.app/bookmarkImage.png +0 -0
- data/ios_tests/UICatalog.app/bookmarkImageHighlighted.png +0 -0
- data/ios_tests/UICatalog.app/divider.png +0 -0
- data/ios_tests/UICatalog.app/en.lproj/AlertsViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/ButtonsViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/ControlsViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/ImagesViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/Localizable.strings +0 -0
- data/ios_tests/UICatalog.app/en.lproj/MainWindow.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/PickerViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/SearchBarController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/SegmentViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/TextFieldController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/TextViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/ToolbarViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/TransitionViewController.nib +0 -0
- data/ios_tests/UICatalog.app/en.lproj/WebViewController.nib +0 -0
- data/ios_tests/UICatalog.app/orangeslide.png +0 -0
- data/ios_tests/UICatalog.app/scene1.jpg +0 -0
- data/ios_tests/UICatalog.app/scene2.jpg +0 -0
- data/ios_tests/UICatalog.app/scene3.jpg +0 -0
- data/ios_tests/UICatalog.app/scene4.jpg +0 -0
- data/ios_tests/UICatalog.app/scene5.jpg +0 -0
- data/ios_tests/UICatalog.app/searchBarBackground.png +0 -0
- data/ios_tests/UICatalog.app/segment_check.png +0 -0
- data/ios_tests/UICatalog.app/segment_search.png +0 -0
- data/ios_tests/UICatalog.app/segment_tools.png +0 -0
- data/ios_tests/UICatalog.app/segmentedBackground.png +0 -0
- data/ios_tests/UICatalog.app/slider_ball.png +0 -0
- data/ios_tests/UICatalog.app/toolbarBackground.png +0 -0
- data/ios_tests/UICatalog.app/whiteButton.png +0 -0
- data/ios_tests/UICatalog.app/yellowslide.png +0 -0
- data/ios_tests/appium.txt +0 -15
- data/ios_tests/data/unicode.txt +0 -1
- data/ios_tests/flaky.txt +0 -1
- data/ios_tests/lib/common.rb +0 -84
- data/ios_tests/lib/format.rb +0 -23
- data/ios_tests/lib/ios/specs/common/command.rb +0 -45
- data/ios_tests/lib/ios/specs/common/element/window.rb +0 -17
- data/ios_tests/lib/ios/specs/common/helper.rb +0 -228
- data/ios_tests/lib/ios/specs/common/patch.rb +0 -54
- data/ios_tests/lib/ios/specs/common/version.rb +0 -17
- data/ios_tests/lib/ios/specs/common/web_context.rb +0 -15
- data/ios_tests/lib/ios/specs/device/device.rb +0 -130
- data/ios_tests/lib/ios/specs/device/multi_touch.rb +0 -31
- data/ios_tests/lib/ios/specs/device/touch_actions.rb +0 -90
- data/ios_tests/lib/ios/specs/driver.rb +0 -308
- data/ios_tests/lib/ios/specs/ios/element/alert.rb +0 -51
- data/ios_tests/lib/ios/specs/ios/element/button.rb +0 -58
- data/ios_tests/lib/ios/specs/ios/element/generic.rb +0 -37
- data/ios_tests/lib/ios/specs/ios/element/text.rb +0 -63
- data/ios_tests/lib/ios/specs/ios/element/textfield.rb +0 -135
- data/ios_tests/lib/ios/specs/ios/helper.rb +0 -59
- data/ios_tests/lib/ios/specs/ios/mobile_methods.rb +0 -20
- data/ios_tests/lib/ios/specs/ios/patch.rb +0 -34
- data/ios_tests/lib/ios/specs/ios/xcuitest_gestures.rb +0 -110
- data/ios_tests/lib/run.rb +0 -4
- data/ios_tests/readme.md +0 -31
- data/ios_tests/upload/sauce_storage.rb +0 -67
- data/ios_tests/upload/upload.rb +0 -6
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L76)
|
2
2
|
|
3
3
|
> def self.load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L112)
|
31
31
|
|
32
32
|
> def self.load_settings(opts = {})
|
33
33
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
57
57
|
|
58
58
|
--
|
59
59
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L118)
|
61
61
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
63
63
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L150)
|
79
79
|
|
80
80
|
> def self.symbolize_keys(hash)
|
81
81
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L171)
|
90
90
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
92
92
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L224)
|
108
108
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
110
110
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L259)
|
138
138
|
|
139
139
|
> def self.init_caps_for_appium(opts_caps = {})
|
140
140
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
153
153
|
|
154
154
|
--
|
155
155
|
|
156
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L277)
|
157
157
|
|
158
158
|
> def global_webdriver_http_sleep
|
159
159
|
|
@@ -161,7 +161,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L277)
|
165
165
|
|
166
166
|
> def global_webdriver_http_sleep=(value)
|
167
167
|
|
@@ -169,7 +169,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
169
169
|
|
170
170
|
--
|
171
171
|
|
172
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
172
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L279)
|
173
173
|
|
174
174
|
> def caps
|
175
175
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
177
177
|
|
178
178
|
--
|
179
179
|
|
180
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L281)
|
181
181
|
|
182
182
|
> def custom_url
|
183
183
|
|
@@ -185,7 +185,7 @@ Custom URL for the selenium server
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L283)
|
189
189
|
|
190
190
|
> def export_session
|
191
191
|
|
@@ -193,7 +193,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L288)
|
197
197
|
|
198
198
|
> def default_wait
|
199
199
|
|
@@ -207,7 +207,7 @@ __Returns:__
|
|
207
207
|
|
208
208
|
--
|
209
209
|
|
210
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
210
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L290)
|
211
211
|
|
212
212
|
> def sauce_username
|
213
213
|
|
@@ -215,7 +215,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
215
215
|
|
216
216
|
--
|
217
217
|
|
218
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
218
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L292)
|
219
219
|
|
220
220
|
> def sauce_access_key
|
221
221
|
|
@@ -223,7 +223,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
223
223
|
|
224
224
|
--
|
225
225
|
|
226
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L294)
|
227
227
|
|
228
228
|
> def sauce_endpoint
|
229
229
|
|
@@ -231,7 +231,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L296)
|
235
235
|
|
236
236
|
> def appium_port
|
237
237
|
|
@@ -239,7 +239,7 @@ Appium's server port
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L298)
|
243
243
|
|
244
244
|
> def appium_device
|
245
245
|
|
@@ -247,7 +247,7 @@ Device type to request from the appium server
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L301)
|
251
251
|
|
252
252
|
> def automation_name
|
253
253
|
|
@@ -256,7 +256,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L303)
|
260
260
|
|
261
261
|
> def appium_server_status
|
262
262
|
|
@@ -264,7 +264,7 @@ Appium's server version
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L305)
|
268
268
|
|
269
269
|
> def appium_debug
|
270
270
|
|
@@ -272,7 +272,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L307)
|
276
276
|
|
277
277
|
> def listener
|
278
278
|
|
@@ -280,7 +280,7 @@ instance of AbstractEventListener for logging support
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L310)
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L313)
|
296
296
|
|
297
297
|
> def http_client
|
298
298
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
304
304
|
|
305
305
|
--
|
306
306
|
|
307
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L318)
|
308
308
|
|
309
309
|
> def appium_wait_timeout
|
310
310
|
|
@@ -318,7 +318,7 @@ __Returns:__
|
|
318
318
|
|
319
319
|
--
|
320
320
|
|
321
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L323)
|
322
322
|
|
323
323
|
> def appium_wait_interval
|
324
324
|
|
@@ -332,7 +332,7 @@ __Returns:__
|
|
332
332
|
|
333
333
|
--
|
334
334
|
|
335
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
335
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L363)
|
336
336
|
|
337
337
|
> def initialize(opts = {})
|
338
338
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
348
348
|
|
349
349
|
--
|
350
350
|
|
351
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
351
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L441)
|
352
352
|
|
353
353
|
> def driver_attributes
|
354
354
|
|
@@ -356,7 +356,7 @@ Returns a hash of the driver attributes
|
|
356
356
|
|
357
357
|
--
|
358
358
|
|
359
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
359
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L466)
|
360
360
|
|
361
361
|
> def device_is_android?
|
362
362
|
|
@@ -368,7 +368,7 @@ __Returns:__
|
|
368
368
|
|
369
369
|
--
|
370
370
|
|
371
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
371
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L472)
|
372
372
|
|
373
373
|
> def automation_name_is_xcuitest?
|
374
374
|
|
@@ -380,7 +380,7 @@ __Returns:__
|
|
380
380
|
|
381
381
|
--
|
382
382
|
|
383
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
383
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L478)
|
384
384
|
|
385
385
|
> def automation_name_is_uiautomator2?
|
386
386
|
|
@@ -392,7 +392,7 @@ __Returns:__
|
|
392
392
|
|
393
393
|
--
|
394
394
|
|
395
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
395
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L485)
|
396
396
|
|
397
397
|
> def check_server_version_xcuitest
|
398
398
|
|
@@ -405,7 +405,7 @@ __Returns:__
|
|
405
405
|
|
406
406
|
--
|
407
407
|
|
408
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
408
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L506)
|
409
409
|
|
410
410
|
> def appium_server_version
|
411
411
|
|
@@ -426,7 +426,7 @@ __Returns:__
|
|
426
426
|
|
427
427
|
--
|
428
428
|
|
429
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
429
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L523)
|
430
430
|
|
431
431
|
> def appium_client_version
|
432
432
|
|
@@ -444,7 +444,7 @@ __Returns:__
|
|
444
444
|
|
445
445
|
--
|
446
446
|
|
447
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
447
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L535)
|
448
448
|
|
449
449
|
> def self.absolute_app_path(opts)
|
450
450
|
|
@@ -461,7 +461,7 @@ __Returns:__
|
|
461
461
|
|
462
462
|
--
|
463
463
|
|
464
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L568)
|
465
465
|
|
466
466
|
> def server_url
|
467
467
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L579)
|
477
477
|
|
478
478
|
> def restart
|
479
479
|
|
@@ -485,7 +485,7 @@ __Returns:__
|
|
485
485
|
|
486
486
|
--
|
487
487
|
|
488
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L590)
|
489
489
|
|
490
490
|
> def screenshot(png_save_path)
|
491
491
|
|
@@ -503,7 +503,7 @@ __Returns:__
|
|
503
503
|
|
504
504
|
--
|
505
505
|
|
506
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
506
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L597)
|
507
507
|
|
508
508
|
> def driver_quit
|
509
509
|
|
@@ -515,7 +515,7 @@ __Returns:__
|
|
515
515
|
|
516
516
|
--
|
517
517
|
|
518
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
518
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L607)
|
519
519
|
|
520
520
|
> def start_driver
|
521
521
|
|
@@ -527,7 +527,7 @@ __Returns:__
|
|
527
527
|
|
528
528
|
--
|
529
529
|
|
530
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
530
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L645)
|
531
531
|
|
532
532
|
> def no_wait
|
533
533
|
|
@@ -535,7 +535,7 @@ Set implicit wait to zero.
|
|
535
535
|
|
536
536
|
--
|
537
537
|
|
538
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
538
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L659)
|
539
539
|
|
540
540
|
> def set_wait(timeout = nil)
|
541
541
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L676)
|
561
561
|
|
562
562
|
> def exists(pre_check = 0, post_check = @default_wait)
|
563
563
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L700)
|
585
585
|
|
586
586
|
> def execute_script(script, *args)
|
587
587
|
|
@@ -599,7 +599,7 @@ __Returns:__
|
|
599
599
|
|
600
600
|
--
|
601
601
|
|
602
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
602
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L722)
|
603
603
|
|
604
604
|
> def find_elements(*args)
|
605
605
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L737)
|
629
629
|
|
630
630
|
> def find_element(*args)
|
631
631
|
|
@@ -646,7 +646,7 @@ __Returns:__
|
|
646
646
|
|
647
647
|
--
|
648
648
|
|
649
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
649
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L750)
|
650
650
|
|
651
651
|
> def set_location(opts = {})
|
652
652
|
|
@@ -662,7 +662,7 @@ __Returns:__
|
|
662
662
|
|
663
663
|
--
|
664
664
|
|
665
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
665
|
+
##### [x](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L760)
|
666
666
|
|
667
667
|
> def x
|
668
668
|
|
@@ -675,7 +675,7 @@ __Returns:__
|
|
675
675
|
|
676
676
|
--
|
677
677
|
|
678
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
678
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/driver.rb#L769)
|
679
679
|
|
680
680
|
> def set_automation_name_if_nil
|
681
681
|
|
@@ -684,7 +684,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
684
684
|
|
685
685
|
--
|
686
686
|
|
687
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
687
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/logger.rb#L13)
|
688
688
|
|
689
689
|
> def logger=(value)
|
690
690
|
|
@@ -696,7 +696,7 @@ __Parameters:__
|
|
696
696
|
|
697
697
|
--
|
698
698
|
|
699
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
699
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/logger.rb#L17)
|
700
700
|
|
701
701
|
> def logger
|
702
702
|
|
@@ -704,7 +704,7 @@ __Parameters:__
|
|
704
704
|
|
705
705
|
--
|
706
706
|
|
707
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
707
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L7)
|
708
708
|
|
709
709
|
> def app_strings
|
710
710
|
|
@@ -715,7 +715,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
715
715
|
|
716
716
|
--
|
717
717
|
|
718
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
718
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L13)
|
719
719
|
|
720
720
|
> def background_app
|
721
721
|
|
@@ -724,7 +724,7 @@ This is a blocking application
|
|
724
724
|
|
725
725
|
--
|
726
726
|
|
727
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
727
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L24)
|
728
728
|
|
729
729
|
> def current_activity
|
730
730
|
|
@@ -732,7 +732,7 @@ This is a blocking application
|
|
732
732
|
|
733
733
|
--
|
734
734
|
|
735
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
735
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L26)
|
736
736
|
|
737
737
|
> def get_system_bars
|
738
738
|
|
@@ -747,7 +747,7 @@ __Returns:__
|
|
747
747
|
|
748
748
|
--
|
749
749
|
|
750
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
750
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L34)
|
751
751
|
|
752
752
|
> def get_display_density
|
753
753
|
|
@@ -762,7 +762,7 @@ __Returns:__
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L42)
|
766
766
|
|
767
767
|
> def is_keyboard_shown
|
768
768
|
|
@@ -777,7 +777,7 @@ __Returns:__
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L50)
|
781
781
|
|
782
782
|
> def launch_app
|
783
783
|
|
@@ -785,7 +785,7 @@ Start the simulator and application configured with desired capabilities
|
|
785
785
|
|
786
786
|
--
|
787
787
|
|
788
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L53)
|
789
789
|
|
790
790
|
> def reset
|
791
791
|
|
@@ -793,7 +793,7 @@ Reset the device, relaunching the application.
|
|
793
793
|
|
794
794
|
--
|
795
795
|
|
796
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
796
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L56)
|
797
797
|
|
798
798
|
> def shake
|
799
799
|
|
@@ -801,7 +801,7 @@ Cause the device to shake
|
|
801
801
|
|
802
802
|
--
|
803
803
|
|
804
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L59)
|
805
805
|
|
806
806
|
> def toggle_flight_mode
|
807
807
|
|
@@ -809,7 +809,7 @@ Toggle flight mode on or off
|
|
809
809
|
|
810
810
|
--
|
811
811
|
|
812
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
812
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L62)
|
813
813
|
|
814
814
|
> def device_locked?
|
815
815
|
|
@@ -817,7 +817,7 @@ Toggle flight mode on or off
|
|
817
817
|
|
818
818
|
--
|
819
819
|
|
820
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
820
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L64)
|
821
821
|
|
822
822
|
> def hide_keyboard
|
823
823
|
|
@@ -834,7 +834,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
834
834
|
|
835
835
|
--
|
836
836
|
|
837
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L77)
|
838
838
|
|
839
839
|
> def press_keycode
|
840
840
|
|
@@ -849,7 +849,7 @@ __Parameters:__
|
|
849
849
|
|
850
850
|
--
|
851
851
|
|
852
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
852
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L83)
|
853
853
|
|
854
854
|
> def long_press_keycode
|
855
855
|
|
@@ -864,7 +864,7 @@ __Parameters:__
|
|
864
864
|
|
865
865
|
--
|
866
866
|
|
867
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
867
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L89)
|
868
868
|
|
869
869
|
> def push_file
|
870
870
|
|
@@ -878,7 +878,7 @@ __Parameters:__
|
|
878
878
|
|
879
879
|
--
|
880
880
|
|
881
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
881
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L94)
|
882
882
|
|
883
883
|
> def pull_file
|
884
884
|
|
@@ -895,7 +895,7 @@ __Parameters:__
|
|
895
895
|
|
896
896
|
--
|
897
897
|
|
898
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
898
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L104)
|
899
899
|
|
900
900
|
> def pull_folder
|
901
901
|
|
@@ -910,7 +910,7 @@ __Parameters:__
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L112)
|
914
914
|
|
915
915
|
> def touch_id
|
916
916
|
|
@@ -927,7 +927,7 @@ Defaults to true.
|
|
927
927
|
|
928
928
|
--
|
929
929
|
|
930
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
930
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L121)
|
931
931
|
|
932
932
|
> def toggle_touch_id_enrollment
|
933
933
|
|
@@ -935,7 +935,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
935
935
|
|
936
936
|
--
|
937
937
|
|
938
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
938
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L124)
|
939
939
|
|
940
940
|
> def end_coverage
|
941
941
|
|
@@ -949,7 +949,7 @@ __Parameters:__
|
|
949
949
|
|
950
950
|
--
|
951
951
|
|
952
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
952
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L129)
|
953
953
|
|
954
954
|
> def get_settings
|
955
955
|
|
@@ -957,7 +957,7 @@ Get appium Settings for current test session
|
|
957
957
|
|
958
958
|
--
|
959
959
|
|
960
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
960
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L132)
|
961
961
|
|
962
962
|
> def update_settings
|
963
963
|
|
@@ -969,7 +969,7 @@ __Parameters:__
|
|
969
969
|
|
970
970
|
--
|
971
971
|
|
972
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
972
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L136)
|
973
973
|
|
974
974
|
> def start_activity
|
975
975
|
|
@@ -983,7 +983,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
983
983
|
|
984
984
|
--
|
985
985
|
|
986
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
986
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L150)
|
987
987
|
|
988
988
|
> def get_network_connection
|
989
989
|
|
@@ -992,7 +992,7 @@ See set_network_connection method for return value
|
|
992
992
|
|
993
993
|
--
|
994
994
|
|
995
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
995
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L154)
|
996
996
|
|
997
997
|
> def set_network_connection
|
998
998
|
|
@@ -1011,7 +1011,7 @@ __Parameters:__
|
|
1011
1011
|
|
1012
1012
|
--
|
1013
1013
|
|
1014
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L167)
|
1015
1015
|
|
1016
1016
|
> def set_immediate_value
|
1017
1017
|
|
@@ -1025,7 +1025,7 @@ set_immediate_value element, 'hello'
|
|
1025
1025
|
|
1026
1026
|
--
|
1027
1027
|
|
1028
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L176)
|
1029
1029
|
|
1030
1030
|
> def get_performance_data_types
|
1031
1031
|
|
@@ -1039,7 +1039,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1039
1039
|
|
1040
1040
|
--
|
1041
1041
|
|
1042
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1042
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L438)
|
1043
1043
|
|
1044
1044
|
> def extend_search_contexts
|
1045
1045
|
|
@@ -1047,7 +1047,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1047
1047
|
|
1048
1048
|
--
|
1049
1049
|
|
1050
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1050
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L438)
|
1051
1051
|
|
1052
1052
|
> def find_element_with_appium
|
1053
1053
|
|
@@ -1055,7 +1055,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1055
1055
|
|
1056
1056
|
--
|
1057
1057
|
|
1058
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1058
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L438)
|
1059
1059
|
|
1060
1060
|
> def find_elements_with_appium
|
1061
1061
|
|
@@ -1067,7 +1067,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1067
1067
|
|
1068
1068
|
--
|
1069
1069
|
|
1070
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1070
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L469)
|
1071
1071
|
|
1072
1072
|
> def add_touch_actions
|
1073
1073
|
|
@@ -1075,7 +1075,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1075
1075
|
|
1076
1076
|
--
|
1077
1077
|
|
1078
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1078
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L492)
|
1079
1079
|
|
1080
1080
|
> def add_ime_actions
|
1081
1081
|
|
@@ -1083,7 +1083,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1083
1083
|
|
1084
1084
|
--
|
1085
1085
|
|
1086
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1086
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L567)
|
1087
1087
|
|
1088
1088
|
> def set_context
|
1089
1089
|
|
@@ -1098,7 +1098,7 @@ __Parameters:__
|
|
1098
1098
|
|
1099
1099
|
--
|
1100
1100
|
|
1101
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L575)
|
1102
1102
|
|
1103
1103
|
> def current_context
|
1104
1104
|
|
@@ -1110,7 +1110,7 @@ __Returns:__
|
|
1110
1110
|
|
1111
1111
|
--
|
1112
1112
|
|
1113
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1113
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L578)
|
1114
1114
|
|
1115
1115
|
> def available_contexts
|
1116
1116
|
|
@@ -1122,7 +1122,7 @@ __Returns:__
|
|
1122
1122
|
|
1123
1123
|
--
|
1124
1124
|
|
1125
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L588)
|
1126
1126
|
|
1127
1127
|
> def within_context(context)
|
1128
1128
|
|
@@ -1138,7 +1138,7 @@ __Parameters:__
|
|
1138
1138
|
|
1139
1139
|
--
|
1140
1140
|
|
1141
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/device.rb#L596)
|
1142
1142
|
|
1143
1143
|
> def switch_to_default_context
|
1144
1144
|
|
@@ -1146,7 +1146,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1146
1146
|
|
1147
1147
|
--
|
1148
1148
|
|
1149
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L28)
|
1150
1150
|
|
1151
1151
|
> def pinch(percentage = 25, auto_perform = true)
|
1152
1152
|
|
@@ -1165,7 +1165,7 @@ __Parameters:__
|
|
1165
1165
|
|
1166
1166
|
--
|
1167
1167
|
|
1168
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L57)
|
1169
1169
|
|
1170
1170
|
> def zoom(percentage = 200, auto_perform = true)
|
1171
1171
|
|
@@ -1184,7 +1184,7 @@ __Parameters:__
|
|
1184
1184
|
|
1185
1185
|
--
|
1186
1186
|
|
1187
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1187
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L79)
|
1188
1188
|
|
1189
1189
|
> def pinch_for_xcuitest(rate)
|
1190
1190
|
|
@@ -1192,7 +1192,7 @@ __Parameters:__
|
|
1192
1192
|
|
1193
1193
|
--
|
1194
1194
|
|
1195
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1195
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L94)
|
1196
1196
|
|
1197
1197
|
> def pinch_android(rate)
|
1198
1198
|
|
@@ -1200,7 +1200,7 @@ __Parameters:__
|
|
1200
1200
|
|
1201
1201
|
--
|
1202
1202
|
|
1203
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1203
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L108)
|
1204
1204
|
|
1205
1205
|
> def pinch_ios(rate)
|
1206
1206
|
|
@@ -1208,7 +1208,7 @@ __Parameters:__
|
|
1208
1208
|
|
1209
1209
|
--
|
1210
1210
|
|
1211
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1211
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L122)
|
1212
1212
|
|
1213
1213
|
> def zoom_for_xcuitest(rate)
|
1214
1214
|
|
@@ -1216,7 +1216,7 @@ __Parameters:__
|
|
1216
1216
|
|
1217
1217
|
--
|
1218
1218
|
|
1219
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L137)
|
1220
1220
|
|
1221
1221
|
> def zoom_android(rate)
|
1222
1222
|
|
@@ -1224,7 +1224,7 @@ __Parameters:__
|
|
1224
1224
|
|
1225
1225
|
--
|
1226
1226
|
|
1227
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1227
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L151)
|
1228
1228
|
|
1229
1229
|
> def zoom_ios(rate)
|
1230
1230
|
|
@@ -1232,7 +1232,7 @@ __Parameters:__
|
|
1232
1232
|
|
1233
1233
|
--
|
1234
1234
|
|
1235
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L166)
|
1236
1236
|
|
1237
1237
|
> def actions
|
1238
1238
|
|
@@ -1240,7 +1240,7 @@ self
|
|
1240
1240
|
|
1241
1241
|
--
|
1242
1242
|
|
1243
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L169)
|
1244
1244
|
|
1245
1245
|
> def initialize
|
1246
1246
|
|
@@ -1252,7 +1252,7 @@ __Returns:__
|
|
1252
1252
|
|
1253
1253
|
--
|
1254
1254
|
|
1255
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [add](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L175)
|
1256
1256
|
|
1257
1257
|
> def add(chain)
|
1258
1258
|
|
@@ -1264,7 +1264,7 @@ __Parameters:__
|
|
1264
1264
|
|
1265
1265
|
--
|
1266
1266
|
|
1267
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/multi_touch.rb#L180)
|
1268
1268
|
|
1269
1269
|
> def perform
|
1270
1270
|
|
@@ -1272,7 +1272,7 @@ Ask Appium to perform the actions
|
|
1272
1272
|
|
1273
1273
|
--
|
1274
1274
|
|
1275
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L22)
|
1276
1276
|
|
1277
1277
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1278
1278
|
|
@@ -1280,7 +1280,7 @@ Ask Appium to perform the actions
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L23)
|
1284
1284
|
|
1285
1285
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1286
1286
|
|
@@ -1288,7 +1288,7 @@ Ask Appium to perform the actions
|
|
1288
1288
|
|
1289
1289
|
--
|
1290
1290
|
|
1291
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L37)
|
1292
1292
|
|
1293
1293
|
> def actions
|
1294
1294
|
|
@@ -1296,7 +1296,7 @@ Returns the value of attribute actions
|
|
1296
1296
|
|
1297
1297
|
--
|
1298
1298
|
|
1299
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L39)
|
1300
1300
|
|
1301
1301
|
> def initialize
|
1302
1302
|
|
@@ -1308,7 +1308,7 @@ __Returns:__
|
|
1308
1308
|
|
1309
1309
|
--
|
1310
1310
|
|
1311
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L50)
|
1312
1312
|
|
1313
1313
|
> def move_to(opts)
|
1314
1314
|
|
@@ -1322,7 +1322,7 @@ __Parameters:__
|
|
1322
1322
|
|
1323
1323
|
--
|
1324
1324
|
|
1325
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L64)
|
1326
1326
|
|
1327
1327
|
> def long_press(opts)
|
1328
1328
|
|
@@ -1343,7 +1343,7 @@ __Parameters:__
|
|
1343
1343
|
|
1344
1344
|
--
|
1345
1345
|
|
1346
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1346
|
+
##### [press](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L76)
|
1347
1347
|
|
1348
1348
|
> def press(opts)
|
1349
1349
|
|
@@ -1356,7 +1356,7 @@ __Parameters:__
|
|
1356
1356
|
|
1357
1357
|
--
|
1358
1358
|
|
1359
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [release](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L87)
|
1360
1360
|
|
1361
1361
|
> def release(opts = nil)
|
1362
1362
|
|
@@ -1368,7 +1368,7 @@ __Parameters:__
|
|
1368
1368
|
|
1369
1369
|
--
|
1370
1370
|
|
1371
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L99)
|
1372
1372
|
|
1373
1373
|
> def tap(opts)
|
1374
1374
|
|
@@ -1381,7 +1381,7 @@ __Parameters:__
|
|
1381
1381
|
|
1382
1382
|
--
|
1383
1383
|
|
1384
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1384
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L112)
|
1385
1385
|
|
1386
1386
|
> def double_tap(opts)
|
1387
1387
|
|
@@ -1393,7 +1393,7 @@ __Parameters:__
|
|
1393
1393
|
|
1394
1394
|
--
|
1395
1395
|
|
1396
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L123)
|
1397
1397
|
|
1398
1398
|
> def two_finger_tap(opts)
|
1399
1399
|
|
@@ -1405,7 +1405,7 @@ __Parameters:__
|
|
1405
1405
|
|
1406
1406
|
--
|
1407
1407
|
|
1408
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1408
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L131)
|
1409
1409
|
|
1410
1410
|
> def wait(milliseconds)
|
1411
1411
|
|
@@ -1417,7 +1417,7 @@ __Parameters:__
|
|
1417
1417
|
|
1418
1418
|
--
|
1419
1419
|
|
1420
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L154)
|
1421
1421
|
|
1422
1422
|
> def swipe(opts, ele = nil)
|
1423
1423
|
|
@@ -1438,7 +1438,7 @@ __Parameters:__
|
|
1438
1438
|
|
1439
1439
|
--
|
1440
1440
|
|
1441
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L179)
|
1442
1442
|
|
1443
1443
|
> def perform
|
1444
1444
|
|
@@ -1446,7 +1446,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1446
1446
|
|
1447
1447
|
--
|
1448
1448
|
|
1449
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L186)
|
1450
1450
|
|
1451
1451
|
> def cancel
|
1452
1452
|
|
@@ -1454,7 +1454,7 @@ Does nothing, currently.
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L192)
|
1458
1458
|
|
1459
1459
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1460
1460
|
|
@@ -1462,7 +1462,7 @@ Does nothing, currently.
|
|
1462
1462
|
|
1463
1463
|
--
|
1464
1464
|
|
1465
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L210)
|
1466
1466
|
|
1467
1467
|
> def chain_method(method, args = nil)
|
1468
1468
|
|
@@ -1470,7 +1470,7 @@ Does nothing, currently.
|
|
1470
1470
|
|
1471
1471
|
--
|
1472
1472
|
|
1473
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/device/touch_actions.rb#L216)
|
1474
1474
|
|
1475
1475
|
> def args_with_ele_ref(args)
|
1476
1476
|
|
@@ -1478,7 +1478,7 @@ Does nothing, currently.
|
|
1478
1478
|
|
1479
1479
|
--
|
1480
1480
|
|
1481
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/wait.rb#L9)
|
1482
1482
|
|
1483
1483
|
> def _generic_wait(opts = {})
|
1484
1484
|
|
@@ -1487,7 +1487,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1487
1487
|
|
1488
1488
|
--
|
1489
1489
|
|
1490
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1490
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/wait.rb#L48)
|
1491
1491
|
|
1492
1492
|
> def _process_wait_opts(opts)
|
1493
1493
|
|
@@ -1495,7 +1495,7 @@ process opts before calling _generic_wait
|
|
1495
1495
|
|
1496
1496
|
--
|
1497
1497
|
|
1498
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1498
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/wait.rb#L69)
|
1499
1499
|
|
1500
1500
|
> def wait_true(opts = {}, &block)
|
1501
1501
|
|
@@ -1515,7 +1515,7 @@ __Parameters:__
|
|
1515
1515
|
|
1516
1516
|
--
|
1517
1517
|
|
1518
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1518
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/wait.rb#L87)
|
1519
1519
|
|
1520
1520
|
> def wait(opts = {}, &block)
|
1521
1521
|
|
@@ -1533,7 +1533,7 @@ __Parameters:__
|
|
1533
1533
|
|
1534
1534
|
--
|
1535
1535
|
|
1536
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1536
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L24)
|
1537
1537
|
|
1538
1538
|
> def ignore
|
1539
1539
|
|
@@ -1541,7 +1541,7 @@ Return yield and ignore any exceptions.
|
|
1541
1541
|
|
1542
1542
|
--
|
1543
1543
|
|
1544
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [back](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L31)
|
1545
1545
|
|
1546
1546
|
> def back
|
1547
1547
|
|
@@ -1553,7 +1553,7 @@ __Returns:__
|
|
1553
1553
|
|
1554
1554
|
--
|
1555
1555
|
|
1556
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1556
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L36)
|
1557
1557
|
|
1558
1558
|
> def session_id
|
1559
1559
|
|
@@ -1561,7 +1561,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1561
1561
|
|
1562
1562
|
--
|
1563
1563
|
|
1564
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1564
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L44)
|
1565
1565
|
|
1566
1566
|
> def xpath(xpath_str)
|
1567
1567
|
|
@@ -1577,7 +1577,7 @@ __Returns:__
|
|
1577
1577
|
|
1578
1578
|
--
|
1579
1579
|
|
1580
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1580
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L52)
|
1581
1581
|
|
1582
1582
|
> def xpaths(xpath_str)
|
1583
1583
|
|
@@ -1593,7 +1593,7 @@ __Returns:__
|
|
1593
1593
|
|
1594
1594
|
--
|
1595
1595
|
|
1596
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1596
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L56)
|
1597
1597
|
|
1598
1598
|
> def _print_source(source)
|
1599
1599
|
|
@@ -1601,7 +1601,7 @@ __Returns:__
|
|
1601
1601
|
|
1602
1602
|
--
|
1603
1603
|
|
1604
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1604
|
+
##### [result](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L69)
|
1605
1605
|
|
1606
1606
|
> def result
|
1607
1607
|
|
@@ -1609,7 +1609,7 @@ Returns the value of attribute result
|
|
1609
1609
|
|
1610
1610
|
--
|
1611
1611
|
|
1612
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L71)
|
1613
1613
|
|
1614
1614
|
> def initialize
|
1615
1615
|
|
@@ -1621,7 +1621,7 @@ __Returns:__
|
|
1621
1621
|
|
1622
1622
|
--
|
1623
1623
|
|
1624
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1624
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L75)
|
1625
1625
|
|
1626
1626
|
> def reset
|
1627
1627
|
|
@@ -1629,7 +1629,7 @@ __Returns:__
|
|
1629
1629
|
|
1630
1630
|
--
|
1631
1631
|
|
1632
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1632
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L80)
|
1633
1633
|
|
1634
1634
|
> def start_element(name, attrs = [])
|
1635
1635
|
|
@@ -1637,7 +1637,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1637
1637
|
|
1638
1638
|
--
|
1639
1639
|
|
1640
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1640
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L86)
|
1641
1641
|
|
1642
1642
|
> def formatted_result
|
1643
1643
|
|
@@ -1645,7 +1645,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1645
1645
|
|
1646
1646
|
--
|
1647
1647
|
|
1648
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1648
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L97)
|
1649
1649
|
|
1650
1650
|
> def get_page_class
|
1651
1651
|
|
@@ -1653,7 +1653,7 @@ Returns a string of class counts of visible elements.
|
|
1653
1653
|
|
1654
1654
|
--
|
1655
1655
|
|
1656
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1656
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L108)
|
1657
1657
|
|
1658
1658
|
> def page_class
|
1659
1659
|
|
@@ -1662,7 +1662,7 @@ Useful for appium_console.
|
|
1662
1662
|
|
1663
1663
|
--
|
1664
1664
|
|
1665
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1665
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L118)
|
1666
1666
|
|
1667
1667
|
> def px_to_window_rel(opts = {})
|
1668
1668
|
|
@@ -1674,7 +1674,7 @@ px_to_window_rel x: 50, y: 150
|
|
1674
1674
|
|
1675
1675
|
--
|
1676
1676
|
|
1677
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1677
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L137)
|
1678
1678
|
|
1679
1679
|
> def xml_keys(target)
|
1680
1680
|
|
@@ -1690,7 +1690,7 @@ __Returns:__
|
|
1690
1690
|
|
1691
1691
|
--
|
1692
1692
|
|
1693
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1693
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L145)
|
1694
1694
|
|
1695
1695
|
> def xml_values(target)
|
1696
1696
|
|
@@ -1706,7 +1706,7 @@ __Returns:__
|
|
1706
1706
|
|
1707
1707
|
--
|
1708
1708
|
|
1709
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1709
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L153)
|
1710
1710
|
|
1711
1711
|
> def resolve_id(id)
|
1712
1712
|
|
@@ -1722,7 +1722,7 @@ __Returns:__
|
|
1722
1722
|
|
1723
1723
|
--
|
1724
1724
|
|
1725
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L159)
|
1726
1726
|
|
1727
1727
|
> def filter
|
1728
1728
|
|
@@ -1730,7 +1730,7 @@ Returns the value of attribute filter
|
|
1730
1730
|
|
1731
1731
|
--
|
1732
1732
|
|
1733
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1733
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L162)
|
1734
1734
|
|
1735
1735
|
> def filter=(value)
|
1736
1736
|
|
@@ -1738,7 +1738,7 @@ convert to string to support symbols
|
|
1738
1738
|
|
1739
1739
|
--
|
1740
1740
|
|
1741
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L168)
|
1742
1742
|
|
1743
1743
|
> def initialize
|
1744
1744
|
|
@@ -1750,7 +1750,7 @@ __Returns:__
|
|
1750
1750
|
|
1751
1751
|
--
|
1752
1752
|
|
1753
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1753
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L173)
|
1754
1754
|
|
1755
1755
|
> def reset
|
1756
1756
|
|
@@ -1758,7 +1758,7 @@ __Returns:__
|
|
1758
1758
|
|
1759
1759
|
--
|
1760
1760
|
|
1761
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1761
|
+
##### [result](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L179)
|
1762
1762
|
|
1763
1763
|
> def result
|
1764
1764
|
|
@@ -1766,7 +1766,7 @@ __Returns:__
|
|
1766
1766
|
|
1767
1767
|
--
|
1768
1768
|
|
1769
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1769
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L195)
|
1770
1770
|
|
1771
1771
|
> def start_element(name, attrs = [])
|
1772
1772
|
|
@@ -1774,7 +1774,7 @@ __Returns:__
|
|
1774
1774
|
|
1775
1775
|
--
|
1776
1776
|
|
1777
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1777
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L204)
|
1778
1778
|
|
1779
1779
|
> def end_element(name)
|
1780
1780
|
|
@@ -1782,7 +1782,7 @@ __Returns:__
|
|
1782
1782
|
|
1783
1783
|
--
|
1784
1784
|
|
1785
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L210)
|
1786
1786
|
|
1787
1787
|
> def characters(chars)
|
1788
1788
|
|
@@ -1790,7 +1790,7 @@ __Returns:__
|
|
1790
1790
|
|
1791
1791
|
--
|
1792
1792
|
|
1793
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1793
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/helper.rb#L217)
|
1794
1794
|
|
1795
1795
|
> def _no_such_element
|
1796
1796
|
|
@@ -1798,7 +1798,7 @@ __Returns:__
|
|
1798
1798
|
|
1799
1799
|
--
|
1800
1800
|
|
1801
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/command.rb#L4)
|
1802
1802
|
|
1803
1803
|
> COMMAND_NO_ARG = {
|
1804
1804
|
|
@@ -1806,7 +1806,7 @@ __Returns:__
|
|
1806
1806
|
|
1807
1807
|
--
|
1808
1808
|
|
1809
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/command.rb#L27)
|
1810
1810
|
|
1811
1811
|
> COMMAND = {
|
1812
1812
|
|
@@ -1814,7 +1814,7 @@ __Returns:__
|
|
1814
1814
|
|
1815
1815
|
--
|
1816
1816
|
|
1817
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/element/window.rb#L5)
|
1818
1818
|
|
1819
1819
|
> def window_size
|
1820
1820
|
|
@@ -1822,7 +1822,7 @@ Get the window's size
|
|
1822
1822
|
|
1823
1823
|
--
|
1824
1824
|
|
1825
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1825
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/search_context.rb#L5)
|
1826
1826
|
|
1827
1827
|
> FINDERS = {
|
1828
1828
|
|
@@ -1830,7 +1830,7 @@ rubocop:disable Style/MutableConstant
|
|
1830
1830
|
|
1831
1831
|
--
|
1832
1832
|
|
1833
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1833
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L4) ios
|
1834
1834
|
|
1835
1835
|
> def filter
|
1836
1836
|
|
@@ -1838,7 +1838,7 @@ Returns the value of attribute filter
|
|
1838
1838
|
|
1839
1839
|
--
|
1840
1840
|
|
1841
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1841
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L4) ios
|
1842
1842
|
|
1843
1843
|
> def filter=(value)
|
1844
1844
|
|
@@ -1850,7 +1850,7 @@ __Parameters:__
|
|
1850
1850
|
|
1851
1851
|
--
|
1852
1852
|
|
1853
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L6) ios
|
1854
1854
|
|
1855
1855
|
> def start_element(type, attrs = [])
|
1856
1856
|
|
@@ -1858,7 +1858,7 @@ __Parameters:__
|
|
1858
1858
|
|
1859
1859
|
--
|
1860
1860
|
|
1861
|
-
##### [_print_attr](https://github.com/appium/ruby_lib/blob/
|
1861
|
+
##### [_print_attr](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L15) ios
|
1862
1862
|
|
1863
1863
|
> def _print_attr(type, name, label, value, hint)
|
1864
1864
|
|
@@ -1866,7 +1866,7 @@ __Parameters:__
|
|
1866
1866
|
|
1867
1867
|
--
|
1868
1868
|
|
1869
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L41) ios
|
1870
1870
|
|
1871
1871
|
> def ios_password(length = 1)
|
1872
1872
|
|
@@ -1884,7 +1884,7 @@ __Returns:__
|
|
1884
1884
|
|
1885
1885
|
--
|
1886
1886
|
|
1887
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1887
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L53) ios
|
1888
1888
|
|
1889
1889
|
> def get_page(element = source_window(0), class_name = nil)
|
1890
1890
|
|
@@ -1905,7 +1905,7 @@ __Returns:__
|
|
1905
1905
|
|
1906
1906
|
--
|
1907
1907
|
|
1908
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1908
|
+
##### [page](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L139) ios
|
1909
1909
|
|
1910
1910
|
> def page(opts = {})
|
1911
1911
|
|
@@ -1931,7 +1931,7 @@ __Returns:__
|
|
1931
1931
|
|
1932
1932
|
--
|
1933
1933
|
|
1934
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1934
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L170) ios
|
1935
1935
|
|
1936
1936
|
> def source_window(_window_number = 0)
|
1937
1937
|
|
@@ -1947,7 +1947,7 @@ __Returns:__
|
|
1947
1947
|
|
1948
1948
|
--
|
1949
1949
|
|
1950
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1950
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L185) ios
|
1951
1951
|
|
1952
1952
|
> def page_window(window_number = 0)
|
1953
1953
|
|
@@ -1965,7 +1965,7 @@ __Returns:__
|
|
1965
1965
|
|
1966
1966
|
--
|
1967
1967
|
|
1968
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1968
|
+
##### [id](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L193) ios
|
1969
1969
|
|
1970
1970
|
> def id(id)
|
1971
1971
|
|
@@ -1981,7 +1981,7 @@ __Returns:__
|
|
1981
1981
|
|
1982
1982
|
--
|
1983
1983
|
|
1984
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
1984
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L199) ios
|
1985
1985
|
|
1986
1986
|
> def ios_version
|
1987
1987
|
|
@@ -1993,7 +1993,7 @@ __Returns:__
|
|
1993
1993
|
|
1994
1994
|
--
|
1995
1995
|
|
1996
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1996
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L212) ios
|
1997
1997
|
|
1998
1998
|
> def ele_index(class_name, index)
|
1999
1999
|
|
@@ -2011,7 +2011,7 @@ __Returns:__
|
|
2011
2011
|
|
2012
2012
|
--
|
2013
2013
|
|
2014
|
-
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/
|
2014
|
+
##### [find_ele_by_attr](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L248) ios
|
2015
2015
|
|
2016
2016
|
> def find_ele_by_attr(class_name, attr, value)
|
2017
2017
|
|
@@ -2033,7 +2033,7 @@ __Returns:__
|
|
2033
2033
|
|
2034
2034
|
--
|
2035
2035
|
|
2036
|
-
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [find_eles_by_attr](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L259) ios
|
2037
2037
|
|
2038
2038
|
> def find_eles_by_attr(class_name, attr, value)
|
2039
2039
|
|
@@ -2055,7 +2055,7 @@ __Returns:__
|
|
2055
2055
|
|
2056
2056
|
--
|
2057
2057
|
|
2058
|
-
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2058
|
+
##### [find_ele_by_predicate](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L280) ios
|
2059
2059
|
|
2060
2060
|
> def find_ele_by_predicate(class_name: '*', value:)
|
2061
2061
|
|
@@ -2072,7 +2072,7 @@ __Returns:__
|
|
2072
2072
|
|
2073
2073
|
--
|
2074
2074
|
|
2075
|
-
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/
|
2075
|
+
##### [find_eles_by_predicate](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L291) ios
|
2076
2076
|
|
2077
2077
|
> def find_eles_by_predicate(class_name: '*', value:)
|
2078
2078
|
|
@@ -2091,7 +2091,7 @@ __Returns:__
|
|
2091
2091
|
|
2092
2092
|
--
|
2093
2093
|
|
2094
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2094
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L307) ios
|
2095
2095
|
|
2096
2096
|
> def find_ele_by_attr_include(class_name, attr, value)
|
2097
2097
|
|
@@ -2112,7 +2112,7 @@ __Returns:__
|
|
2112
2112
|
|
2113
2113
|
--
|
2114
2114
|
|
2115
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
2115
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L317) ios
|
2116
2116
|
|
2117
2117
|
> def find_eles_by_attr_include(class_name, attr, value)
|
2118
2118
|
|
@@ -2133,7 +2133,7 @@ __Returns:__
|
|
2133
2133
|
|
2134
2134
|
--
|
2135
2135
|
|
2136
|
-
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2136
|
+
##### [find_ele_by_predicate_include](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L325) ios
|
2137
2137
|
|
2138
2138
|
> def find_ele_by_predicate_include(class_name: '*', value:)
|
2139
2139
|
|
@@ -2150,7 +2150,7 @@ __Returns:__
|
|
2150
2150
|
|
2151
2151
|
--
|
2152
2152
|
|
2153
|
-
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/
|
2153
|
+
##### [find_eles_by_predicate_include](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L336) ios
|
2154
2154
|
|
2155
2155
|
> def find_eles_by_predicate_include(class_name: '*', value:)
|
2156
2156
|
|
@@ -2169,7 +2169,7 @@ __Returns:__
|
|
2169
2169
|
|
2170
2170
|
--
|
2171
2171
|
|
2172
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2172
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L349) ios
|
2173
2173
|
|
2174
2174
|
> def first_ele(class_name)
|
2175
2175
|
|
@@ -2185,7 +2185,7 @@ __Returns:__
|
|
2185
2185
|
|
2186
2186
|
--
|
2187
2187
|
|
2188
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2188
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L356) ios
|
2189
2189
|
|
2190
2190
|
> def last_ele(class_name)
|
2191
2191
|
|
@@ -2201,7 +2201,7 @@ __Returns:__
|
|
2201
2201
|
|
2202
2202
|
--
|
2203
2203
|
|
2204
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2204
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L370) ios
|
2205
2205
|
|
2206
2206
|
> def tag(class_name)
|
2207
2207
|
|
@@ -2217,7 +2217,7 @@ __Returns:__
|
|
2217
2217
|
|
2218
2218
|
--
|
2219
2219
|
|
2220
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2220
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L382) ios
|
2221
2221
|
|
2222
2222
|
> def tags(class_name)
|
2223
2223
|
|
@@ -2233,7 +2233,7 @@ __Returns:__
|
|
2233
2233
|
|
2234
2234
|
--
|
2235
2235
|
|
2236
|
-
##### [tags_include](https://github.com/appium/ruby_lib/blob/
|
2236
|
+
##### [tags_include](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L398) ios
|
2237
2237
|
|
2238
2238
|
> def tags_include(class_names:, value: nil)
|
2239
2239
|
|
@@ -2253,7 +2253,7 @@ __Returns:__
|
|
2253
2253
|
|
2254
2254
|
--
|
2255
2255
|
|
2256
|
-
##### [tags_exact](https://github.com/appium/ruby_lib/blob/
|
2256
|
+
##### [tags_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L427) ios
|
2257
2257
|
|
2258
2258
|
> def tags_exact(class_names:, value: nil)
|
2259
2259
|
|
@@ -2273,7 +2273,7 @@ __Returns:__
|
|
2273
2273
|
|
2274
2274
|
--
|
2275
2275
|
|
2276
|
-
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2276
|
+
##### [ele_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L478) ios
|
2277
2277
|
|
2278
2278
|
> def ele_by_json_visible_contains(element, value)
|
2279
2279
|
|
@@ -2292,7 +2292,7 @@ __Returns:__
|
|
2292
2292
|
|
2293
2293
|
--
|
2294
2294
|
|
2295
|
-
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2295
|
+
##### [eles_by_json_visible_contains](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L487) ios
|
2296
2296
|
|
2297
2297
|
> def eles_by_json_visible_contains(element, value)
|
2298
2298
|
|
@@ -2311,7 +2311,7 @@ __Returns:__
|
|
2311
2311
|
|
2312
2312
|
--
|
2313
2313
|
|
2314
|
-
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2314
|
+
##### [ele_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L517) ios
|
2315
2315
|
|
2316
2316
|
> def ele_by_json_visible_exact(element, value)
|
2317
2317
|
|
@@ -2330,7 +2330,7 @@ __Returns:__
|
|
2330
2330
|
|
2331
2331
|
--
|
2332
2332
|
|
2333
|
-
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/
|
2333
|
+
##### [eles_by_json_visible_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L526) ios
|
2334
2334
|
|
2335
2335
|
> def eles_by_json_visible_exact(element, value)
|
2336
2336
|
|
@@ -2349,7 +2349,7 @@ __Returns:__
|
|
2349
2349
|
|
2350
2350
|
--
|
2351
2351
|
|
2352
|
-
##### [_all_pred](https://github.com/appium/ruby_lib/blob/
|
2352
|
+
##### [_all_pred](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L535) ios
|
2353
2353
|
|
2354
2354
|
> def _all_pred(opts)
|
2355
2355
|
|
@@ -2359,7 +2359,7 @@ visible - if true, only visible elements are returned. default true
|
|
2359
2359
|
|
2360
2360
|
--
|
2361
2361
|
|
2362
|
-
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/
|
2362
|
+
##### [ele_with_pred](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L548) ios
|
2363
2363
|
|
2364
2364
|
> def ele_with_pred(opts)
|
2365
2365
|
|
@@ -2375,7 +2375,7 @@ __Returns:__
|
|
2375
2375
|
|
2376
2376
|
--
|
2377
2377
|
|
2378
|
-
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/
|
2378
|
+
##### [eles_with_pred](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L559) ios
|
2379
2379
|
|
2380
2380
|
> def eles_with_pred(opts)
|
2381
2381
|
|
@@ -2391,7 +2391,7 @@ __Returns:__
|
|
2391
2391
|
|
2392
2392
|
--
|
2393
2393
|
|
2394
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
2394
|
+
##### [source](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L565) ios
|
2395
2395
|
|
2396
2396
|
> def source
|
2397
2397
|
|
@@ -2403,7 +2403,7 @@ __Returns:__
|
|
2403
2403
|
|
2404
2404
|
--
|
2405
2405
|
|
2406
|
-
##### [_validate_object](https://github.com/appium/ruby_lib/blob/
|
2406
|
+
##### [_validate_object](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L569) ios
|
2407
2407
|
|
2408
2408
|
> def _validate_object(*objects)
|
2409
2409
|
|
@@ -2411,7 +2411,7 @@ __Returns:__
|
|
2411
2411
|
|
2412
2412
|
--
|
2413
2413
|
|
2414
|
-
##### [_by_json](https://github.com/appium/ruby_lib/blob/
|
2414
|
+
##### [_by_json](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L618) ios
|
2415
2415
|
|
2416
2416
|
> def _by_json(opts)
|
2417
2417
|
|
@@ -2446,7 +2446,7 @@ opts = {
|
|
2446
2446
|
|
2447
2447
|
--
|
2448
2448
|
|
2449
|
-
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/
|
2449
|
+
##### [eles_by_json](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L668) ios
|
2450
2450
|
|
2451
2451
|
> def eles_by_json(opts)
|
2452
2452
|
|
@@ -2465,7 +2465,7 @@ eles_by_json({
|
|
2465
2465
|
|
2466
2466
|
--
|
2467
2467
|
|
2468
|
-
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/
|
2468
|
+
##### [ele_by_json](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L674) ios
|
2469
2469
|
|
2470
2470
|
> def ele_by_json(opts)
|
2471
2471
|
|
@@ -2473,7 +2473,7 @@ see eles_by_json
|
|
2473
2473
|
|
2474
2474
|
--
|
2475
2475
|
|
2476
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2476
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/helper.rb#L684) ios
|
2477
2477
|
|
2478
2478
|
> def get_source
|
2479
2479
|
|
@@ -2486,7 +2486,7 @@ __Returns:__
|
|
2486
2486
|
|
2487
2487
|
--
|
2488
2488
|
|
2489
|
-
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/
|
2489
|
+
##### [UIAStaticText](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L4) ios
|
2490
2490
|
|
2491
2491
|
> UIAStaticText = 'UIAStaticText'.freeze
|
2492
2492
|
|
@@ -2494,7 +2494,7 @@ __Returns:__
|
|
2494
2494
|
|
2495
2495
|
--
|
2496
2496
|
|
2497
|
-
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/
|
2497
|
+
##### [XCUIElementTypeStaticText](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L5) ios
|
2498
2498
|
|
2499
2499
|
> XCUIElementTypeStaticText = 'XCUIElementTypeStaticText'.freeze
|
2500
2500
|
|
@@ -2502,7 +2502,7 @@ __Returns:__
|
|
2502
2502
|
|
2503
2503
|
--
|
2504
2504
|
|
2505
|
-
##### [static_text_class](https://github.com/appium/ruby_lib/blob/
|
2505
|
+
##### [static_text_class](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L8) ios
|
2506
2506
|
|
2507
2507
|
> def static_text_class
|
2508
2508
|
|
@@ -2514,7 +2514,7 @@ __Returns:__
|
|
2514
2514
|
|
2515
2515
|
--
|
2516
2516
|
|
2517
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2517
|
+
##### [text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L16) ios
|
2518
2518
|
|
2519
2519
|
> def text(value)
|
2520
2520
|
|
@@ -2531,7 +2531,7 @@ __Returns:__
|
|
2531
2531
|
|
2532
2532
|
--
|
2533
2533
|
|
2534
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2534
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L30) ios
|
2535
2535
|
|
2536
2536
|
> def texts(value = false)
|
2537
2537
|
|
@@ -2548,7 +2548,7 @@ __Returns:__
|
|
2548
2548
|
|
2549
2549
|
--
|
2550
2550
|
|
2551
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2551
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L43) ios
|
2552
2552
|
|
2553
2553
|
> def first_text
|
2554
2554
|
|
@@ -2560,7 +2560,7 @@ __Returns:__
|
|
2560
2560
|
|
2561
2561
|
--
|
2562
2562
|
|
2563
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2563
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L49) ios
|
2564
2564
|
|
2565
2565
|
> def last_text
|
2566
2566
|
|
@@ -2572,7 +2572,7 @@ __Returns:__
|
|
2572
2572
|
|
2573
2573
|
--
|
2574
2574
|
|
2575
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2575
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L56) ios
|
2576
2576
|
|
2577
2577
|
> def text_exact(value)
|
2578
2578
|
|
@@ -2588,7 +2588,7 @@ __Returns:__
|
|
2588
2588
|
|
2589
2589
|
--
|
2590
2590
|
|
2591
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2591
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/text.rb#L67) ios
|
2592
2592
|
|
2593
2593
|
> def texts_exact(value)
|
2594
2594
|
|
@@ -2604,7 +2604,7 @@ __Returns:__
|
|
2604
2604
|
|
2605
2605
|
--
|
2606
2606
|
|
2607
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2607
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/alert.rb#L5) ios
|
2608
2608
|
|
2609
2609
|
> def alert_accept
|
2610
2610
|
|
@@ -2616,7 +2616,7 @@ __Returns:__
|
|
2616
2616
|
|
2617
2617
|
--
|
2618
2618
|
|
2619
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2619
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/alert.rb#L13) ios
|
2620
2620
|
|
2621
2621
|
> def alert_dismiss
|
2622
2622
|
|
@@ -2628,7 +2628,7 @@ __Returns:__
|
|
2628
2628
|
|
2629
2629
|
--
|
2630
2630
|
|
2631
|
-
##### [UIAButton](https://github.com/appium/ruby_lib/blob/
|
2631
|
+
##### [UIAButton](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L4) ios
|
2632
2632
|
|
2633
2633
|
> UIAButton = 'UIAButton'.freeze
|
2634
2634
|
|
@@ -2636,7 +2636,7 @@ __Returns:__
|
|
2636
2636
|
|
2637
2637
|
--
|
2638
2638
|
|
2639
|
-
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/
|
2639
|
+
##### [XCUIElementTypeButton](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L5) ios
|
2640
2640
|
|
2641
2641
|
> XCUIElementTypeButton = 'XCUIElementTypeButton'.freeze
|
2642
2642
|
|
@@ -2644,7 +2644,7 @@ __Returns:__
|
|
2644
2644
|
|
2645
2645
|
--
|
2646
2646
|
|
2647
|
-
##### [button_class](https://github.com/appium/ruby_lib/blob/
|
2647
|
+
##### [button_class](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L8) ios
|
2648
2648
|
|
2649
2649
|
> def button_class
|
2650
2650
|
|
@@ -2656,7 +2656,7 @@ __Returns:__
|
|
2656
2656
|
|
2657
2657
|
--
|
2658
2658
|
|
2659
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2659
|
+
##### [button](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L16) ios
|
2660
2660
|
|
2661
2661
|
> def button(value)
|
2662
2662
|
|
@@ -2673,7 +2673,7 @@ __Returns:__
|
|
2673
2673
|
|
2674
2674
|
--
|
2675
2675
|
|
2676
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2676
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L31) ios
|
2677
2677
|
|
2678
2678
|
> def buttons(value = false)
|
2679
2679
|
|
@@ -2690,7 +2690,7 @@ __Returns:__
|
|
2690
2690
|
|
2691
2691
|
--
|
2692
2692
|
|
2693
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2693
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L44) ios
|
2694
2694
|
|
2695
2695
|
> def first_button
|
2696
2696
|
|
@@ -2702,7 +2702,7 @@ __Returns:__
|
|
2702
2702
|
|
2703
2703
|
--
|
2704
2704
|
|
2705
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2705
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L52) ios
|
2706
2706
|
|
2707
2707
|
> def last_button
|
2708
2708
|
|
@@ -2716,7 +2716,7 @@ __Returns:__
|
|
2716
2716
|
|
2717
2717
|
--
|
2718
2718
|
|
2719
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2719
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L59) ios
|
2720
2720
|
|
2721
2721
|
> def button_exact(value)
|
2722
2722
|
|
@@ -2732,7 +2732,7 @@ __Returns:__
|
|
2732
2732
|
|
2733
2733
|
--
|
2734
2734
|
|
2735
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2735
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/button.rb#L70) ios
|
2736
2736
|
|
2737
2737
|
> def buttons_exact(value)
|
2738
2738
|
|
@@ -2748,7 +2748,7 @@ __Returns:__
|
|
2748
2748
|
|
2749
2749
|
--
|
2750
2750
|
|
2751
|
-
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/
|
2751
|
+
##### [uiautomation_find](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2752
2752
|
|
2753
2753
|
> def uiautomation_find
|
2754
2754
|
|
@@ -2760,7 +2760,7 @@ find_element/s can be used with a [UIAutomation command](https://developer.apple
|
|
2760
2760
|
|
2761
2761
|
--
|
2762
2762
|
|
2763
|
-
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/
|
2763
|
+
##### [ios_predicate_string_find](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2764
2764
|
|
2765
2765
|
> def ios_predicate_string_find
|
2766
2766
|
|
@@ -2774,7 +2774,7 @@ find_element/s can be used with a [Predicates](https://developer.apple.com/libra
|
|
2774
2774
|
|
2775
2775
|
--
|
2776
2776
|
|
2777
|
-
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/
|
2777
|
+
##### [ios_class_chain_find](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/mobile_methods.rb#L32) ios
|
2778
2778
|
|
2779
2779
|
> def ios_class_chain_find
|
2780
2780
|
|
@@ -2792,7 +2792,7 @@ find_element/s can be used with a [class chain]( https://github.com/facebook/Web
|
|
2792
2792
|
|
2793
2793
|
--
|
2794
2794
|
|
2795
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2795
|
+
##### [find](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/generic.rb#L6) ios
|
2796
2796
|
|
2797
2797
|
> def find(value)
|
2798
2798
|
|
@@ -2808,7 +2808,7 @@ __Returns:__
|
|
2808
2808
|
|
2809
2809
|
--
|
2810
2810
|
|
2811
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2811
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/generic.rb#L17) ios
|
2812
2812
|
|
2813
2813
|
> def finds(value)
|
2814
2814
|
|
@@ -2824,7 +2824,7 @@ __Returns:__
|
|
2824
2824
|
|
2825
2825
|
--
|
2826
2826
|
|
2827
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2827
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/generic.rb#L29) ios
|
2828
2828
|
|
2829
2829
|
> def find_exact(value)
|
2830
2830
|
|
@@ -2840,7 +2840,7 @@ __Returns:__
|
|
2840
2840
|
|
2841
2841
|
--
|
2842
2842
|
|
2843
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2843
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/generic.rb#L40) ios
|
2844
2844
|
|
2845
2845
|
> def finds_exact(value)
|
2846
2846
|
|
@@ -2856,7 +2856,7 @@ __Returns:__
|
|
2856
2856
|
|
2857
2857
|
--
|
2858
2858
|
|
2859
|
-
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/
|
2859
|
+
##### [raise_error_if_no_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/generic.rb#L51) ios
|
2860
2860
|
|
2861
2861
|
> def raise_error_if_no_element(element)
|
2862
2862
|
|
@@ -2864,7 +2864,7 @@ __Returns:__
|
|
2864
2864
|
|
2865
2865
|
--
|
2866
2866
|
|
2867
|
-
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/
|
2867
|
+
##### [select_visible_elements](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/generic.rb#L58) ios
|
2868
2868
|
|
2869
2869
|
> def select_visible_elements(elements)
|
2870
2870
|
|
@@ -2872,7 +2872,7 @@ Return visible elements.
|
|
2872
2872
|
|
2873
2873
|
--
|
2874
2874
|
|
2875
|
-
##### [UIATextField](https://github.com/appium/ruby_lib/blob/
|
2875
|
+
##### [UIATextField](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L3) ios
|
2876
2876
|
|
2877
2877
|
> UIATextField = 'UIATextField'.freeze
|
2878
2878
|
|
@@ -2880,7 +2880,7 @@ Return visible elements.
|
|
2880
2880
|
|
2881
2881
|
--
|
2882
2882
|
|
2883
|
-
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/
|
2883
|
+
##### [UIASecureTextField](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L4) ios
|
2884
2884
|
|
2885
2885
|
> UIASecureTextField = 'UIASecureTextField'.freeze
|
2886
2886
|
|
@@ -2888,7 +2888,7 @@ Return visible elements.
|
|
2888
2888
|
|
2889
2889
|
--
|
2890
2890
|
|
2891
|
-
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/
|
2891
|
+
##### [XCUIElementTypeTextField](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L6) ios
|
2892
2892
|
|
2893
2893
|
> XCUIElementTypeTextField = 'XCUIElementTypeTextField'.freeze
|
2894
2894
|
|
@@ -2896,7 +2896,7 @@ Return visible elements.
|
|
2896
2896
|
|
2897
2897
|
--
|
2898
2898
|
|
2899
|
-
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/
|
2899
|
+
##### [XCUIElementTypeSecureTextField](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L7) ios
|
2900
2900
|
|
2901
2901
|
> XCUIElementTypeSecureTextField = 'XCUIElementTypeSecureTextField'.freeze
|
2902
2902
|
|
@@ -2904,7 +2904,7 @@ Return visible elements.
|
|
2904
2904
|
|
2905
2905
|
--
|
2906
2906
|
|
2907
|
-
##### [text_field_class](https://github.com/appium/ruby_lib/blob/
|
2907
|
+
##### [text_field_class](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
2908
2908
|
|
2909
2909
|
> def text_field_class
|
2910
2910
|
|
@@ -2916,7 +2916,7 @@ __Returns:__
|
|
2916
2916
|
|
2917
2917
|
--
|
2918
2918
|
|
2919
|
-
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/
|
2919
|
+
##### [secure_text_field_class](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L15) ios
|
2920
2920
|
|
2921
2921
|
> def secure_text_field_class
|
2922
2922
|
|
@@ -2928,7 +2928,7 @@ __Returns:__
|
|
2928
2928
|
|
2929
2929
|
--
|
2930
2930
|
|
2931
|
-
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/
|
2931
|
+
##### [_textfield_visible](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L35) ios
|
2932
2932
|
|
2933
2933
|
> def _textfield_visible
|
2934
2934
|
|
@@ -2936,7 +2936,7 @@ Appium
|
|
2936
2936
|
|
2937
2937
|
--
|
2938
2938
|
|
2939
|
-
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/
|
2939
|
+
##### [_textfield_exact_string](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L40) ios
|
2940
2940
|
|
2941
2941
|
> def _textfield_exact_string(value)
|
2942
2942
|
|
@@ -2944,7 +2944,7 @@ Appium
|
|
2944
2944
|
|
2945
2945
|
--
|
2946
2946
|
|
2947
|
-
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/
|
2947
|
+
##### [_textfield_contains_string](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L47) ios
|
2948
2948
|
|
2949
2949
|
> def _textfield_contains_string(value)
|
2950
2950
|
|
@@ -2952,7 +2952,7 @@ Appium
|
|
2952
2952
|
|
2953
2953
|
--
|
2954
2954
|
|
2955
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2955
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L60) ios
|
2956
2956
|
|
2957
2957
|
> def textfield(value)
|
2958
2958
|
|
@@ -2970,7 +2970,7 @@ __Returns:__
|
|
2970
2970
|
|
2971
2971
|
--
|
2972
2972
|
|
2973
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2973
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L86) ios
|
2974
2974
|
|
2975
2975
|
> def textfields(value = false)
|
2976
2976
|
|
@@ -2987,7 +2987,7 @@ __Returns:__
|
|
2987
2987
|
|
2988
2988
|
--
|
2989
2989
|
|
2990
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2990
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L100) ios
|
2991
2991
|
|
2992
2992
|
> def first_textfield
|
2993
2993
|
|
@@ -2999,7 +2999,7 @@ __Returns:__
|
|
2999
2999
|
|
3000
3000
|
--
|
3001
3001
|
|
3002
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
3002
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L110) ios
|
3003
3003
|
|
3004
3004
|
> def last_textfield
|
3005
3005
|
|
@@ -3011,7 +3011,7 @@ __Returns:__
|
|
3011
3011
|
|
3012
3012
|
--
|
3013
3013
|
|
3014
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
3014
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L123) ios
|
3015
3015
|
|
3016
3016
|
> def textfield_exact(value)
|
3017
3017
|
|
@@ -3027,7 +3027,7 @@ __Returns:__
|
|
3027
3027
|
|
3028
3028
|
--
|
3029
3029
|
|
3030
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
3030
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/element/textfield.rb#L134) ios
|
3031
3031
|
|
3032
3032
|
> def textfields_exact(value)
|
3033
3033
|
|
@@ -3043,7 +3043,7 @@ __Returns:__
|
|
3043
3043
|
|
3044
3044
|
--
|
3045
3045
|
|
3046
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
3046
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L10) ios
|
3047
3047
|
|
3048
3048
|
> def swipe(direction:, element: nil)
|
3049
3049
|
|
@@ -3057,7 +3057,7 @@ __Parameters:__
|
|
3057
3057
|
|
3058
3058
|
--
|
3059
3059
|
|
3060
|
-
##### [scroll](https://github.com/appium/ruby_lib/blob/
|
3060
|
+
##### [scroll](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L30) ios
|
3061
3061
|
|
3062
3062
|
> def scroll(direction:, name: nil, element: nil, to_visible: nil, predicate_string: nil)
|
3063
3063
|
|
@@ -3071,7 +3071,7 @@ __Parameters:__
|
|
3071
3071
|
|
3072
3072
|
--
|
3073
3073
|
|
3074
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
3074
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L49) ios
|
3075
3075
|
|
3076
3076
|
> def pinch(scale:, velocity: 1.0, element: nil)
|
3077
3077
|
|
@@ -3087,7 +3087,7 @@ __Parameters:__
|
|
3087
3087
|
|
3088
3088
|
--
|
3089
3089
|
|
3090
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
3090
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L66) ios
|
3091
3091
|
|
3092
3092
|
> def double_tap(x: nil, y: nil, element: nil)
|
3093
3093
|
|
@@ -3103,7 +3103,7 @@ __Parameters:__
|
|
3103
3103
|
|
3104
3104
|
--
|
3105
3105
|
|
3106
|
-
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/
|
3106
|
+
##### [touch_and_hold](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L84) ios
|
3107
3107
|
|
3108
3108
|
> def touch_and_hold(x: nil, y: nil, element: nil, duration: 1.0)
|
3109
3109
|
|
@@ -3121,7 +3121,7 @@ __Parameters:__
|
|
3121
3121
|
|
3122
3122
|
--
|
3123
3123
|
|
3124
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
3124
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L98) ios
|
3125
3125
|
|
3126
3126
|
> def two_finger_tap(element:)
|
3127
3127
|
|
@@ -3137,7 +3137,7 @@ two_finger_tap element: find_element(:accessibility_id, "some item")
|
|
3137
3137
|
|
3138
3138
|
--
|
3139
3139
|
|
3140
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
3140
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L115) ios
|
3141
3141
|
|
3142
3142
|
> def tap(x:, y:, element: nil)
|
3143
3143
|
|
@@ -3153,7 +3153,7 @@ __Parameters:__
|
|
3153
3153
|
|
3154
3154
|
--
|
3155
3155
|
|
3156
|
-
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/
|
3156
|
+
##### [drag_from_to_for_duration](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L137) ios
|
3157
3157
|
|
3158
3158
|
> def drag_from_to_for_duration(from_x:, from_y:, to_x:, to_y:, duration: 1.0, element: nil)
|
3159
3159
|
|
@@ -3176,7 +3176,7 @@ drag point should be before to start dragging. Mandatory parameter
|
|
3176
3176
|
|
3177
3177
|
--
|
3178
3178
|
|
3179
|
-
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/
|
3179
|
+
##### [select_picker_wheel](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L156) ios
|
3180
3180
|
|
3181
3181
|
> def select_picker_wheel(element:, order:, offset: nil)
|
3182
3182
|
|
@@ -3193,7 +3193,7 @@ __Parameters:__
|
|
3193
3193
|
|
3194
3194
|
--
|
3195
3195
|
|
3196
|
-
##### [alert](https://github.com/appium/ruby_lib/blob/
|
3196
|
+
##### [alert](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/ios/xcuitest_gestures.rb#L175) ios
|
3197
3197
|
|
3198
3198
|
> def alert(action:, button_label: nil)
|
3199
3199
|
|
@@ -3208,7 +3208,7 @@ This is an optional parameter and is only valid in combination with accept and d
|
|
3208
3208
|
|
3209
3209
|
--
|
3210
3210
|
|
3211
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
3211
|
+
##### [value](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L12)
|
3212
3212
|
|
3213
3213
|
> def value
|
3214
3214
|
|
@@ -3218,7 +3218,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
3218
3218
|
|
3219
3219
|
--
|
3220
3220
|
|
3221
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
3221
|
+
##### [name](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L19)
|
3222
3222
|
|
3223
3223
|
> def name
|
3224
3224
|
|
@@ -3228,7 +3228,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
3228
3228
|
|
3229
3229
|
--
|
3230
3230
|
|
3231
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
3231
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L31)
|
3232
3232
|
|
3233
3233
|
> def location_rel
|
3234
3234
|
|
@@ -3246,7 +3246,7 @@ __Returns:__
|
|
3246
3246
|
|
3247
3247
|
--
|
3248
3248
|
|
3249
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
3249
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L152)
|
3250
3250
|
|
3251
3251
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
3252
3252
|
|
@@ -3254,7 +3254,7 @@ __Returns:__
|
|
3254
3254
|
|
3255
3255
|
--
|
3256
3256
|
|
3257
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
3257
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L155)
|
3258
3258
|
|
3259
3259
|
> def patch_remote_driver_commands
|
3260
3260
|
|