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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb8684935be755f86c54a57ecdeec4b8efee82aa
|
4
|
+
data.tar.gz: 558263a1fa45473e753d077029f6968cdceacc59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b8883d4c95cbf5f7bd67623685b2cb3382dae64d13953ac737e4669c396c50bc730614be209d6095e885b90149007ee4998a216b4a68dbc15923371ed24de24
|
7
|
+
data.tar.gz: 6ce5cd3d62346f1e3e3d1c527ad113883775b0f0c28eafe0fe00bb95a727de0eb385f32db345e53ae94954a672b744530c27975a600e7621b4065e763c3f1327
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,15 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
+
## v9.4.5
|
7
|
+
### 1. Enhancements
|
8
|
+
|
9
|
+
### 2. Bug fixes
|
10
|
+
- reduce gemfile size [#591](https://github.com/appium/ruby_lib/issues/591)
|
11
|
+
- Exclude `ios_tests`, `android_tests` and `grid` from gem
|
12
|
+
|
13
|
+
### 3. Deprecations
|
14
|
+
|
6
15
|
## v9.4.5
|
7
16
|
### 1. Enhancements
|
8
17
|
- add `touch_and_hols` for `mobile:` command in XCUITest [#581](https://github.com/appium/ruby_lib/pull/581)
|
data/appium_lib.gemspec
CHANGED
@@ -30,5 +30,5 @@ Gem::Specification.new do |s|
|
|
30
30
|
s.add_development_dependency 'rubocop', '~> 0.46.0'
|
31
31
|
s.add_development_dependency 'pry'
|
32
32
|
|
33
|
-
s.files = `git ls-files`.split
|
33
|
+
s.files = `git ls-files`.split("\n").select { |v| !v.match /\A^(ios_tests|android_tests|grid)\/.+/ }
|
34
34
|
end
|
data/docs/android_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
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1833
|
+
##### [result](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L6) android
|
1834
1834
|
|
1835
1835
|
> def result
|
1836
1836
|
|
@@ -1838,7 +1838,7 @@ Returns the value of attribute result
|
|
1838
1838
|
|
1839
1839
|
--
|
1840
1840
|
|
1841
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1841
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L6) android
|
1842
1842
|
|
1843
1843
|
> def keys
|
1844
1844
|
|
@@ -1846,7 +1846,7 @@ Returns the value of attribute keys
|
|
1846
1846
|
|
1847
1847
|
--
|
1848
1848
|
|
1849
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L6) android
|
1850
1850
|
|
1851
1851
|
> def filter
|
1852
1852
|
|
@@ -1854,7 +1854,7 @@ Returns the value of attribute filter
|
|
1854
1854
|
|
1855
1855
|
--
|
1856
1856
|
|
1857
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1857
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L9) android
|
1858
1858
|
|
1859
1859
|
> def filter=(value)
|
1860
1860
|
|
@@ -1862,7 +1862,7 @@ convert to string to support symbols
|
|
1862
1862
|
|
1863
1863
|
--
|
1864
1864
|
|
1865
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L15) android
|
1866
1866
|
|
1867
1867
|
> def initialize
|
1868
1868
|
|
@@ -1874,7 +1874,7 @@ __Returns:__
|
|
1874
1874
|
|
1875
1875
|
--
|
1876
1876
|
|
1877
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1877
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L20) android
|
1878
1878
|
|
1879
1879
|
> def reset
|
1880
1880
|
|
@@ -1882,7 +1882,7 @@ __Returns:__
|
|
1882
1882
|
|
1883
1883
|
--
|
1884
1884
|
|
1885
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1885
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L26) android
|
1886
1886
|
|
1887
1887
|
> def start_element(name, attrs = [])
|
1888
1888
|
|
@@ -1890,7 +1890,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1890
1890
|
|
1891
1891
|
--
|
1892
1892
|
|
1893
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [source](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L82) android
|
1894
1894
|
|
1895
1895
|
> def source
|
1896
1896
|
|
@@ -1902,7 +1902,7 @@ __Returns:__
|
|
1902
1902
|
|
1903
1903
|
--
|
1904
1904
|
|
1905
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1905
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L92) android
|
1906
1906
|
|
1907
1907
|
> def get_android_inspect(class_name = false)
|
1908
1908
|
|
@@ -1921,7 +1921,7 @@ __Returns:__
|
|
1921
1921
|
|
1922
1922
|
--
|
1923
1923
|
|
1924
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1924
|
+
##### [page](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L118) android
|
1925
1925
|
|
1926
1926
|
> def page(opts = {})
|
1927
1927
|
|
@@ -1940,7 +1940,7 @@ __Returns:__
|
|
1940
1940
|
|
1941
1941
|
--
|
1942
1942
|
|
1943
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L130) android
|
1944
1944
|
|
1945
1945
|
> def current_app
|
1946
1946
|
|
@@ -1950,7 +1950,7 @@ example line:
|
|
1950
1950
|
|
1951
1951
|
--
|
1952
1952
|
|
1953
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1953
|
+
##### [id](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L154) android
|
1954
1954
|
|
1955
1955
|
> def id(id)
|
1956
1956
|
|
@@ -1966,7 +1966,7 @@ __Returns:__
|
|
1966
1966
|
|
1967
1967
|
--
|
1968
1968
|
|
1969
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1969
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L162) android
|
1970
1970
|
|
1971
1971
|
> def ids(id)
|
1972
1972
|
|
@@ -1982,7 +1982,7 @@ __Returns:__
|
|
1982
1982
|
|
1983
1983
|
--
|
1984
1984
|
|
1985
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1985
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L171) android
|
1986
1986
|
|
1987
1987
|
> def ele_index(class_name, index)
|
1988
1988
|
|
@@ -2000,7 +2000,7 @@ __Returns:__
|
|
2000
2000
|
|
2001
2001
|
--
|
2002
2002
|
|
2003
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2003
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L189) android
|
2004
2004
|
|
2005
2005
|
> def first_ele(class_name)
|
2006
2006
|
|
@@ -2016,7 +2016,7 @@ __Returns:__
|
|
2016
2016
|
|
2017
2017
|
--
|
2018
2018
|
|
2019
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2019
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L196) android
|
2020
2020
|
|
2021
2021
|
> def last_ele(class_name)
|
2022
2022
|
|
@@ -2032,7 +2032,7 @@ __Returns:__
|
|
2032
2032
|
|
2033
2033
|
--
|
2034
2034
|
|
2035
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2035
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L204) android
|
2036
2036
|
|
2037
2037
|
> def tag(class_name)
|
2038
2038
|
|
@@ -2048,7 +2048,7 @@ __Returns:__
|
|
2048
2048
|
|
2049
2049
|
--
|
2050
2050
|
|
2051
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2051
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L212) android
|
2052
2052
|
|
2053
2053
|
> def tags(class_name)
|
2054
2054
|
|
@@ -2064,7 +2064,7 @@ __Returns:__
|
|
2064
2064
|
|
2065
2065
|
--
|
2066
2066
|
|
2067
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
2067
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L255) android
|
2068
2068
|
|
2069
2069
|
> def string_visible_contains_xpath(class_name, value)
|
2070
2070
|
|
@@ -2085,7 +2085,7 @@ __Returns:__
|
|
2085
2085
|
|
2086
2086
|
--
|
2087
2087
|
|
2088
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2088
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L275) android
|
2089
2089
|
|
2090
2090
|
> def string_visible_contains(class_name, value)
|
2091
2091
|
|
@@ -2106,7 +2106,7 @@ __Returns:__
|
|
2106
2106
|
|
2107
2107
|
--
|
2108
2108
|
|
2109
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2109
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L293) android
|
2110
2110
|
|
2111
2111
|
> def complex_find_contains(class_name, value)
|
2112
2112
|
|
@@ -2124,7 +2124,7 @@ __Returns:__
|
|
2124
2124
|
|
2125
2125
|
--
|
2126
2126
|
|
2127
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L307) android
|
2128
2128
|
|
2129
2129
|
> def complex_finds_contains(class_name, value)
|
2130
2130
|
|
@@ -2142,7 +2142,7 @@ __Returns:__
|
|
2142
2142
|
|
2143
2143
|
--
|
2144
2144
|
|
2145
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L351) android
|
2146
2146
|
|
2147
2147
|
> def complex_find_exact(class_name, value)
|
2148
2148
|
|
@@ -2160,7 +2160,7 @@ __Returns:__
|
|
2160
2160
|
|
2161
2161
|
--
|
2162
2162
|
|
2163
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L365) android
|
2164
2164
|
|
2165
2165
|
> def complex_finds_exact(class_name, value)
|
2166
2166
|
|
@@ -2178,7 +2178,7 @@ __Returns:__
|
|
2178
2178
|
|
2179
2179
|
--
|
2180
2180
|
|
2181
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2181
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/helper.rb#L371) android
|
2182
2182
|
|
2183
2183
|
> def get_source
|
2184
2184
|
|
@@ -2190,7 +2190,7 @@ __Returns:__
|
|
2190
2190
|
|
2191
2191
|
--
|
2192
2192
|
|
2193
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2193
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/client_xpath.rb#L5) android
|
2194
2194
|
|
2195
2195
|
> def _nodeset_to_uiselector(opts = {})
|
2196
2196
|
|
@@ -2198,7 +2198,7 @@ __Returns:__
|
|
2198
2198
|
|
2199
2199
|
--
|
2200
2200
|
|
2201
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2201
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/client_xpath.rb#L20) android
|
2202
2202
|
|
2203
2203
|
> def _client_xpath(opts = {})
|
2204
2204
|
|
@@ -2206,7 +2206,7 @@ __Returns:__
|
|
2206
2206
|
|
2207
2207
|
--
|
2208
2208
|
|
2209
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2209
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/client_xpath.rb#L36) android
|
2210
2210
|
|
2211
2211
|
> def client_xpath(xpath)
|
2212
2212
|
|
@@ -2214,7 +2214,7 @@ __Returns:__
|
|
2214
2214
|
|
2215
2215
|
--
|
2216
2216
|
|
2217
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2217
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/client_xpath.rb#L40) android
|
2218
2218
|
|
2219
2219
|
> def client_xpaths(xpath)
|
2220
2220
|
|
@@ -2222,7 +2222,7 @@ __Returns:__
|
|
2222
2222
|
|
2223
2223
|
--
|
2224
2224
|
|
2225
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2225
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/text.rb#L4) android
|
2226
2226
|
|
2227
2227
|
> TextView = 'android.widget.TextView'.freeze
|
2228
2228
|
|
@@ -2230,7 +2230,7 @@ __Returns:__
|
|
2230
2230
|
|
2231
2231
|
--
|
2232
2232
|
|
2233
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/text.rb#L10) android
|
2234
2234
|
|
2235
2235
|
> def text(value)
|
2236
2236
|
|
@@ -2247,7 +2247,7 @@ __Returns:__
|
|
2247
2247
|
|
2248
2248
|
--
|
2249
2249
|
|
2250
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2250
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/text.rb#L19) android
|
2251
2251
|
|
2252
2252
|
> def texts(value = false)
|
2253
2253
|
|
@@ -2264,7 +2264,7 @@ __Returns:__
|
|
2264
2264
|
|
2265
2265
|
--
|
2266
2266
|
|
2267
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2267
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/text.rb#L26) android
|
2268
2268
|
|
2269
2269
|
> def first_text
|
2270
2270
|
|
@@ -2276,7 +2276,7 @@ __Returns:__
|
|
2276
2276
|
|
2277
2277
|
--
|
2278
2278
|
|
2279
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2279
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/text.rb#L32) android
|
2280
2280
|
|
2281
2281
|
> def last_text
|
2282
2282
|
|
@@ -2288,7 +2288,7 @@ __Returns:__
|
|
2288
2288
|
|
2289
2289
|
--
|
2290
2290
|
|
2291
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/text.rb#L39) android
|
2292
2292
|
|
2293
2293
|
> def text_exact(value)
|
2294
2294
|
|
@@ -2304,7 +2304,7 @@ __Returns:__
|
|
2304
2304
|
|
2305
2305
|
--
|
2306
2306
|
|
2307
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2307
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/text.rb#L46) android
|
2308
2308
|
|
2309
2309
|
> def texts_exact(value)
|
2310
2310
|
|
@@ -2320,7 +2320,7 @@ __Returns:__
|
|
2320
2320
|
|
2321
2321
|
--
|
2322
2322
|
|
2323
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/alert.rb#L6) android
|
2324
2324
|
|
2325
2325
|
> def alert_click(value)
|
2326
2326
|
|
@@ -2336,7 +2336,7 @@ __Returns:__
|
|
2336
2336
|
|
2337
2337
|
--
|
2338
2338
|
|
2339
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/alert.rb#L13) android
|
2340
2340
|
|
2341
2341
|
> def alert_accept
|
2342
2342
|
|
@@ -2349,7 +2349,7 @@ __Returns:__
|
|
2349
2349
|
|
2350
2350
|
--
|
2351
2351
|
|
2352
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2352
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/alert.rb#L20) android
|
2353
2353
|
|
2354
2354
|
> def alert_accept_text
|
2355
2355
|
|
@@ -2362,7 +2362,7 @@ __Returns:__
|
|
2362
2362
|
|
2363
2363
|
--
|
2364
2364
|
|
2365
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2365
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/alert.rb#L27) android
|
2366
2366
|
|
2367
2367
|
> def alert_dismiss
|
2368
2368
|
|
@@ -2375,7 +2375,7 @@ __Returns:__
|
|
2375
2375
|
|
2376
2376
|
--
|
2377
2377
|
|
2378
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2378
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/alert.rb#L34) android
|
2379
2379
|
|
2380
2380
|
> def alert_dismiss_text
|
2381
2381
|
|
@@ -2388,7 +2388,7 @@ __Returns:__
|
|
2388
2388
|
|
2389
2389
|
--
|
2390
2390
|
|
2391
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2391
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L4) android
|
2392
2392
|
|
2393
2393
|
> Button = 'android.widget.Button'.freeze
|
2394
2394
|
|
@@ -2396,7 +2396,7 @@ __Returns:__
|
|
2396
2396
|
|
2397
2397
|
--
|
2398
2398
|
|
2399
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2399
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L5) android
|
2400
2400
|
|
2401
2401
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2402
2402
|
|
@@ -2404,7 +2404,7 @@ __Returns:__
|
|
2404
2404
|
|
2405
2405
|
--
|
2406
2406
|
|
2407
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2407
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L9) android
|
2408
2408
|
|
2409
2409
|
> def _button_visible_selectors(opts = {})
|
2410
2410
|
|
@@ -2412,7 +2412,7 @@ __Returns:__
|
|
2412
2412
|
|
2413
2413
|
--
|
2414
2414
|
|
2415
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2415
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L22) android
|
2416
2416
|
|
2417
2417
|
> def _button_exact_string(value)
|
2418
2418
|
|
@@ -2420,7 +2420,7 @@ __Returns:__
|
|
2420
2420
|
|
2421
2421
|
--
|
2422
2422
|
|
2423
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2423
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L28) android
|
2424
2424
|
|
2425
2425
|
> def _button_contains_string(value)
|
2426
2426
|
|
@@ -2428,7 +2428,7 @@ __Returns:__
|
|
2428
2428
|
|
2429
2429
|
--
|
2430
2430
|
|
2431
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2431
|
+
##### [button](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L40) android
|
2432
2432
|
|
2433
2433
|
> def button(value)
|
2434
2434
|
|
@@ -2445,7 +2445,7 @@ __Returns:__
|
|
2445
2445
|
|
2446
2446
|
--
|
2447
2447
|
|
2448
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2448
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L68) android
|
2449
2449
|
|
2450
2450
|
> def buttons(value = false)
|
2451
2451
|
|
@@ -2462,7 +2462,7 @@ __Returns:__
|
|
2462
2462
|
|
2463
2463
|
--
|
2464
2464
|
|
2465
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2465
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L75) android
|
2466
2466
|
|
2467
2467
|
> def first_button
|
2468
2468
|
|
@@ -2474,7 +2474,7 @@ __Returns:__
|
|
2474
2474
|
|
2475
2475
|
--
|
2476
2476
|
|
2477
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2477
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L86) android
|
2478
2478
|
|
2479
2479
|
> def last_button
|
2480
2480
|
|
@@ -2486,7 +2486,7 @@ __Returns:__
|
|
2486
2486
|
|
2487
2487
|
--
|
2488
2488
|
|
2489
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2489
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L109) android
|
2490
2490
|
|
2491
2491
|
> def button_exact(value)
|
2492
2492
|
|
@@ -2502,7 +2502,7 @@ __Returns:__
|
|
2502
2502
|
|
2503
2503
|
--
|
2504
2504
|
|
2505
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2505
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L121) android
|
2506
2506
|
|
2507
2507
|
> def buttons_exact(value)
|
2508
2508
|
|
@@ -2518,7 +2518,7 @@ __Returns:__
|
|
2518
2518
|
|
2519
2519
|
--
|
2520
2520
|
|
2521
|
-
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/
|
2521
|
+
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/button.rb#L127) android
|
2522
2522
|
|
2523
2523
|
> def raise_no_such_element_if_empty(elements)
|
2524
2524
|
|
@@ -2526,7 +2526,7 @@ __Returns:__
|
|
2526
2526
|
|
2527
2527
|
--
|
2528
2528
|
|
2529
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2529
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2530
2530
|
|
2531
2531
|
> def uiautomator_find
|
2532
2532
|
|
@@ -2538,7 +2538,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2538
2538
|
|
2539
2539
|
--
|
2540
2540
|
|
2541
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2541
|
+
##### [find](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/generic.rb#L6) android
|
2542
2542
|
|
2543
2543
|
> def find(value)
|
2544
2544
|
|
@@ -2554,7 +2554,7 @@ __Returns:__
|
|
2554
2554
|
|
2555
2555
|
--
|
2556
2556
|
|
2557
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2557
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/generic.rb#L13) android
|
2558
2558
|
|
2559
2559
|
> def finds(value)
|
2560
2560
|
|
@@ -2570,7 +2570,7 @@ __Returns:__
|
|
2570
2570
|
|
2571
2571
|
--
|
2572
2572
|
|
2573
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/generic.rb#L20) android
|
2574
2574
|
|
2575
2575
|
> def find_exact(value)
|
2576
2576
|
|
@@ -2586,7 +2586,7 @@ __Returns:__
|
|
2586
2586
|
|
2587
2587
|
--
|
2588
2588
|
|
2589
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2589
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/generic.rb#L27) android
|
2590
2590
|
|
2591
2591
|
> def finds_exact(value)
|
2592
2592
|
|
@@ -2602,7 +2602,7 @@ __Returns:__
|
|
2602
2602
|
|
2603
2603
|
--
|
2604
2604
|
|
2605
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2605
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/generic.rb#L40) android
|
2606
2606
|
|
2607
2607
|
> def scroll_to(text, scrollable_index = 0)
|
2608
2608
|
|
@@ -2620,7 +2620,7 @@ __Returns:__
|
|
2620
2620
|
|
2621
2621
|
--
|
2622
2622
|
|
2623
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2623
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/generic.rb#L54) android
|
2624
2624
|
|
2625
2625
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2626
2626
|
|
@@ -2638,7 +2638,7 @@ __Returns:__
|
|
2638
2638
|
|
2639
2639
|
--
|
2640
2640
|
|
2641
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2641
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/textfield.rb#L3) android
|
2642
2642
|
|
2643
2643
|
> EditText = 'android.widget.EditText'.freeze
|
2644
2644
|
|
@@ -2646,7 +2646,7 @@ __Returns:__
|
|
2646
2646
|
|
2647
2647
|
--
|
2648
2648
|
|
2649
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2649
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/textfield.rb#L9) android
|
2650
2650
|
|
2651
2651
|
> def textfield(value)
|
2652
2652
|
|
@@ -2663,7 +2663,7 @@ __Returns:__
|
|
2663
2663
|
|
2664
2664
|
--
|
2665
2665
|
|
2666
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2666
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/textfield.rb#L18) android
|
2667
2667
|
|
2668
2668
|
> def textfields(value = false)
|
2669
2669
|
|
@@ -2680,7 +2680,7 @@ __Returns:__
|
|
2680
2680
|
|
2681
2681
|
--
|
2682
2682
|
|
2683
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2683
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/textfield.rb#L25) android
|
2684
2684
|
|
2685
2685
|
> def first_textfield
|
2686
2686
|
|
@@ -2692,7 +2692,7 @@ __Returns:__
|
|
2692
2692
|
|
2693
2693
|
--
|
2694
2694
|
|
2695
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2695
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/textfield.rb#L31) android
|
2696
2696
|
|
2697
2697
|
> def last_textfield
|
2698
2698
|
|
@@ -2704,7 +2704,7 @@ __Returns:__
|
|
2704
2704
|
|
2705
2705
|
--
|
2706
2706
|
|
2707
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2707
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/textfield.rb#L38) android
|
2708
2708
|
|
2709
2709
|
> def textfield_exact(value)
|
2710
2710
|
|
@@ -2720,7 +2720,7 @@ __Returns:__
|
|
2720
2720
|
|
2721
2721
|
--
|
2722
2722
|
|
2723
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2723
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/android/element/textfield.rb#L45) android
|
2724
2724
|
|
2725
2725
|
> def textfields_exact(value)
|
2726
2726
|
|
@@ -2736,7 +2736,7 @@ __Returns:__
|
|
2736
2736
|
|
2737
2737
|
--
|
2738
2738
|
|
2739
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2739
|
+
##### [value](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L12)
|
2740
2740
|
|
2741
2741
|
> def value
|
2742
2742
|
|
@@ -2746,7 +2746,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2746
2746
|
|
2747
2747
|
--
|
2748
2748
|
|
2749
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2749
|
+
##### [name](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L19)
|
2750
2750
|
|
2751
2751
|
> def name
|
2752
2752
|
|
@@ -2756,7 +2756,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2756
2756
|
|
2757
2757
|
--
|
2758
2758
|
|
2759
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2759
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L31)
|
2760
2760
|
|
2761
2761
|
> def location_rel
|
2762
2762
|
|
@@ -2774,7 +2774,7 @@ __Returns:__
|
|
2774
2774
|
|
2775
2775
|
--
|
2776
2776
|
|
2777
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2777
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L152)
|
2778
2778
|
|
2779
2779
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2780
2780
|
|
@@ -2782,7 +2782,7 @@ __Returns:__
|
|
2782
2782
|
|
2783
2783
|
--
|
2784
2784
|
|
2785
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2785
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/41c12c6a746508a53bd0874baca03c54d928bb9a/lib/appium_lib/common/patch.rb#L155)
|
2786
2786
|
|
2787
2787
|
> def patch_remote_driver_commands
|
2788
2788
|
|