appium_lib 9.4.8 → 9.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +226 -226
- data/docs/ios_docs.md +252 -252
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/ios/xcuitest_gestures.rb +2 -2
- data/release_notes.md +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8deb0076c5ac443c2e02dd431be8d3e2bf606e50
|
|
4
|
+
data.tar.gz: 345da68fbf509bf6ba2b6e36715f8efcd6107874
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c08d439aa0b1185e2219a238b830113b6ff832c9aff41d853fd81044ea28285211495c8920d6ec48bbb41425f1466020127a245f214a22bc12593e0f982b772
|
|
7
|
+
data.tar.gz: 5f8c5c4c76c5056677bb4a5687c0b088059047586a77d48391aea09d74ccff5d49cab90d2bd7a80d4db34c6d7352ea2e50fe7ca7d1ff5e02cf210d6e94a038d9
|
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
|
3
3
|
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
|
5
5
|
|
|
6
|
+
## v9.4.9
|
|
7
|
+
### 1. Enhancements
|
|
8
|
+
|
|
9
|
+
### 2. Bug fixes
|
|
10
|
+
- fix handling a tap gesture in xcuitest [#611](https://github.com/appium/ruby_lib/pull/611)
|
|
11
|
+
|
|
12
|
+
### 3. Deprecations
|
|
13
|
+
|
|
6
14
|
## v9.4.8
|
|
7
15
|
### 1. Enhancements
|
|
8
16
|
- within_context swallowing block return value [#311](https://github.com/appium/ruby_lib/issues/311)
|
data/appium_lib.gemspec
CHANGED
|
@@ -6,7 +6,7 @@ Gem::Specification.new do |s|
|
|
|
6
6
|
s.name = 'appium_lib'
|
|
7
7
|
s.version = Appium::VERSION
|
|
8
8
|
s.date = Appium::DATE
|
|
9
|
-
s.license = 'Apache'
|
|
9
|
+
s.license = 'Apache-2.0'
|
|
10
10
|
s.description = s.summary = 'Ruby library for Appium'
|
|
11
11
|
s.description += '.' # avoid identical warning
|
|
12
12
|
s.authors = s.email = ['code@bootstraponline.com']
|
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/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L76)
|
|
2
2
|
|
|
3
3
|
> def self.load_settings(opts = {})
|
|
4
4
|
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
|
27
27
|
|
|
28
28
|
--
|
|
29
29
|
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L112)
|
|
31
31
|
|
|
32
32
|
> def self.load_settings(opts = {})
|
|
33
33
|
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
|
57
57
|
|
|
58
58
|
--
|
|
59
59
|
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L118)
|
|
61
61
|
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
|
63
63
|
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
|
75
75
|
|
|
76
76
|
--
|
|
77
77
|
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L150)
|
|
79
79
|
|
|
80
80
|
> def self.symbolize_keys(hash)
|
|
81
81
|
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
|
86
86
|
|
|
87
87
|
--
|
|
88
88
|
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L171)
|
|
90
90
|
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
|
92
92
|
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
|
104
104
|
|
|
105
105
|
--
|
|
106
106
|
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L224)
|
|
108
108
|
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
|
110
110
|
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
|
134
134
|
|
|
135
135
|
--
|
|
136
136
|
|
|
137
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
|
137
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L259)
|
|
138
138
|
|
|
139
139
|
> def self.init_caps_for_appium(opts_caps = {})
|
|
140
140
|
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
|
153
153
|
|
|
154
154
|
--
|
|
155
155
|
|
|
156
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
|
156
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L277)
|
|
157
157
|
|
|
158
158
|
> def global_webdriver_http_sleep
|
|
159
159
|
|
|
@@ -161,7 +161,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
161
161
|
|
|
162
162
|
--
|
|
163
163
|
|
|
164
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
164
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L277)
|
|
165
165
|
|
|
166
166
|
> def global_webdriver_http_sleep=(value)
|
|
167
167
|
|
|
@@ -169,7 +169,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
169
169
|
|
|
170
170
|
--
|
|
171
171
|
|
|
172
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
|
172
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L279)
|
|
173
173
|
|
|
174
174
|
> def caps
|
|
175
175
|
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
|
177
177
|
|
|
178
178
|
--
|
|
179
179
|
|
|
180
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
180
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L281)
|
|
181
181
|
|
|
182
182
|
> def custom_url
|
|
183
183
|
|
|
@@ -185,7 +185,7 @@ Custom URL for the selenium server
|
|
|
185
185
|
|
|
186
186
|
--
|
|
187
187
|
|
|
188
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
188
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L283)
|
|
189
189
|
|
|
190
190
|
> def export_session
|
|
191
191
|
|
|
@@ -193,7 +193,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
|
193
193
|
|
|
194
194
|
--
|
|
195
195
|
|
|
196
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
196
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L288)
|
|
197
197
|
|
|
198
198
|
> def default_wait
|
|
199
199
|
|
|
@@ -207,7 +207,7 @@ __Returns:__
|
|
|
207
207
|
|
|
208
208
|
--
|
|
209
209
|
|
|
210
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
210
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L290)
|
|
211
211
|
|
|
212
212
|
> def sauce_username
|
|
213
213
|
|
|
@@ -215,7 +215,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
|
215
215
|
|
|
216
216
|
--
|
|
217
217
|
|
|
218
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
218
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L292)
|
|
219
219
|
|
|
220
220
|
> def sauce_access_key
|
|
221
221
|
|
|
@@ -223,7 +223,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
|
223
223
|
|
|
224
224
|
--
|
|
225
225
|
|
|
226
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
|
226
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L294)
|
|
227
227
|
|
|
228
228
|
> def sauce_endpoint
|
|
229
229
|
|
|
@@ -231,7 +231,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
|
231
231
|
|
|
232
232
|
--
|
|
233
233
|
|
|
234
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
|
234
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L296)
|
|
235
235
|
|
|
236
236
|
> def appium_port
|
|
237
237
|
|
|
@@ -239,7 +239,7 @@ Appium's server port
|
|
|
239
239
|
|
|
240
240
|
--
|
|
241
241
|
|
|
242
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
|
242
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L298)
|
|
243
243
|
|
|
244
244
|
> def appium_device
|
|
245
245
|
|
|
@@ -247,7 +247,7 @@ Device type to request from the appium server
|
|
|
247
247
|
|
|
248
248
|
--
|
|
249
249
|
|
|
250
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
|
250
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L301)
|
|
251
251
|
|
|
252
252
|
> def automation_name
|
|
253
253
|
|
|
@@ -256,7 +256,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
|
256
256
|
|
|
257
257
|
--
|
|
258
258
|
|
|
259
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
|
259
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L303)
|
|
260
260
|
|
|
261
261
|
> def appium_server_status
|
|
262
262
|
|
|
@@ -264,7 +264,7 @@ Appium's server version
|
|
|
264
264
|
|
|
265
265
|
--
|
|
266
266
|
|
|
267
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
|
267
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L305)
|
|
268
268
|
|
|
269
269
|
> def appium_debug
|
|
270
270
|
|
|
@@ -272,7 +272,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
|
272
272
|
|
|
273
273
|
--
|
|
274
274
|
|
|
275
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
|
275
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L307)
|
|
276
276
|
|
|
277
277
|
> def listener
|
|
278
278
|
|
|
@@ -280,7 +280,7 @@ instance of AbstractEventListener for logging support
|
|
|
280
280
|
|
|
281
281
|
--
|
|
282
282
|
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L310)
|
|
284
284
|
|
|
285
285
|
> def driver
|
|
286
286
|
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
|
292
292
|
|
|
293
293
|
--
|
|
294
294
|
|
|
295
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
|
295
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L313)
|
|
296
296
|
|
|
297
297
|
> def http_client
|
|
298
298
|
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
|
304
304
|
|
|
305
305
|
--
|
|
306
306
|
|
|
307
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
|
307
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L318)
|
|
308
308
|
|
|
309
309
|
> def appium_wait_timeout
|
|
310
310
|
|
|
@@ -318,7 +318,7 @@ __Returns:__
|
|
|
318
318
|
|
|
319
319
|
--
|
|
320
320
|
|
|
321
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
|
321
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L323)
|
|
322
322
|
|
|
323
323
|
> def appium_wait_interval
|
|
324
324
|
|
|
@@ -332,7 +332,7 @@ __Returns:__
|
|
|
332
332
|
|
|
333
333
|
--
|
|
334
334
|
|
|
335
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
335
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L363)
|
|
336
336
|
|
|
337
337
|
> def initialize(opts = {})
|
|
338
338
|
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
|
348
348
|
|
|
349
349
|
--
|
|
350
350
|
|
|
351
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
|
351
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L441)
|
|
352
352
|
|
|
353
353
|
> def driver_attributes
|
|
354
354
|
|
|
@@ -356,7 +356,7 @@ Returns a hash of the driver attributes
|
|
|
356
356
|
|
|
357
357
|
--
|
|
358
358
|
|
|
359
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
|
359
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L466)
|
|
360
360
|
|
|
361
361
|
> def device_is_android?
|
|
362
362
|
|
|
@@ -368,7 +368,7 @@ __Returns:__
|
|
|
368
368
|
|
|
369
369
|
--
|
|
370
370
|
|
|
371
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
|
371
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L472)
|
|
372
372
|
|
|
373
373
|
> def automation_name_is_xcuitest?
|
|
374
374
|
|
|
@@ -380,7 +380,7 @@ __Returns:__
|
|
|
380
380
|
|
|
381
381
|
--
|
|
382
382
|
|
|
383
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
|
383
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L478)
|
|
384
384
|
|
|
385
385
|
> def automation_name_is_uiautomator2?
|
|
386
386
|
|
|
@@ -392,7 +392,7 @@ __Returns:__
|
|
|
392
392
|
|
|
393
393
|
--
|
|
394
394
|
|
|
395
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
395
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L485)
|
|
396
396
|
|
|
397
397
|
> def check_server_version_xcuitest
|
|
398
398
|
|
|
@@ -405,7 +405,7 @@ __Returns:__
|
|
|
405
405
|
|
|
406
406
|
--
|
|
407
407
|
|
|
408
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
|
408
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L512)
|
|
409
409
|
|
|
410
410
|
> def appium_server_version
|
|
411
411
|
|
|
@@ -432,7 +432,7 @@ __Returns:__
|
|
|
432
432
|
|
|
433
433
|
--
|
|
434
434
|
|
|
435
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
|
435
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L533)
|
|
436
436
|
|
|
437
437
|
> def appium_client_version
|
|
438
438
|
|
|
@@ -450,7 +450,7 @@ __Returns:__
|
|
|
450
450
|
|
|
451
451
|
--
|
|
452
452
|
|
|
453
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
453
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L545)
|
|
454
454
|
|
|
455
455
|
> def self.absolute_app_path(opts)
|
|
456
456
|
|
|
@@ -467,7 +467,7 @@ __Returns:__
|
|
|
467
467
|
|
|
468
468
|
--
|
|
469
469
|
|
|
470
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
470
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L578)
|
|
471
471
|
|
|
472
472
|
> def server_url
|
|
473
473
|
|
|
@@ -479,7 +479,7 @@ __Returns:__
|
|
|
479
479
|
|
|
480
480
|
--
|
|
481
481
|
|
|
482
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
482
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L589)
|
|
483
483
|
|
|
484
484
|
> def restart
|
|
485
485
|
|
|
@@ -491,7 +491,7 @@ __Returns:__
|
|
|
491
491
|
|
|
492
492
|
--
|
|
493
493
|
|
|
494
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
494
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L600)
|
|
495
495
|
|
|
496
496
|
> def screenshot(png_save_path)
|
|
497
497
|
|
|
@@ -509,7 +509,7 @@ __Returns:__
|
|
|
509
509
|
|
|
510
510
|
--
|
|
511
511
|
|
|
512
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
512
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L607)
|
|
513
513
|
|
|
514
514
|
> def driver_quit
|
|
515
515
|
|
|
@@ -521,7 +521,7 @@ __Returns:__
|
|
|
521
521
|
|
|
522
522
|
--
|
|
523
523
|
|
|
524
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
524
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L617)
|
|
525
525
|
|
|
526
526
|
> def start_driver
|
|
527
527
|
|
|
@@ -533,7 +533,7 @@ __Returns:__
|
|
|
533
533
|
|
|
534
534
|
--
|
|
535
535
|
|
|
536
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
536
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L655)
|
|
537
537
|
|
|
538
538
|
> def no_wait
|
|
539
539
|
|
|
@@ -541,7 +541,7 @@ Set implicit wait to zero.
|
|
|
541
541
|
|
|
542
542
|
--
|
|
543
543
|
|
|
544
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
544
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L669)
|
|
545
545
|
|
|
546
546
|
> def set_wait(timeout = nil)
|
|
547
547
|
|
|
@@ -563,7 +563,7 @@ __Returns:__
|
|
|
563
563
|
|
|
564
564
|
--
|
|
565
565
|
|
|
566
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
566
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L686)
|
|
567
567
|
|
|
568
568
|
> def exists(pre_check = 0, post_check = @default_wait)
|
|
569
569
|
|
|
@@ -587,7 +587,7 @@ __Returns:__
|
|
|
587
587
|
|
|
588
588
|
--
|
|
589
589
|
|
|
590
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
590
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L710)
|
|
591
591
|
|
|
592
592
|
> def execute_script(script, *args)
|
|
593
593
|
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
|
605
605
|
|
|
606
606
|
--
|
|
607
607
|
|
|
608
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
608
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L732)
|
|
609
609
|
|
|
610
610
|
> def find_elements(*args)
|
|
611
611
|
|
|
@@ -631,7 +631,7 @@ __Returns:__
|
|
|
631
631
|
|
|
632
632
|
--
|
|
633
633
|
|
|
634
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
634
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L747)
|
|
635
635
|
|
|
636
636
|
> def find_element(*args)
|
|
637
637
|
|
|
@@ -652,7 +652,7 @@ __Returns:__
|
|
|
652
652
|
|
|
653
653
|
--
|
|
654
654
|
|
|
655
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
|
655
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L760)
|
|
656
656
|
|
|
657
657
|
> def set_location(opts = {})
|
|
658
658
|
|
|
@@ -668,7 +668,7 @@ __Returns:__
|
|
|
668
668
|
|
|
669
669
|
--
|
|
670
670
|
|
|
671
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
671
|
+
##### [x](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L770)
|
|
672
672
|
|
|
673
673
|
> def x
|
|
674
674
|
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
|
681
681
|
|
|
682
682
|
--
|
|
683
683
|
|
|
684
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
|
684
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/driver.rb#L779)
|
|
685
685
|
|
|
686
686
|
> def set_automation_name_if_nil
|
|
687
687
|
|
|
@@ -690,7 +690,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
|
690
690
|
|
|
691
691
|
--
|
|
692
692
|
|
|
693
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
|
693
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/logger.rb#L13)
|
|
694
694
|
|
|
695
695
|
> def logger=(value)
|
|
696
696
|
|
|
@@ -702,7 +702,7 @@ __Parameters:__
|
|
|
702
702
|
|
|
703
703
|
--
|
|
704
704
|
|
|
705
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
|
705
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/logger.rb#L17)
|
|
706
706
|
|
|
707
707
|
> def logger
|
|
708
708
|
|
|
@@ -710,7 +710,7 @@ __Parameters:__
|
|
|
710
710
|
|
|
711
711
|
--
|
|
712
712
|
|
|
713
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
|
713
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L7)
|
|
714
714
|
|
|
715
715
|
> def app_strings
|
|
716
716
|
|
|
@@ -721,7 +721,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
|
721
721
|
|
|
722
722
|
--
|
|
723
723
|
|
|
724
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
|
724
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L13)
|
|
725
725
|
|
|
726
726
|
> def background_app
|
|
727
727
|
|
|
@@ -730,7 +730,7 @@ This is a blocking application
|
|
|
730
730
|
|
|
731
731
|
--
|
|
732
732
|
|
|
733
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
|
733
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L24)
|
|
734
734
|
|
|
735
735
|
> def current_activity
|
|
736
736
|
|
|
@@ -745,7 +745,7 @@ __Returns:__
|
|
|
745
745
|
|
|
746
746
|
--
|
|
747
747
|
|
|
748
|
-
##### [current_package](https://github.com/appium/ruby_lib/blob/
|
|
748
|
+
##### [current_package](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L32)
|
|
749
749
|
|
|
750
750
|
> def current_package
|
|
751
751
|
|
|
@@ -760,7 +760,7 @@ __Returns:__
|
|
|
760
760
|
|
|
761
761
|
--
|
|
762
762
|
|
|
763
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
|
763
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L40)
|
|
764
764
|
|
|
765
765
|
> def get_system_bars
|
|
766
766
|
|
|
@@ -775,7 +775,7 @@ __Returns:__
|
|
|
775
775
|
|
|
776
776
|
--
|
|
777
777
|
|
|
778
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
|
778
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L48)
|
|
779
779
|
|
|
780
780
|
> def get_display_density
|
|
781
781
|
|
|
@@ -790,7 +790,7 @@ __Returns:__
|
|
|
790
790
|
|
|
791
791
|
--
|
|
792
792
|
|
|
793
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
|
793
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L56)
|
|
794
794
|
|
|
795
795
|
> def is_keyboard_shown
|
|
796
796
|
|
|
@@ -805,7 +805,7 @@ __Returns:__
|
|
|
805
805
|
|
|
806
806
|
--
|
|
807
807
|
|
|
808
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
|
808
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L64)
|
|
809
809
|
|
|
810
810
|
> def launch_app
|
|
811
811
|
|
|
@@ -813,7 +813,7 @@ Start the simulator and application configured with desired capabilities
|
|
|
813
813
|
|
|
814
814
|
--
|
|
815
815
|
|
|
816
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
816
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L67)
|
|
817
817
|
|
|
818
818
|
> def reset
|
|
819
819
|
|
|
@@ -821,7 +821,7 @@ Reset the device, relaunching the application.
|
|
|
821
821
|
|
|
822
822
|
--
|
|
823
823
|
|
|
824
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
|
824
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L70)
|
|
825
825
|
|
|
826
826
|
> def shake
|
|
827
827
|
|
|
@@ -829,7 +829,7 @@ Cause the device to shake
|
|
|
829
829
|
|
|
830
830
|
--
|
|
831
831
|
|
|
832
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
|
832
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L73)
|
|
833
833
|
|
|
834
834
|
> def toggle_flight_mode
|
|
835
835
|
|
|
@@ -837,7 +837,7 @@ Toggle flight mode on or off
|
|
|
837
837
|
|
|
838
838
|
--
|
|
839
839
|
|
|
840
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
|
840
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L76)
|
|
841
841
|
|
|
842
842
|
> def device_locked?
|
|
843
843
|
|
|
@@ -845,7 +845,7 @@ Toggle flight mode on or off
|
|
|
845
845
|
|
|
846
846
|
--
|
|
847
847
|
|
|
848
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
|
848
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L78)
|
|
849
849
|
|
|
850
850
|
> def hide_keyboard
|
|
851
851
|
|
|
@@ -862,7 +862,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
|
862
862
|
|
|
863
863
|
--
|
|
864
864
|
|
|
865
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
865
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L91)
|
|
866
866
|
|
|
867
867
|
> def press_keycode
|
|
868
868
|
|
|
@@ -877,7 +877,7 @@ __Parameters:__
|
|
|
877
877
|
|
|
878
878
|
--
|
|
879
879
|
|
|
880
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
|
880
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L97)
|
|
881
881
|
|
|
882
882
|
> def long_press_keycode
|
|
883
883
|
|
|
@@ -892,7 +892,7 @@ __Parameters:__
|
|
|
892
892
|
|
|
893
893
|
--
|
|
894
894
|
|
|
895
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
|
895
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L103)
|
|
896
896
|
|
|
897
897
|
> def push_file
|
|
898
898
|
|
|
@@ -906,7 +906,7 @@ __Parameters:__
|
|
|
906
906
|
|
|
907
907
|
--
|
|
908
908
|
|
|
909
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
|
909
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L108)
|
|
910
910
|
|
|
911
911
|
> def pull_file
|
|
912
912
|
|
|
@@ -923,7 +923,7 @@ __Parameters:__
|
|
|
923
923
|
|
|
924
924
|
--
|
|
925
925
|
|
|
926
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
|
926
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L118)
|
|
927
927
|
|
|
928
928
|
> def pull_folder
|
|
929
929
|
|
|
@@ -938,7 +938,7 @@ __Parameters:__
|
|
|
938
938
|
|
|
939
939
|
--
|
|
940
940
|
|
|
941
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
|
941
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L126)
|
|
942
942
|
|
|
943
943
|
> def touch_id
|
|
944
944
|
|
|
@@ -955,7 +955,7 @@ Defaults to true.
|
|
|
955
955
|
|
|
956
956
|
--
|
|
957
957
|
|
|
958
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
|
958
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L135)
|
|
959
959
|
|
|
960
960
|
> def toggle_touch_id_enrollment
|
|
961
961
|
|
|
@@ -963,7 +963,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
|
963
963
|
|
|
964
964
|
--
|
|
965
965
|
|
|
966
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
|
966
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L138)
|
|
967
967
|
|
|
968
968
|
> def end_coverage
|
|
969
969
|
|
|
@@ -977,7 +977,7 @@ __Parameters:__
|
|
|
977
977
|
|
|
978
978
|
--
|
|
979
979
|
|
|
980
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
|
980
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L143)
|
|
981
981
|
|
|
982
982
|
> def get_settings
|
|
983
983
|
|
|
@@ -985,7 +985,7 @@ Get appium Settings for current test session
|
|
|
985
985
|
|
|
986
986
|
--
|
|
987
987
|
|
|
988
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
|
988
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L146)
|
|
989
989
|
|
|
990
990
|
> def update_settings
|
|
991
991
|
|
|
@@ -997,7 +997,7 @@ __Parameters:__
|
|
|
997
997
|
|
|
998
998
|
--
|
|
999
999
|
|
|
1000
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
|
1000
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L150)
|
|
1001
1001
|
|
|
1002
1002
|
> def start_activity
|
|
1003
1003
|
|
|
@@ -1011,7 +1011,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
|
1011
1011
|
|
|
1012
1012
|
--
|
|
1013
1013
|
|
|
1014
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1014
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L164)
|
|
1015
1015
|
|
|
1016
1016
|
> def get_network_connection
|
|
1017
1017
|
|
|
@@ -1020,7 +1020,7 @@ See set_network_connection method for return value
|
|
|
1020
1020
|
|
|
1021
1021
|
--
|
|
1022
1022
|
|
|
1023
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
|
1023
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L168)
|
|
1024
1024
|
|
|
1025
1025
|
> def set_network_connection
|
|
1026
1026
|
|
|
@@ -1039,7 +1039,7 @@ __Parameters:__
|
|
|
1039
1039
|
|
|
1040
1040
|
--
|
|
1041
1041
|
|
|
1042
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
|
1042
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L181)
|
|
1043
1043
|
|
|
1044
1044
|
> def set_immediate_value
|
|
1045
1045
|
|
|
@@ -1053,7 +1053,7 @@ set_immediate_value element, 'hello'
|
|
|
1053
1053
|
|
|
1054
1054
|
--
|
|
1055
1055
|
|
|
1056
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
|
1056
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L190)
|
|
1057
1057
|
|
|
1058
1058
|
> def get_performance_data_types
|
|
1059
1059
|
|
|
@@ -1067,7 +1067,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1067
1067
|
|
|
1068
1068
|
--
|
|
1069
1069
|
|
|
1070
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1070
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L453)
|
|
1071
1071
|
|
|
1072
1072
|
> def extend_search_contexts
|
|
1073
1073
|
|
|
@@ -1075,7 +1075,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1075
1075
|
|
|
1076
1076
|
--
|
|
1077
1077
|
|
|
1078
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1078
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L453)
|
|
1079
1079
|
|
|
1080
1080
|
> def find_element_with_appium
|
|
1081
1081
|
|
|
@@ -1083,7 +1083,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
|
1083
1083
|
|
|
1084
1084
|
--
|
|
1085
1085
|
|
|
1086
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
|
1086
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L453)
|
|
1087
1087
|
|
|
1088
1088
|
> def find_elements_with_appium
|
|
1089
1089
|
|
|
@@ -1095,7 +1095,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1095
1095
|
|
|
1096
1096
|
--
|
|
1097
1097
|
|
|
1098
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
|
1098
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L484)
|
|
1099
1099
|
|
|
1100
1100
|
> def add_touch_actions
|
|
1101
1101
|
|
|
@@ -1103,7 +1103,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1103
1103
|
|
|
1104
1104
|
--
|
|
1105
1105
|
|
|
1106
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
|
1106
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L507)
|
|
1107
1107
|
|
|
1108
1108
|
> def add_ime_actions
|
|
1109
1109
|
|
|
@@ -1111,7 +1111,7 @@ find_element/s_with_appium with their accessibility_id
|
|
|
1111
1111
|
|
|
1112
1112
|
--
|
|
1113
1113
|
|
|
1114
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
|
1114
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L582)
|
|
1115
1115
|
|
|
1116
1116
|
> def set_context
|
|
1117
1117
|
|
|
@@ -1126,7 +1126,7 @@ __Parameters:__
|
|
|
1126
1126
|
|
|
1127
1127
|
--
|
|
1128
1128
|
|
|
1129
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
|
1129
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L590)
|
|
1130
1130
|
|
|
1131
1131
|
> def current_context
|
|
1132
1132
|
|
|
@@ -1138,7 +1138,7 @@ __Returns:__
|
|
|
1138
1138
|
|
|
1139
1139
|
--
|
|
1140
1140
|
|
|
1141
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L593)
|
|
1142
1142
|
|
|
1143
1143
|
> def available_contexts
|
|
1144
1144
|
|
|
@@ -1150,7 +1150,7 @@ __Returns:__
|
|
|
1150
1150
|
|
|
1151
1151
|
--
|
|
1152
1152
|
|
|
1153
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
|
1153
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L604)
|
|
1154
1154
|
|
|
1155
1155
|
> def within_context(context)
|
|
1156
1156
|
|
|
@@ -1167,7 +1167,7 @@ __Parameters:__
|
|
|
1167
1167
|
|
|
1168
1168
|
--
|
|
1169
1169
|
|
|
1170
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
|
1170
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/device.rb#L617)
|
|
1171
1171
|
|
|
1172
1172
|
> def switch_to_default_context
|
|
1173
1173
|
|
|
@@ -1175,7 +1175,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
|
1175
1175
|
|
|
1176
1176
|
--
|
|
1177
1177
|
|
|
1178
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
|
1178
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L28)
|
|
1179
1179
|
|
|
1180
1180
|
> def pinch(percentage = 25, auto_perform = true)
|
|
1181
1181
|
|
|
@@ -1194,7 +1194,7 @@ __Parameters:__
|
|
|
1194
1194
|
|
|
1195
1195
|
--
|
|
1196
1196
|
|
|
1197
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
|
1197
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L57)
|
|
1198
1198
|
|
|
1199
1199
|
> def zoom(percentage = 200, auto_perform = true)
|
|
1200
1200
|
|
|
@@ -1213,7 +1213,7 @@ __Parameters:__
|
|
|
1213
1213
|
|
|
1214
1214
|
--
|
|
1215
1215
|
|
|
1216
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1216
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L79)
|
|
1217
1217
|
|
|
1218
1218
|
> def pinch_for_xcuitest(rate)
|
|
1219
1219
|
|
|
@@ -1221,7 +1221,7 @@ __Parameters:__
|
|
|
1221
1221
|
|
|
1222
1222
|
--
|
|
1223
1223
|
|
|
1224
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
|
1224
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L94)
|
|
1225
1225
|
|
|
1226
1226
|
> def pinch_android(rate)
|
|
1227
1227
|
|
|
@@ -1229,7 +1229,7 @@ __Parameters:__
|
|
|
1229
1229
|
|
|
1230
1230
|
--
|
|
1231
1231
|
|
|
1232
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
|
1232
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L108)
|
|
1233
1233
|
|
|
1234
1234
|
> def pinch_ios(rate)
|
|
1235
1235
|
|
|
@@ -1237,7 +1237,7 @@ __Parameters:__
|
|
|
1237
1237
|
|
|
1238
1238
|
--
|
|
1239
1239
|
|
|
1240
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
|
1240
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L122)
|
|
1241
1241
|
|
|
1242
1242
|
> def zoom_for_xcuitest(rate)
|
|
1243
1243
|
|
|
@@ -1245,7 +1245,7 @@ __Parameters:__
|
|
|
1245
1245
|
|
|
1246
1246
|
--
|
|
1247
1247
|
|
|
1248
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
|
1248
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L137)
|
|
1249
1249
|
|
|
1250
1250
|
> def zoom_android(rate)
|
|
1251
1251
|
|
|
@@ -1253,7 +1253,7 @@ __Parameters:__
|
|
|
1253
1253
|
|
|
1254
1254
|
--
|
|
1255
1255
|
|
|
1256
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
|
1256
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L151)
|
|
1257
1257
|
|
|
1258
1258
|
> def zoom_ios(rate)
|
|
1259
1259
|
|
|
@@ -1261,7 +1261,7 @@ __Parameters:__
|
|
|
1261
1261
|
|
|
1262
1262
|
--
|
|
1263
1263
|
|
|
1264
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1264
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L166)
|
|
1265
1265
|
|
|
1266
1266
|
> def actions
|
|
1267
1267
|
|
|
@@ -1269,7 +1269,7 @@ self
|
|
|
1269
1269
|
|
|
1270
1270
|
--
|
|
1271
1271
|
|
|
1272
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1272
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L169)
|
|
1273
1273
|
|
|
1274
1274
|
> def initialize
|
|
1275
1275
|
|
|
@@ -1281,7 +1281,7 @@ __Returns:__
|
|
|
1281
1281
|
|
|
1282
1282
|
--
|
|
1283
1283
|
|
|
1284
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
|
1284
|
+
##### [add](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L175)
|
|
1285
1285
|
|
|
1286
1286
|
> def add(chain)
|
|
1287
1287
|
|
|
@@ -1293,7 +1293,7 @@ __Parameters:__
|
|
|
1293
1293
|
|
|
1294
1294
|
--
|
|
1295
1295
|
|
|
1296
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1296
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/multi_touch.rb#L180)
|
|
1297
1297
|
|
|
1298
1298
|
> def perform
|
|
1299
1299
|
|
|
@@ -1301,7 +1301,7 @@ Ask Appium to perform the actions
|
|
|
1301
1301
|
|
|
1302
1302
|
--
|
|
1303
1303
|
|
|
1304
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1304
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L22)
|
|
1305
1305
|
|
|
1306
1306
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
|
1307
1307
|
|
|
@@ -1309,7 +1309,7 @@ Ask Appium to perform the actions
|
|
|
1309
1309
|
|
|
1310
1310
|
--
|
|
1311
1311
|
|
|
1312
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
|
1312
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L23)
|
|
1313
1313
|
|
|
1314
1314
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
|
1315
1315
|
|
|
@@ -1317,7 +1317,7 @@ Ask Appium to perform the actions
|
|
|
1317
1317
|
|
|
1318
1318
|
--
|
|
1319
1319
|
|
|
1320
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
|
1320
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L37)
|
|
1321
1321
|
|
|
1322
1322
|
> def actions
|
|
1323
1323
|
|
|
@@ -1325,7 +1325,7 @@ Returns the value of attribute actions
|
|
|
1325
1325
|
|
|
1326
1326
|
--
|
|
1327
1327
|
|
|
1328
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1328
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L39)
|
|
1329
1329
|
|
|
1330
1330
|
> def initialize
|
|
1331
1331
|
|
|
@@ -1337,7 +1337,7 @@ __Returns:__
|
|
|
1337
1337
|
|
|
1338
1338
|
--
|
|
1339
1339
|
|
|
1340
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
|
1340
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L50)
|
|
1341
1341
|
|
|
1342
1342
|
> def move_to(opts)
|
|
1343
1343
|
|
|
@@ -1351,7 +1351,7 @@ __Parameters:__
|
|
|
1351
1351
|
|
|
1352
1352
|
--
|
|
1353
1353
|
|
|
1354
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
|
1354
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L64)
|
|
1355
1355
|
|
|
1356
1356
|
> def long_press(opts)
|
|
1357
1357
|
|
|
@@ -1372,7 +1372,7 @@ __Parameters:__
|
|
|
1372
1372
|
|
|
1373
1373
|
--
|
|
1374
1374
|
|
|
1375
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
|
1375
|
+
##### [press](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L76)
|
|
1376
1376
|
|
|
1377
1377
|
> def press(opts)
|
|
1378
1378
|
|
|
@@ -1385,7 +1385,7 @@ __Parameters:__
|
|
|
1385
1385
|
|
|
1386
1386
|
--
|
|
1387
1387
|
|
|
1388
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
|
1388
|
+
##### [release](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L87)
|
|
1389
1389
|
|
|
1390
1390
|
> def release(opts = nil)
|
|
1391
1391
|
|
|
@@ -1397,7 +1397,7 @@ __Parameters:__
|
|
|
1397
1397
|
|
|
1398
1398
|
--
|
|
1399
1399
|
|
|
1400
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
|
1400
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L99)
|
|
1401
1401
|
|
|
1402
1402
|
> def tap(opts)
|
|
1403
1403
|
|
|
@@ -1410,7 +1410,7 @@ __Parameters:__
|
|
|
1410
1410
|
|
|
1411
1411
|
--
|
|
1412
1412
|
|
|
1413
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
|
1413
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L112)
|
|
1414
1414
|
|
|
1415
1415
|
> def double_tap(opts)
|
|
1416
1416
|
|
|
@@ -1422,7 +1422,7 @@ __Parameters:__
|
|
|
1422
1422
|
|
|
1423
1423
|
--
|
|
1424
1424
|
|
|
1425
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
|
1425
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L123)
|
|
1426
1426
|
|
|
1427
1427
|
> def two_finger_tap(opts)
|
|
1428
1428
|
|
|
@@ -1434,7 +1434,7 @@ __Parameters:__
|
|
|
1434
1434
|
|
|
1435
1435
|
--
|
|
1436
1436
|
|
|
1437
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1437
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L131)
|
|
1438
1438
|
|
|
1439
1439
|
> def wait(milliseconds)
|
|
1440
1440
|
|
|
@@ -1446,7 +1446,7 @@ __Parameters:__
|
|
|
1446
1446
|
|
|
1447
1447
|
--
|
|
1448
1448
|
|
|
1449
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
|
1449
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L154)
|
|
1450
1450
|
|
|
1451
1451
|
> def swipe(opts, ele = nil)
|
|
1452
1452
|
|
|
@@ -1467,7 +1467,7 @@ __Parameters:__
|
|
|
1467
1467
|
|
|
1468
1468
|
--
|
|
1469
1469
|
|
|
1470
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
|
1470
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L179)
|
|
1471
1471
|
|
|
1472
1472
|
> def perform
|
|
1473
1473
|
|
|
@@ -1475,7 +1475,7 @@ Ask the driver to perform all actions in this action chain.
|
|
|
1475
1475
|
|
|
1476
1476
|
--
|
|
1477
1477
|
|
|
1478
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
|
1478
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L186)
|
|
1479
1479
|
|
|
1480
1480
|
> def cancel
|
|
1481
1481
|
|
|
@@ -1483,7 +1483,7 @@ Does nothing, currently.
|
|
|
1483
1483
|
|
|
1484
1484
|
--
|
|
1485
1485
|
|
|
1486
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
|
1486
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L192)
|
|
1487
1487
|
|
|
1488
1488
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
|
1489
1489
|
|
|
@@ -1491,7 +1491,7 @@ Does nothing, currently.
|
|
|
1491
1491
|
|
|
1492
1492
|
--
|
|
1493
1493
|
|
|
1494
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
|
1494
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L210)
|
|
1495
1495
|
|
|
1496
1496
|
> def chain_method(method, args = nil)
|
|
1497
1497
|
|
|
@@ -1499,7 +1499,7 @@ Does nothing, currently.
|
|
|
1499
1499
|
|
|
1500
1500
|
--
|
|
1501
1501
|
|
|
1502
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
|
1502
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/device/touch_actions.rb#L216)
|
|
1503
1503
|
|
|
1504
1504
|
> def args_with_ele_ref(args)
|
|
1505
1505
|
|
|
@@ -1507,7 +1507,7 @@ Does nothing, currently.
|
|
|
1507
1507
|
|
|
1508
1508
|
--
|
|
1509
1509
|
|
|
1510
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1510
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L4)
|
|
1511
1511
|
|
|
1512
1512
|
> def initialize(opts = {})
|
|
1513
1513
|
|
|
@@ -1519,7 +1519,7 @@ __Returns:__
|
|
|
1519
1519
|
|
|
1520
1520
|
--
|
|
1521
1521
|
|
|
1522
|
-
##### [until](https://github.com/appium/ruby_lib/blob/
|
|
1522
|
+
##### [until](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L23)
|
|
1523
1523
|
|
|
1524
1524
|
> def until
|
|
1525
1525
|
|
|
@@ -1528,7 +1528,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
|
1528
1528
|
|
|
1529
1529
|
--
|
|
1530
1530
|
|
|
1531
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
|
1531
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L51)
|
|
1532
1532
|
|
|
1533
1533
|
> def _process_wait_opts(opts)
|
|
1534
1534
|
|
|
@@ -1536,7 +1536,7 @@ process opts before calling _generic_wait
|
|
|
1536
1536
|
|
|
1537
1537
|
--
|
|
1538
1538
|
|
|
1539
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
1539
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L72)
|
|
1540
1540
|
|
|
1541
1541
|
> def wait_true(opts = {})
|
|
1542
1542
|
|
|
@@ -1556,7 +1556,7 @@ __Parameters:__
|
|
|
1556
1556
|
|
|
1557
1557
|
--
|
|
1558
1558
|
|
|
1559
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
1559
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/wait.rb#L95)
|
|
1560
1560
|
|
|
1561
1561
|
> def wait(opts = {})
|
|
1562
1562
|
|
|
@@ -1574,7 +1574,7 @@ __Parameters:__
|
|
|
1574
1574
|
|
|
1575
1575
|
--
|
|
1576
1576
|
|
|
1577
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
1577
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L24)
|
|
1578
1578
|
|
|
1579
1579
|
> def ignore
|
|
1580
1580
|
|
|
@@ -1582,7 +1582,7 @@ Return yield and ignore any exceptions.
|
|
|
1582
1582
|
|
|
1583
1583
|
--
|
|
1584
1584
|
|
|
1585
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
1585
|
+
##### [back](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L31)
|
|
1586
1586
|
|
|
1587
1587
|
> def back
|
|
1588
1588
|
|
|
@@ -1594,7 +1594,7 @@ __Returns:__
|
|
|
1594
1594
|
|
|
1595
1595
|
--
|
|
1596
1596
|
|
|
1597
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
1597
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L36)
|
|
1598
1598
|
|
|
1599
1599
|
> def session_id
|
|
1600
1600
|
|
|
@@ -1602,7 +1602,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
1602
1602
|
|
|
1603
1603
|
--
|
|
1604
1604
|
|
|
1605
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
1605
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L44)
|
|
1606
1606
|
|
|
1607
1607
|
> def xpath(xpath_str)
|
|
1608
1608
|
|
|
@@ -1618,7 +1618,7 @@ __Returns:__
|
|
|
1618
1618
|
|
|
1619
1619
|
--
|
|
1620
1620
|
|
|
1621
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
1621
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L52)
|
|
1622
1622
|
|
|
1623
1623
|
> def xpaths(xpath_str)
|
|
1624
1624
|
|
|
@@ -1634,7 +1634,7 @@ __Returns:__
|
|
|
1634
1634
|
|
|
1635
1635
|
--
|
|
1636
1636
|
|
|
1637
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
|
1637
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L56)
|
|
1638
1638
|
|
|
1639
1639
|
> def _print_source(source)
|
|
1640
1640
|
|
|
@@ -1642,7 +1642,7 @@ __Returns:__
|
|
|
1642
1642
|
|
|
1643
1643
|
--
|
|
1644
1644
|
|
|
1645
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1645
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L69)
|
|
1646
1646
|
|
|
1647
1647
|
> def result
|
|
1648
1648
|
|
|
@@ -1650,7 +1650,7 @@ Returns the value of attribute result
|
|
|
1650
1650
|
|
|
1651
1651
|
--
|
|
1652
1652
|
|
|
1653
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1653
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L71)
|
|
1654
1654
|
|
|
1655
1655
|
> def initialize
|
|
1656
1656
|
|
|
@@ -1662,7 +1662,7 @@ __Returns:__
|
|
|
1662
1662
|
|
|
1663
1663
|
--
|
|
1664
1664
|
|
|
1665
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1665
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L75)
|
|
1666
1666
|
|
|
1667
1667
|
> def reset
|
|
1668
1668
|
|
|
@@ -1670,7 +1670,7 @@ __Returns:__
|
|
|
1670
1670
|
|
|
1671
1671
|
--
|
|
1672
1672
|
|
|
1673
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1673
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L80)
|
|
1674
1674
|
|
|
1675
1675
|
> def start_element(name, attrs = [])
|
|
1676
1676
|
|
|
@@ -1678,7 +1678,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1678
1678
|
|
|
1679
1679
|
--
|
|
1680
1680
|
|
|
1681
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
|
1681
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L86)
|
|
1682
1682
|
|
|
1683
1683
|
> def formatted_result
|
|
1684
1684
|
|
|
@@ -1686,7 +1686,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1686
1686
|
|
|
1687
1687
|
--
|
|
1688
1688
|
|
|
1689
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
1689
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L97)
|
|
1690
1690
|
|
|
1691
1691
|
> def get_page_class
|
|
1692
1692
|
|
|
@@ -1694,7 +1694,7 @@ Returns a string of class counts of visible elements.
|
|
|
1694
1694
|
|
|
1695
1695
|
--
|
|
1696
1696
|
|
|
1697
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
1697
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L108)
|
|
1698
1698
|
|
|
1699
1699
|
> def page_class
|
|
1700
1700
|
|
|
@@ -1703,7 +1703,7 @@ Useful for appium_console.
|
|
|
1703
1703
|
|
|
1704
1704
|
--
|
|
1705
1705
|
|
|
1706
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1706
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L118)
|
|
1707
1707
|
|
|
1708
1708
|
> def px_to_window_rel(opts = {})
|
|
1709
1709
|
|
|
@@ -1715,7 +1715,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1715
1715
|
|
|
1716
1716
|
--
|
|
1717
1717
|
|
|
1718
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1718
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L137)
|
|
1719
1719
|
|
|
1720
1720
|
> def xml_keys(target)
|
|
1721
1721
|
|
|
@@ -1731,7 +1731,7 @@ __Returns:__
|
|
|
1731
1731
|
|
|
1732
1732
|
--
|
|
1733
1733
|
|
|
1734
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1734
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L145)
|
|
1735
1735
|
|
|
1736
1736
|
> def xml_values(target)
|
|
1737
1737
|
|
|
@@ -1747,7 +1747,7 @@ __Returns:__
|
|
|
1747
1747
|
|
|
1748
1748
|
--
|
|
1749
1749
|
|
|
1750
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1750
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L153)
|
|
1751
1751
|
|
|
1752
1752
|
> def resolve_id(id)
|
|
1753
1753
|
|
|
@@ -1763,7 +1763,7 @@ __Returns:__
|
|
|
1763
1763
|
|
|
1764
1764
|
--
|
|
1765
1765
|
|
|
1766
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1766
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L159)
|
|
1767
1767
|
|
|
1768
1768
|
> def filter
|
|
1769
1769
|
|
|
@@ -1771,7 +1771,7 @@ Returns the value of attribute filter
|
|
|
1771
1771
|
|
|
1772
1772
|
--
|
|
1773
1773
|
|
|
1774
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1774
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L162)
|
|
1775
1775
|
|
|
1776
1776
|
> def filter=(value)
|
|
1777
1777
|
|
|
@@ -1779,7 +1779,7 @@ convert to string to support symbols
|
|
|
1779
1779
|
|
|
1780
1780
|
--
|
|
1781
1781
|
|
|
1782
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1782
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L168)
|
|
1783
1783
|
|
|
1784
1784
|
> def initialize
|
|
1785
1785
|
|
|
@@ -1791,7 +1791,7 @@ __Returns:__
|
|
|
1791
1791
|
|
|
1792
1792
|
--
|
|
1793
1793
|
|
|
1794
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1794
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L173)
|
|
1795
1795
|
|
|
1796
1796
|
> def reset
|
|
1797
1797
|
|
|
@@ -1799,7 +1799,7 @@ __Returns:__
|
|
|
1799
1799
|
|
|
1800
1800
|
--
|
|
1801
1801
|
|
|
1802
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1802
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L179)
|
|
1803
1803
|
|
|
1804
1804
|
> def result
|
|
1805
1805
|
|
|
@@ -1807,7 +1807,7 @@ __Returns:__
|
|
|
1807
1807
|
|
|
1808
1808
|
--
|
|
1809
1809
|
|
|
1810
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1810
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L195)
|
|
1811
1811
|
|
|
1812
1812
|
> def start_element(name, attrs = [])
|
|
1813
1813
|
|
|
@@ -1815,7 +1815,7 @@ __Returns:__
|
|
|
1815
1815
|
|
|
1816
1816
|
--
|
|
1817
1817
|
|
|
1818
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
|
1818
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L204)
|
|
1819
1819
|
|
|
1820
1820
|
> def end_element(name)
|
|
1821
1821
|
|
|
@@ -1823,7 +1823,7 @@ __Returns:__
|
|
|
1823
1823
|
|
|
1824
1824
|
--
|
|
1825
1825
|
|
|
1826
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
|
1826
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L210)
|
|
1827
1827
|
|
|
1828
1828
|
> def characters(chars)
|
|
1829
1829
|
|
|
@@ -1831,7 +1831,7 @@ __Returns:__
|
|
|
1831
1831
|
|
|
1832
1832
|
--
|
|
1833
1833
|
|
|
1834
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
|
1834
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/helper.rb#L217)
|
|
1835
1835
|
|
|
1836
1836
|
> def _no_such_element
|
|
1837
1837
|
|
|
@@ -1839,7 +1839,7 @@ __Returns:__
|
|
|
1839
1839
|
|
|
1840
1840
|
--
|
|
1841
1841
|
|
|
1842
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
|
1842
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/command.rb#L4)
|
|
1843
1843
|
|
|
1844
1844
|
> COMMAND_NO_ARG = {
|
|
1845
1845
|
|
|
@@ -1847,7 +1847,7 @@ __Returns:__
|
|
|
1847
1847
|
|
|
1848
1848
|
--
|
|
1849
1849
|
|
|
1850
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
|
1850
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/command.rb#L28)
|
|
1851
1851
|
|
|
1852
1852
|
> COMMAND = {
|
|
1853
1853
|
|
|
@@ -1855,7 +1855,7 @@ __Returns:__
|
|
|
1855
1855
|
|
|
1856
1856
|
--
|
|
1857
1857
|
|
|
1858
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
1858
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/element/window.rb#L5)
|
|
1859
1859
|
|
|
1860
1860
|
> def window_size
|
|
1861
1861
|
|
|
@@ -1863,7 +1863,7 @@ Get the window's size
|
|
|
1863
1863
|
|
|
1864
1864
|
--
|
|
1865
1865
|
|
|
1866
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
|
1866
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/search_context.rb#L5)
|
|
1867
1867
|
|
|
1868
1868
|
> FINDERS = {
|
|
1869
1869
|
|
|
@@ -1871,7 +1871,7 @@ rubocop:disable Style/MutableConstant
|
|
|
1871
1871
|
|
|
1872
1872
|
--
|
|
1873
1873
|
|
|
1874
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
|
1874
|
+
##### [result](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L6) android
|
|
1875
1875
|
|
|
1876
1876
|
> def result
|
|
1877
1877
|
|
|
@@ -1879,7 +1879,7 @@ Returns the value of attribute result
|
|
|
1879
1879
|
|
|
1880
1880
|
--
|
|
1881
1881
|
|
|
1882
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
|
1882
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L6) android
|
|
1883
1883
|
|
|
1884
1884
|
> def keys
|
|
1885
1885
|
|
|
@@ -1887,7 +1887,7 @@ Returns the value of attribute keys
|
|
|
1887
1887
|
|
|
1888
1888
|
--
|
|
1889
1889
|
|
|
1890
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
|
1890
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L6) android
|
|
1891
1891
|
|
|
1892
1892
|
> def filter
|
|
1893
1893
|
|
|
@@ -1895,7 +1895,7 @@ Returns the value of attribute filter
|
|
|
1895
1895
|
|
|
1896
1896
|
--
|
|
1897
1897
|
|
|
1898
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
|
1898
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L9) android
|
|
1899
1899
|
|
|
1900
1900
|
> def filter=(value)
|
|
1901
1901
|
|
|
@@ -1903,7 +1903,7 @@ convert to string to support symbols
|
|
|
1903
1903
|
|
|
1904
1904
|
--
|
|
1905
1905
|
|
|
1906
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1906
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L15) android
|
|
1907
1907
|
|
|
1908
1908
|
> def initialize
|
|
1909
1909
|
|
|
@@ -1915,7 +1915,7 @@ __Returns:__
|
|
|
1915
1915
|
|
|
1916
1916
|
--
|
|
1917
1917
|
|
|
1918
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
|
1918
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L20) android
|
|
1919
1919
|
|
|
1920
1920
|
> def reset
|
|
1921
1921
|
|
|
@@ -1923,7 +1923,7 @@ __Returns:__
|
|
|
1923
1923
|
|
|
1924
1924
|
--
|
|
1925
1925
|
|
|
1926
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
|
1926
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L26) android
|
|
1927
1927
|
|
|
1928
1928
|
> def start_element(name, attrs = [])
|
|
1929
1929
|
|
|
@@ -1931,7 +1931,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
|
1931
1931
|
|
|
1932
1932
|
--
|
|
1933
1933
|
|
|
1934
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
1934
|
+
##### [source](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L82) android
|
|
1935
1935
|
|
|
1936
1936
|
> def source
|
|
1937
1937
|
|
|
@@ -1943,7 +1943,7 @@ __Returns:__
|
|
|
1943
1943
|
|
|
1944
1944
|
--
|
|
1945
1945
|
|
|
1946
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
|
1946
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L92) android
|
|
1947
1947
|
|
|
1948
1948
|
> def get_android_inspect(class_name = false)
|
|
1949
1949
|
|
|
@@ -1962,7 +1962,7 @@ __Returns:__
|
|
|
1962
1962
|
|
|
1963
1963
|
--
|
|
1964
1964
|
|
|
1965
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
1965
|
+
##### [page](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L118) android
|
|
1966
1966
|
|
|
1967
1967
|
> def page(opts = {})
|
|
1968
1968
|
|
|
@@ -1981,7 +1981,7 @@ __Returns:__
|
|
|
1981
1981
|
|
|
1982
1982
|
--
|
|
1983
1983
|
|
|
1984
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
|
1984
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L130) android
|
|
1985
1985
|
|
|
1986
1986
|
> def current_app
|
|
1987
1987
|
|
|
@@ -1991,7 +1991,7 @@ example line:
|
|
|
1991
1991
|
|
|
1992
1992
|
--
|
|
1993
1993
|
|
|
1994
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
1994
|
+
##### [id](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L154) android
|
|
1995
1995
|
|
|
1996
1996
|
> def id(id)
|
|
1997
1997
|
|
|
@@ -2007,7 +2007,7 @@ __Returns:__
|
|
|
2007
2007
|
|
|
2008
2008
|
--
|
|
2009
2009
|
|
|
2010
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
|
2010
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L162) android
|
|
2011
2011
|
|
|
2012
2012
|
> def ids(id)
|
|
2013
2013
|
|
|
@@ -2023,7 +2023,7 @@ __Returns:__
|
|
|
2023
2023
|
|
|
2024
2024
|
--
|
|
2025
2025
|
|
|
2026
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
2026
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L171) android
|
|
2027
2027
|
|
|
2028
2028
|
> def ele_index(class_name, index)
|
|
2029
2029
|
|
|
@@ -2041,7 +2041,7 @@ __Returns:__
|
|
|
2041
2041
|
|
|
2042
2042
|
--
|
|
2043
2043
|
|
|
2044
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
2044
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L189) android
|
|
2045
2045
|
|
|
2046
2046
|
> def first_ele(class_name)
|
|
2047
2047
|
|
|
@@ -2057,7 +2057,7 @@ __Returns:__
|
|
|
2057
2057
|
|
|
2058
2058
|
--
|
|
2059
2059
|
|
|
2060
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
2060
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L196) android
|
|
2061
2061
|
|
|
2062
2062
|
> def last_ele(class_name)
|
|
2063
2063
|
|
|
@@ -2073,7 +2073,7 @@ __Returns:__
|
|
|
2073
2073
|
|
|
2074
2074
|
--
|
|
2075
2075
|
|
|
2076
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
2076
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L204) android
|
|
2077
2077
|
|
|
2078
2078
|
> def tag(class_name)
|
|
2079
2079
|
|
|
@@ -2089,7 +2089,7 @@ __Returns:__
|
|
|
2089
2089
|
|
|
2090
2090
|
--
|
|
2091
2091
|
|
|
2092
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
|
2092
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L212) android
|
|
2093
2093
|
|
|
2094
2094
|
> def tags(class_name)
|
|
2095
2095
|
|
|
@@ -2105,7 +2105,7 @@ __Returns:__
|
|
|
2105
2105
|
|
|
2106
2106
|
--
|
|
2107
2107
|
|
|
2108
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
|
2108
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L255) android
|
|
2109
2109
|
|
|
2110
2110
|
> def string_visible_contains_xpath(class_name, value)
|
|
2111
2111
|
|
|
@@ -2126,7 +2126,7 @@ __Returns:__
|
|
|
2126
2126
|
|
|
2127
2127
|
--
|
|
2128
2128
|
|
|
2129
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
|
2129
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L275) android
|
|
2130
2130
|
|
|
2131
2131
|
> def string_visible_contains(class_name, value)
|
|
2132
2132
|
|
|
@@ -2147,7 +2147,7 @@ __Returns:__
|
|
|
2147
2147
|
|
|
2148
2148
|
--
|
|
2149
2149
|
|
|
2150
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
|
2150
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L293) android
|
|
2151
2151
|
|
|
2152
2152
|
> def complex_find_contains(class_name, value)
|
|
2153
2153
|
|
|
@@ -2165,7 +2165,7 @@ __Returns:__
|
|
|
2165
2165
|
|
|
2166
2166
|
--
|
|
2167
2167
|
|
|
2168
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
|
2168
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L307) android
|
|
2169
2169
|
|
|
2170
2170
|
> def complex_finds_contains(class_name, value)
|
|
2171
2171
|
|
|
@@ -2183,7 +2183,7 @@ __Returns:__
|
|
|
2183
2183
|
|
|
2184
2184
|
--
|
|
2185
2185
|
|
|
2186
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2186
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L351) android
|
|
2187
2187
|
|
|
2188
2188
|
> def complex_find_exact(class_name, value)
|
|
2189
2189
|
|
|
@@ -2201,7 +2201,7 @@ __Returns:__
|
|
|
2201
2201
|
|
|
2202
2202
|
--
|
|
2203
2203
|
|
|
2204
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2204
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L365) android
|
|
2205
2205
|
|
|
2206
2206
|
> def complex_finds_exact(class_name, value)
|
|
2207
2207
|
|
|
@@ -2219,7 +2219,7 @@ __Returns:__
|
|
|
2219
2219
|
|
|
2220
2220
|
--
|
|
2221
2221
|
|
|
2222
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
2222
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/helper.rb#L371) android
|
|
2223
2223
|
|
|
2224
2224
|
> def get_source
|
|
2225
2225
|
|
|
@@ -2231,7 +2231,7 @@ __Returns:__
|
|
|
2231
2231
|
|
|
2232
2232
|
--
|
|
2233
2233
|
|
|
2234
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
|
2234
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/client_xpath.rb#L5) android
|
|
2235
2235
|
|
|
2236
2236
|
> def _nodeset_to_uiselector(opts = {})
|
|
2237
2237
|
|
|
@@ -2239,7 +2239,7 @@ __Returns:__
|
|
|
2239
2239
|
|
|
2240
2240
|
--
|
|
2241
2241
|
|
|
2242
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
|
2242
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/client_xpath.rb#L20) android
|
|
2243
2243
|
|
|
2244
2244
|
> def _client_xpath(opts = {})
|
|
2245
2245
|
|
|
@@ -2247,7 +2247,7 @@ __Returns:__
|
|
|
2247
2247
|
|
|
2248
2248
|
--
|
|
2249
2249
|
|
|
2250
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
|
2250
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/client_xpath.rb#L37) android
|
|
2251
2251
|
|
|
2252
2252
|
> def client_xpath(xpath)
|
|
2253
2253
|
|
|
@@ -2255,7 +2255,7 @@ __Returns:__
|
|
|
2255
2255
|
|
|
2256
2256
|
--
|
|
2257
2257
|
|
|
2258
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
|
2258
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/client_xpath.rb#L43) android
|
|
2259
2259
|
|
|
2260
2260
|
> def client_xpaths(xpath)
|
|
2261
2261
|
|
|
@@ -2263,7 +2263,7 @@ __Returns:__
|
|
|
2263
2263
|
|
|
2264
2264
|
--
|
|
2265
2265
|
|
|
2266
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
|
2266
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/text.rb#L4) android
|
|
2267
2267
|
|
|
2268
2268
|
> TextView = 'android.widget.TextView'.freeze
|
|
2269
2269
|
|
|
@@ -2271,7 +2271,7 @@ __Returns:__
|
|
|
2271
2271
|
|
|
2272
2272
|
--
|
|
2273
2273
|
|
|
2274
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
2274
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/text.rb#L10) android
|
|
2275
2275
|
|
|
2276
2276
|
> def text(value)
|
|
2277
2277
|
|
|
@@ -2288,7 +2288,7 @@ __Returns:__
|
|
|
2288
2288
|
|
|
2289
2289
|
--
|
|
2290
2290
|
|
|
2291
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
2291
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/text.rb#L19) android
|
|
2292
2292
|
|
|
2293
2293
|
> def texts(value = false)
|
|
2294
2294
|
|
|
@@ -2305,7 +2305,7 @@ __Returns:__
|
|
|
2305
2305
|
|
|
2306
2306
|
--
|
|
2307
2307
|
|
|
2308
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
|
2308
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/text.rb#L26) android
|
|
2309
2309
|
|
|
2310
2310
|
> def first_text
|
|
2311
2311
|
|
|
@@ -2317,7 +2317,7 @@ __Returns:__
|
|
|
2317
2317
|
|
|
2318
2318
|
--
|
|
2319
2319
|
|
|
2320
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
|
2320
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/text.rb#L32) android
|
|
2321
2321
|
|
|
2322
2322
|
> def last_text
|
|
2323
2323
|
|
|
@@ -2329,7 +2329,7 @@ __Returns:__
|
|
|
2329
2329
|
|
|
2330
2330
|
--
|
|
2331
2331
|
|
|
2332
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
|
2332
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/text.rb#L39) android
|
|
2333
2333
|
|
|
2334
2334
|
> def text_exact(value)
|
|
2335
2335
|
|
|
@@ -2345,7 +2345,7 @@ __Returns:__
|
|
|
2345
2345
|
|
|
2346
2346
|
--
|
|
2347
2347
|
|
|
2348
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
|
2348
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/text.rb#L46) android
|
|
2349
2349
|
|
|
2350
2350
|
> def texts_exact(value)
|
|
2351
2351
|
|
|
@@ -2361,7 +2361,7 @@ __Returns:__
|
|
|
2361
2361
|
|
|
2362
2362
|
--
|
|
2363
2363
|
|
|
2364
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
2364
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/alert.rb#L6) android
|
|
2365
2365
|
|
|
2366
2366
|
> def alert_click(value)
|
|
2367
2367
|
|
|
@@ -2377,7 +2377,7 @@ __Returns:__
|
|
|
2377
2377
|
|
|
2378
2378
|
--
|
|
2379
2379
|
|
|
2380
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
2380
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/alert.rb#L13) android
|
|
2381
2381
|
|
|
2382
2382
|
> def alert_accept
|
|
2383
2383
|
|
|
@@ -2390,7 +2390,7 @@ __Returns:__
|
|
|
2390
2390
|
|
|
2391
2391
|
--
|
|
2392
2392
|
|
|
2393
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
2393
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/alert.rb#L20) android
|
|
2394
2394
|
|
|
2395
2395
|
> def alert_accept_text
|
|
2396
2396
|
|
|
@@ -2403,7 +2403,7 @@ __Returns:__
|
|
|
2403
2403
|
|
|
2404
2404
|
--
|
|
2405
2405
|
|
|
2406
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
2406
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/alert.rb#L27) android
|
|
2407
2407
|
|
|
2408
2408
|
> def alert_dismiss
|
|
2409
2409
|
|
|
@@ -2416,7 +2416,7 @@ __Returns:__
|
|
|
2416
2416
|
|
|
2417
2417
|
--
|
|
2418
2418
|
|
|
2419
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
2419
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/alert.rb#L34) android
|
|
2420
2420
|
|
|
2421
2421
|
> def alert_dismiss_text
|
|
2422
2422
|
|
|
@@ -2429,7 +2429,7 @@ __Returns:__
|
|
|
2429
2429
|
|
|
2430
2430
|
--
|
|
2431
2431
|
|
|
2432
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
|
2432
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L4) android
|
|
2433
2433
|
|
|
2434
2434
|
> Button = 'android.widget.Button'.freeze
|
|
2435
2435
|
|
|
@@ -2437,7 +2437,7 @@ __Returns:__
|
|
|
2437
2437
|
|
|
2438
2438
|
--
|
|
2439
2439
|
|
|
2440
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
|
2440
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L5) android
|
|
2441
2441
|
|
|
2442
2442
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
|
2443
2443
|
|
|
@@ -2445,7 +2445,7 @@ __Returns:__
|
|
|
2445
2445
|
|
|
2446
2446
|
--
|
|
2447
2447
|
|
|
2448
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
|
2448
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L9) android
|
|
2449
2449
|
|
|
2450
2450
|
> def _button_visible_selectors(opts = {})
|
|
2451
2451
|
|
|
@@ -2453,7 +2453,7 @@ __Returns:__
|
|
|
2453
2453
|
|
|
2454
2454
|
--
|
|
2455
2455
|
|
|
2456
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
|
2456
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L22) android
|
|
2457
2457
|
|
|
2458
2458
|
> def _button_exact_string(value)
|
|
2459
2459
|
|
|
@@ -2461,7 +2461,7 @@ __Returns:__
|
|
|
2461
2461
|
|
|
2462
2462
|
--
|
|
2463
2463
|
|
|
2464
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
|
2464
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L28) android
|
|
2465
2465
|
|
|
2466
2466
|
> def _button_contains_string(value)
|
|
2467
2467
|
|
|
@@ -2469,7 +2469,7 @@ __Returns:__
|
|
|
2469
2469
|
|
|
2470
2470
|
--
|
|
2471
2471
|
|
|
2472
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
2472
|
+
##### [button](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L40) android
|
|
2473
2473
|
|
|
2474
2474
|
> def button(value)
|
|
2475
2475
|
|
|
@@ -2486,7 +2486,7 @@ __Returns:__
|
|
|
2486
2486
|
|
|
2487
2487
|
--
|
|
2488
2488
|
|
|
2489
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
2489
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L68) android
|
|
2490
2490
|
|
|
2491
2491
|
> def buttons(value = false)
|
|
2492
2492
|
|
|
@@ -2503,7 +2503,7 @@ __Returns:__
|
|
|
2503
2503
|
|
|
2504
2504
|
--
|
|
2505
2505
|
|
|
2506
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
2506
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L75) android
|
|
2507
2507
|
|
|
2508
2508
|
> def first_button
|
|
2509
2509
|
|
|
@@ -2515,7 +2515,7 @@ __Returns:__
|
|
|
2515
2515
|
|
|
2516
2516
|
--
|
|
2517
2517
|
|
|
2518
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
2518
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L86) android
|
|
2519
2519
|
|
|
2520
2520
|
> def last_button
|
|
2521
2521
|
|
|
@@ -2527,7 +2527,7 @@ __Returns:__
|
|
|
2527
2527
|
|
|
2528
2528
|
--
|
|
2529
2529
|
|
|
2530
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
2530
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L109) android
|
|
2531
2531
|
|
|
2532
2532
|
> def button_exact(value)
|
|
2533
2533
|
|
|
@@ -2543,7 +2543,7 @@ __Returns:__
|
|
|
2543
2543
|
|
|
2544
2544
|
--
|
|
2545
2545
|
|
|
2546
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
2546
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L121) android
|
|
2547
2547
|
|
|
2548
2548
|
> def buttons_exact(value)
|
|
2549
2549
|
|
|
@@ -2559,7 +2559,7 @@ __Returns:__
|
|
|
2559
2559
|
|
|
2560
2560
|
--
|
|
2561
2561
|
|
|
2562
|
-
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/
|
|
2562
|
+
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/button.rb#L127) android
|
|
2563
2563
|
|
|
2564
2564
|
> def raise_no_such_element_if_empty(elements)
|
|
2565
2565
|
|
|
@@ -2567,7 +2567,7 @@ __Returns:__
|
|
|
2567
2567
|
|
|
2568
2568
|
--
|
|
2569
2569
|
|
|
2570
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
|
2570
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/mobile_methods.rb#L10) android
|
|
2571
2571
|
|
|
2572
2572
|
> def uiautomator_find
|
|
2573
2573
|
|
|
@@ -2579,7 +2579,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
|
2579
2579
|
|
|
2580
2580
|
--
|
|
2581
2581
|
|
|
2582
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
2582
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/generic.rb#L6) android
|
|
2583
2583
|
|
|
2584
2584
|
> def find(value)
|
|
2585
2585
|
|
|
@@ -2595,7 +2595,7 @@ __Returns:__
|
|
|
2595
2595
|
|
|
2596
2596
|
--
|
|
2597
2597
|
|
|
2598
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
2598
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/generic.rb#L13) android
|
|
2599
2599
|
|
|
2600
2600
|
> def finds(value)
|
|
2601
2601
|
|
|
@@ -2611,7 +2611,7 @@ __Returns:__
|
|
|
2611
2611
|
|
|
2612
2612
|
--
|
|
2613
2613
|
|
|
2614
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
|
2614
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/generic.rb#L20) android
|
|
2615
2615
|
|
|
2616
2616
|
> def find_exact(value)
|
|
2617
2617
|
|
|
@@ -2627,7 +2627,7 @@ __Returns:__
|
|
|
2627
2627
|
|
|
2628
2628
|
--
|
|
2629
2629
|
|
|
2630
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
|
2630
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/generic.rb#L27) android
|
|
2631
2631
|
|
|
2632
2632
|
> def finds_exact(value)
|
|
2633
2633
|
|
|
@@ -2643,7 +2643,7 @@ __Returns:__
|
|
|
2643
2643
|
|
|
2644
2644
|
--
|
|
2645
2645
|
|
|
2646
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
|
2646
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/generic.rb#L40) android
|
|
2647
2647
|
|
|
2648
2648
|
> def scroll_to(text, scrollable_index = 0)
|
|
2649
2649
|
|
|
@@ -2661,7 +2661,7 @@ __Returns:__
|
|
|
2661
2661
|
|
|
2662
2662
|
--
|
|
2663
2663
|
|
|
2664
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
|
2664
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/generic.rb#L54) android
|
|
2665
2665
|
|
|
2666
2666
|
> def scroll_to_exact(text, scrollable_index = 0)
|
|
2667
2667
|
|
|
@@ -2679,7 +2679,7 @@ __Returns:__
|
|
|
2679
2679
|
|
|
2680
2680
|
--
|
|
2681
2681
|
|
|
2682
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
|
2682
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/textfield.rb#L3) android
|
|
2683
2683
|
|
|
2684
2684
|
> EditText = 'android.widget.EditText'.freeze
|
|
2685
2685
|
|
|
@@ -2687,7 +2687,7 @@ __Returns:__
|
|
|
2687
2687
|
|
|
2688
2688
|
--
|
|
2689
2689
|
|
|
2690
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
2690
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/textfield.rb#L9) android
|
|
2691
2691
|
|
|
2692
2692
|
> def textfield(value)
|
|
2693
2693
|
|
|
@@ -2704,7 +2704,7 @@ __Returns:__
|
|
|
2704
2704
|
|
|
2705
2705
|
--
|
|
2706
2706
|
|
|
2707
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
2707
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/textfield.rb#L18) android
|
|
2708
2708
|
|
|
2709
2709
|
> def textfields(value = false)
|
|
2710
2710
|
|
|
@@ -2721,7 +2721,7 @@ __Returns:__
|
|
|
2721
2721
|
|
|
2722
2722
|
--
|
|
2723
2723
|
|
|
2724
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2724
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/textfield.rb#L25) android
|
|
2725
2725
|
|
|
2726
2726
|
> def first_textfield
|
|
2727
2727
|
|
|
@@ -2733,7 +2733,7 @@ __Returns:__
|
|
|
2733
2733
|
|
|
2734
2734
|
--
|
|
2735
2735
|
|
|
2736
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
2736
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/textfield.rb#L31) android
|
|
2737
2737
|
|
|
2738
2738
|
> def last_textfield
|
|
2739
2739
|
|
|
@@ -2745,7 +2745,7 @@ __Returns:__
|
|
|
2745
2745
|
|
|
2746
2746
|
--
|
|
2747
2747
|
|
|
2748
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
2748
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/textfield.rb#L38) android
|
|
2749
2749
|
|
|
2750
2750
|
> def textfield_exact(value)
|
|
2751
2751
|
|
|
@@ -2761,7 +2761,7 @@ __Returns:__
|
|
|
2761
2761
|
|
|
2762
2762
|
--
|
|
2763
2763
|
|
|
2764
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
|
2764
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/android/element/textfield.rb#L45) android
|
|
2765
2765
|
|
|
2766
2766
|
> def textfields_exact(value)
|
|
2767
2767
|
|
|
@@ -2777,7 +2777,7 @@ __Returns:__
|
|
|
2777
2777
|
|
|
2778
2778
|
--
|
|
2779
2779
|
|
|
2780
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
2780
|
+
##### [value](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L12)
|
|
2781
2781
|
|
|
2782
2782
|
> def value
|
|
2783
2783
|
|
|
@@ -2787,7 +2787,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
2787
2787
|
|
|
2788
2788
|
--
|
|
2789
2789
|
|
|
2790
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
2790
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L19)
|
|
2791
2791
|
|
|
2792
2792
|
> def name
|
|
2793
2793
|
|
|
@@ -2797,7 +2797,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
2797
2797
|
|
|
2798
2798
|
--
|
|
2799
2799
|
|
|
2800
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
2800
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L31)
|
|
2801
2801
|
|
|
2802
2802
|
> def location_rel
|
|
2803
2803
|
|
|
@@ -2815,7 +2815,7 @@ __Returns:__
|
|
|
2815
2815
|
|
|
2816
2816
|
--
|
|
2817
2817
|
|
|
2818
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
|
2818
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L152)
|
|
2819
2819
|
|
|
2820
2820
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
|
2821
2821
|
|
|
@@ -2823,7 +2823,7 @@ __Returns:__
|
|
|
2823
2823
|
|
|
2824
2824
|
--
|
|
2825
2825
|
|
|
2826
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
|
2826
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/c705d40f89117b7dea37ff6365c6d4f418e51ce9/lib/appium_lib/common/patch.rb#L155)
|
|
2827
2827
|
|
|
2828
2828
|
> def patch_remote_driver_commands
|
|
2829
2829
|
|