appium_lib 8.0.0 → 8.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/appium_lib.gemspec +1 -1
- data/contributing.md +9 -0
- data/docs/android_docs.md +191 -191
- data/docs/ios_docs.md +185 -185
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +2 -7
- data/release_notes.md +10 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e1ced2eabafaed97fa77858f441c7f9ea1bd1fd
|
4
|
+
data.tar.gz: 9d46eff21ed7e4c1702cba81fb5aae37e3191cba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0f193a8c2bd5454a36467c7d4f8a8471145818a3368665d9074fb7a3f3266231733affb430422d95a620da4f515964a6fb3ca812dc0f767213c4b0f184aeae5a
|
7
|
+
data.tar.gz: 0803abb85635df8e860d7063727fade3b0c2ced6369ae91a8231eaef974055781532d0b98d9aa67e3fd94ac23ac96f1612a56c7e77d2d50980cef5010ff19c23
|
data/appium_lib.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |s|
|
|
17
17
|
s.add_runtime_dependency 'selenium-webdriver', '~> 2.48'
|
18
18
|
s.add_runtime_dependency 'awesome_print', '~> 1.6'
|
19
19
|
s.add_runtime_dependency 'json', '~> 1.8'
|
20
|
-
s.add_runtime_dependency '
|
20
|
+
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
21
21
|
s.add_runtime_dependency 'nokogiri', '~> 1.6.6'
|
22
22
|
|
23
23
|
s.add_development_dependency 'posix-spawn', '~> 0.3'
|
data/contributing.md
CHANGED
@@ -21,3 +21,12 @@ Android tests require running on physical hardware with Android 5.0 (API 21). Th
|
|
21
21
|
|
22
22
|
- `cd android_tests`
|
23
23
|
- `flake 3 android` - Run all the Android tests up to 3 times
|
24
|
+
|
25
|
+
### Publishing
|
26
|
+
|
27
|
+
0. Ensure you have `~/.gem/credentials` If not run [the following command](http://guides.rubygems.org/make-your-own-gem/) (replace username with your rubygems user)
|
28
|
+
> $ curl -u username https://rubygems.org/api/v1/api_key.yaml >
|
29
|
+
~/.gem/credentials; chmod 0600 ~/.gem/credentials
|
30
|
+
|
31
|
+
1. Bump the version number `rake bump`
|
32
|
+
2. Publish with `rake release`
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L70)
|
2
2
|
|
3
3
|
> def self.load_appium_txt(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L136)
|
31
31
|
|
32
32
|
> def self.symbolize_keys(hash)
|
33
33
|
|
@@ -38,7 +38,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
38
38
|
|
39
39
|
--
|
40
40
|
|
41
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
41
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L157)
|
42
42
|
|
43
43
|
> def self.promote_singleton_appium_methods(modules)
|
44
44
|
|
@@ -56,7 +56,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L208)
|
60
60
|
|
61
61
|
> def self.promote_appium_methods(class_array)
|
62
62
|
|
@@ -86,7 +86,7 @@ __Parameters:__
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L242)
|
90
90
|
|
91
91
|
> def global_webdriver_http_sleep
|
92
92
|
|
@@ -94,7 +94,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
94
94
|
|
95
95
|
--
|
96
96
|
|
97
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
97
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L242)
|
98
98
|
|
99
99
|
> def global_webdriver_http_sleep=(value)
|
100
100
|
|
@@ -102,7 +102,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
102
102
|
|
103
103
|
--
|
104
104
|
|
105
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
105
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L244)
|
106
106
|
|
107
107
|
> def caps
|
108
108
|
|
@@ -110,7 +110,7 @@ Selenium webdriver capabilities
|
|
110
110
|
|
111
111
|
--
|
112
112
|
|
113
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
113
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L244)
|
114
114
|
|
115
115
|
> def caps=(value)
|
116
116
|
|
@@ -118,7 +118,7 @@ Selenium webdriver capabilities
|
|
118
118
|
|
119
119
|
--
|
120
120
|
|
121
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
121
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L246)
|
122
122
|
|
123
123
|
> def custom_url
|
124
124
|
|
@@ -126,7 +126,7 @@ Custom URL for the selenium server
|
|
126
126
|
|
127
127
|
--
|
128
128
|
|
129
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
129
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L246)
|
130
130
|
|
131
131
|
> def custom_url=(value)
|
132
132
|
|
@@ -134,7 +134,7 @@ Custom URL for the selenium server
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L248)
|
138
138
|
|
139
139
|
> def export_session
|
140
140
|
|
@@ -142,7 +142,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
142
142
|
|
143
143
|
--
|
144
144
|
|
145
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
145
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L248)
|
146
146
|
|
147
147
|
> def export_session=(value)
|
148
148
|
|
@@ -150,7 +150,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
150
150
|
|
151
151
|
--
|
152
152
|
|
153
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
153
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L253)
|
154
154
|
|
155
155
|
> def default_wait
|
156
156
|
|
@@ -164,7 +164,7 @@ __Returns:__
|
|
164
164
|
|
165
165
|
--
|
166
166
|
|
167
|
-
##### [default_wait=](https://github.com/appium/ruby_lib/blob/
|
167
|
+
##### [default_wait=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L253)
|
168
168
|
|
169
169
|
> def default_wait=(value)
|
170
170
|
|
@@ -178,7 +178,7 @@ __Returns:__
|
|
178
178
|
|
179
179
|
--
|
180
180
|
|
181
|
-
##### [last_waits](https://github.com/appium/ruby_lib/blob/
|
181
|
+
##### [last_waits](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L255)
|
182
182
|
|
183
183
|
> def last_waits
|
184
184
|
|
@@ -186,7 +186,7 @@ Array of previous wait time values
|
|
186
186
|
|
187
187
|
--
|
188
188
|
|
189
|
-
##### [last_waits=](https://github.com/appium/ruby_lib/blob/
|
189
|
+
##### [last_waits=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L255)
|
190
190
|
|
191
191
|
> def last_waits=(value)
|
192
192
|
|
@@ -194,7 +194,7 @@ Array of previous wait time values
|
|
194
194
|
|
195
195
|
--
|
196
196
|
|
197
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
197
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L257)
|
198
198
|
|
199
199
|
> def sauce_username
|
200
200
|
|
@@ -202,7 +202,7 @@ Username for use on Sauce Labs
|
|
202
202
|
|
203
203
|
--
|
204
204
|
|
205
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
205
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L257)
|
206
206
|
|
207
207
|
> def sauce_username=(value)
|
208
208
|
|
@@ -210,7 +210,7 @@ Username for use on Sauce Labs
|
|
210
210
|
|
211
211
|
--
|
212
212
|
|
213
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
213
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L259)
|
214
214
|
|
215
215
|
> def sauce_access_key
|
216
216
|
|
@@ -218,7 +218,7 @@ Access Key for use on Sauce Labs
|
|
218
218
|
|
219
219
|
--
|
220
220
|
|
221
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
221
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L259)
|
222
222
|
|
223
223
|
> def sauce_access_key=(value)
|
224
224
|
|
@@ -226,7 +226,7 @@ Access Key for use on Sauce Labs
|
|
226
226
|
|
227
227
|
--
|
228
228
|
|
229
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
229
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L261)
|
230
230
|
|
231
231
|
> def appium_port
|
232
232
|
|
@@ -234,7 +234,7 @@ Appium's server port
|
|
234
234
|
|
235
235
|
--
|
236
236
|
|
237
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
237
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L261)
|
238
238
|
|
239
239
|
> def appium_port=(value)
|
240
240
|
|
@@ -242,7 +242,7 @@ Appium's server port
|
|
242
242
|
|
243
243
|
--
|
244
244
|
|
245
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
245
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L263)
|
246
246
|
|
247
247
|
> def appium_device
|
248
248
|
|
@@ -250,7 +250,7 @@ Device type to request from the appium server
|
|
250
250
|
|
251
251
|
--
|
252
252
|
|
253
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
253
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L263)
|
254
254
|
|
255
255
|
> def appium_device=(value)
|
256
256
|
|
@@ -258,7 +258,7 @@ Device type to request from the appium server
|
|
258
258
|
|
259
259
|
--
|
260
260
|
|
261
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
261
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L265)
|
262
262
|
|
263
263
|
> def appium_debug
|
264
264
|
|
@@ -266,7 +266,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
266
266
|
|
267
267
|
--
|
268
268
|
|
269
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
269
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L265)
|
270
270
|
|
271
271
|
> def appium_debug=(value)
|
272
272
|
|
@@ -274,7 +274,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
274
274
|
|
275
275
|
--
|
276
276
|
|
277
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
277
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L269)
|
278
278
|
|
279
279
|
> def driver
|
280
280
|
|
@@ -286,7 +286,7 @@ __Returns:__
|
|
286
286
|
|
287
287
|
--
|
288
288
|
|
289
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
289
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L290)
|
290
290
|
|
291
291
|
> def initialize(opts = {})
|
292
292
|
|
@@ -317,7 +317,7 @@ __Returns:__
|
|
317
317
|
|
318
318
|
--
|
319
319
|
|
320
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
320
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L354)
|
321
321
|
|
322
322
|
> def driver_attributes
|
323
323
|
|
@@ -325,7 +325,7 @@ Returns a hash of the driver attributes
|
|
325
325
|
|
326
326
|
--
|
327
327
|
|
328
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
328
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L374)
|
329
329
|
|
330
330
|
> def device_is_android?
|
331
331
|
|
@@ -337,7 +337,7 @@ __Returns:__
|
|
337
337
|
|
338
338
|
--
|
339
339
|
|
340
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
340
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L390)
|
341
341
|
|
342
342
|
> def appium_server_version
|
343
343
|
|
@@ -358,7 +358,7 @@ __Returns:__
|
|
358
358
|
|
359
359
|
--
|
360
360
|
|
361
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
361
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L402)
|
362
362
|
|
363
363
|
> def self.absolute_app_path(opts)
|
364
364
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L435)
|
379
379
|
|
380
380
|
> def server_url
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L446)
|
391
391
|
|
392
392
|
> def restart
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L457)
|
403
403
|
|
404
404
|
> def screenshot(png_save_path)
|
405
405
|
|
@@ -417,7 +417,7 @@ __Returns:__
|
|
417
417
|
|
418
418
|
--
|
419
419
|
|
420
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
420
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L464)
|
421
421
|
|
422
422
|
> def driver_quit
|
423
423
|
|
@@ -429,7 +429,7 @@ __Returns:__
|
|
429
429
|
|
430
430
|
--
|
431
431
|
|
432
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
432
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L473)
|
433
433
|
|
434
434
|
> def start_driver
|
435
435
|
|
@@ -441,7 +441,7 @@ __Returns:__
|
|
441
441
|
|
442
442
|
--
|
443
443
|
|
444
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
444
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L501)
|
445
445
|
|
446
446
|
> def no_wait
|
447
447
|
|
@@ -449,7 +449,7 @@ Set implicit wait and default_wait to zero.
|
|
449
449
|
|
450
450
|
--
|
451
451
|
|
452
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
452
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L520)
|
453
453
|
|
454
454
|
> def set_wait(timeout = nil)
|
455
455
|
|
@@ -474,7 +474,7 @@ __Returns:__
|
|
474
474
|
|
475
475
|
--
|
476
476
|
|
477
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
477
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L547)
|
478
478
|
|
479
479
|
> def exists(pre_check = 0, post_check = @default_wait, &search_block)
|
480
480
|
|
@@ -500,7 +500,7 @@ __Returns:__
|
|
500
500
|
|
501
501
|
--
|
502
502
|
|
503
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
503
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L571)
|
504
504
|
|
505
505
|
> def execute_script(script, *args)
|
506
506
|
|
@@ -518,7 +518,7 @@ __Returns:__
|
|
518
518
|
|
519
519
|
--
|
520
520
|
|
521
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
521
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L579)
|
522
522
|
|
523
523
|
> def find_elements(*args)
|
524
524
|
|
@@ -534,7 +534,7 @@ __Returns:__
|
|
534
534
|
|
535
535
|
--
|
536
536
|
|
537
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
537
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L587)
|
538
538
|
|
539
539
|
> def find_element(*args)
|
540
540
|
|
@@ -550,7 +550,7 @@ __Returns:__
|
|
550
550
|
|
551
551
|
--
|
552
552
|
|
553
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
553
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L600)
|
554
554
|
|
555
555
|
> def set_location(opts = {})
|
556
556
|
|
@@ -566,7 +566,7 @@ __Returns:__
|
|
566
566
|
|
567
567
|
--
|
568
568
|
|
569
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
569
|
+
##### [x](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/driver.rb#L610)
|
570
570
|
|
571
571
|
> def x
|
572
572
|
|
@@ -579,7 +579,7 @@ __Returns:__
|
|
579
579
|
|
580
580
|
--
|
581
581
|
|
582
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
582
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/logger.rb#L13)
|
583
583
|
|
584
584
|
> def logger=(value)
|
585
585
|
|
@@ -591,7 +591,7 @@ __Parameters:__
|
|
591
591
|
|
592
592
|
--
|
593
593
|
|
594
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
594
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/logger.rb#L17)
|
595
595
|
|
596
596
|
> def logger
|
597
597
|
|
@@ -599,7 +599,7 @@ __Parameters:__
|
|
599
599
|
|
600
600
|
--
|
601
601
|
|
602
|
-
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/
|
602
|
+
##### [NoArgMethods](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L7)
|
603
603
|
|
604
604
|
> NoArgMethods = {
|
605
605
|
|
@@ -607,7 +607,7 @@ __Parameters:__
|
|
607
607
|
|
608
608
|
--
|
609
609
|
|
610
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L24)
|
611
611
|
|
612
612
|
> def app_strings
|
613
613
|
|
@@ -618,7 +618,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
618
618
|
|
619
619
|
--
|
620
620
|
|
621
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
621
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L30)
|
622
622
|
|
623
623
|
> def background_app
|
624
624
|
|
@@ -627,7 +627,7 @@ This is a blocking application
|
|
627
627
|
|
628
628
|
--
|
629
629
|
|
630
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
630
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L35)
|
631
631
|
|
632
632
|
> def current_activity
|
633
633
|
|
@@ -635,7 +635,7 @@ This is a blocking application
|
|
635
635
|
|
636
636
|
--
|
637
637
|
|
638
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
638
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L37)
|
639
639
|
|
640
640
|
> def launch_app
|
641
641
|
|
@@ -643,7 +643,7 @@ Start the simulator and application configured with desired capabilities
|
|
643
643
|
|
644
644
|
--
|
645
645
|
|
646
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L40)
|
647
647
|
|
648
648
|
> def reset
|
649
649
|
|
@@ -651,7 +651,7 @@ Reset the device, relaunching the application.
|
|
651
651
|
|
652
652
|
--
|
653
653
|
|
654
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
654
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L43)
|
655
655
|
|
656
656
|
> def shake
|
657
657
|
|
@@ -659,7 +659,7 @@ Cause the device to shake
|
|
659
659
|
|
660
660
|
--
|
661
661
|
|
662
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L46)
|
663
663
|
|
664
664
|
> def toggle_flight_mode
|
665
665
|
|
@@ -667,7 +667,7 @@ Toggle flight mode on or off
|
|
667
667
|
|
668
668
|
--
|
669
669
|
|
670
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L49)
|
671
671
|
|
672
672
|
> def device_locked?
|
673
673
|
|
@@ -675,7 +675,7 @@ Toggle flight mode on or off
|
|
675
675
|
|
676
676
|
--
|
677
677
|
|
678
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
678
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L51)
|
679
679
|
|
680
680
|
> def hide_keyboard
|
681
681
|
|
@@ -688,7 +688,7 @@ Defaults to 'Done'.
|
|
688
688
|
|
689
689
|
--
|
690
690
|
|
691
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
691
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L60)
|
692
692
|
|
693
693
|
> def press_keycode
|
694
694
|
|
@@ -703,7 +703,7 @@ __Parameters:__
|
|
703
703
|
|
704
704
|
--
|
705
705
|
|
706
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
706
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L66)
|
707
707
|
|
708
708
|
> def long_press_keycode
|
709
709
|
|
@@ -718,7 +718,7 @@ __Parameters:__
|
|
718
718
|
|
719
719
|
--
|
720
720
|
|
721
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
721
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L72)
|
722
722
|
|
723
723
|
> def push_file
|
724
724
|
|
@@ -732,7 +732,7 @@ __Parameters:__
|
|
732
732
|
|
733
733
|
--
|
734
734
|
|
735
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
735
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L77)
|
736
736
|
|
737
737
|
> def pull_file
|
738
738
|
|
@@ -749,7 +749,7 @@ __Parameters:__
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L87)
|
753
753
|
|
754
754
|
> def pull_folder
|
755
755
|
|
@@ -764,7 +764,7 @@ __Parameters:__
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L95)
|
768
768
|
|
769
769
|
> def end_coverage
|
770
770
|
|
@@ -778,7 +778,7 @@ __Parameters:__
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L100)
|
782
782
|
|
783
783
|
> def get_settings
|
784
784
|
|
@@ -786,7 +786,7 @@ Get appium Settings for current test session
|
|
786
786
|
|
787
787
|
--
|
788
788
|
|
789
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
789
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L351)
|
790
790
|
|
791
791
|
> def extend_search_contexts
|
792
792
|
|
@@ -794,7 +794,7 @@ Get appium Settings for current test session
|
|
794
794
|
|
795
795
|
--
|
796
796
|
|
797
|
-
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [accessiblity_id_find](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L351)
|
798
798
|
|
799
799
|
> def accessiblity_id_find
|
800
800
|
|
@@ -806,7 +806,7 @@ find_element/s with their accessibility_id
|
|
806
806
|
|
807
807
|
--
|
808
808
|
|
809
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L357)
|
810
810
|
|
811
811
|
> def add_touch_actions
|
812
812
|
|
@@ -814,7 +814,7 @@ find_element/s with their accessibility_id
|
|
814
814
|
|
815
815
|
--
|
816
816
|
|
817
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
817
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L381)
|
818
818
|
|
819
819
|
> def set_context
|
820
820
|
|
@@ -829,7 +829,7 @@ __Parameters:__
|
|
829
829
|
|
830
830
|
--
|
831
831
|
|
832
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
832
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L389)
|
833
833
|
|
834
834
|
> def current_context
|
835
835
|
|
@@ -841,7 +841,7 @@ __Returns:__
|
|
841
841
|
|
842
842
|
--
|
843
843
|
|
844
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
844
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L392)
|
845
845
|
|
846
846
|
> def available_contexts
|
847
847
|
|
@@ -853,7 +853,7 @@ __Returns:__
|
|
853
853
|
|
854
854
|
--
|
855
855
|
|
856
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L402)
|
857
857
|
|
858
858
|
> def within_context(context)
|
859
859
|
|
@@ -869,7 +869,7 @@ __Parameters:__
|
|
869
869
|
|
870
870
|
--
|
871
871
|
|
872
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/device.rb#L410)
|
873
873
|
|
874
874
|
> def switch_to_default_context
|
875
875
|
|
@@ -877,7 +877,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
877
877
|
|
878
878
|
--
|
879
879
|
|
880
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/multi_touch.rb#L28)
|
881
881
|
|
882
882
|
> def pinch(percentage = 25, auto_perform = true)
|
883
883
|
|
@@ -896,7 +896,7 @@ __Parameters:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/multi_touch.rb#L56)
|
900
900
|
|
901
901
|
> def zoom(percentage = 200, auto_perform = true)
|
902
902
|
|
@@ -915,7 +915,7 @@ __Parameters:__
|
|
915
915
|
|
916
916
|
--
|
917
917
|
|
918
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
918
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/multi_touch.rb#L77)
|
919
919
|
|
920
920
|
> def initialize
|
921
921
|
|
@@ -927,7 +927,7 @@ __Returns:__
|
|
927
927
|
|
928
928
|
--
|
929
929
|
|
930
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
930
|
+
##### [add](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/multi_touch.rb#L83)
|
931
931
|
|
932
932
|
> def add(chain)
|
933
933
|
|
@@ -939,7 +939,7 @@ __Parameters:__
|
|
939
939
|
|
940
940
|
--
|
941
941
|
|
942
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
942
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/multi_touch.rb#L88)
|
943
943
|
|
944
944
|
> def perform
|
945
945
|
|
@@ -947,7 +947,7 @@ Ask Appium to perform the actions
|
|
947
947
|
|
948
948
|
--
|
949
949
|
|
950
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
950
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L11)
|
951
951
|
|
952
952
|
> ACTIONS = [:move_to, :long_press, :press, :release, :tap, :wait, :perform]
|
953
953
|
|
@@ -955,7 +955,7 @@ Ask Appium to perform the actions
|
|
955
955
|
|
956
956
|
--
|
957
957
|
|
958
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L12)
|
959
959
|
|
960
960
|
> COMPLEX_ACTIONS = [:swipe]
|
961
961
|
|
@@ -963,7 +963,7 @@ Ask Appium to perform the actions
|
|
963
963
|
|
964
964
|
--
|
965
965
|
|
966
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L26)
|
967
967
|
|
968
968
|
> def actions
|
969
969
|
|
@@ -971,7 +971,7 @@ Returns the value of attribute actions
|
|
971
971
|
|
972
972
|
--
|
973
973
|
|
974
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L28)
|
975
975
|
|
976
976
|
> def initialize
|
977
977
|
|
@@ -983,7 +983,7 @@ __Returns:__
|
|
983
983
|
|
984
984
|
--
|
985
985
|
|
986
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
986
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L36)
|
987
987
|
|
988
988
|
> def move_to(opts)
|
989
989
|
|
@@ -995,7 +995,7 @@ __Parameters:__
|
|
995
995
|
|
996
996
|
--
|
997
997
|
|
998
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
998
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L46)
|
999
999
|
|
1000
1000
|
> def long_press(opts)
|
1001
1001
|
|
@@ -1013,7 +1013,7 @@ __Parameters:__
|
|
1013
1013
|
|
1014
1014
|
--
|
1015
1015
|
|
1016
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1016
|
+
##### [press](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L58)
|
1017
1017
|
|
1018
1018
|
> def press(opts)
|
1019
1019
|
|
@@ -1026,7 +1026,7 @@ __Parameters:__
|
|
1026
1026
|
|
1027
1027
|
--
|
1028
1028
|
|
1029
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1029
|
+
##### [release](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L69)
|
1030
1030
|
|
1031
1031
|
> def release(opts = nil)
|
1032
1032
|
|
@@ -1038,7 +1038,7 @@ __Parameters:__
|
|
1038
1038
|
|
1039
1039
|
--
|
1040
1040
|
|
1041
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1041
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L80)
|
1042
1042
|
|
1043
1043
|
> def tap(opts)
|
1044
1044
|
|
@@ -1050,7 +1050,7 @@ __Parameters:__
|
|
1050
1050
|
|
1051
1051
|
--
|
1052
1052
|
|
1053
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1053
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L89)
|
1054
1054
|
|
1055
1055
|
> def wait(milliseconds)
|
1056
1056
|
|
@@ -1062,7 +1062,7 @@ __Parameters:__
|
|
1062
1062
|
|
1063
1063
|
--
|
1064
1064
|
|
1065
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L103)
|
1066
1066
|
|
1067
1067
|
> def swipe(opts)
|
1068
1068
|
|
@@ -1076,7 +1076,7 @@ __Parameters:__
|
|
1076
1076
|
|
1077
1077
|
--
|
1078
1078
|
|
1079
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1079
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L118)
|
1080
1080
|
|
1081
1081
|
> def perform
|
1082
1082
|
|
@@ -1084,7 +1084,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1084
1084
|
|
1085
1085
|
--
|
1086
1086
|
|
1087
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L124)
|
1088
1088
|
|
1089
1089
|
> def cancel
|
1090
1090
|
|
@@ -1092,7 +1092,7 @@ Does nothing, currently.
|
|
1092
1092
|
|
1093
1093
|
--
|
1094
1094
|
|
1095
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1095
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L132)
|
1096
1096
|
|
1097
1097
|
> def chain_method(method, args = nil)
|
1098
1098
|
|
@@ -1100,7 +1100,7 @@ Does nothing, currently.
|
|
1100
1100
|
|
1101
1101
|
--
|
1102
1102
|
|
1103
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/device/touch_actions.rb#L141)
|
1104
1104
|
|
1105
1105
|
> def args_with_ele_ref(args)
|
1106
1106
|
|
@@ -1108,7 +1108,7 @@ Does nothing, currently.
|
|
1108
1108
|
|
1109
1109
|
--
|
1110
1110
|
|
1111
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/wait.rb#L9)
|
1112
1112
|
|
1113
1113
|
> def _generic_wait(opts = {}, &block)
|
1114
1114
|
|
@@ -1117,7 +1117,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1117
1117
|
|
1118
1118
|
--
|
1119
1119
|
|
1120
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/wait.rb#L54)
|
1121
1121
|
|
1122
1122
|
> def _process_wait_opts(opts)
|
1123
1123
|
|
@@ -1125,7 +1125,7 @@ process opts before calling _generic_wait
|
|
1125
1125
|
|
1126
1126
|
--
|
1127
1127
|
|
1128
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1128
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/wait.rb#L75)
|
1129
1129
|
|
1130
1130
|
> def wait_true(opts = {}, &block)
|
1131
1131
|
|
@@ -1145,7 +1145,7 @@ __Parameters:__
|
|
1145
1145
|
|
1146
1146
|
--
|
1147
1147
|
|
1148
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1148
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/wait.rb#L93)
|
1149
1149
|
|
1150
1150
|
> def wait(opts = {}, &block)
|
1151
1151
|
|
@@ -1163,7 +1163,7 @@ __Parameters:__
|
|
1163
1163
|
|
1164
1164
|
--
|
1165
1165
|
|
1166
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1166
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L24)
|
1167
1167
|
|
1168
1168
|
> def ignore(&block)
|
1169
1169
|
|
@@ -1171,7 +1171,7 @@ Return block.call and ignore any exceptions.
|
|
1171
1171
|
|
1172
1172
|
--
|
1173
1173
|
|
1174
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L31)
|
1175
1175
|
|
1176
1176
|
> def back
|
1177
1177
|
|
@@ -1183,7 +1183,7 @@ __Returns:__
|
|
1183
1183
|
|
1184
1184
|
--
|
1185
1185
|
|
1186
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1186
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L36)
|
1187
1187
|
|
1188
1188
|
> def session_id
|
1189
1189
|
|
@@ -1191,7 +1191,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1191
1191
|
|
1192
1192
|
--
|
1193
1193
|
|
1194
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1194
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L44)
|
1195
1195
|
|
1196
1196
|
> def xpath(xpath_str)
|
1197
1197
|
|
@@ -1207,7 +1207,7 @@ __Returns:__
|
|
1207
1207
|
|
1208
1208
|
--
|
1209
1209
|
|
1210
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L52)
|
1211
1211
|
|
1212
1212
|
> def xpaths(xpath_str)
|
1213
1213
|
|
@@ -1223,7 +1223,7 @@ __Returns:__
|
|
1223
1223
|
|
1224
1224
|
--
|
1225
1225
|
|
1226
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1226
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L56)
|
1227
1227
|
|
1228
1228
|
> def _print_source(source)
|
1229
1229
|
|
@@ -1231,7 +1231,7 @@ __Returns:__
|
|
1231
1231
|
|
1232
1232
|
--
|
1233
1233
|
|
1234
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1234
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L69)
|
1235
1235
|
|
1236
1236
|
> def result
|
1237
1237
|
|
@@ -1239,7 +1239,7 @@ Returns the value of attribute result
|
|
1239
1239
|
|
1240
1240
|
--
|
1241
1241
|
|
1242
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1242
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L71)
|
1243
1243
|
|
1244
1244
|
> def initialize
|
1245
1245
|
|
@@ -1251,7 +1251,7 @@ __Returns:__
|
|
1251
1251
|
|
1252
1252
|
--
|
1253
1253
|
|
1254
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L75)
|
1255
1255
|
|
1256
1256
|
> def reset
|
1257
1257
|
|
@@ -1259,7 +1259,7 @@ __Returns:__
|
|
1259
1259
|
|
1260
1260
|
--
|
1261
1261
|
|
1262
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1262
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L80)
|
1263
1263
|
|
1264
1264
|
> def start_element(name, attrs = [])
|
1265
1265
|
|
@@ -1267,7 +1267,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1267
1267
|
|
1268
1268
|
--
|
1269
1269
|
|
1270
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L86)
|
1271
1271
|
|
1272
1272
|
> def formatted_result
|
1273
1273
|
|
@@ -1275,7 +1275,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1275
1275
|
|
1276
1276
|
--
|
1277
1277
|
|
1278
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1278
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L97)
|
1279
1279
|
|
1280
1280
|
> def get_page_class
|
1281
1281
|
|
@@ -1283,7 +1283,7 @@ Returns a string of class counts of visible elements.
|
|
1283
1283
|
|
1284
1284
|
--
|
1285
1285
|
|
1286
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L108)
|
1287
1287
|
|
1288
1288
|
> def page_class
|
1289
1289
|
|
@@ -1292,7 +1292,7 @@ Useful for appium_console.
|
|
1292
1292
|
|
1293
1293
|
--
|
1294
1294
|
|
1295
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L118)
|
1296
1296
|
|
1297
1297
|
> def px_to_window_rel(opts = {})
|
1298
1298
|
|
@@ -1304,7 +1304,7 @@ px_to_window_rel x: 50, y: 150
|
|
1304
1304
|
|
1305
1305
|
--
|
1306
1306
|
|
1307
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L137)
|
1308
1308
|
|
1309
1309
|
> def xml_keys(target)
|
1310
1310
|
|
@@ -1320,7 +1320,7 @@ __Returns:__
|
|
1320
1320
|
|
1321
1321
|
--
|
1322
1322
|
|
1323
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L145)
|
1324
1324
|
|
1325
1325
|
> def xml_values(target)
|
1326
1326
|
|
@@ -1336,7 +1336,7 @@ __Returns:__
|
|
1336
1336
|
|
1337
1337
|
--
|
1338
1338
|
|
1339
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L153)
|
1340
1340
|
|
1341
1341
|
> def resolve_id(id)
|
1342
1342
|
|
@@ -1352,7 +1352,7 @@ __Returns:__
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L159)
|
1356
1356
|
|
1357
1357
|
> def filter
|
1358
1358
|
|
@@ -1360,7 +1360,7 @@ Returns the value of attribute filter
|
|
1360
1360
|
|
1361
1361
|
--
|
1362
1362
|
|
1363
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L162)
|
1364
1364
|
|
1365
1365
|
> def filter=(value)
|
1366
1366
|
|
@@ -1368,7 +1368,7 @@ convert to string to support symbols
|
|
1368
1368
|
|
1369
1369
|
--
|
1370
1370
|
|
1371
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L168)
|
1372
1372
|
|
1373
1373
|
> def initialize
|
1374
1374
|
|
@@ -1380,7 +1380,7 @@ __Returns:__
|
|
1380
1380
|
|
1381
1381
|
--
|
1382
1382
|
|
1383
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L173)
|
1384
1384
|
|
1385
1385
|
> def reset
|
1386
1386
|
|
@@ -1388,7 +1388,7 @@ __Returns:__
|
|
1388
1388
|
|
1389
1389
|
--
|
1390
1390
|
|
1391
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L179)
|
1392
1392
|
|
1393
1393
|
> def result
|
1394
1394
|
|
@@ -1396,7 +1396,7 @@ __Returns:__
|
|
1396
1396
|
|
1397
1397
|
--
|
1398
1398
|
|
1399
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1399
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L195)
|
1400
1400
|
|
1401
1401
|
> def start_element(name, attrs = [])
|
1402
1402
|
|
@@ -1404,7 +1404,7 @@ __Returns:__
|
|
1404
1404
|
|
1405
1405
|
--
|
1406
1406
|
|
1407
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L204)
|
1408
1408
|
|
1409
1409
|
> def end_element(name)
|
1410
1410
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L210)
|
1416
1416
|
|
1417
1417
|
> def characters(chars)
|
1418
1418
|
|
@@ -1420,7 +1420,7 @@ __Returns:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/helper.rb#L217)
|
1424
1424
|
|
1425
1425
|
> def _no_such_element
|
1426
1426
|
|
@@ -1428,7 +1428,7 @@ __Returns:__
|
|
1428
1428
|
|
1429
1429
|
--
|
1430
1430
|
|
1431
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/element/window.rb#L5)
|
1432
1432
|
|
1433
1433
|
> def window_size
|
1434
1434
|
|
@@ -1436,7 +1436,7 @@ Get the window's size
|
|
1436
1436
|
|
1437
1437
|
--
|
1438
1438
|
|
1439
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L6) android
|
1440
1440
|
|
1441
1441
|
> def result
|
1442
1442
|
|
@@ -1444,7 +1444,7 @@ Returns the value of attribute result
|
|
1444
1444
|
|
1445
1445
|
--
|
1446
1446
|
|
1447
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L6) android
|
1448
1448
|
|
1449
1449
|
> def keys
|
1450
1450
|
|
@@ -1452,7 +1452,7 @@ Returns the value of attribute keys
|
|
1452
1452
|
|
1453
1453
|
--
|
1454
1454
|
|
1455
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L6) android
|
1456
1456
|
|
1457
1457
|
> def instance
|
1458
1458
|
|
@@ -1460,7 +1460,7 @@ Returns the value of attribute instance
|
|
1460
1460
|
|
1461
1461
|
--
|
1462
1462
|
|
1463
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1463
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L6) android
|
1464
1464
|
|
1465
1465
|
> def filter
|
1466
1466
|
|
@@ -1468,7 +1468,7 @@ Returns the value of attribute filter
|
|
1468
1468
|
|
1469
1469
|
--
|
1470
1470
|
|
1471
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L9) android
|
1472
1472
|
|
1473
1473
|
> def filter=(value)
|
1474
1474
|
|
@@ -1476,7 +1476,7 @@ convert to string to support symbols
|
|
1476
1476
|
|
1477
1477
|
--
|
1478
1478
|
|
1479
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1479
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L15) android
|
1480
1480
|
|
1481
1481
|
> def initialize
|
1482
1482
|
|
@@ -1488,7 +1488,7 @@ __Returns:__
|
|
1488
1488
|
|
1489
1489
|
--
|
1490
1490
|
|
1491
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1491
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L21) android
|
1492
1492
|
|
1493
1493
|
> def reset
|
1494
1494
|
|
@@ -1496,7 +1496,7 @@ __Returns:__
|
|
1496
1496
|
|
1497
1497
|
--
|
1498
1498
|
|
1499
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1499
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L28) android
|
1500
1500
|
|
1501
1501
|
> def start_element(name, attrs = [])
|
1502
1502
|
|
@@ -1504,7 +1504,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1504
1504
|
|
1505
1505
|
--
|
1506
1506
|
|
1507
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L88) android
|
1508
1508
|
|
1509
1509
|
> def _fix_android_native_source(source)
|
1510
1510
|
|
@@ -1514,7 +1514,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1514
1514
|
|
1515
1515
|
--
|
1516
1516
|
|
1517
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L116) android
|
1518
1518
|
|
1519
1519
|
> def source
|
1520
1520
|
|
@@ -1526,7 +1526,7 @@ __Returns:__
|
|
1526
1526
|
|
1527
1527
|
--
|
1528
1528
|
|
1529
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1529
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L126) android
|
1530
1530
|
|
1531
1531
|
> def get_android_inspect(class_name = false)
|
1532
1532
|
|
@@ -1545,7 +1545,7 @@ __Returns:__
|
|
1545
1545
|
|
1546
1546
|
--
|
1547
1547
|
|
1548
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1548
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L152) android
|
1549
1549
|
|
1550
1550
|
> def page(opts = {})
|
1551
1551
|
|
@@ -1564,7 +1564,7 @@ __Returns:__
|
|
1564
1564
|
|
1565
1565
|
--
|
1566
1566
|
|
1567
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L164) android
|
1568
1568
|
|
1569
1569
|
> def current_app
|
1570
1570
|
|
@@ -1574,7 +1574,7 @@ example line:
|
|
1574
1574
|
|
1575
1575
|
--
|
1576
1576
|
|
1577
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1577
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L188) android
|
1578
1578
|
|
1579
1579
|
> def id(id)
|
1580
1580
|
|
@@ -1590,7 +1590,7 @@ __Returns:__
|
|
1590
1590
|
|
1591
1591
|
--
|
1592
1592
|
|
1593
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1593
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L196) android
|
1594
1594
|
|
1595
1595
|
> def ids(id)
|
1596
1596
|
|
@@ -1606,7 +1606,7 @@ __Returns:__
|
|
1606
1606
|
|
1607
1607
|
--
|
1608
1608
|
|
1609
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1609
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L205) android
|
1610
1610
|
|
1611
1611
|
> def ele_index(class_name, index)
|
1612
1612
|
|
@@ -1624,7 +1624,7 @@ __Returns:__
|
|
1624
1624
|
|
1625
1625
|
--
|
1626
1626
|
|
1627
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1627
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L223) android
|
1628
1628
|
|
1629
1629
|
> def first_ele(class_name)
|
1630
1630
|
|
@@ -1640,7 +1640,7 @@ __Returns:__
|
|
1640
1640
|
|
1641
1641
|
--
|
1642
1642
|
|
1643
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1643
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L230) android
|
1644
1644
|
|
1645
1645
|
> def last_ele(class_name)
|
1646
1646
|
|
@@ -1656,7 +1656,7 @@ __Returns:__
|
|
1656
1656
|
|
1657
1657
|
--
|
1658
1658
|
|
1659
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1659
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L238) android
|
1660
1660
|
|
1661
1661
|
> def tag(class_name)
|
1662
1662
|
|
@@ -1672,7 +1672,7 @@ __Returns:__
|
|
1672
1672
|
|
1673
1673
|
--
|
1674
1674
|
|
1675
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1675
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L246) android
|
1676
1676
|
|
1677
1677
|
> def tags(class_name)
|
1678
1678
|
|
@@ -1688,7 +1688,7 @@ __Returns:__
|
|
1688
1688
|
|
1689
1689
|
--
|
1690
1690
|
|
1691
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L288) android
|
1692
1692
|
|
1693
1693
|
> def string_visible_contains(class_name, value)
|
1694
1694
|
|
@@ -1708,7 +1708,7 @@ __Returns:__
|
|
1708
1708
|
|
1709
1709
|
--
|
1710
1710
|
|
1711
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1711
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L308) android
|
1712
1712
|
|
1713
1713
|
> def complex_find_contains(element, value)
|
1714
1714
|
|
@@ -1726,7 +1726,7 @@ __Returns:__
|
|
1726
1726
|
|
1727
1727
|
--
|
1728
1728
|
|
1729
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1729
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L316) android
|
1730
1730
|
|
1731
1731
|
> def complex_finds_contains(element, value)
|
1732
1732
|
|
@@ -1744,7 +1744,7 @@ __Returns:__
|
|
1744
1744
|
|
1745
1745
|
--
|
1746
1746
|
|
1747
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L345) android
|
1748
1748
|
|
1749
1749
|
> def complex_find_exact(class_name, value)
|
1750
1750
|
|
@@ -1762,7 +1762,7 @@ __Returns:__
|
|
1762
1762
|
|
1763
1763
|
--
|
1764
1764
|
|
1765
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1765
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L353) android
|
1766
1766
|
|
1767
1767
|
> def complex_finds_exact(class_name, value)
|
1768
1768
|
|
@@ -1780,7 +1780,7 @@ __Returns:__
|
|
1780
1780
|
|
1781
1781
|
--
|
1782
1782
|
|
1783
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1783
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/helper.rb#L361) android
|
1784
1784
|
|
1785
1785
|
> def get_source
|
1786
1786
|
|
@@ -1794,7 +1794,7 @@ __Returns:__
|
|
1794
1794
|
|
1795
1795
|
--
|
1796
1796
|
|
1797
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/text.rb#L4) android
|
1798
1798
|
|
1799
1799
|
> TextView = 'android.widget.TextView'
|
1800
1800
|
|
@@ -1802,7 +1802,7 @@ __Returns:__
|
|
1802
1802
|
|
1803
1803
|
--
|
1804
1804
|
|
1805
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/text.rb#L10) android
|
1806
1806
|
|
1807
1807
|
> def text(value)
|
1808
1808
|
|
@@ -1819,7 +1819,7 @@ __Returns:__
|
|
1819
1819
|
|
1820
1820
|
--
|
1821
1821
|
|
1822
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1822
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/text.rb#L19) android
|
1823
1823
|
|
1824
1824
|
> def texts(value = false)
|
1825
1825
|
|
@@ -1836,7 +1836,7 @@ __Returns:__
|
|
1836
1836
|
|
1837
1837
|
--
|
1838
1838
|
|
1839
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/text.rb#L26) android
|
1840
1840
|
|
1841
1841
|
> def first_text
|
1842
1842
|
|
@@ -1848,7 +1848,7 @@ __Returns:__
|
|
1848
1848
|
|
1849
1849
|
--
|
1850
1850
|
|
1851
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/text.rb#L32) android
|
1852
1852
|
|
1853
1853
|
> def last_text
|
1854
1854
|
|
@@ -1860,7 +1860,7 @@ __Returns:__
|
|
1860
1860
|
|
1861
1861
|
--
|
1862
1862
|
|
1863
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/text.rb#L39) android
|
1864
1864
|
|
1865
1865
|
> def text_exact(value)
|
1866
1866
|
|
@@ -1876,7 +1876,7 @@ __Returns:__
|
|
1876
1876
|
|
1877
1877
|
--
|
1878
1878
|
|
1879
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1879
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/text.rb#L46) android
|
1880
1880
|
|
1881
1881
|
> def texts_exact(value)
|
1882
1882
|
|
@@ -1892,7 +1892,7 @@ __Returns:__
|
|
1892
1892
|
|
1893
1893
|
--
|
1894
1894
|
|
1895
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
1895
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/client_xpath.rb#L5) android
|
1896
1896
|
|
1897
1897
|
> def _nodeset_to_uiselector(opts = {})
|
1898
1898
|
|
@@ -1900,7 +1900,7 @@ __Returns:__
|
|
1900
1900
|
|
1901
1901
|
--
|
1902
1902
|
|
1903
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
1903
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/client_xpath.rb#L20) android
|
1904
1904
|
|
1905
1905
|
> def _client_xpath(opts = {})
|
1906
1906
|
|
@@ -1908,7 +1908,7 @@ __Returns:__
|
|
1908
1908
|
|
1909
1909
|
--
|
1910
1910
|
|
1911
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/client_xpath.rb#L36) android
|
1912
1912
|
|
1913
1913
|
> def client_xpath(xpath)
|
1914
1914
|
|
@@ -1916,7 +1916,7 @@ __Returns:__
|
|
1916
1916
|
|
1917
1917
|
--
|
1918
1918
|
|
1919
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
1919
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/client_xpath.rb#L40) android
|
1920
1920
|
|
1921
1921
|
> def client_xpaths(xpath)
|
1922
1922
|
|
@@ -1924,7 +1924,7 @@ __Returns:__
|
|
1924
1924
|
|
1925
1925
|
--
|
1926
1926
|
|
1927
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1927
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/alert.rb#L6) android
|
1928
1928
|
|
1929
1929
|
> def alert_click(value)
|
1930
1930
|
|
@@ -1940,7 +1940,7 @@ __Returns:__
|
|
1940
1940
|
|
1941
1941
|
--
|
1942
1942
|
|
1943
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/alert.rb#L13) android
|
1944
1944
|
|
1945
1945
|
> def alert_accept
|
1946
1946
|
|
@@ -1953,7 +1953,7 @@ __Returns:__
|
|
1953
1953
|
|
1954
1954
|
--
|
1955
1955
|
|
1956
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1956
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/alert.rb#L20) android
|
1957
1957
|
|
1958
1958
|
> def alert_accept_text
|
1959
1959
|
|
@@ -1966,7 +1966,7 @@ __Returns:__
|
|
1966
1966
|
|
1967
1967
|
--
|
1968
1968
|
|
1969
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1969
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/alert.rb#L27) android
|
1970
1970
|
|
1971
1971
|
> def alert_dismiss
|
1972
1972
|
|
@@ -1979,7 +1979,7 @@ __Returns:__
|
|
1979
1979
|
|
1980
1980
|
--
|
1981
1981
|
|
1982
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1982
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/alert.rb#L34) android
|
1983
1983
|
|
1984
1984
|
> def alert_dismiss_text
|
1985
1985
|
|
@@ -1992,7 +1992,7 @@ __Returns:__
|
|
1992
1992
|
|
1993
1993
|
--
|
1994
1994
|
|
1995
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/mobile_methods.rb#L10) android
|
1996
1996
|
|
1997
1997
|
> def uiautomator_find
|
1998
1998
|
|
@@ -2004,7 +2004,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2004
2004
|
|
2005
2005
|
--
|
2006
2006
|
|
2007
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2007
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L4) android
|
2008
2008
|
|
2009
2009
|
> Button = 'android.widget.Button'
|
2010
2010
|
|
@@ -2012,7 +2012,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2012
2012
|
|
2013
2013
|
--
|
2014
2014
|
|
2015
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2015
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L5) android
|
2016
2016
|
|
2017
2017
|
> ImageButton = 'android.widget.ImageButton'
|
2018
2018
|
|
@@ -2020,7 +2020,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2020
2020
|
|
2021
2021
|
--
|
2022
2022
|
|
2023
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2023
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L43) android
|
2024
2024
|
|
2025
2025
|
> def button(value)
|
2026
2026
|
|
@@ -2037,7 +2037,7 @@ __Returns:__
|
|
2037
2037
|
|
2038
2038
|
--
|
2039
2039
|
|
2040
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2040
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L60) android
|
2041
2041
|
|
2042
2042
|
> def buttons(value = false)
|
2043
2043
|
|
@@ -2054,7 +2054,7 @@ __Returns:__
|
|
2054
2054
|
|
2055
2055
|
--
|
2056
2056
|
|
2057
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L67) android
|
2058
2058
|
|
2059
2059
|
> def first_button
|
2060
2060
|
|
@@ -2066,7 +2066,7 @@ __Returns:__
|
|
2066
2066
|
|
2067
2067
|
--
|
2068
2068
|
|
2069
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L73) android
|
2070
2070
|
|
2071
2071
|
> def last_button
|
2072
2072
|
|
@@ -2078,7 +2078,7 @@ __Returns:__
|
|
2078
2078
|
|
2079
2079
|
--
|
2080
2080
|
|
2081
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2081
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L89) android
|
2082
2082
|
|
2083
2083
|
> def button_exact(value)
|
2084
2084
|
|
@@ -2094,7 +2094,7 @@ __Returns:__
|
|
2094
2094
|
|
2095
2095
|
--
|
2096
2096
|
|
2097
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2097
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/button.rb#L96) android
|
2098
2098
|
|
2099
2099
|
> def buttons_exact(value)
|
2100
2100
|
|
@@ -2110,7 +2110,7 @@ __Returns:__
|
|
2110
2110
|
|
2111
2111
|
--
|
2112
2112
|
|
2113
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2113
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/generic.rb#L6) android
|
2114
2114
|
|
2115
2115
|
> def find(value)
|
2116
2116
|
|
@@ -2126,7 +2126,7 @@ __Returns:__
|
|
2126
2126
|
|
2127
2127
|
--
|
2128
2128
|
|
2129
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2129
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/generic.rb#L13) android
|
2130
2130
|
|
2131
2131
|
> def finds(value)
|
2132
2132
|
|
@@ -2142,7 +2142,7 @@ __Returns:__
|
|
2142
2142
|
|
2143
2143
|
--
|
2144
2144
|
|
2145
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/generic.rb#L20) android
|
2146
2146
|
|
2147
2147
|
> def find_exact(value)
|
2148
2148
|
|
@@ -2158,7 +2158,7 @@ __Returns:__
|
|
2158
2158
|
|
2159
2159
|
--
|
2160
2160
|
|
2161
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2161
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/generic.rb#L27) android
|
2162
2162
|
|
2163
2163
|
> def finds_exact(value)
|
2164
2164
|
|
@@ -2174,7 +2174,7 @@ __Returns:__
|
|
2174
2174
|
|
2175
2175
|
--
|
2176
2176
|
|
2177
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2177
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/generic.rb#L39) android
|
2178
2178
|
|
2179
2179
|
> def scroll_to(text)
|
2180
2180
|
|
@@ -2190,7 +2190,7 @@ __Returns:__
|
|
2190
2190
|
|
2191
2191
|
--
|
2192
2192
|
|
2193
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2193
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/generic.rb#L51) android
|
2194
2194
|
|
2195
2195
|
> def scroll_to_exact(text)
|
2196
2196
|
|
@@ -2206,7 +2206,7 @@ __Returns:__
|
|
2206
2206
|
|
2207
2207
|
--
|
2208
2208
|
|
2209
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2209
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/textfield.rb#L3) android
|
2210
2210
|
|
2211
2211
|
> EditText = 'android.widget.EditText'
|
2212
2212
|
|
@@ -2214,7 +2214,7 @@ __Returns:__
|
|
2214
2214
|
|
2215
2215
|
--
|
2216
2216
|
|
2217
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2217
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/textfield.rb#L9) android
|
2218
2218
|
|
2219
2219
|
> def textfield(value)
|
2220
2220
|
|
@@ -2231,7 +2231,7 @@ __Returns:__
|
|
2231
2231
|
|
2232
2232
|
--
|
2233
2233
|
|
2234
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2234
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/textfield.rb#L18) android
|
2235
2235
|
|
2236
2236
|
> def textfields(value = false)
|
2237
2237
|
|
@@ -2248,7 +2248,7 @@ __Returns:__
|
|
2248
2248
|
|
2249
2249
|
--
|
2250
2250
|
|
2251
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/textfield.rb#L25) android
|
2252
2252
|
|
2253
2253
|
> def first_textfield
|
2254
2254
|
|
@@ -2260,7 +2260,7 @@ __Returns:__
|
|
2260
2260
|
|
2261
2261
|
--
|
2262
2262
|
|
2263
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/textfield.rb#L31) android
|
2264
2264
|
|
2265
2265
|
> def last_textfield
|
2266
2266
|
|
@@ -2272,7 +2272,7 @@ __Returns:__
|
|
2272
2272
|
|
2273
2273
|
--
|
2274
2274
|
|
2275
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2275
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/textfield.rb#L38) android
|
2276
2276
|
|
2277
2277
|
> def textfield_exact(value)
|
2278
2278
|
|
@@ -2288,7 +2288,7 @@ __Returns:__
|
|
2288
2288
|
|
2289
2289
|
--
|
2290
2290
|
|
2291
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/android/element/textfield.rb#L45) android
|
2292
2292
|
|
2293
2293
|
> def textfields_exact(value)
|
2294
2294
|
|
@@ -2304,7 +2304,7 @@ __Returns:__
|
|
2304
2304
|
|
2305
2305
|
--
|
2306
2306
|
|
2307
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2307
|
+
##### [value](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/patch.rb#L12)
|
2308
2308
|
|
2309
2309
|
> def value
|
2310
2310
|
|
@@ -2314,7 +2314,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2314
2314
|
|
2315
2315
|
--
|
2316
2316
|
|
2317
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2317
|
+
##### [name](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/patch.rb#L19)
|
2318
2318
|
|
2319
2319
|
> def name
|
2320
2320
|
|
@@ -2324,7 +2324,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2324
2324
|
|
2325
2325
|
--
|
2326
2326
|
|
2327
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2327
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/patch.rb#L31)
|
2328
2328
|
|
2329
2329
|
> def location_rel
|
2330
2330
|
|
@@ -2342,7 +2342,7 @@ __Returns:__
|
|
2342
2342
|
|
2343
2343
|
--
|
2344
2344
|
|
2345
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2345
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ed917866929f0f7b0ff7ef0aedb5a9b35fdcc95b/lib/appium_lib/common/patch.rb#L147)
|
2346
2346
|
|
2347
2347
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
|
2348
2348
|
|