appium_lib 9.4.1 → 9.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/docs/android_docs.md +235 -235
- data/docs/ios_docs.md +260 -262
- data/ios_tests/lib/ios/specs/ios/xcuitest_gestures.rb +8 -4
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/ios/xcuitest_gestures.rb +5 -2
- data/release_notes.md +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1a7e8bbf8c496070cf09b388b6f6cab58a3704d
|
4
|
+
data.tar.gz: 6970c9fc2e91a99e595b7f560f076bb8be65c45f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5fa65a15d7c73d358ae5035084d28bb931510050db66dce63a46aa598789b670e5b376f4b0b0d82fbfc053659d13b89962d9ba3f53e9362f8745ef15d93ef819
|
7
|
+
data.tar.gz: 0f754b2e0ef82596f53a6fea77ae248e435d3447b3d6c5e3e572e298366544e2da9b77569551e239d99daf6755eb2085301ccfe7ecbce76b0507f855c6af65d3
|
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.2
|
7
|
+
### 1. Enhancements
|
8
|
+
|
9
|
+
### 2. Bug fixes
|
10
|
+
- fix drag_from_to_for_duration gets server error [#552](https://github.com/appium/ruby_lib/issues/552)
|
11
|
+
|
12
|
+
### 3. Deprecations
|
13
|
+
|
6
14
|
## v9.4.1
|
7
15
|
### 1. Enhancements
|
8
16
|
|
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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/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
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L279)
|
181
181
|
|
182
182
|
> def caps=(value)
|
183
183
|
|
@@ -185,7 +185,7 @@ Selenium webdriver capabilities
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L281)
|
189
189
|
|
190
190
|
> def custom_url
|
191
191
|
|
@@ -193,7 +193,7 @@ Custom URL for the selenium server
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L281)
|
197
197
|
|
198
198
|
> def custom_url=(value)
|
199
199
|
|
@@ -201,7 +201,7 @@ Custom URL for the selenium server
|
|
201
201
|
|
202
202
|
--
|
203
203
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L283)
|
205
205
|
|
206
206
|
> def export_session
|
207
207
|
|
@@ -209,7 +209,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
209
209
|
|
210
210
|
--
|
211
211
|
|
212
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L283)
|
213
213
|
|
214
214
|
> def export_session=(value)
|
215
215
|
|
@@ -217,7 +217,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L288)
|
221
221
|
|
222
222
|
> def default_wait
|
223
223
|
|
@@ -231,7 +231,7 @@ __Returns:__
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L290)
|
235
235
|
|
236
236
|
> def sauce_username
|
237
237
|
|
@@ -239,7 +239,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L290)
|
243
243
|
|
244
244
|
> def sauce_username=(value)
|
245
245
|
|
@@ -247,7 +247,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L292)
|
251
251
|
|
252
252
|
> def sauce_access_key
|
253
253
|
|
@@ -255,7 +255,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L292)
|
259
259
|
|
260
260
|
> def sauce_access_key=(value)
|
261
261
|
|
@@ -263,7 +263,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L294)
|
267
267
|
|
268
268
|
> def sauce_endpoint
|
269
269
|
|
@@ -271,7 +271,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L294)
|
275
275
|
|
276
276
|
> def sauce_endpoint=(value)
|
277
277
|
|
@@ -279,7 +279,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L296)
|
283
283
|
|
284
284
|
> def appium_port
|
285
285
|
|
@@ -287,7 +287,7 @@ Appium's server port
|
|
287
287
|
|
288
288
|
--
|
289
289
|
|
290
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L296)
|
291
291
|
|
292
292
|
> def appium_port=(value)
|
293
293
|
|
@@ -295,7 +295,7 @@ Appium's server port
|
|
295
295
|
|
296
296
|
--
|
297
297
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L298)
|
299
299
|
|
300
300
|
> def appium_device
|
301
301
|
|
@@ -303,7 +303,7 @@ Device type to request from the appium server
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L298)
|
307
307
|
|
308
308
|
> def appium_device=(value)
|
309
309
|
|
@@ -311,7 +311,7 @@ Device type to request from the appium server
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L301)
|
315
315
|
|
316
316
|
> def automation_name
|
317
317
|
|
@@ -320,7 +320,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
320
320
|
|
321
321
|
--
|
322
322
|
|
323
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L303)
|
324
324
|
|
325
325
|
> def appium_server_status
|
326
326
|
|
@@ -328,7 +328,7 @@ Appium's server version
|
|
328
328
|
|
329
329
|
--
|
330
330
|
|
331
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
331
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L305)
|
332
332
|
|
333
333
|
> def appium_debug
|
334
334
|
|
@@ -336,7 +336,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
336
336
|
|
337
337
|
--
|
338
338
|
|
339
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
339
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L305)
|
340
340
|
|
341
341
|
> def appium_debug=(value)
|
342
342
|
|
@@ -344,7 +344,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
344
344
|
|
345
345
|
--
|
346
346
|
|
347
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
347
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L307)
|
348
348
|
|
349
349
|
> def listener
|
350
350
|
|
@@ -352,7 +352,7 @@ instance of AbstractEventListener for logging support
|
|
352
352
|
|
353
353
|
--
|
354
354
|
|
355
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
355
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L307)
|
356
356
|
|
357
357
|
> def listener=(value)
|
358
358
|
|
@@ -360,7 +360,7 @@ instance of AbstractEventListener for logging support
|
|
360
360
|
|
361
361
|
--
|
362
362
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L310)
|
364
364
|
|
365
365
|
> def driver
|
366
366
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
372
372
|
|
373
373
|
--
|
374
374
|
|
375
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L313)
|
376
376
|
|
377
377
|
> def http_client
|
378
378
|
|
@@ -384,7 +384,7 @@ __Returns:__
|
|
384
384
|
|
385
385
|
--
|
386
386
|
|
387
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
387
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L318)
|
388
388
|
|
389
389
|
> def appium_wait_timeout
|
390
390
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
398
398
|
|
399
399
|
--
|
400
400
|
|
401
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L323)
|
402
402
|
|
403
403
|
> def appium_wait_interval
|
404
404
|
|
@@ -412,7 +412,7 @@ __Returns:__
|
|
412
412
|
|
413
413
|
--
|
414
414
|
|
415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L363)
|
416
416
|
|
417
417
|
> def initialize(opts = {})
|
418
418
|
|
@@ -428,7 +428,7 @@ __Returns:__
|
|
428
428
|
|
429
429
|
--
|
430
430
|
|
431
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
431
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L442)
|
432
432
|
|
433
433
|
> def driver_attributes
|
434
434
|
|
@@ -436,7 +436,7 @@ Returns a hash of the driver attributes
|
|
436
436
|
|
437
437
|
--
|
438
438
|
|
439
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L467)
|
440
440
|
|
441
441
|
> def device_is_android?
|
442
442
|
|
@@ -448,7 +448,7 @@ __Returns:__
|
|
448
448
|
|
449
449
|
--
|
450
450
|
|
451
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L473)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L479)
|
464
464
|
|
465
465
|
> def automation_name_is_uiautomator2?
|
466
466
|
|
@@ -472,7 +472,7 @@ __Returns:__
|
|
472
472
|
|
473
473
|
--
|
474
474
|
|
475
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
475
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L486)
|
476
476
|
|
477
477
|
> def check_server_version_xcuitest
|
478
478
|
|
@@ -485,7 +485,7 @@ __Returns:__
|
|
485
485
|
|
486
486
|
--
|
487
487
|
|
488
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L507)
|
489
489
|
|
490
490
|
> def appium_server_version
|
491
491
|
|
@@ -506,7 +506,7 @@ __Returns:__
|
|
506
506
|
|
507
507
|
--
|
508
508
|
|
509
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L524)
|
510
510
|
|
511
511
|
> def appium_client_version
|
512
512
|
|
@@ -524,7 +524,7 @@ __Returns:__
|
|
524
524
|
|
525
525
|
--
|
526
526
|
|
527
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L536)
|
528
528
|
|
529
529
|
> def self.absolute_app_path(opts)
|
530
530
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L569)
|
545
545
|
|
546
546
|
> def server_url
|
547
547
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
553
553
|
|
554
554
|
--
|
555
555
|
|
556
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L580)
|
557
557
|
|
558
558
|
> def restart
|
559
559
|
|
@@ -565,7 +565,7 @@ __Returns:__
|
|
565
565
|
|
566
566
|
--
|
567
567
|
|
568
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L591)
|
569
569
|
|
570
570
|
> def screenshot(png_save_path)
|
571
571
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
583
583
|
|
584
584
|
--
|
585
585
|
|
586
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L598)
|
587
587
|
|
588
588
|
> def driver_quit
|
589
589
|
|
@@ -595,7 +595,7 @@ __Returns:__
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L608)
|
599
599
|
|
600
600
|
> def start_driver
|
601
601
|
|
@@ -607,7 +607,7 @@ __Returns:__
|
|
607
607
|
|
608
608
|
--
|
609
609
|
|
610
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L646)
|
611
611
|
|
612
612
|
> def no_wait
|
613
613
|
|
@@ -615,7 +615,7 @@ Set implicit wait to zero.
|
|
615
615
|
|
616
616
|
--
|
617
617
|
|
618
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
618
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L660)
|
619
619
|
|
620
620
|
> def set_wait(timeout = nil)
|
621
621
|
|
@@ -637,7 +637,7 @@ __Returns:__
|
|
637
637
|
|
638
638
|
--
|
639
639
|
|
640
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
640
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L677)
|
641
641
|
|
642
642
|
> def exists(pre_check = 0, post_check = @default_wait)
|
643
643
|
|
@@ -661,7 +661,7 @@ __Returns:__
|
|
661
661
|
|
662
662
|
--
|
663
663
|
|
664
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L701)
|
665
665
|
|
666
666
|
> def execute_script(script, *args)
|
667
667
|
|
@@ -679,7 +679,7 @@ __Returns:__
|
|
679
679
|
|
680
680
|
--
|
681
681
|
|
682
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L723)
|
683
683
|
|
684
684
|
> def find_elements(*args)
|
685
685
|
|
@@ -705,7 +705,7 @@ __Returns:__
|
|
705
705
|
|
706
706
|
--
|
707
707
|
|
708
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L738)
|
709
709
|
|
710
710
|
> def find_element(*args)
|
711
711
|
|
@@ -726,7 +726,7 @@ __Returns:__
|
|
726
726
|
|
727
727
|
--
|
728
728
|
|
729
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L751)
|
730
730
|
|
731
731
|
> def set_location(opts = {})
|
732
732
|
|
@@ -742,7 +742,7 @@ __Returns:__
|
|
742
742
|
|
743
743
|
--
|
744
744
|
|
745
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [x](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L761)
|
746
746
|
|
747
747
|
> def x
|
748
748
|
|
@@ -755,7 +755,7 @@ __Returns:__
|
|
755
755
|
|
756
756
|
--
|
757
757
|
|
758
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
758
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/driver.rb#L770)
|
759
759
|
|
760
760
|
> def set_automation_name_if_nil
|
761
761
|
|
@@ -764,7 +764,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/logger.rb#L13)
|
768
768
|
|
769
769
|
> def logger=(value)
|
770
770
|
|
@@ -776,7 +776,7 @@ __Parameters:__
|
|
776
776
|
|
777
777
|
--
|
778
778
|
|
779
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
779
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/logger.rb#L17)
|
780
780
|
|
781
781
|
> def logger
|
782
782
|
|
@@ -784,7 +784,7 @@ __Parameters:__
|
|
784
784
|
|
785
785
|
--
|
786
786
|
|
787
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
787
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L7)
|
788
788
|
|
789
789
|
> def app_strings
|
790
790
|
|
@@ -795,7 +795,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
795
795
|
|
796
796
|
--
|
797
797
|
|
798
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
798
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L13)
|
799
799
|
|
800
800
|
> def background_app
|
801
801
|
|
@@ -804,7 +804,7 @@ This is a blocking application
|
|
804
804
|
|
805
805
|
--
|
806
806
|
|
807
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L24)
|
808
808
|
|
809
809
|
> def current_activity
|
810
810
|
|
@@ -812,7 +812,7 @@ This is a blocking application
|
|
812
812
|
|
813
813
|
--
|
814
814
|
|
815
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L26)
|
816
816
|
|
817
817
|
> def get_system_bars
|
818
818
|
|
@@ -827,7 +827,7 @@ __Returns:__
|
|
827
827
|
|
828
828
|
--
|
829
829
|
|
830
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L34)
|
831
831
|
|
832
832
|
> def get_display_density
|
833
833
|
|
@@ -842,7 +842,7 @@ __Returns:__
|
|
842
842
|
|
843
843
|
--
|
844
844
|
|
845
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
845
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L42)
|
846
846
|
|
847
847
|
> def is_keyboard_shown
|
848
848
|
|
@@ -857,7 +857,7 @@ __Returns:__
|
|
857
857
|
|
858
858
|
--
|
859
859
|
|
860
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L50)
|
861
861
|
|
862
862
|
> def launch_app
|
863
863
|
|
@@ -865,7 +865,7 @@ Start the simulator and application configured with desired capabilities
|
|
865
865
|
|
866
866
|
--
|
867
867
|
|
868
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L53)
|
869
869
|
|
870
870
|
> def reset
|
871
871
|
|
@@ -873,7 +873,7 @@ Reset the device, relaunching the application.
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L56)
|
877
877
|
|
878
878
|
> def shake
|
879
879
|
|
@@ -881,7 +881,7 @@ Cause the device to shake
|
|
881
881
|
|
882
882
|
--
|
883
883
|
|
884
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L59)
|
885
885
|
|
886
886
|
> def toggle_flight_mode
|
887
887
|
|
@@ -889,7 +889,7 @@ Toggle flight mode on or off
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L62)
|
893
893
|
|
894
894
|
> def device_locked?
|
895
895
|
|
@@ -897,7 +897,7 @@ Toggle flight mode on or off
|
|
897
897
|
|
898
898
|
--
|
899
899
|
|
900
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L64)
|
901
901
|
|
902
902
|
> def hide_keyboard
|
903
903
|
|
@@ -910,7 +910,7 @@ Defaults to 'Done'.
|
|
910
910
|
|
911
911
|
--
|
912
912
|
|
913
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L73)
|
914
914
|
|
915
915
|
> def press_keycode
|
916
916
|
|
@@ -925,7 +925,7 @@ __Parameters:__
|
|
925
925
|
|
926
926
|
--
|
927
927
|
|
928
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
928
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L79)
|
929
929
|
|
930
930
|
> def long_press_keycode
|
931
931
|
|
@@ -940,7 +940,7 @@ __Parameters:__
|
|
940
940
|
|
941
941
|
--
|
942
942
|
|
943
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L85)
|
944
944
|
|
945
945
|
> def push_file
|
946
946
|
|
@@ -954,7 +954,7 @@ __Parameters:__
|
|
954
954
|
|
955
955
|
--
|
956
956
|
|
957
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
957
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L90)
|
958
958
|
|
959
959
|
> def pull_file
|
960
960
|
|
@@ -971,7 +971,7 @@ __Parameters:__
|
|
971
971
|
|
972
972
|
--
|
973
973
|
|
974
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L100)
|
975
975
|
|
976
976
|
> def pull_folder
|
977
977
|
|
@@ -986,7 +986,7 @@ __Parameters:__
|
|
986
986
|
|
987
987
|
--
|
988
988
|
|
989
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L108)
|
990
990
|
|
991
991
|
> def touch_id
|
992
992
|
|
@@ -1003,7 +1003,7 @@ Defaults to true.
|
|
1003
1003
|
|
1004
1004
|
--
|
1005
1005
|
|
1006
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L117)
|
1007
1007
|
|
1008
1008
|
> def toggle_touch_id_enrollment
|
1009
1009
|
|
@@ -1011,7 +1011,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
1011
1011
|
|
1012
1012
|
--
|
1013
1013
|
|
1014
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L120)
|
1015
1015
|
|
1016
1016
|
> def end_coverage
|
1017
1017
|
|
@@ -1025,7 +1025,7 @@ __Parameters:__
|
|
1025
1025
|
|
1026
1026
|
--
|
1027
1027
|
|
1028
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L125)
|
1029
1029
|
|
1030
1030
|
> def get_settings
|
1031
1031
|
|
@@ -1033,7 +1033,7 @@ Get appium Settings for current test session
|
|
1033
1033
|
|
1034
1034
|
--
|
1035
1035
|
|
1036
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L128)
|
1037
1037
|
|
1038
1038
|
> def update_settings
|
1039
1039
|
|
@@ -1045,7 +1045,7 @@ __Parameters:__
|
|
1045
1045
|
|
1046
1046
|
--
|
1047
1047
|
|
1048
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L132)
|
1049
1049
|
|
1050
1050
|
> def start_activity
|
1051
1051
|
|
@@ -1059,7 +1059,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1059
1059
|
|
1060
1060
|
--
|
1061
1061
|
|
1062
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1062
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L146)
|
1063
1063
|
|
1064
1064
|
> def get_network_connection
|
1065
1065
|
|
@@ -1068,7 +1068,7 @@ See set_network_connection method for return value
|
|
1068
1068
|
|
1069
1069
|
--
|
1070
1070
|
|
1071
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L150)
|
1072
1072
|
|
1073
1073
|
> def set_network_connection
|
1074
1074
|
|
@@ -1087,7 +1087,7 @@ __Parameters:__
|
|
1087
1087
|
|
1088
1088
|
--
|
1089
1089
|
|
1090
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1090
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L163)
|
1091
1091
|
|
1092
1092
|
> def set_immediate_value
|
1093
1093
|
|
@@ -1101,7 +1101,7 @@ set_immediate_value element, 'hello'
|
|
1101
1101
|
|
1102
1102
|
--
|
1103
1103
|
|
1104
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L172)
|
1105
1105
|
|
1106
1106
|
> def get_performance_data_types
|
1107
1107
|
|
@@ -1115,7 +1115,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1115
1115
|
|
1116
1116
|
--
|
1117
1117
|
|
1118
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L434)
|
1119
1119
|
|
1120
1120
|
> def extend_search_contexts
|
1121
1121
|
|
@@ -1123,7 +1123,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1123
1123
|
|
1124
1124
|
--
|
1125
1125
|
|
1126
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L434)
|
1127
1127
|
|
1128
1128
|
> def find_element_with_appium
|
1129
1129
|
|
@@ -1131,7 +1131,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1131
1131
|
|
1132
1132
|
--
|
1133
1133
|
|
1134
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1134
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L434)
|
1135
1135
|
|
1136
1136
|
> def find_elements_with_appium
|
1137
1137
|
|
@@ -1143,7 +1143,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1143
1143
|
|
1144
1144
|
--
|
1145
1145
|
|
1146
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L465)
|
1147
1147
|
|
1148
1148
|
> def add_touch_actions
|
1149
1149
|
|
@@ -1151,7 +1151,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1151
1151
|
|
1152
1152
|
--
|
1153
1153
|
|
1154
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L488)
|
1155
1155
|
|
1156
1156
|
> def add_ime_actions
|
1157
1157
|
|
@@ -1159,7 +1159,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1159
1159
|
|
1160
1160
|
--
|
1161
1161
|
|
1162
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L563)
|
1163
1163
|
|
1164
1164
|
> def set_context
|
1165
1165
|
|
@@ -1174,7 +1174,7 @@ __Parameters:__
|
|
1174
1174
|
|
1175
1175
|
--
|
1176
1176
|
|
1177
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L571)
|
1178
1178
|
|
1179
1179
|
> def current_context
|
1180
1180
|
|
@@ -1186,7 +1186,7 @@ __Returns:__
|
|
1186
1186
|
|
1187
1187
|
--
|
1188
1188
|
|
1189
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L574)
|
1190
1190
|
|
1191
1191
|
> def available_contexts
|
1192
1192
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L584)
|
1202
1202
|
|
1203
1203
|
> def within_context(context)
|
1204
1204
|
|
@@ -1214,7 +1214,7 @@ __Parameters:__
|
|
1214
1214
|
|
1215
1215
|
--
|
1216
1216
|
|
1217
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/device.rb#L592)
|
1218
1218
|
|
1219
1219
|
> def switch_to_default_context
|
1220
1220
|
|
@@ -1222,7 +1222,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1222
1222
|
|
1223
1223
|
--
|
1224
1224
|
|
1225
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L28)
|
1226
1226
|
|
1227
1227
|
> def pinch(percentage = 25, auto_perform = true)
|
1228
1228
|
|
@@ -1241,7 +1241,7 @@ __Parameters:__
|
|
1241
1241
|
|
1242
1242
|
--
|
1243
1243
|
|
1244
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L57)
|
1245
1245
|
|
1246
1246
|
> def zoom(percentage = 200, auto_perform = true)
|
1247
1247
|
|
@@ -1260,7 +1260,7 @@ __Parameters:__
|
|
1260
1260
|
|
1261
1261
|
--
|
1262
1262
|
|
1263
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L79)
|
1264
1264
|
|
1265
1265
|
> def pinch_for_xcuitest(rate)
|
1266
1266
|
|
@@ -1268,7 +1268,7 @@ __Parameters:__
|
|
1268
1268
|
|
1269
1269
|
--
|
1270
1270
|
|
1271
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L94)
|
1272
1272
|
|
1273
1273
|
> def pinch_android(rate)
|
1274
1274
|
|
@@ -1276,7 +1276,7 @@ __Parameters:__
|
|
1276
1276
|
|
1277
1277
|
--
|
1278
1278
|
|
1279
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L108)
|
1280
1280
|
|
1281
1281
|
> def pinch_ios(rate)
|
1282
1282
|
|
@@ -1284,7 +1284,7 @@ __Parameters:__
|
|
1284
1284
|
|
1285
1285
|
--
|
1286
1286
|
|
1287
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L122)
|
1288
1288
|
|
1289
1289
|
> def zoom_for_xcuitest(rate)
|
1290
1290
|
|
@@ -1292,7 +1292,7 @@ __Parameters:__
|
|
1292
1292
|
|
1293
1293
|
--
|
1294
1294
|
|
1295
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L137)
|
1296
1296
|
|
1297
1297
|
> def zoom_android(rate)
|
1298
1298
|
|
@@ -1300,7 +1300,7 @@ __Parameters:__
|
|
1300
1300
|
|
1301
1301
|
--
|
1302
1302
|
|
1303
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L151)
|
1304
1304
|
|
1305
1305
|
> def zoom_ios(rate)
|
1306
1306
|
|
@@ -1308,7 +1308,7 @@ __Parameters:__
|
|
1308
1308
|
|
1309
1309
|
--
|
1310
1310
|
|
1311
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L166)
|
1312
1312
|
|
1313
1313
|
> def actions
|
1314
1314
|
|
@@ -1316,7 +1316,7 @@ self
|
|
1316
1316
|
|
1317
1317
|
--
|
1318
1318
|
|
1319
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L169)
|
1320
1320
|
|
1321
1321
|
> def initialize
|
1322
1322
|
|
@@ -1328,7 +1328,7 @@ __Returns:__
|
|
1328
1328
|
|
1329
1329
|
--
|
1330
1330
|
|
1331
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [add](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L175)
|
1332
1332
|
|
1333
1333
|
> def add(chain)
|
1334
1334
|
|
@@ -1340,7 +1340,7 @@ __Parameters:__
|
|
1340
1340
|
|
1341
1341
|
--
|
1342
1342
|
|
1343
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/multi_touch.rb#L180)
|
1344
1344
|
|
1345
1345
|
> def perform
|
1346
1346
|
|
@@ -1348,7 +1348,7 @@ Ask Appium to perform the actions
|
|
1348
1348
|
|
1349
1349
|
--
|
1350
1350
|
|
1351
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L20)
|
1352
1352
|
|
1353
1353
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1354
1354
|
|
@@ -1356,7 +1356,7 @@ Ask Appium to perform the actions
|
|
1356
1356
|
|
1357
1357
|
--
|
1358
1358
|
|
1359
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L21)
|
1360
1360
|
|
1361
1361
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1362
1362
|
|
@@ -1364,7 +1364,7 @@ Ask Appium to perform the actions
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L35)
|
1368
1368
|
|
1369
1369
|
> def actions
|
1370
1370
|
|
@@ -1372,7 +1372,7 @@ Returns the value of attribute actions
|
|
1372
1372
|
|
1373
1373
|
--
|
1374
1374
|
|
1375
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L37)
|
1376
1376
|
|
1377
1377
|
> def initialize
|
1378
1378
|
|
@@ -1384,7 +1384,7 @@ __Returns:__
|
|
1384
1384
|
|
1385
1385
|
--
|
1386
1386
|
|
1387
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L48)
|
1388
1388
|
|
1389
1389
|
> def move_to(opts)
|
1390
1390
|
|
@@ -1398,7 +1398,7 @@ __Parameters:__
|
|
1398
1398
|
|
1399
1399
|
--
|
1400
1400
|
|
1401
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L62)
|
1402
1402
|
|
1403
1403
|
> def long_press(opts)
|
1404
1404
|
|
@@ -1419,7 +1419,7 @@ __Parameters:__
|
|
1419
1419
|
|
1420
1420
|
--
|
1421
1421
|
|
1422
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [press](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L74)
|
1423
1423
|
|
1424
1424
|
> def press(opts)
|
1425
1425
|
|
@@ -1432,7 +1432,7 @@ __Parameters:__
|
|
1432
1432
|
|
1433
1433
|
--
|
1434
1434
|
|
1435
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [release](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L85)
|
1436
1436
|
|
1437
1437
|
> def release(opts = nil)
|
1438
1438
|
|
@@ -1444,7 +1444,7 @@ __Parameters:__
|
|
1444
1444
|
|
1445
1445
|
--
|
1446
1446
|
|
1447
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L97)
|
1448
1448
|
|
1449
1449
|
> def tap(opts)
|
1450
1450
|
|
@@ -1457,7 +1457,7 @@ __Parameters:__
|
|
1457
1457
|
|
1458
1458
|
--
|
1459
1459
|
|
1460
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L110)
|
1461
1461
|
|
1462
1462
|
> def double_tap(opts)
|
1463
1463
|
|
@@ -1469,7 +1469,7 @@ __Parameters:__
|
|
1469
1469
|
|
1470
1470
|
--
|
1471
1471
|
|
1472
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L121)
|
1473
1473
|
|
1474
1474
|
> def two_finger_tap(opts)
|
1475
1475
|
|
@@ -1481,7 +1481,7 @@ __Parameters:__
|
|
1481
1481
|
|
1482
1482
|
--
|
1483
1483
|
|
1484
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L129)
|
1485
1485
|
|
1486
1486
|
> def wait(milliseconds)
|
1487
1487
|
|
@@ -1493,7 +1493,7 @@ __Parameters:__
|
|
1493
1493
|
|
1494
1494
|
--
|
1495
1495
|
|
1496
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L152)
|
1497
1497
|
|
1498
1498
|
> def swipe(opts, ele = nil)
|
1499
1499
|
|
@@ -1514,7 +1514,7 @@ __Parameters:__
|
|
1514
1514
|
|
1515
1515
|
--
|
1516
1516
|
|
1517
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L177)
|
1518
1518
|
|
1519
1519
|
> def perform
|
1520
1520
|
|
@@ -1522,7 +1522,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1522
1522
|
|
1523
1523
|
--
|
1524
1524
|
|
1525
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L184)
|
1526
1526
|
|
1527
1527
|
> def cancel
|
1528
1528
|
|
@@ -1530,7 +1530,7 @@ Does nothing, currently.
|
|
1530
1530
|
|
1531
1531
|
--
|
1532
1532
|
|
1533
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L190)
|
1534
1534
|
|
1535
1535
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1536
1536
|
|
@@ -1538,7 +1538,7 @@ Does nothing, currently.
|
|
1538
1538
|
|
1539
1539
|
--
|
1540
1540
|
|
1541
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L208)
|
1542
1542
|
|
1543
1543
|
> def chain_method(method, args = nil)
|
1544
1544
|
|
@@ -1546,7 +1546,7 @@ Does nothing, currently.
|
|
1546
1546
|
|
1547
1547
|
--
|
1548
1548
|
|
1549
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/device/touch_actions.rb#L214)
|
1550
1550
|
|
1551
1551
|
> def args_with_ele_ref(args)
|
1552
1552
|
|
@@ -1554,7 +1554,7 @@ Does nothing, currently.
|
|
1554
1554
|
|
1555
1555
|
--
|
1556
1556
|
|
1557
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1557
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/wait.rb#L9)
|
1558
1558
|
|
1559
1559
|
> def _generic_wait(opts = {})
|
1560
1560
|
|
@@ -1563,7 +1563,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1563
1563
|
|
1564
1564
|
--
|
1565
1565
|
|
1566
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1566
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/wait.rb#L48)
|
1567
1567
|
|
1568
1568
|
> def _process_wait_opts(opts)
|
1569
1569
|
|
@@ -1571,7 +1571,7 @@ process opts before calling _generic_wait
|
|
1571
1571
|
|
1572
1572
|
--
|
1573
1573
|
|
1574
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1574
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/wait.rb#L69)
|
1575
1575
|
|
1576
1576
|
> def wait_true(opts = {}, &block)
|
1577
1577
|
|
@@ -1591,7 +1591,7 @@ __Parameters:__
|
|
1591
1591
|
|
1592
1592
|
--
|
1593
1593
|
|
1594
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1594
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/wait.rb#L87)
|
1595
1595
|
|
1596
1596
|
> def wait(opts = {}, &block)
|
1597
1597
|
|
@@ -1609,7 +1609,7 @@ __Parameters:__
|
|
1609
1609
|
|
1610
1610
|
--
|
1611
1611
|
|
1612
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L24)
|
1613
1613
|
|
1614
1614
|
> def ignore
|
1615
1615
|
|
@@ -1617,7 +1617,7 @@ Return yield and ignore any exceptions.
|
|
1617
1617
|
|
1618
1618
|
--
|
1619
1619
|
|
1620
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [back](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L31)
|
1621
1621
|
|
1622
1622
|
> def back
|
1623
1623
|
|
@@ -1629,7 +1629,7 @@ __Returns:__
|
|
1629
1629
|
|
1630
1630
|
--
|
1631
1631
|
|
1632
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1632
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L36)
|
1633
1633
|
|
1634
1634
|
> def session_id
|
1635
1635
|
|
@@ -1637,7 +1637,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1637
1637
|
|
1638
1638
|
--
|
1639
1639
|
|
1640
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1640
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L44)
|
1641
1641
|
|
1642
1642
|
> def xpath(xpath_str)
|
1643
1643
|
|
@@ -1653,7 +1653,7 @@ __Returns:__
|
|
1653
1653
|
|
1654
1654
|
--
|
1655
1655
|
|
1656
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1656
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L52)
|
1657
1657
|
|
1658
1658
|
> def xpaths(xpath_str)
|
1659
1659
|
|
@@ -1669,7 +1669,7 @@ __Returns:__
|
|
1669
1669
|
|
1670
1670
|
--
|
1671
1671
|
|
1672
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L56)
|
1673
1673
|
|
1674
1674
|
> def _print_source(source)
|
1675
1675
|
|
@@ -1677,7 +1677,7 @@ __Returns:__
|
|
1677
1677
|
|
1678
1678
|
--
|
1679
1679
|
|
1680
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1680
|
+
##### [result](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L69)
|
1681
1681
|
|
1682
1682
|
> def result
|
1683
1683
|
|
@@ -1685,7 +1685,7 @@ Returns the value of attribute result
|
|
1685
1685
|
|
1686
1686
|
--
|
1687
1687
|
|
1688
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1688
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L71)
|
1689
1689
|
|
1690
1690
|
> def initialize
|
1691
1691
|
|
@@ -1697,7 +1697,7 @@ __Returns:__
|
|
1697
1697
|
|
1698
1698
|
--
|
1699
1699
|
|
1700
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1700
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L75)
|
1701
1701
|
|
1702
1702
|
> def reset
|
1703
1703
|
|
@@ -1705,7 +1705,7 @@ __Returns:__
|
|
1705
1705
|
|
1706
1706
|
--
|
1707
1707
|
|
1708
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L80)
|
1709
1709
|
|
1710
1710
|
> def start_element(name, attrs = [])
|
1711
1711
|
|
@@ -1713,7 +1713,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1713
1713
|
|
1714
1714
|
--
|
1715
1715
|
|
1716
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L86)
|
1717
1717
|
|
1718
1718
|
> def formatted_result
|
1719
1719
|
|
@@ -1721,7 +1721,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1721
1721
|
|
1722
1722
|
--
|
1723
1723
|
|
1724
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L97)
|
1725
1725
|
|
1726
1726
|
> def get_page_class
|
1727
1727
|
|
@@ -1729,7 +1729,7 @@ Returns a string of class counts of visible elements.
|
|
1729
1729
|
|
1730
1730
|
--
|
1731
1731
|
|
1732
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1732
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L108)
|
1733
1733
|
|
1734
1734
|
> def page_class
|
1735
1735
|
|
@@ -1738,7 +1738,7 @@ Useful for appium_console.
|
|
1738
1738
|
|
1739
1739
|
--
|
1740
1740
|
|
1741
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L118)
|
1742
1742
|
|
1743
1743
|
> def px_to_window_rel(opts = {})
|
1744
1744
|
|
@@ -1750,7 +1750,7 @@ px_to_window_rel x: 50, y: 150
|
|
1750
1750
|
|
1751
1751
|
--
|
1752
1752
|
|
1753
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1753
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L137)
|
1754
1754
|
|
1755
1755
|
> def xml_keys(target)
|
1756
1756
|
|
@@ -1766,7 +1766,7 @@ __Returns:__
|
|
1766
1766
|
|
1767
1767
|
--
|
1768
1768
|
|
1769
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1769
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L145)
|
1770
1770
|
|
1771
1771
|
> def xml_values(target)
|
1772
1772
|
|
@@ -1782,7 +1782,7 @@ __Returns:__
|
|
1782
1782
|
|
1783
1783
|
--
|
1784
1784
|
|
1785
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L153)
|
1786
1786
|
|
1787
1787
|
> def resolve_id(id)
|
1788
1788
|
|
@@ -1798,7 +1798,7 @@ __Returns:__
|
|
1798
1798
|
|
1799
1799
|
--
|
1800
1800
|
|
1801
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L159)
|
1802
1802
|
|
1803
1803
|
> def filter
|
1804
1804
|
|
@@ -1806,7 +1806,7 @@ Returns the value of attribute filter
|
|
1806
1806
|
|
1807
1807
|
--
|
1808
1808
|
|
1809
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L162)
|
1810
1810
|
|
1811
1811
|
> def filter=(value)
|
1812
1812
|
|
@@ -1814,7 +1814,7 @@ convert to string to support symbols
|
|
1814
1814
|
|
1815
1815
|
--
|
1816
1816
|
|
1817
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L168)
|
1818
1818
|
|
1819
1819
|
> def initialize
|
1820
1820
|
|
@@ -1826,7 +1826,7 @@ __Returns:__
|
|
1826
1826
|
|
1827
1827
|
--
|
1828
1828
|
|
1829
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L173)
|
1830
1830
|
|
1831
1831
|
> def reset
|
1832
1832
|
|
@@ -1834,7 +1834,7 @@ __Returns:__
|
|
1834
1834
|
|
1835
1835
|
--
|
1836
1836
|
|
1837
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [result](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L179)
|
1838
1838
|
|
1839
1839
|
> def result
|
1840
1840
|
|
@@ -1842,7 +1842,7 @@ __Returns:__
|
|
1842
1842
|
|
1843
1843
|
--
|
1844
1844
|
|
1845
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L195)
|
1846
1846
|
|
1847
1847
|
> def start_element(name, attrs = [])
|
1848
1848
|
|
@@ -1850,7 +1850,7 @@ __Returns:__
|
|
1850
1850
|
|
1851
1851
|
--
|
1852
1852
|
|
1853
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L204)
|
1854
1854
|
|
1855
1855
|
> def end_element(name)
|
1856
1856
|
|
@@ -1858,7 +1858,7 @@ __Returns:__
|
|
1858
1858
|
|
1859
1859
|
--
|
1860
1860
|
|
1861
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1861
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L210)
|
1862
1862
|
|
1863
1863
|
> def characters(chars)
|
1864
1864
|
|
@@ -1866,7 +1866,7 @@ __Returns:__
|
|
1866
1866
|
|
1867
1867
|
--
|
1868
1868
|
|
1869
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/helper.rb#L217)
|
1870
1870
|
|
1871
1871
|
> def _no_such_element
|
1872
1872
|
|
@@ -1874,7 +1874,7 @@ __Returns:__
|
|
1874
1874
|
|
1875
1875
|
--
|
1876
1876
|
|
1877
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1877
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/command.rb#L4)
|
1878
1878
|
|
1879
1879
|
> COMMAND_NO_ARG = {
|
1880
1880
|
|
@@ -1882,7 +1882,7 @@ __Returns:__
|
|
1882
1882
|
|
1883
1883
|
--
|
1884
1884
|
|
1885
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1885
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/command.rb#L27)
|
1886
1886
|
|
1887
1887
|
> COMMAND = {
|
1888
1888
|
|
@@ -1890,7 +1890,7 @@ __Returns:__
|
|
1890
1890
|
|
1891
1891
|
--
|
1892
1892
|
|
1893
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/element/window.rb#L5)
|
1894
1894
|
|
1895
1895
|
> def window_size
|
1896
1896
|
|
@@ -1898,7 +1898,7 @@ Get the window's size
|
|
1898
1898
|
|
1899
1899
|
--
|
1900
1900
|
|
1901
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1901
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/search_context.rb#L5)
|
1902
1902
|
|
1903
1903
|
> FINDERS = {
|
1904
1904
|
|
@@ -1906,7 +1906,7 @@ rubocop:disable Style/MutableConstant
|
|
1906
1906
|
|
1907
1907
|
--
|
1908
1908
|
|
1909
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1909
|
+
##### [result](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L6) android
|
1910
1910
|
|
1911
1911
|
> def result
|
1912
1912
|
|
@@ -1914,7 +1914,7 @@ Returns the value of attribute result
|
|
1914
1914
|
|
1915
1915
|
--
|
1916
1916
|
|
1917
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L6) android
|
1918
1918
|
|
1919
1919
|
> def keys
|
1920
1920
|
|
@@ -1922,7 +1922,7 @@ Returns the value of attribute keys
|
|
1922
1922
|
|
1923
1923
|
--
|
1924
1924
|
|
1925
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1925
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L6) android
|
1926
1926
|
|
1927
1927
|
> def instance
|
1928
1928
|
|
@@ -1930,7 +1930,7 @@ Returns the value of attribute instance
|
|
1930
1930
|
|
1931
1931
|
--
|
1932
1932
|
|
1933
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L6) android
|
1934
1934
|
|
1935
1935
|
> def filter
|
1936
1936
|
|
@@ -1938,7 +1938,7 @@ Returns the value of attribute filter
|
|
1938
1938
|
|
1939
1939
|
--
|
1940
1940
|
|
1941
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1941
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L9) android
|
1942
1942
|
|
1943
1943
|
> def filter=(value)
|
1944
1944
|
|
@@ -1946,7 +1946,7 @@ convert to string to support symbols
|
|
1946
1946
|
|
1947
1947
|
--
|
1948
1948
|
|
1949
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L15) android
|
1950
1950
|
|
1951
1951
|
> def initialize
|
1952
1952
|
|
@@ -1958,7 +1958,7 @@ __Returns:__
|
|
1958
1958
|
|
1959
1959
|
--
|
1960
1960
|
|
1961
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1961
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L21) android
|
1962
1962
|
|
1963
1963
|
> def reset
|
1964
1964
|
|
@@ -1966,7 +1966,7 @@ __Returns:__
|
|
1966
1966
|
|
1967
1967
|
--
|
1968
1968
|
|
1969
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1969
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L28) android
|
1970
1970
|
|
1971
1971
|
> def start_element(name, attrs = [])
|
1972
1972
|
|
@@ -1974,7 +1974,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1974
1974
|
|
1975
1975
|
--
|
1976
1976
|
|
1977
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1977
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L88) android
|
1978
1978
|
|
1979
1979
|
> def _fix_android_native_source(source)
|
1980
1980
|
|
@@ -1984,7 +1984,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1984
1984
|
|
1985
1985
|
--
|
1986
1986
|
|
1987
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1987
|
+
##### [source](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L116) android
|
1988
1988
|
|
1989
1989
|
> def source
|
1990
1990
|
|
@@ -1996,7 +1996,7 @@ __Returns:__
|
|
1996
1996
|
|
1997
1997
|
--
|
1998
1998
|
|
1999
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L126) android
|
2000
2000
|
|
2001
2001
|
> def get_android_inspect(class_name = false)
|
2002
2002
|
|
@@ -2015,7 +2015,7 @@ __Returns:__
|
|
2015
2015
|
|
2016
2016
|
--
|
2017
2017
|
|
2018
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
2018
|
+
##### [page](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L152) android
|
2019
2019
|
|
2020
2020
|
> def page(opts = {})
|
2021
2021
|
|
@@ -2034,7 +2034,7 @@ __Returns:__
|
|
2034
2034
|
|
2035
2035
|
--
|
2036
2036
|
|
2037
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L164) android
|
2038
2038
|
|
2039
2039
|
> def current_app
|
2040
2040
|
|
@@ -2044,7 +2044,7 @@ example line:
|
|
2044
2044
|
|
2045
2045
|
--
|
2046
2046
|
|
2047
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2047
|
+
##### [id](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L188) android
|
2048
2048
|
|
2049
2049
|
> def id(id)
|
2050
2050
|
|
@@ -2060,7 +2060,7 @@ __Returns:__
|
|
2060
2060
|
|
2061
2061
|
--
|
2062
2062
|
|
2063
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
2063
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L196) android
|
2064
2064
|
|
2065
2065
|
> def ids(id)
|
2066
2066
|
|
@@ -2076,7 +2076,7 @@ __Returns:__
|
|
2076
2076
|
|
2077
2077
|
--
|
2078
2078
|
|
2079
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L205) android
|
2080
2080
|
|
2081
2081
|
> def ele_index(class_name, index)
|
2082
2082
|
|
@@ -2094,7 +2094,7 @@ __Returns:__
|
|
2094
2094
|
|
2095
2095
|
--
|
2096
2096
|
|
2097
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2097
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L223) android
|
2098
2098
|
|
2099
2099
|
> def first_ele(class_name)
|
2100
2100
|
|
@@ -2110,7 +2110,7 @@ __Returns:__
|
|
2110
2110
|
|
2111
2111
|
--
|
2112
2112
|
|
2113
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2113
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L230) android
|
2114
2114
|
|
2115
2115
|
> def last_ele(class_name)
|
2116
2116
|
|
@@ -2126,7 +2126,7 @@ __Returns:__
|
|
2126
2126
|
|
2127
2127
|
--
|
2128
2128
|
|
2129
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2129
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L238) android
|
2130
2130
|
|
2131
2131
|
> def tag(class_name)
|
2132
2132
|
|
@@ -2142,7 +2142,7 @@ __Returns:__
|
|
2142
2142
|
|
2143
2143
|
--
|
2144
2144
|
|
2145
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L246) android
|
2146
2146
|
|
2147
2147
|
> def tags(class_name)
|
2148
2148
|
|
@@ -2158,7 +2158,7 @@ __Returns:__
|
|
2158
2158
|
|
2159
2159
|
--
|
2160
2160
|
|
2161
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
2161
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L288) android
|
2162
2162
|
|
2163
2163
|
> def string_visible_contains_xpath(class_name, value)
|
2164
2164
|
|
@@ -2178,7 +2178,7 @@ __Returns:__
|
|
2178
2178
|
|
2179
2179
|
--
|
2180
2180
|
|
2181
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2181
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L307) android
|
2182
2182
|
|
2183
2183
|
> def string_visible_contains(class_name, value)
|
2184
2184
|
|
@@ -2198,7 +2198,7 @@ __Returns:__
|
|
2198
2198
|
|
2199
2199
|
--
|
2200
2200
|
|
2201
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2201
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L325) android
|
2202
2202
|
|
2203
2203
|
> def complex_find_contains(element, value)
|
2204
2204
|
|
@@ -2216,7 +2216,7 @@ __Returns:__
|
|
2216
2216
|
|
2217
2217
|
--
|
2218
2218
|
|
2219
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L337) android
|
2220
2220
|
|
2221
2221
|
> def complex_finds_contains(element, value)
|
2222
2222
|
|
@@ -2234,7 +2234,7 @@ __Returns:__
|
|
2234
2234
|
|
2235
2235
|
--
|
2236
2236
|
|
2237
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2237
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L385) android
|
2238
2238
|
|
2239
2239
|
> def complex_find_exact(class_name, value)
|
2240
2240
|
|
@@ -2252,7 +2252,7 @@ __Returns:__
|
|
2252
2252
|
|
2253
2253
|
--
|
2254
2254
|
|
2255
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2255
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L397) android
|
2256
2256
|
|
2257
2257
|
> def complex_finds_exact(class_name, value)
|
2258
2258
|
|
@@ -2270,7 +2270,7 @@ __Returns:__
|
|
2270
2270
|
|
2271
2271
|
--
|
2272
2272
|
|
2273
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2273
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/helper.rb#L409) android
|
2274
2274
|
|
2275
2275
|
> def get_source
|
2276
2276
|
|
@@ -2284,7 +2284,7 @@ __Returns:__
|
|
2284
2284
|
|
2285
2285
|
--
|
2286
2286
|
|
2287
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2287
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/client_xpath.rb#L5) android
|
2288
2288
|
|
2289
2289
|
> def _nodeset_to_uiselector(opts = {})
|
2290
2290
|
|
@@ -2292,7 +2292,7 @@ __Returns:__
|
|
2292
2292
|
|
2293
2293
|
--
|
2294
2294
|
|
2295
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2295
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/client_xpath.rb#L20) android
|
2296
2296
|
|
2297
2297
|
> def _client_xpath(opts = {})
|
2298
2298
|
|
@@ -2300,7 +2300,7 @@ __Returns:__
|
|
2300
2300
|
|
2301
2301
|
--
|
2302
2302
|
|
2303
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/client_xpath.rb#L36) android
|
2304
2304
|
|
2305
2305
|
> def client_xpath(xpath)
|
2306
2306
|
|
@@ -2308,7 +2308,7 @@ __Returns:__
|
|
2308
2308
|
|
2309
2309
|
--
|
2310
2310
|
|
2311
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2311
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/client_xpath.rb#L40) android
|
2312
2312
|
|
2313
2313
|
> def client_xpaths(xpath)
|
2314
2314
|
|
@@ -2316,7 +2316,7 @@ __Returns:__
|
|
2316
2316
|
|
2317
2317
|
--
|
2318
2318
|
|
2319
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2319
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/text.rb#L4) android
|
2320
2320
|
|
2321
2321
|
> TextView = 'android.widget.TextView'.freeze
|
2322
2322
|
|
@@ -2324,7 +2324,7 @@ __Returns:__
|
|
2324
2324
|
|
2325
2325
|
--
|
2326
2326
|
|
2327
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2327
|
+
##### [text](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/text.rb#L10) android
|
2328
2328
|
|
2329
2329
|
> def text(value)
|
2330
2330
|
|
@@ -2341,7 +2341,7 @@ __Returns:__
|
|
2341
2341
|
|
2342
2342
|
--
|
2343
2343
|
|
2344
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2344
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/text.rb#L19) android
|
2345
2345
|
|
2346
2346
|
> def texts(value = false)
|
2347
2347
|
|
@@ -2358,7 +2358,7 @@ __Returns:__
|
|
2358
2358
|
|
2359
2359
|
--
|
2360
2360
|
|
2361
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2361
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/text.rb#L26) android
|
2362
2362
|
|
2363
2363
|
> def first_text
|
2364
2364
|
|
@@ -2370,7 +2370,7 @@ __Returns:__
|
|
2370
2370
|
|
2371
2371
|
--
|
2372
2372
|
|
2373
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2373
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/text.rb#L32) android
|
2374
2374
|
|
2375
2375
|
> def last_text
|
2376
2376
|
|
@@ -2382,7 +2382,7 @@ __Returns:__
|
|
2382
2382
|
|
2383
2383
|
--
|
2384
2384
|
|
2385
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2385
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/text.rb#L39) android
|
2386
2386
|
|
2387
2387
|
> def text_exact(value)
|
2388
2388
|
|
@@ -2398,7 +2398,7 @@ __Returns:__
|
|
2398
2398
|
|
2399
2399
|
--
|
2400
2400
|
|
2401
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2401
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/text.rb#L46) android
|
2402
2402
|
|
2403
2403
|
> def texts_exact(value)
|
2404
2404
|
|
@@ -2414,7 +2414,7 @@ __Returns:__
|
|
2414
2414
|
|
2415
2415
|
--
|
2416
2416
|
|
2417
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2417
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/alert.rb#L6) android
|
2418
2418
|
|
2419
2419
|
> def alert_click(value)
|
2420
2420
|
|
@@ -2430,7 +2430,7 @@ __Returns:__
|
|
2430
2430
|
|
2431
2431
|
--
|
2432
2432
|
|
2433
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2433
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/alert.rb#L13) android
|
2434
2434
|
|
2435
2435
|
> def alert_accept
|
2436
2436
|
|
@@ -2443,7 +2443,7 @@ __Returns:__
|
|
2443
2443
|
|
2444
2444
|
--
|
2445
2445
|
|
2446
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2446
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/alert.rb#L20) android
|
2447
2447
|
|
2448
2448
|
> def alert_accept_text
|
2449
2449
|
|
@@ -2456,7 +2456,7 @@ __Returns:__
|
|
2456
2456
|
|
2457
2457
|
--
|
2458
2458
|
|
2459
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/alert.rb#L27) android
|
2460
2460
|
|
2461
2461
|
> def alert_dismiss
|
2462
2462
|
|
@@ -2469,7 +2469,7 @@ __Returns:__
|
|
2469
2469
|
|
2470
2470
|
--
|
2471
2471
|
|
2472
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2472
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/alert.rb#L34) android
|
2473
2473
|
|
2474
2474
|
> def alert_dismiss_text
|
2475
2475
|
|
@@ -2482,7 +2482,7 @@ __Returns:__
|
|
2482
2482
|
|
2483
2483
|
--
|
2484
2484
|
|
2485
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2485
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L4) android
|
2486
2486
|
|
2487
2487
|
> Button = 'android.widget.Button'.freeze
|
2488
2488
|
|
@@ -2490,7 +2490,7 @@ __Returns:__
|
|
2490
2490
|
|
2491
2491
|
--
|
2492
2492
|
|
2493
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2493
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L5) android
|
2494
2494
|
|
2495
2495
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2496
2496
|
|
@@ -2498,7 +2498,7 @@ __Returns:__
|
|
2498
2498
|
|
2499
2499
|
--
|
2500
2500
|
|
2501
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2501
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L14) android
|
2502
2502
|
|
2503
2503
|
> def _button_visible_selectors(opts = {})
|
2504
2504
|
|
@@ -2506,7 +2506,7 @@ __Returns:__
|
|
2506
2506
|
|
2507
2507
|
--
|
2508
2508
|
|
2509
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2509
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L34) android
|
2510
2510
|
|
2511
2511
|
> def _button_exact_string(value)
|
2512
2512
|
|
@@ -2514,7 +2514,7 @@ __Returns:__
|
|
2514
2514
|
|
2515
2515
|
--
|
2516
2516
|
|
2517
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2517
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L47) android
|
2518
2518
|
|
2519
2519
|
> def _button_contains_string(value)
|
2520
2520
|
|
@@ -2522,7 +2522,7 @@ __Returns:__
|
|
2522
2522
|
|
2523
2523
|
--
|
2524
2524
|
|
2525
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2525
|
+
##### [button](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L59) android
|
2526
2526
|
|
2527
2527
|
> def button(value)
|
2528
2528
|
|
@@ -2539,7 +2539,7 @@ __Returns:__
|
|
2539
2539
|
|
2540
2540
|
--
|
2541
2541
|
|
2542
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2542
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L87) android
|
2543
2543
|
|
2544
2544
|
> def buttons(value = false)
|
2545
2545
|
|
@@ -2556,7 +2556,7 @@ __Returns:__
|
|
2556
2556
|
|
2557
2557
|
--
|
2558
2558
|
|
2559
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2559
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L99) android
|
2560
2560
|
|
2561
2561
|
> def first_button
|
2562
2562
|
|
@@ -2568,7 +2568,7 @@ __Returns:__
|
|
2568
2568
|
|
2569
2569
|
--
|
2570
2570
|
|
2571
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2571
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L109) android
|
2572
2572
|
|
2573
2573
|
> def last_button
|
2574
2574
|
|
@@ -2580,7 +2580,7 @@ __Returns:__
|
|
2580
2580
|
|
2581
2581
|
--
|
2582
2582
|
|
2583
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2583
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L131) android
|
2584
2584
|
|
2585
2585
|
> def button_exact(value)
|
2586
2586
|
|
@@ -2596,7 +2596,7 @@ __Returns:__
|
|
2596
2596
|
|
2597
2597
|
--
|
2598
2598
|
|
2599
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2599
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/button.rb#L142) android
|
2600
2600
|
|
2601
2601
|
> def buttons_exact(value)
|
2602
2602
|
|
@@ -2612,7 +2612,7 @@ __Returns:__
|
|
2612
2612
|
|
2613
2613
|
--
|
2614
2614
|
|
2615
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2615
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2616
2616
|
|
2617
2617
|
> def uiautomator_find
|
2618
2618
|
|
@@ -2624,7 +2624,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2624
2624
|
|
2625
2625
|
--
|
2626
2626
|
|
2627
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2627
|
+
##### [find](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/generic.rb#L6) android
|
2628
2628
|
|
2629
2629
|
> def find(value)
|
2630
2630
|
|
@@ -2640,7 +2640,7 @@ __Returns:__
|
|
2640
2640
|
|
2641
2641
|
--
|
2642
2642
|
|
2643
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2643
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/generic.rb#L13) android
|
2644
2644
|
|
2645
2645
|
> def finds(value)
|
2646
2646
|
|
@@ -2656,7 +2656,7 @@ __Returns:__
|
|
2656
2656
|
|
2657
2657
|
--
|
2658
2658
|
|
2659
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2659
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/generic.rb#L20) android
|
2660
2660
|
|
2661
2661
|
> def find_exact(value)
|
2662
2662
|
|
@@ -2672,7 +2672,7 @@ __Returns:__
|
|
2672
2672
|
|
2673
2673
|
--
|
2674
2674
|
|
2675
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2675
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/generic.rb#L27) android
|
2676
2676
|
|
2677
2677
|
> def finds_exact(value)
|
2678
2678
|
|
@@ -2688,7 +2688,7 @@ __Returns:__
|
|
2688
2688
|
|
2689
2689
|
--
|
2690
2690
|
|
2691
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2691
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/generic.rb#L40) android
|
2692
2692
|
|
2693
2693
|
> def scroll_to(text, scrollable_index = 0)
|
2694
2694
|
|
@@ -2706,7 +2706,7 @@ __Returns:__
|
|
2706
2706
|
|
2707
2707
|
--
|
2708
2708
|
|
2709
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2709
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/generic.rb#L54) android
|
2710
2710
|
|
2711
2711
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2712
2712
|
|
@@ -2724,7 +2724,7 @@ __Returns:__
|
|
2724
2724
|
|
2725
2725
|
--
|
2726
2726
|
|
2727
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2727
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/textfield.rb#L3) android
|
2728
2728
|
|
2729
2729
|
> EditText = 'android.widget.EditText'.freeze
|
2730
2730
|
|
@@ -2732,7 +2732,7 @@ __Returns:__
|
|
2732
2732
|
|
2733
2733
|
--
|
2734
2734
|
|
2735
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2735
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/textfield.rb#L9) android
|
2736
2736
|
|
2737
2737
|
> def textfield(value)
|
2738
2738
|
|
@@ -2749,7 +2749,7 @@ __Returns:__
|
|
2749
2749
|
|
2750
2750
|
--
|
2751
2751
|
|
2752
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2752
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/textfield.rb#L18) android
|
2753
2753
|
|
2754
2754
|
> def textfields(value = false)
|
2755
2755
|
|
@@ -2766,7 +2766,7 @@ __Returns:__
|
|
2766
2766
|
|
2767
2767
|
--
|
2768
2768
|
|
2769
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2769
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/textfield.rb#L25) android
|
2770
2770
|
|
2771
2771
|
> def first_textfield
|
2772
2772
|
|
@@ -2778,7 +2778,7 @@ __Returns:__
|
|
2778
2778
|
|
2779
2779
|
--
|
2780
2780
|
|
2781
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2781
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/textfield.rb#L31) android
|
2782
2782
|
|
2783
2783
|
> def last_textfield
|
2784
2784
|
|
@@ -2790,7 +2790,7 @@ __Returns:__
|
|
2790
2790
|
|
2791
2791
|
--
|
2792
2792
|
|
2793
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2793
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/textfield.rb#L38) android
|
2794
2794
|
|
2795
2795
|
> def textfield_exact(value)
|
2796
2796
|
|
@@ -2806,7 +2806,7 @@ __Returns:__
|
|
2806
2806
|
|
2807
2807
|
--
|
2808
2808
|
|
2809
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2809
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/android/element/textfield.rb#L45) android
|
2810
2810
|
|
2811
2811
|
> def textfields_exact(value)
|
2812
2812
|
|
@@ -2822,7 +2822,7 @@ __Returns:__
|
|
2822
2822
|
|
2823
2823
|
--
|
2824
2824
|
|
2825
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2825
|
+
##### [value](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/patch.rb#L12)
|
2826
2826
|
|
2827
2827
|
> def value
|
2828
2828
|
|
@@ -2832,7 +2832,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2832
2832
|
|
2833
2833
|
--
|
2834
2834
|
|
2835
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2835
|
+
##### [name](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/patch.rb#L19)
|
2836
2836
|
|
2837
2837
|
> def name
|
2838
2838
|
|
@@ -2842,7 +2842,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2842
2842
|
|
2843
2843
|
--
|
2844
2844
|
|
2845
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2845
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/patch.rb#L31)
|
2846
2846
|
|
2847
2847
|
> def location_rel
|
2848
2848
|
|
@@ -2860,7 +2860,7 @@ __Returns:__
|
|
2860
2860
|
|
2861
2861
|
--
|
2862
2862
|
|
2863
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2863
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/patch.rb#L152)
|
2864
2864
|
|
2865
2865
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2866
2866
|
|
@@ -2868,7 +2868,7 @@ __Returns:__
|
|
2868
2868
|
|
2869
2869
|
--
|
2870
2870
|
|
2871
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2871
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/8e86b4471d8226cbd03f9a6fa5784ec2f928e5a0/lib/appium_lib/common/patch.rb#L155)
|
2872
2872
|
|
2873
2873
|
> def patch_remote_driver_commands
|
2874
2874
|
|