appium_lib 9.3.3 → 9.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -0
- data/CHANGELOG.md +13 -0
- data/appium_lib.gemspec +1 -2
- data/docs/android_docs.md +247 -239
- data/docs/android_uiautomator.md +7 -0
- data/docs/ios_docs.md +333 -269
- data/docs/ios_xcuitest.md +18 -4
- data/ios_tests/lib/ios/specs/common/helper.rb +29 -1
- data/ios_tests/lib/ios/specs/device/device.rb +5 -0
- data/ios_tests/lib/ios/specs/ios/element/textfield.rb +6 -3
- data/ios_tests/lib/ios/specs/ios/helper.rb +14 -5
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +15 -3
- data/lib/appium_lib/driver.rb +3 -3
- data/lib/appium_lib/ios/element/button.rb +4 -4
- data/lib/appium_lib/ios/element/generic.rb +2 -30
- data/lib/appium_lib/ios/element/text.rb +4 -4
- data/lib/appium_lib/ios/element/textfield.rb +12 -17
- data/lib/appium_lib/ios/helper.rb +78 -10
- data/release_notes.md +6 -0
- metadata +6 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9d64d5cdf4ec43c47bc64d9923d20aee265dcbb
|
4
|
+
data.tar.gz: 185678d062ef5c6c6bc2d38fd0360d1735d310e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aca3512594e39ec124ca277d1044e0345c0ae8fc6c1c821765d51af13a5af0d85352657561e34ac9bdd7d47e6107c0774d0512d805b75959587fedbc851c1c1b
|
7
|
+
data.tar.gz: 23e249422f8047df92cdb09cf22eca17a2a96a36929bfd5fe6d59b522683e5f1ce709ed3df3150d8dfb0004b0be4e9bcc4a01a54c9f5fbbe84d0b5f31d9440da
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,19 @@ 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.3.4
|
7
|
+
### 1. Enhancements
|
8
|
+
- [remove workaround](https://github.com/appium/ruby_lib/pull/474/commits/57cc95264e83e14862f729683b93c1f020a30ce5) to pass CI
|
9
|
+
- document uiautomator events logging command [#319](https://github.com/appium/ruby_lib/issues/319)
|
10
|
+
- use predicate for XCUITest to improve performance [#493](https://github.com/appium/ruby_lib/issues/493)
|
11
|
+
- `text/s`, `button/s`, `textfield/s`, `tags_exact`, `tags_include`
|
12
|
+
- new: `find_ele/s_by_predicate`, `find_ele/s_by_predicate_include`
|
13
|
+
|
14
|
+
### 2. Bug fixes
|
15
|
+
|
16
|
+
### 3. Deprecations
|
17
|
+
|
18
|
+
|
6
19
|
## v9.3.3
|
7
20
|
### 1. Enhancements
|
8
21
|
- add tags_include/tags_exact to be able to find elements of arbitrary classes such as XCUIElementTypeTextView [#488](https://github.com/appium/ruby_lib/issues/488)
|
data/appium_lib.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
16
|
s.add_runtime_dependency 'selenium-webdriver', '~> 3.0', '>= 3.0.4'
|
17
|
-
s.add_runtime_dependency 'awesome_print', '~> 1.
|
17
|
+
s.add_runtime_dependency 'awesome_print', '~> 1.7'
|
18
18
|
s.add_runtime_dependency 'json', '>= 1.8'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
20
20
|
s.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.6'
|
@@ -28,7 +28,6 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_development_dependency 'yard', '~> 0.8'
|
29
29
|
|
30
30
|
s.add_development_dependency 'rubocop', '~> 0.46.0'
|
31
|
-
s.add_development_dependency 'rainbow', '>= 2.1.0', '< 2.2.0' # workaround for Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
|
32
31
|
s.add_development_dependency 'pry'
|
33
32
|
|
34
33
|
s.files = `git ls-files`.split "\n"
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L75)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L111)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L117)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L149)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L170)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L223)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L258)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L276)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L276)
|
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/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L278)
|
173
173
|
|
174
174
|
> def caps
|
175
175
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
177
177
|
|
178
178
|
--
|
179
179
|
|
180
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L278)
|
181
181
|
|
182
182
|
> def caps=(value)
|
183
183
|
|
@@ -185,7 +185,7 @@ Selenium webdriver capabilities
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L280)
|
189
189
|
|
190
190
|
> def custom_url
|
191
191
|
|
@@ -193,7 +193,7 @@ Custom URL for the selenium server
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L280)
|
197
197
|
|
198
198
|
> def custom_url=(value)
|
199
199
|
|
@@ -201,7 +201,7 @@ Custom URL for the selenium server
|
|
201
201
|
|
202
202
|
--
|
203
203
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L282)
|
205
205
|
|
206
206
|
> def export_session
|
207
207
|
|
@@ -209,7 +209,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
209
209
|
|
210
210
|
--
|
211
211
|
|
212
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L282)
|
213
213
|
|
214
214
|
> def export_session=(value)
|
215
215
|
|
@@ -217,7 +217,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L287)
|
221
221
|
|
222
222
|
> def default_wait
|
223
223
|
|
@@ -231,7 +231,7 @@ __Returns:__
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L289)
|
235
235
|
|
236
236
|
> def sauce_username
|
237
237
|
|
@@ -239,7 +239,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L289)
|
243
243
|
|
244
244
|
> def sauce_username=(value)
|
245
245
|
|
@@ -247,7 +247,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L291)
|
251
251
|
|
252
252
|
> def sauce_access_key
|
253
253
|
|
@@ -255,7 +255,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L291)
|
259
259
|
|
260
260
|
> def sauce_access_key=(value)
|
261
261
|
|
@@ -263,7 +263,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L293)
|
267
267
|
|
268
268
|
> def sauce_endpoint
|
269
269
|
|
@@ -271,7 +271,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L293)
|
275
275
|
|
276
276
|
> def sauce_endpoint=(value)
|
277
277
|
|
@@ -279,7 +279,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L295)
|
283
283
|
|
284
284
|
> def appium_port
|
285
285
|
|
@@ -287,7 +287,7 @@ Appium's server port
|
|
287
287
|
|
288
288
|
--
|
289
289
|
|
290
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L295)
|
291
291
|
|
292
292
|
> def appium_port=(value)
|
293
293
|
|
@@ -295,7 +295,7 @@ Appium's server port
|
|
295
295
|
|
296
296
|
--
|
297
297
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L297)
|
299
299
|
|
300
300
|
> def appium_device
|
301
301
|
|
@@ -303,7 +303,7 @@ Device type to request from the appium server
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L297)
|
307
307
|
|
308
308
|
> def appium_device=(value)
|
309
309
|
|
@@ -311,7 +311,7 @@ Device type to request from the appium server
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L300)
|
315
315
|
|
316
316
|
> def automation_name
|
317
317
|
|
@@ -320,28 +320,15 @@ If automation_name is nil, it is not set both client side and server side.
|
|
320
320
|
|
321
321
|
--
|
322
322
|
|
323
|
-
##### [
|
323
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L302)
|
324
324
|
|
325
|
-
> def
|
326
|
-
|
327
|
-
Returns the server's version info
|
328
|
-
|
329
|
-
```ruby
|
330
|
-
{
|
331
|
-
"build" => {
|
332
|
-
"version" => "0.18.1",
|
333
|
-
"revision" => "d242ebcfd92046a974347ccc3a28f0e898595198"
|
334
|
-
}
|
335
|
-
}
|
336
|
-
```
|
325
|
+
> def appium_server_status
|
337
326
|
|
338
|
-
|
339
|
-
|
340
|
-
[Hash]
|
327
|
+
Appium's server version
|
341
328
|
|
342
329
|
--
|
343
330
|
|
344
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
331
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L304)
|
345
332
|
|
346
333
|
> def appium_debug
|
347
334
|
|
@@ -349,7 +336,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
349
336
|
|
350
337
|
--
|
351
338
|
|
352
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
339
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L304)
|
353
340
|
|
354
341
|
> def appium_debug=(value)
|
355
342
|
|
@@ -357,7 +344,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
357
344
|
|
358
345
|
--
|
359
346
|
|
360
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
347
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L306)
|
361
348
|
|
362
349
|
> def listener
|
363
350
|
|
@@ -365,7 +352,7 @@ instance of AbstractEventListener for logging support
|
|
365
352
|
|
366
353
|
--
|
367
354
|
|
368
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
355
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L306)
|
369
356
|
|
370
357
|
> def listener=(value)
|
371
358
|
|
@@ -373,7 +360,7 @@ instance of AbstractEventListener for logging support
|
|
373
360
|
|
374
361
|
--
|
375
362
|
|
376
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L309)
|
377
364
|
|
378
365
|
> def driver
|
379
366
|
|
@@ -385,7 +372,7 @@ __Returns:__
|
|
385
372
|
|
386
373
|
--
|
387
374
|
|
388
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L312)
|
389
376
|
|
390
377
|
> def http_client
|
391
378
|
|
@@ -397,7 +384,7 @@ __Returns:__
|
|
397
384
|
|
398
385
|
--
|
399
386
|
|
400
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
387
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L317)
|
401
388
|
|
402
389
|
> def appium_wait_timeout
|
403
390
|
|
@@ -411,7 +398,7 @@ __Returns:__
|
|
411
398
|
|
412
399
|
--
|
413
400
|
|
414
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L322)
|
415
402
|
|
416
403
|
> def appium_wait_interval
|
417
404
|
|
@@ -425,7 +412,7 @@ __Returns:__
|
|
425
412
|
|
426
413
|
--
|
427
414
|
|
428
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L362)
|
429
416
|
|
430
417
|
> def initialize(opts = {})
|
431
418
|
|
@@ -441,7 +428,7 @@ __Returns:__
|
|
441
428
|
|
442
429
|
--
|
443
430
|
|
444
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
431
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L440)
|
445
432
|
|
446
433
|
> def driver_attributes
|
447
434
|
|
@@ -449,7 +436,7 @@ Returns a hash of the driver attributes
|
|
449
436
|
|
450
437
|
--
|
451
438
|
|
452
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L465)
|
453
440
|
|
454
441
|
> def device_is_android?
|
455
442
|
|
@@ -461,7 +448,7 @@ __Returns:__
|
|
461
448
|
|
462
449
|
--
|
463
450
|
|
464
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L471)
|
465
452
|
|
466
453
|
> def automation_name_is_xcuitest?
|
467
454
|
|
@@ -473,7 +460,7 @@ __Returns:__
|
|
473
460
|
|
474
461
|
--
|
475
462
|
|
476
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L478)
|
477
464
|
|
478
465
|
> def check_server_version_xcuitest
|
479
466
|
|
@@ -486,7 +473,28 @@ __Returns:__
|
|
486
473
|
|
487
474
|
--
|
488
475
|
|
489
|
-
##### [
|
476
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L497)
|
477
|
+
|
478
|
+
> def appium_server_version
|
479
|
+
|
480
|
+
Returns the server's version info
|
481
|
+
|
482
|
+
```ruby
|
483
|
+
{
|
484
|
+
"build" => {
|
485
|
+
"version" => "0.18.1",
|
486
|
+
"revision" => "d242ebcfd92046a974347ccc3a28f0e898595198"
|
487
|
+
}
|
488
|
+
}
|
489
|
+
```
|
490
|
+
|
491
|
+
__Returns:__
|
492
|
+
|
493
|
+
[Hash]
|
494
|
+
|
495
|
+
--
|
496
|
+
|
497
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L510)
|
490
498
|
|
491
499
|
> def appium_client_version
|
492
500
|
|
@@ -504,7 +512,7 @@ __Returns:__
|
|
504
512
|
|
505
513
|
--
|
506
514
|
|
507
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
515
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L522)
|
508
516
|
|
509
517
|
> def self.absolute_app_path(opts)
|
510
518
|
|
@@ -521,7 +529,7 @@ __Returns:__
|
|
521
529
|
|
522
530
|
--
|
523
531
|
|
524
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
532
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L555)
|
525
533
|
|
526
534
|
> def server_url
|
527
535
|
|
@@ -533,7 +541,7 @@ __Returns:__
|
|
533
541
|
|
534
542
|
--
|
535
543
|
|
536
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L566)
|
537
545
|
|
538
546
|
> def restart
|
539
547
|
|
@@ -545,7 +553,7 @@ __Returns:__
|
|
545
553
|
|
546
554
|
--
|
547
555
|
|
548
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L577)
|
549
557
|
|
550
558
|
> def screenshot(png_save_path)
|
551
559
|
|
@@ -563,7 +571,7 @@ __Returns:__
|
|
563
571
|
|
564
572
|
--
|
565
573
|
|
566
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L584)
|
567
575
|
|
568
576
|
> def driver_quit
|
569
577
|
|
@@ -575,7 +583,7 @@ __Returns:__
|
|
575
583
|
|
576
584
|
--
|
577
585
|
|
578
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L594)
|
579
587
|
|
580
588
|
> def start_driver
|
581
589
|
|
@@ -587,7 +595,7 @@ __Returns:__
|
|
587
595
|
|
588
596
|
--
|
589
597
|
|
590
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L632)
|
591
599
|
|
592
600
|
> def no_wait
|
593
601
|
|
@@ -595,7 +603,7 @@ Set implicit wait to zero.
|
|
595
603
|
|
596
604
|
--
|
597
605
|
|
598
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L646)
|
599
607
|
|
600
608
|
> def set_wait(timeout = nil)
|
601
609
|
|
@@ -617,7 +625,7 @@ __Returns:__
|
|
617
625
|
|
618
626
|
--
|
619
627
|
|
620
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L663)
|
621
629
|
|
622
630
|
> def exists(pre_check = 0, post_check = @default_wait)
|
623
631
|
|
@@ -641,7 +649,7 @@ __Returns:__
|
|
641
649
|
|
642
650
|
--
|
643
651
|
|
644
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
652
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L687)
|
645
653
|
|
646
654
|
> def execute_script(script, *args)
|
647
655
|
|
@@ -659,7 +667,7 @@ __Returns:__
|
|
659
667
|
|
660
668
|
--
|
661
669
|
|
662
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L695)
|
663
671
|
|
664
672
|
> def find_elements(*args)
|
665
673
|
|
@@ -675,7 +683,7 @@ __Returns:__
|
|
675
683
|
|
676
684
|
--
|
677
685
|
|
678
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
686
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L703)
|
679
687
|
|
680
688
|
> def find_element(*args)
|
681
689
|
|
@@ -691,7 +699,7 @@ __Returns:__
|
|
691
699
|
|
692
700
|
--
|
693
701
|
|
694
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L716)
|
695
703
|
|
696
704
|
> def set_location(opts = {})
|
697
705
|
|
@@ -707,7 +715,7 @@ __Returns:__
|
|
707
715
|
|
708
716
|
--
|
709
717
|
|
710
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
718
|
+
##### [x](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L726)
|
711
719
|
|
712
720
|
> def x
|
713
721
|
|
@@ -720,7 +728,7 @@ __Returns:__
|
|
720
728
|
|
721
729
|
--
|
722
730
|
|
723
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
731
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/driver.rb#L735)
|
724
732
|
|
725
733
|
> def set_automation_name_if_nil
|
726
734
|
|
@@ -729,7 +737,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
729
737
|
|
730
738
|
--
|
731
739
|
|
732
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/logger.rb#L13)
|
733
741
|
|
734
742
|
> def logger=(value)
|
735
743
|
|
@@ -741,7 +749,7 @@ __Parameters:__
|
|
741
749
|
|
742
750
|
--
|
743
751
|
|
744
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/logger.rb#L17)
|
745
753
|
|
746
754
|
> def logger
|
747
755
|
|
@@ -749,7 +757,7 @@ __Parameters:__
|
|
749
757
|
|
750
758
|
--
|
751
759
|
|
752
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L7)
|
753
761
|
|
754
762
|
> def app_strings
|
755
763
|
|
@@ -760,7 +768,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
760
768
|
|
761
769
|
--
|
762
770
|
|
763
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L13)
|
764
772
|
|
765
773
|
> def background_app
|
766
774
|
|
@@ -769,7 +777,7 @@ This is a blocking application
|
|
769
777
|
|
770
778
|
--
|
771
779
|
|
772
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L24)
|
773
781
|
|
774
782
|
> def current_activity
|
775
783
|
|
@@ -777,7 +785,7 @@ This is a blocking application
|
|
777
785
|
|
778
786
|
--
|
779
787
|
|
780
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L26)
|
781
789
|
|
782
790
|
> def launch_app
|
783
791
|
|
@@ -785,7 +793,7 @@ Start the simulator and application configured with desired capabilities
|
|
785
793
|
|
786
794
|
--
|
787
795
|
|
788
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
796
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L29)
|
789
797
|
|
790
798
|
> def reset
|
791
799
|
|
@@ -793,7 +801,7 @@ Reset the device, relaunching the application.
|
|
793
801
|
|
794
802
|
--
|
795
803
|
|
796
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L32)
|
797
805
|
|
798
806
|
> def shake
|
799
807
|
|
@@ -801,7 +809,7 @@ Cause the device to shake
|
|
801
809
|
|
802
810
|
--
|
803
811
|
|
804
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
812
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L35)
|
805
813
|
|
806
814
|
> def toggle_flight_mode
|
807
815
|
|
@@ -809,7 +817,7 @@ Toggle flight mode on or off
|
|
809
817
|
|
810
818
|
--
|
811
819
|
|
812
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
820
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L38)
|
813
821
|
|
814
822
|
> def device_locked?
|
815
823
|
|
@@ -817,7 +825,7 @@ Toggle flight mode on or off
|
|
817
825
|
|
818
826
|
--
|
819
827
|
|
820
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
828
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L40)
|
821
829
|
|
822
830
|
> def hide_keyboard
|
823
831
|
|
@@ -830,7 +838,7 @@ Defaults to 'Done'.
|
|
830
838
|
|
831
839
|
--
|
832
840
|
|
833
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
841
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L49)
|
834
842
|
|
835
843
|
> def press_keycode
|
836
844
|
|
@@ -845,7 +853,7 @@ __Parameters:__
|
|
845
853
|
|
846
854
|
--
|
847
855
|
|
848
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L55)
|
849
857
|
|
850
858
|
> def long_press_keycode
|
851
859
|
|
@@ -860,7 +868,7 @@ __Parameters:__
|
|
860
868
|
|
861
869
|
--
|
862
870
|
|
863
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L61)
|
864
872
|
|
865
873
|
> def push_file
|
866
874
|
|
@@ -874,7 +882,7 @@ __Parameters:__
|
|
874
882
|
|
875
883
|
--
|
876
884
|
|
877
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
885
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L66)
|
878
886
|
|
879
887
|
> def pull_file
|
880
888
|
|
@@ -891,7 +899,7 @@ __Parameters:__
|
|
891
899
|
|
892
900
|
--
|
893
901
|
|
894
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
902
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L76)
|
895
903
|
|
896
904
|
> def pull_folder
|
897
905
|
|
@@ -906,7 +914,7 @@ __Parameters:__
|
|
906
914
|
|
907
915
|
--
|
908
916
|
|
909
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
917
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L84)
|
910
918
|
|
911
919
|
> def touch_id
|
912
920
|
|
@@ -923,7 +931,7 @@ Defaults to true.
|
|
923
931
|
|
924
932
|
--
|
925
933
|
|
926
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
934
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L93)
|
927
935
|
|
928
936
|
> def end_coverage
|
929
937
|
|
@@ -937,7 +945,7 @@ __Parameters:__
|
|
937
945
|
|
938
946
|
--
|
939
947
|
|
940
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
948
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L98)
|
941
949
|
|
942
950
|
> def get_settings
|
943
951
|
|
@@ -945,7 +953,7 @@ Get appium Settings for current test session
|
|
945
953
|
|
946
954
|
--
|
947
955
|
|
948
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
956
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L101)
|
949
957
|
|
950
958
|
> def update_settings
|
951
959
|
|
@@ -957,7 +965,7 @@ __Parameters:__
|
|
957
965
|
|
958
966
|
--
|
959
967
|
|
960
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
968
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L105)
|
961
969
|
|
962
970
|
> def start_activity
|
963
971
|
|
@@ -971,7 +979,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
971
979
|
|
972
980
|
--
|
973
981
|
|
974
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
982
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L119)
|
975
983
|
|
976
984
|
> def get_network_connection
|
977
985
|
|
@@ -980,7 +988,7 @@ See set_network_connection method for return value
|
|
980
988
|
|
981
989
|
--
|
982
990
|
|
983
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L123)
|
984
992
|
|
985
993
|
> def set_network_connection
|
986
994
|
|
@@ -999,7 +1007,7 @@ __Parameters:__
|
|
999
1007
|
|
1000
1008
|
--
|
1001
1009
|
|
1002
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1010
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L136)
|
1003
1011
|
|
1004
1012
|
> def set_immediate_value
|
1005
1013
|
|
@@ -1013,7 +1021,7 @@ set_immediate_value element, 'hello'
|
|
1013
1021
|
|
1014
1022
|
--
|
1015
1023
|
|
1016
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L145)
|
1017
1025
|
|
1018
1026
|
> def get_performance_data_types
|
1019
1027
|
|
@@ -1027,7 +1035,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1027
1035
|
|
1028
1036
|
--
|
1029
1037
|
|
1030
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1038
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L400)
|
1031
1039
|
|
1032
1040
|
> def extend_search_contexts
|
1033
1041
|
|
@@ -1035,7 +1043,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1035
1043
|
|
1036
1044
|
--
|
1037
1045
|
|
1038
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1046
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L400)
|
1039
1047
|
|
1040
1048
|
> def find_element
|
1041
1049
|
|
@@ -1043,7 +1051,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1043
1051
|
|
1044
1052
|
--
|
1045
1053
|
|
1046
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1054
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L400)
|
1047
1055
|
|
1048
1056
|
> def find_elements
|
1049
1057
|
|
@@ -1055,7 +1063,7 @@ find_element/s with their accessibility_id
|
|
1055
1063
|
|
1056
1064
|
--
|
1057
1065
|
|
1058
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1066
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L431)
|
1059
1067
|
|
1060
1068
|
> def add_touch_actions
|
1061
1069
|
|
@@ -1063,7 +1071,7 @@ find_element/s with their accessibility_id
|
|
1063
1071
|
|
1064
1072
|
--
|
1065
1073
|
|
1066
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1074
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L454)
|
1067
1075
|
|
1068
1076
|
> def add_ime_actions
|
1069
1077
|
|
@@ -1071,7 +1079,7 @@ find_element/s with their accessibility_id
|
|
1071
1079
|
|
1072
1080
|
--
|
1073
1081
|
|
1074
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1082
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L529)
|
1075
1083
|
|
1076
1084
|
> def set_context
|
1077
1085
|
|
@@ -1086,7 +1094,7 @@ __Parameters:__
|
|
1086
1094
|
|
1087
1095
|
--
|
1088
1096
|
|
1089
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L537)
|
1090
1098
|
|
1091
1099
|
> def current_context
|
1092
1100
|
|
@@ -1098,7 +1106,7 @@ __Returns:__
|
|
1098
1106
|
|
1099
1107
|
--
|
1100
1108
|
|
1101
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L540)
|
1102
1110
|
|
1103
1111
|
> def available_contexts
|
1104
1112
|
|
@@ -1110,7 +1118,7 @@ __Returns:__
|
|
1110
1118
|
|
1111
1119
|
--
|
1112
1120
|
|
1113
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1121
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L550)
|
1114
1122
|
|
1115
1123
|
> def within_context(context)
|
1116
1124
|
|
@@ -1126,7 +1134,7 @@ __Parameters:__
|
|
1126
1134
|
|
1127
1135
|
--
|
1128
1136
|
|
1129
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1137
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/device.rb#L558)
|
1130
1138
|
|
1131
1139
|
> def switch_to_default_context
|
1132
1140
|
|
@@ -1134,7 +1142,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1134
1142
|
|
1135
1143
|
--
|
1136
1144
|
|
1137
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L28)
|
1138
1146
|
|
1139
1147
|
> def pinch(percentage = 25, auto_perform = true)
|
1140
1148
|
|
@@ -1153,7 +1161,7 @@ __Parameters:__
|
|
1153
1161
|
|
1154
1162
|
--
|
1155
1163
|
|
1156
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L57)
|
1157
1165
|
|
1158
1166
|
> def zoom(percentage = 200, auto_perform = true)
|
1159
1167
|
|
@@ -1172,7 +1180,7 @@ __Parameters:__
|
|
1172
1180
|
|
1173
1181
|
--
|
1174
1182
|
|
1175
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L79)
|
1176
1184
|
|
1177
1185
|
> def pinch_for_xcuitest(rate)
|
1178
1186
|
|
@@ -1180,7 +1188,7 @@ __Parameters:__
|
|
1180
1188
|
|
1181
1189
|
--
|
1182
1190
|
|
1183
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L94)
|
1184
1192
|
|
1185
1193
|
> def pinch_android(rate)
|
1186
1194
|
|
@@ -1188,7 +1196,7 @@ __Parameters:__
|
|
1188
1196
|
|
1189
1197
|
--
|
1190
1198
|
|
1191
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1199
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L108)
|
1192
1200
|
|
1193
1201
|
> def pinch_ios(rate)
|
1194
1202
|
|
@@ -1196,7 +1204,7 @@ __Parameters:__
|
|
1196
1204
|
|
1197
1205
|
--
|
1198
1206
|
|
1199
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L122)
|
1200
1208
|
|
1201
1209
|
> def zoom_for_xcuitest(rate)
|
1202
1210
|
|
@@ -1204,7 +1212,7 @@ __Parameters:__
|
|
1204
1212
|
|
1205
1213
|
--
|
1206
1214
|
|
1207
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1215
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L137)
|
1208
1216
|
|
1209
1217
|
> def zoom_android(rate)
|
1210
1218
|
|
@@ -1212,7 +1220,7 @@ __Parameters:__
|
|
1212
1220
|
|
1213
1221
|
--
|
1214
1222
|
|
1215
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L151)
|
1216
1224
|
|
1217
1225
|
> def zoom_ios(rate)
|
1218
1226
|
|
@@ -1220,7 +1228,7 @@ __Parameters:__
|
|
1220
1228
|
|
1221
1229
|
--
|
1222
1230
|
|
1223
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1231
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L167)
|
1224
1232
|
|
1225
1233
|
> def initialize
|
1226
1234
|
|
@@ -1232,7 +1240,7 @@ __Returns:__
|
|
1232
1240
|
|
1233
1241
|
--
|
1234
1242
|
|
1235
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [add](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L173)
|
1236
1244
|
|
1237
1245
|
> def add(chain)
|
1238
1246
|
|
@@ -1244,7 +1252,7 @@ __Parameters:__
|
|
1244
1252
|
|
1245
1253
|
--
|
1246
1254
|
|
1247
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/multi_touch.rb#L178)
|
1248
1256
|
|
1249
1257
|
> def perform
|
1250
1258
|
|
@@ -1252,7 +1260,7 @@ Ask Appium to perform the actions
|
|
1252
1260
|
|
1253
1261
|
--
|
1254
1262
|
|
1255
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L11)
|
1256
1264
|
|
1257
1265
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1258
1266
|
|
@@ -1260,7 +1268,7 @@ Ask Appium to perform the actions
|
|
1260
1268
|
|
1261
1269
|
--
|
1262
1270
|
|
1263
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L12)
|
1264
1272
|
|
1265
1273
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1266
1274
|
|
@@ -1268,7 +1276,7 @@ Ask Appium to perform the actions
|
|
1268
1276
|
|
1269
1277
|
--
|
1270
1278
|
|
1271
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L26)
|
1272
1280
|
|
1273
1281
|
> def actions
|
1274
1282
|
|
@@ -1276,7 +1284,7 @@ Returns the value of attribute actions
|
|
1276
1284
|
|
1277
1285
|
--
|
1278
1286
|
|
1279
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L28)
|
1280
1288
|
|
1281
1289
|
> def initialize
|
1282
1290
|
|
@@ -1288,7 +1296,7 @@ __Returns:__
|
|
1288
1296
|
|
1289
1297
|
--
|
1290
1298
|
|
1291
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L39)
|
1292
1300
|
|
1293
1301
|
> def move_to(opts)
|
1294
1302
|
|
@@ -1302,7 +1310,7 @@ __Parameters:__
|
|
1302
1310
|
|
1303
1311
|
--
|
1304
1312
|
|
1305
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1313
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L53)
|
1306
1314
|
|
1307
1315
|
> def long_press(opts)
|
1308
1316
|
|
@@ -1323,7 +1331,7 @@ __Parameters:__
|
|
1323
1331
|
|
1324
1332
|
--
|
1325
1333
|
|
1326
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1334
|
+
##### [press](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L65)
|
1327
1335
|
|
1328
1336
|
> def press(opts)
|
1329
1337
|
|
@@ -1336,7 +1344,7 @@ __Parameters:__
|
|
1336
1344
|
|
1337
1345
|
--
|
1338
1346
|
|
1339
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [release](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L76)
|
1340
1348
|
|
1341
1349
|
> def release(opts = nil)
|
1342
1350
|
|
@@ -1348,7 +1356,7 @@ __Parameters:__
|
|
1348
1356
|
|
1349
1357
|
--
|
1350
1358
|
|
1351
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L88)
|
1352
1360
|
|
1353
1361
|
> def tap(opts)
|
1354
1362
|
|
@@ -1361,7 +1369,7 @@ __Parameters:__
|
|
1361
1369
|
|
1362
1370
|
--
|
1363
1371
|
|
1364
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L101)
|
1365
1373
|
|
1366
1374
|
> def double_tap(opts)
|
1367
1375
|
|
@@ -1373,7 +1381,7 @@ __Parameters:__
|
|
1373
1381
|
|
1374
1382
|
--
|
1375
1383
|
|
1376
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1384
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L112)
|
1377
1385
|
|
1378
1386
|
> def two_finger_tap(opts)
|
1379
1387
|
|
@@ -1385,7 +1393,7 @@ __Parameters:__
|
|
1385
1393
|
|
1386
1394
|
--
|
1387
1395
|
|
1388
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L120)
|
1389
1397
|
|
1390
1398
|
> def wait(milliseconds)
|
1391
1399
|
|
@@ -1397,7 +1405,7 @@ __Parameters:__
|
|
1397
1405
|
|
1398
1406
|
--
|
1399
1407
|
|
1400
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1408
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L143)
|
1401
1409
|
|
1402
1410
|
> def swipe(opts, ele = nil)
|
1403
1411
|
|
@@ -1418,7 +1426,7 @@ __Parameters:__
|
|
1418
1426
|
|
1419
1427
|
--
|
1420
1428
|
|
1421
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1429
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L168)
|
1422
1430
|
|
1423
1431
|
> def perform
|
1424
1432
|
|
@@ -1426,7 +1434,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1426
1434
|
|
1427
1435
|
--
|
1428
1436
|
|
1429
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1437
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L174)
|
1430
1438
|
|
1431
1439
|
> def cancel
|
1432
1440
|
|
@@ -1434,7 +1442,7 @@ Does nothing, currently.
|
|
1434
1442
|
|
1435
1443
|
--
|
1436
1444
|
|
1437
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L180)
|
1438
1446
|
|
1439
1447
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1440
1448
|
|
@@ -1442,7 +1450,7 @@ Does nothing, currently.
|
|
1442
1450
|
|
1443
1451
|
--
|
1444
1452
|
|
1445
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1453
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L198)
|
1446
1454
|
|
1447
1455
|
> def chain_method(method, args = nil)
|
1448
1456
|
|
@@ -1450,7 +1458,7 @@ Does nothing, currently.
|
|
1450
1458
|
|
1451
1459
|
--
|
1452
1460
|
|
1453
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1461
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/device/touch_actions.rb#L204)
|
1454
1462
|
|
1455
1463
|
> def args_with_ele_ref(args)
|
1456
1464
|
|
@@ -1458,7 +1466,7 @@ Does nothing, currently.
|
|
1458
1466
|
|
1459
1467
|
--
|
1460
1468
|
|
1461
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/wait.rb#L9)
|
1462
1470
|
|
1463
1471
|
> def _generic_wait(opts = {})
|
1464
1472
|
|
@@ -1467,7 +1475,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1467
1475
|
|
1468
1476
|
--
|
1469
1477
|
|
1470
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1478
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/wait.rb#L48)
|
1471
1479
|
|
1472
1480
|
> def _process_wait_opts(opts)
|
1473
1481
|
|
@@ -1475,7 +1483,7 @@ process opts before calling _generic_wait
|
|
1475
1483
|
|
1476
1484
|
--
|
1477
1485
|
|
1478
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1486
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/wait.rb#L69)
|
1479
1487
|
|
1480
1488
|
> def wait_true(opts = {}, &block)
|
1481
1489
|
|
@@ -1495,7 +1503,7 @@ __Parameters:__
|
|
1495
1503
|
|
1496
1504
|
--
|
1497
1505
|
|
1498
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1506
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/wait.rb#L87)
|
1499
1507
|
|
1500
1508
|
> def wait(opts = {}, &block)
|
1501
1509
|
|
@@ -1513,7 +1521,7 @@ __Parameters:__
|
|
1513
1521
|
|
1514
1522
|
--
|
1515
1523
|
|
1516
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1524
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L24)
|
1517
1525
|
|
1518
1526
|
> def ignore
|
1519
1527
|
|
@@ -1521,7 +1529,7 @@ Return yield and ignore any exceptions.
|
|
1521
1529
|
|
1522
1530
|
--
|
1523
1531
|
|
1524
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1532
|
+
##### [back](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L31)
|
1525
1533
|
|
1526
1534
|
> def back
|
1527
1535
|
|
@@ -1533,7 +1541,7 @@ __Returns:__
|
|
1533
1541
|
|
1534
1542
|
--
|
1535
1543
|
|
1536
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L36)
|
1537
1545
|
|
1538
1546
|
> def session_id
|
1539
1547
|
|
@@ -1541,7 +1549,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1541
1549
|
|
1542
1550
|
--
|
1543
1551
|
|
1544
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1552
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L44)
|
1545
1553
|
|
1546
1554
|
> def xpath(xpath_str)
|
1547
1555
|
|
@@ -1557,7 +1565,7 @@ __Returns:__
|
|
1557
1565
|
|
1558
1566
|
--
|
1559
1567
|
|
1560
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1568
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L52)
|
1561
1569
|
|
1562
1570
|
> def xpaths(xpath_str)
|
1563
1571
|
|
@@ -1573,7 +1581,7 @@ __Returns:__
|
|
1573
1581
|
|
1574
1582
|
--
|
1575
1583
|
|
1576
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1584
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L56)
|
1577
1585
|
|
1578
1586
|
> def _print_source(source)
|
1579
1587
|
|
@@ -1581,7 +1589,7 @@ __Returns:__
|
|
1581
1589
|
|
1582
1590
|
--
|
1583
1591
|
|
1584
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1592
|
+
##### [result](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L69)
|
1585
1593
|
|
1586
1594
|
> def result
|
1587
1595
|
|
@@ -1589,7 +1597,7 @@ Returns the value of attribute result
|
|
1589
1597
|
|
1590
1598
|
--
|
1591
1599
|
|
1592
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1600
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L71)
|
1593
1601
|
|
1594
1602
|
> def initialize
|
1595
1603
|
|
@@ -1601,7 +1609,7 @@ __Returns:__
|
|
1601
1609
|
|
1602
1610
|
--
|
1603
1611
|
|
1604
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L75)
|
1605
1613
|
|
1606
1614
|
> def reset
|
1607
1615
|
|
@@ -1609,7 +1617,7 @@ __Returns:__
|
|
1609
1617
|
|
1610
1618
|
--
|
1611
1619
|
|
1612
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L80)
|
1613
1621
|
|
1614
1622
|
> def start_element(name, attrs = [])
|
1615
1623
|
|
@@ -1617,7 +1625,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1617
1625
|
|
1618
1626
|
--
|
1619
1627
|
|
1620
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1628
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L86)
|
1621
1629
|
|
1622
1630
|
> def formatted_result
|
1623
1631
|
|
@@ -1625,7 +1633,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1625
1633
|
|
1626
1634
|
--
|
1627
1635
|
|
1628
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1636
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L97)
|
1629
1637
|
|
1630
1638
|
> def get_page_class
|
1631
1639
|
|
@@ -1633,7 +1641,7 @@ Returns a string of class counts of visible elements.
|
|
1633
1641
|
|
1634
1642
|
--
|
1635
1643
|
|
1636
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1644
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L108)
|
1637
1645
|
|
1638
1646
|
> def page_class
|
1639
1647
|
|
@@ -1642,7 +1650,7 @@ Useful for appium_console.
|
|
1642
1650
|
|
1643
1651
|
--
|
1644
1652
|
|
1645
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L118)
|
1646
1654
|
|
1647
1655
|
> def px_to_window_rel(opts = {})
|
1648
1656
|
|
@@ -1654,7 +1662,7 @@ px_to_window_rel x: 50, y: 150
|
|
1654
1662
|
|
1655
1663
|
--
|
1656
1664
|
|
1657
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1665
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L137)
|
1658
1666
|
|
1659
1667
|
> def xml_keys(target)
|
1660
1668
|
|
@@ -1670,7 +1678,7 @@ __Returns:__
|
|
1670
1678
|
|
1671
1679
|
--
|
1672
1680
|
|
1673
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1681
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L145)
|
1674
1682
|
|
1675
1683
|
> def xml_values(target)
|
1676
1684
|
|
@@ -1686,7 +1694,7 @@ __Returns:__
|
|
1686
1694
|
|
1687
1695
|
--
|
1688
1696
|
|
1689
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1697
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L153)
|
1690
1698
|
|
1691
1699
|
> def resolve_id(id)
|
1692
1700
|
|
@@ -1702,7 +1710,7 @@ __Returns:__
|
|
1702
1710
|
|
1703
1711
|
--
|
1704
1712
|
|
1705
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1713
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L159)
|
1706
1714
|
|
1707
1715
|
> def filter
|
1708
1716
|
|
@@ -1710,7 +1718,7 @@ Returns the value of attribute filter
|
|
1710
1718
|
|
1711
1719
|
--
|
1712
1720
|
|
1713
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L162)
|
1714
1722
|
|
1715
1723
|
> def filter=(value)
|
1716
1724
|
|
@@ -1718,7 +1726,7 @@ convert to string to support symbols
|
|
1718
1726
|
|
1719
1727
|
--
|
1720
1728
|
|
1721
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1729
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L168)
|
1722
1730
|
|
1723
1731
|
> def initialize
|
1724
1732
|
|
@@ -1730,7 +1738,7 @@ __Returns:__
|
|
1730
1738
|
|
1731
1739
|
--
|
1732
1740
|
|
1733
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L173)
|
1734
1742
|
|
1735
1743
|
> def reset
|
1736
1744
|
|
@@ -1738,7 +1746,7 @@ __Returns:__
|
|
1738
1746
|
|
1739
1747
|
--
|
1740
1748
|
|
1741
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1749
|
+
##### [result](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L179)
|
1742
1750
|
|
1743
1751
|
> def result
|
1744
1752
|
|
@@ -1746,7 +1754,7 @@ __Returns:__
|
|
1746
1754
|
|
1747
1755
|
--
|
1748
1756
|
|
1749
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L195)
|
1750
1758
|
|
1751
1759
|
> def start_element(name, attrs = [])
|
1752
1760
|
|
@@ -1754,7 +1762,7 @@ __Returns:__
|
|
1754
1762
|
|
1755
1763
|
--
|
1756
1764
|
|
1757
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1765
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L204)
|
1758
1766
|
|
1759
1767
|
> def end_element(name)
|
1760
1768
|
|
@@ -1762,7 +1770,7 @@ __Returns:__
|
|
1762
1770
|
|
1763
1771
|
--
|
1764
1772
|
|
1765
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1773
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L210)
|
1766
1774
|
|
1767
1775
|
> def characters(chars)
|
1768
1776
|
|
@@ -1770,7 +1778,7 @@ __Returns:__
|
|
1770
1778
|
|
1771
1779
|
--
|
1772
1780
|
|
1773
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/helper.rb#L217)
|
1774
1782
|
|
1775
1783
|
> def _no_such_element
|
1776
1784
|
|
@@ -1778,7 +1786,7 @@ __Returns:__
|
|
1778
1786
|
|
1779
1787
|
--
|
1780
1788
|
|
1781
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/command.rb#L4)
|
1782
1790
|
|
1783
1791
|
> COMMAND_NO_ARG = {
|
1784
1792
|
|
@@ -1786,7 +1794,7 @@ __Returns:__
|
|
1786
1794
|
|
1787
1795
|
--
|
1788
1796
|
|
1789
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/command.rb#L24)
|
1790
1798
|
|
1791
1799
|
> COMMAND = {
|
1792
1800
|
|
@@ -1794,7 +1802,7 @@ __Returns:__
|
|
1794
1802
|
|
1795
1803
|
--
|
1796
1804
|
|
1797
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/element/window.rb#L5)
|
1798
1806
|
|
1799
1807
|
> def window_size
|
1800
1808
|
|
@@ -1802,7 +1810,7 @@ Get the window's size
|
|
1802
1810
|
|
1803
1811
|
--
|
1804
1812
|
|
1805
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1813
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/search_context.rb#L5)
|
1806
1814
|
|
1807
1815
|
> FINDERS = {
|
1808
1816
|
|
@@ -1810,7 +1818,7 @@ rubocop:disable Style/MutableConstant
|
|
1810
1818
|
|
1811
1819
|
--
|
1812
1820
|
|
1813
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [result](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L6) android
|
1814
1822
|
|
1815
1823
|
> def result
|
1816
1824
|
|
@@ -1818,7 +1826,7 @@ Returns the value of attribute result
|
|
1818
1826
|
|
1819
1827
|
--
|
1820
1828
|
|
1821
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L6) android
|
1822
1830
|
|
1823
1831
|
> def keys
|
1824
1832
|
|
@@ -1826,7 +1834,7 @@ Returns the value of attribute keys
|
|
1826
1834
|
|
1827
1835
|
--
|
1828
1836
|
|
1829
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L6) android
|
1830
1838
|
|
1831
1839
|
> def instance
|
1832
1840
|
|
@@ -1834,7 +1842,7 @@ Returns the value of attribute instance
|
|
1834
1842
|
|
1835
1843
|
--
|
1836
1844
|
|
1837
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L6) android
|
1838
1846
|
|
1839
1847
|
> def filter
|
1840
1848
|
|
@@ -1842,7 +1850,7 @@ Returns the value of attribute filter
|
|
1842
1850
|
|
1843
1851
|
--
|
1844
1852
|
|
1845
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L9) android
|
1846
1854
|
|
1847
1855
|
> def filter=(value)
|
1848
1856
|
|
@@ -1850,7 +1858,7 @@ convert to string to support symbols
|
|
1850
1858
|
|
1851
1859
|
--
|
1852
1860
|
|
1853
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1861
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L15) android
|
1854
1862
|
|
1855
1863
|
> def initialize
|
1856
1864
|
|
@@ -1862,7 +1870,7 @@ __Returns:__
|
|
1862
1870
|
|
1863
1871
|
--
|
1864
1872
|
|
1865
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1873
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L21) android
|
1866
1874
|
|
1867
1875
|
> def reset
|
1868
1876
|
|
@@ -1870,7 +1878,7 @@ __Returns:__
|
|
1870
1878
|
|
1871
1879
|
--
|
1872
1880
|
|
1873
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L28) android
|
1874
1882
|
|
1875
1883
|
> def start_element(name, attrs = [])
|
1876
1884
|
|
@@ -1878,7 +1886,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1878
1886
|
|
1879
1887
|
--
|
1880
1888
|
|
1881
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1889
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L88) android
|
1882
1890
|
|
1883
1891
|
> def _fix_android_native_source(source)
|
1884
1892
|
|
@@ -1888,7 +1896,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1888
1896
|
|
1889
1897
|
--
|
1890
1898
|
|
1891
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [source](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L116) android
|
1892
1900
|
|
1893
1901
|
> def source
|
1894
1902
|
|
@@ -1900,7 +1908,7 @@ __Returns:__
|
|
1900
1908
|
|
1901
1909
|
--
|
1902
1910
|
|
1903
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L126) android
|
1904
1912
|
|
1905
1913
|
> def get_android_inspect(class_name = false)
|
1906
1914
|
|
@@ -1919,7 +1927,7 @@ __Returns:__
|
|
1919
1927
|
|
1920
1928
|
--
|
1921
1929
|
|
1922
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1930
|
+
##### [page](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L152) android
|
1923
1931
|
|
1924
1932
|
> def page(opts = {})
|
1925
1933
|
|
@@ -1938,7 +1946,7 @@ __Returns:__
|
|
1938
1946
|
|
1939
1947
|
--
|
1940
1948
|
|
1941
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L164) android
|
1942
1950
|
|
1943
1951
|
> def current_app
|
1944
1952
|
|
@@ -1948,7 +1956,7 @@ example line:
|
|
1948
1956
|
|
1949
1957
|
--
|
1950
1958
|
|
1951
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1959
|
+
##### [id](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L188) android
|
1952
1960
|
|
1953
1961
|
> def id(id)
|
1954
1962
|
|
@@ -1964,7 +1972,7 @@ __Returns:__
|
|
1964
1972
|
|
1965
1973
|
--
|
1966
1974
|
|
1967
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1975
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L196) android
|
1968
1976
|
|
1969
1977
|
> def ids(id)
|
1970
1978
|
|
@@ -1980,7 +1988,7 @@ __Returns:__
|
|
1980
1988
|
|
1981
1989
|
--
|
1982
1990
|
|
1983
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L205) android
|
1984
1992
|
|
1985
1993
|
> def ele_index(class_name, index)
|
1986
1994
|
|
@@ -1998,7 +2006,7 @@ __Returns:__
|
|
1998
2006
|
|
1999
2007
|
--
|
2000
2008
|
|
2001
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2009
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L223) android
|
2002
2010
|
|
2003
2011
|
> def first_ele(class_name)
|
2004
2012
|
|
@@ -2014,7 +2022,7 @@ __Returns:__
|
|
2014
2022
|
|
2015
2023
|
--
|
2016
2024
|
|
2017
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2025
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L230) android
|
2018
2026
|
|
2019
2027
|
> def last_ele(class_name)
|
2020
2028
|
|
@@ -2030,7 +2038,7 @@ __Returns:__
|
|
2030
2038
|
|
2031
2039
|
--
|
2032
2040
|
|
2033
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2041
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L238) android
|
2034
2042
|
|
2035
2043
|
> def tag(class_name)
|
2036
2044
|
|
@@ -2046,7 +2054,7 @@ __Returns:__
|
|
2046
2054
|
|
2047
2055
|
--
|
2048
2056
|
|
2049
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L246) android
|
2050
2058
|
|
2051
2059
|
> def tags(class_name)
|
2052
2060
|
|
@@ -2062,7 +2070,7 @@ __Returns:__
|
|
2062
2070
|
|
2063
2071
|
--
|
2064
2072
|
|
2065
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2073
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L288) android
|
2066
2074
|
|
2067
2075
|
> def string_visible_contains(class_name, value)
|
2068
2076
|
|
@@ -2082,7 +2090,7 @@ __Returns:__
|
|
2082
2090
|
|
2083
2091
|
--
|
2084
2092
|
|
2085
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2093
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L308) android
|
2086
2094
|
|
2087
2095
|
> def complex_find_contains(element, value)
|
2088
2096
|
|
@@ -2100,7 +2108,7 @@ __Returns:__
|
|
2100
2108
|
|
2101
2109
|
--
|
2102
2110
|
|
2103
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L316) android
|
2104
2112
|
|
2105
2113
|
> def complex_finds_contains(element, value)
|
2106
2114
|
|
@@ -2118,7 +2126,7 @@ __Returns:__
|
|
2118
2126
|
|
2119
2127
|
--
|
2120
2128
|
|
2121
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2129
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L345) android
|
2122
2130
|
|
2123
2131
|
> def complex_find_exact(class_name, value)
|
2124
2132
|
|
@@ -2136,7 +2144,7 @@ __Returns:__
|
|
2136
2144
|
|
2137
2145
|
--
|
2138
2146
|
|
2139
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2147
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L353) android
|
2140
2148
|
|
2141
2149
|
> def complex_finds_exact(class_name, value)
|
2142
2150
|
|
@@ -2154,7 +2162,7 @@ __Returns:__
|
|
2154
2162
|
|
2155
2163
|
--
|
2156
2164
|
|
2157
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2165
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/helper.rb#L361) android
|
2158
2166
|
|
2159
2167
|
> def get_source
|
2160
2168
|
|
@@ -2168,7 +2176,7 @@ __Returns:__
|
|
2168
2176
|
|
2169
2177
|
--
|
2170
2178
|
|
2171
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2179
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/client_xpath.rb#L5) android
|
2172
2180
|
|
2173
2181
|
> def _nodeset_to_uiselector(opts = {})
|
2174
2182
|
|
@@ -2176,7 +2184,7 @@ __Returns:__
|
|
2176
2184
|
|
2177
2185
|
--
|
2178
2186
|
|
2179
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2187
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/client_xpath.rb#L20) android
|
2180
2188
|
|
2181
2189
|
> def _client_xpath(opts = {})
|
2182
2190
|
|
@@ -2184,7 +2192,7 @@ __Returns:__
|
|
2184
2192
|
|
2185
2193
|
--
|
2186
2194
|
|
2187
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2195
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/client_xpath.rb#L36) android
|
2188
2196
|
|
2189
2197
|
> def client_xpath(xpath)
|
2190
2198
|
|
@@ -2192,7 +2200,7 @@ __Returns:__
|
|
2192
2200
|
|
2193
2201
|
--
|
2194
2202
|
|
2195
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2203
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/client_xpath.rb#L40) android
|
2196
2204
|
|
2197
2205
|
> def client_xpaths(xpath)
|
2198
2206
|
|
@@ -2200,7 +2208,7 @@ __Returns:__
|
|
2200
2208
|
|
2201
2209
|
--
|
2202
2210
|
|
2203
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2211
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/text.rb#L4) android
|
2204
2212
|
|
2205
2213
|
> TextView = 'android.widget.TextView'.freeze
|
2206
2214
|
|
@@ -2208,7 +2216,7 @@ __Returns:__
|
|
2208
2216
|
|
2209
2217
|
--
|
2210
2218
|
|
2211
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [text](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/text.rb#L10) android
|
2212
2220
|
|
2213
2221
|
> def text(value)
|
2214
2222
|
|
@@ -2225,7 +2233,7 @@ __Returns:__
|
|
2225
2233
|
|
2226
2234
|
--
|
2227
2235
|
|
2228
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2236
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/text.rb#L19) android
|
2229
2237
|
|
2230
2238
|
> def texts(value = false)
|
2231
2239
|
|
@@ -2242,7 +2250,7 @@ __Returns:__
|
|
2242
2250
|
|
2243
2251
|
--
|
2244
2252
|
|
2245
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2253
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/text.rb#L26) android
|
2246
2254
|
|
2247
2255
|
> def first_text
|
2248
2256
|
|
@@ -2254,7 +2262,7 @@ __Returns:__
|
|
2254
2262
|
|
2255
2263
|
--
|
2256
2264
|
|
2257
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2265
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/text.rb#L32) android
|
2258
2266
|
|
2259
2267
|
> def last_text
|
2260
2268
|
|
@@ -2266,7 +2274,7 @@ __Returns:__
|
|
2266
2274
|
|
2267
2275
|
--
|
2268
2276
|
|
2269
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2277
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/text.rb#L39) android
|
2270
2278
|
|
2271
2279
|
> def text_exact(value)
|
2272
2280
|
|
@@ -2282,7 +2290,7 @@ __Returns:__
|
|
2282
2290
|
|
2283
2291
|
--
|
2284
2292
|
|
2285
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2293
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/text.rb#L46) android
|
2286
2294
|
|
2287
2295
|
> def texts_exact(value)
|
2288
2296
|
|
@@ -2298,7 +2306,7 @@ __Returns:__
|
|
2298
2306
|
|
2299
2307
|
--
|
2300
2308
|
|
2301
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2309
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/alert.rb#L6) android
|
2302
2310
|
|
2303
2311
|
> def alert_click(value)
|
2304
2312
|
|
@@ -2314,7 +2322,7 @@ __Returns:__
|
|
2314
2322
|
|
2315
2323
|
--
|
2316
2324
|
|
2317
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/alert.rb#L13) android
|
2318
2326
|
|
2319
2327
|
> def alert_accept
|
2320
2328
|
|
@@ -2327,7 +2335,7 @@ __Returns:__
|
|
2327
2335
|
|
2328
2336
|
--
|
2329
2337
|
|
2330
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2338
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/alert.rb#L20) android
|
2331
2339
|
|
2332
2340
|
> def alert_accept_text
|
2333
2341
|
|
@@ -2340,7 +2348,7 @@ __Returns:__
|
|
2340
2348
|
|
2341
2349
|
--
|
2342
2350
|
|
2343
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2351
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/alert.rb#L27) android
|
2344
2352
|
|
2345
2353
|
> def alert_dismiss
|
2346
2354
|
|
@@ -2353,7 +2361,7 @@ __Returns:__
|
|
2353
2361
|
|
2354
2362
|
--
|
2355
2363
|
|
2356
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2364
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/alert.rb#L34) android
|
2357
2365
|
|
2358
2366
|
> def alert_dismiss_text
|
2359
2367
|
|
@@ -2366,7 +2374,7 @@ __Returns:__
|
|
2366
2374
|
|
2367
2375
|
--
|
2368
2376
|
|
2369
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2377
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L4) android
|
2370
2378
|
|
2371
2379
|
> Button = 'android.widget.Button'.freeze
|
2372
2380
|
|
@@ -2374,7 +2382,7 @@ __Returns:__
|
|
2374
2382
|
|
2375
2383
|
--
|
2376
2384
|
|
2377
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2385
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L5) android
|
2378
2386
|
|
2379
2387
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2380
2388
|
|
@@ -2382,7 +2390,7 @@ __Returns:__
|
|
2382
2390
|
|
2383
2391
|
--
|
2384
2392
|
|
2385
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2393
|
+
##### [button](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L43) android
|
2386
2394
|
|
2387
2395
|
> def button(value)
|
2388
2396
|
|
@@ -2399,7 +2407,7 @@ __Returns:__
|
|
2399
2407
|
|
2400
2408
|
--
|
2401
2409
|
|
2402
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2410
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L60) android
|
2403
2411
|
|
2404
2412
|
> def buttons(value = false)
|
2405
2413
|
|
@@ -2416,7 +2424,7 @@ __Returns:__
|
|
2416
2424
|
|
2417
2425
|
--
|
2418
2426
|
|
2419
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L67) android
|
2420
2428
|
|
2421
2429
|
> def first_button
|
2422
2430
|
|
@@ -2428,7 +2436,7 @@ __Returns:__
|
|
2428
2436
|
|
2429
2437
|
--
|
2430
2438
|
|
2431
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2439
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L73) android
|
2432
2440
|
|
2433
2441
|
> def last_button
|
2434
2442
|
|
@@ -2440,7 +2448,7 @@ __Returns:__
|
|
2440
2448
|
|
2441
2449
|
--
|
2442
2450
|
|
2443
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2451
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L89) android
|
2444
2452
|
|
2445
2453
|
> def button_exact(value)
|
2446
2454
|
|
@@ -2456,7 +2464,7 @@ __Returns:__
|
|
2456
2464
|
|
2457
2465
|
--
|
2458
2466
|
|
2459
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2467
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/button.rb#L96) android
|
2460
2468
|
|
2461
2469
|
> def buttons_exact(value)
|
2462
2470
|
|
@@ -2472,7 +2480,7 @@ __Returns:__
|
|
2472
2480
|
|
2473
2481
|
--
|
2474
2482
|
|
2475
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2483
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2476
2484
|
|
2477
2485
|
> def uiautomator_find
|
2478
2486
|
|
@@ -2484,7 +2492,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2484
2492
|
|
2485
2493
|
--
|
2486
2494
|
|
2487
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2495
|
+
##### [find](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/generic.rb#L6) android
|
2488
2496
|
|
2489
2497
|
> def find(value)
|
2490
2498
|
|
@@ -2500,7 +2508,7 @@ __Returns:__
|
|
2500
2508
|
|
2501
2509
|
--
|
2502
2510
|
|
2503
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2511
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/generic.rb#L13) android
|
2504
2512
|
|
2505
2513
|
> def finds(value)
|
2506
2514
|
|
@@ -2516,7 +2524,7 @@ __Returns:__
|
|
2516
2524
|
|
2517
2525
|
--
|
2518
2526
|
|
2519
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2527
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/generic.rb#L20) android
|
2520
2528
|
|
2521
2529
|
> def find_exact(value)
|
2522
2530
|
|
@@ -2532,7 +2540,7 @@ __Returns:__
|
|
2532
2540
|
|
2533
2541
|
--
|
2534
2542
|
|
2535
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2543
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/generic.rb#L27) android
|
2536
2544
|
|
2537
2545
|
> def finds_exact(value)
|
2538
2546
|
|
@@ -2548,7 +2556,7 @@ __Returns:__
|
|
2548
2556
|
|
2549
2557
|
--
|
2550
2558
|
|
2551
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2559
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/generic.rb#L39) android
|
2552
2560
|
|
2553
2561
|
> def scroll_to(text)
|
2554
2562
|
|
@@ -2564,7 +2572,7 @@ __Returns:__
|
|
2564
2572
|
|
2565
2573
|
--
|
2566
2574
|
|
2567
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2575
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/generic.rb#L51) android
|
2568
2576
|
|
2569
2577
|
> def scroll_to_exact(text)
|
2570
2578
|
|
@@ -2580,7 +2588,7 @@ __Returns:__
|
|
2580
2588
|
|
2581
2589
|
--
|
2582
2590
|
|
2583
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2591
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/textfield.rb#L3) android
|
2584
2592
|
|
2585
2593
|
> EditText = 'android.widget.EditText'.freeze
|
2586
2594
|
|
@@ -2588,7 +2596,7 @@ __Returns:__
|
|
2588
2596
|
|
2589
2597
|
--
|
2590
2598
|
|
2591
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2599
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/textfield.rb#L9) android
|
2592
2600
|
|
2593
2601
|
> def textfield(value)
|
2594
2602
|
|
@@ -2605,7 +2613,7 @@ __Returns:__
|
|
2605
2613
|
|
2606
2614
|
--
|
2607
2615
|
|
2608
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2616
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/textfield.rb#L18) android
|
2609
2617
|
|
2610
2618
|
> def textfields(value = false)
|
2611
2619
|
|
@@ -2622,7 +2630,7 @@ __Returns:__
|
|
2622
2630
|
|
2623
2631
|
--
|
2624
2632
|
|
2625
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2633
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/textfield.rb#L25) android
|
2626
2634
|
|
2627
2635
|
> def first_textfield
|
2628
2636
|
|
@@ -2634,7 +2642,7 @@ __Returns:__
|
|
2634
2642
|
|
2635
2643
|
--
|
2636
2644
|
|
2637
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2645
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/textfield.rb#L31) android
|
2638
2646
|
|
2639
2647
|
> def last_textfield
|
2640
2648
|
|
@@ -2646,7 +2654,7 @@ __Returns:__
|
|
2646
2654
|
|
2647
2655
|
--
|
2648
2656
|
|
2649
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2657
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/textfield.rb#L38) android
|
2650
2658
|
|
2651
2659
|
> def textfield_exact(value)
|
2652
2660
|
|
@@ -2662,7 +2670,7 @@ __Returns:__
|
|
2662
2670
|
|
2663
2671
|
--
|
2664
2672
|
|
2665
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2673
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/android/element/textfield.rb#L45) android
|
2666
2674
|
|
2667
2675
|
> def textfields_exact(value)
|
2668
2676
|
|
@@ -2678,7 +2686,7 @@ __Returns:__
|
|
2678
2686
|
|
2679
2687
|
--
|
2680
2688
|
|
2681
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2689
|
+
##### [value](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/patch.rb#L12)
|
2682
2690
|
|
2683
2691
|
> def value
|
2684
2692
|
|
@@ -2688,7 +2696,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2688
2696
|
|
2689
2697
|
--
|
2690
2698
|
|
2691
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2699
|
+
##### [name](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/patch.rb#L19)
|
2692
2700
|
|
2693
2701
|
> def name
|
2694
2702
|
|
@@ -2698,7 +2706,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2698
2706
|
|
2699
2707
|
--
|
2700
2708
|
|
2701
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2709
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/patch.rb#L31)
|
2702
2710
|
|
2703
2711
|
> def location_rel
|
2704
2712
|
|
@@ -2716,7 +2724,7 @@ __Returns:__
|
|
2716
2724
|
|
2717
2725
|
--
|
2718
2726
|
|
2719
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2727
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/patch.rb#L152)
|
2720
2728
|
|
2721
2729
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2722
2730
|
|
@@ -2724,7 +2732,7 @@ __Returns:__
|
|
2724
2732
|
|
2725
2733
|
--
|
2726
2734
|
|
2727
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2735
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/02da3389a76ed75e42cc8f8f2018dc61cc93c70c/lib/appium_lib/common/patch.rb#L155)
|
2728
2736
|
|
2729
2737
|
> def patch_remote_driver_commands
|
2730
2738
|
|