appium_lib 9.3.2 → 9.3.3
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 +224 -224
- data/docs/ios_docs.md +278 -238
- data/ios_tests/lib/ios/specs/ios/helper.rb +17 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/ios/helper.rb +40 -0
- data/release_notes.md +7 -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: '08a2d84fb99c37050d053a88ff8894f405e2c440'
|
4
|
+
data.tar.gz: 72a5fd5f20ebcc82294b5c088722df78914b0c5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bcea613a4585e440d1264a0d8c85c012163ac5dc394a1849638ca2b0a7e3225a1429752be27c50ad2278307ce50c3453818e498556c41d5b26035bd5305bfc5
|
7
|
+
data.tar.gz: 89c109eee51b4b0701c009b54b3f9d66e468702f5300ba952db56b31540bf844a85f0b4b9bb0b26c61e692fa59d117d92df90650c876a2d6913100831c1e946a
|
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.3.3
|
7
|
+
### 1. Enhancements
|
8
|
+
- add tags_include/tags_exact to be able to find elements of arbitrary classes such as XCUIElementTypeTextView [#488](https://github.com/appium/ruby_lib/issues/488)
|
9
|
+
|
10
|
+
### 2. Bug fixes
|
11
|
+
|
12
|
+
### 3. Deprecations
|
13
|
+
|
6
14
|
## v9.3.2
|
7
15
|
### 1. Enhancements
|
8
16
|
- allow SAUCE_ENDPOINT env var to override sauce server url/path [#485](https://github.com/appium/ruby_lib/pull/485)
|
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/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L75)
|
2
2
|
|
3
3
|
> def self.load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L111)
|
31
31
|
|
32
32
|
> def self.load_settings(opts = {})
|
33
33
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
57
57
|
|
58
58
|
--
|
59
59
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L117)
|
61
61
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
63
63
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L149)
|
79
79
|
|
80
80
|
> def self.symbolize_keys(hash)
|
81
81
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L170)
|
90
90
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
92
92
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L223)
|
108
108
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
110
110
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L258)
|
138
138
|
|
139
139
|
> def self.init_caps_for_appium(opts_caps = {})
|
140
140
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
153
153
|
|
154
154
|
--
|
155
155
|
|
156
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L276)
|
157
157
|
|
158
158
|
> def global_webdriver_http_sleep
|
159
159
|
|
@@ -161,7 +161,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L276)
|
165
165
|
|
166
166
|
> def global_webdriver_http_sleep=(value)
|
167
167
|
|
@@ -169,7 +169,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
169
169
|
|
170
170
|
--
|
171
171
|
|
172
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
172
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L278)
|
173
173
|
|
174
174
|
> def caps
|
175
175
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
177
177
|
|
178
178
|
--
|
179
179
|
|
180
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L278)
|
181
181
|
|
182
182
|
> def caps=(value)
|
183
183
|
|
@@ -185,7 +185,7 @@ Selenium webdriver capabilities
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L280)
|
189
189
|
|
190
190
|
> def custom_url
|
191
191
|
|
@@ -193,7 +193,7 @@ Custom URL for the selenium server
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L280)
|
197
197
|
|
198
198
|
> def custom_url=(value)
|
199
199
|
|
@@ -201,7 +201,7 @@ Custom URL for the selenium server
|
|
201
201
|
|
202
202
|
--
|
203
203
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L282)
|
205
205
|
|
206
206
|
> def export_session
|
207
207
|
|
@@ -209,7 +209,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
209
209
|
|
210
210
|
--
|
211
211
|
|
212
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L282)
|
213
213
|
|
214
214
|
> def export_session=(value)
|
215
215
|
|
@@ -217,7 +217,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L287)
|
221
221
|
|
222
222
|
> def default_wait
|
223
223
|
|
@@ -231,7 +231,7 @@ __Returns:__
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L289)
|
235
235
|
|
236
236
|
> def sauce_username
|
237
237
|
|
@@ -239,7 +239,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L289)
|
243
243
|
|
244
244
|
> def sauce_username=(value)
|
245
245
|
|
@@ -247,7 +247,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L291)
|
251
251
|
|
252
252
|
> def sauce_access_key
|
253
253
|
|
@@ -255,7 +255,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L291)
|
259
259
|
|
260
260
|
> def sauce_access_key=(value)
|
261
261
|
|
@@ -263,7 +263,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L293)
|
267
267
|
|
268
268
|
> def sauce_endpoint
|
269
269
|
|
@@ -271,7 +271,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L293)
|
275
275
|
|
276
276
|
> def sauce_endpoint=(value)
|
277
277
|
|
@@ -279,7 +279,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L295)
|
283
283
|
|
284
284
|
> def appium_port
|
285
285
|
|
@@ -287,7 +287,7 @@ Appium's server port
|
|
287
287
|
|
288
288
|
--
|
289
289
|
|
290
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L295)
|
291
291
|
|
292
292
|
> def appium_port=(value)
|
293
293
|
|
@@ -295,7 +295,7 @@ Appium's server port
|
|
295
295
|
|
296
296
|
--
|
297
297
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L297)
|
299
299
|
|
300
300
|
> def appium_device
|
301
301
|
|
@@ -303,7 +303,7 @@ Device type to request from the appium server
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L297)
|
307
307
|
|
308
308
|
> def appium_device=(value)
|
309
309
|
|
@@ -311,7 +311,7 @@ Device type to request from the appium server
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L300)
|
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_version](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L302)
|
324
324
|
|
325
325
|
> def appium_server_version
|
326
326
|
|
@@ -341,7 +341,7 @@ __Returns:__
|
|
341
341
|
|
342
342
|
--
|
343
343
|
|
344
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
344
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L304)
|
345
345
|
|
346
346
|
> def appium_debug
|
347
347
|
|
@@ -349,7 +349,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
349
349
|
|
350
350
|
--
|
351
351
|
|
352
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
352
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L304)
|
353
353
|
|
354
354
|
> def appium_debug=(value)
|
355
355
|
|
@@ -357,7 +357,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
357
357
|
|
358
358
|
--
|
359
359
|
|
360
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
360
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L306)
|
361
361
|
|
362
362
|
> def listener
|
363
363
|
|
@@ -365,7 +365,7 @@ instance of AbstractEventListener for logging support
|
|
365
365
|
|
366
366
|
--
|
367
367
|
|
368
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
368
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L306)
|
369
369
|
|
370
370
|
> def listener=(value)
|
371
371
|
|
@@ -373,7 +373,7 @@ instance of AbstractEventListener for logging support
|
|
373
373
|
|
374
374
|
--
|
375
375
|
|
376
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
376
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L309)
|
377
377
|
|
378
378
|
> def driver
|
379
379
|
|
@@ -385,7 +385,7 @@ __Returns:__
|
|
385
385
|
|
386
386
|
--
|
387
387
|
|
388
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
388
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L312)
|
389
389
|
|
390
390
|
> def http_client
|
391
391
|
|
@@ -397,7 +397,7 @@ __Returns:__
|
|
397
397
|
|
398
398
|
--
|
399
399
|
|
400
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
400
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L317)
|
401
401
|
|
402
402
|
> def appium_wait_timeout
|
403
403
|
|
@@ -411,7 +411,7 @@ __Returns:__
|
|
411
411
|
|
412
412
|
--
|
413
413
|
|
414
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
414
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L322)
|
415
415
|
|
416
416
|
> def appium_wait_interval
|
417
417
|
|
@@ -425,7 +425,7 @@ __Returns:__
|
|
425
425
|
|
426
426
|
--
|
427
427
|
|
428
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
428
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L362)
|
429
429
|
|
430
430
|
> def initialize(opts = {})
|
431
431
|
|
@@ -441,7 +441,7 @@ __Returns:__
|
|
441
441
|
|
442
442
|
--
|
443
443
|
|
444
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
444
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L440)
|
445
445
|
|
446
446
|
> def driver_attributes
|
447
447
|
|
@@ -449,7 +449,7 @@ Returns a hash of the driver attributes
|
|
449
449
|
|
450
450
|
--
|
451
451
|
|
452
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
452
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L465)
|
453
453
|
|
454
454
|
> def device_is_android?
|
455
455
|
|
@@ -461,7 +461,7 @@ __Returns:__
|
|
461
461
|
|
462
462
|
--
|
463
463
|
|
464
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L471)
|
465
465
|
|
466
466
|
> def automation_name_is_xcuitest?
|
467
467
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L478)
|
477
477
|
|
478
478
|
> def check_server_version_xcuitest
|
479
479
|
|
@@ -486,7 +486,7 @@ __Returns:__
|
|
486
486
|
|
487
487
|
--
|
488
488
|
|
489
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
489
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L510)
|
490
490
|
|
491
491
|
> def appium_client_version
|
492
492
|
|
@@ -504,7 +504,7 @@ __Returns:__
|
|
504
504
|
|
505
505
|
--
|
506
506
|
|
507
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
507
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L522)
|
508
508
|
|
509
509
|
> def self.absolute_app_path(opts)
|
510
510
|
|
@@ -521,7 +521,7 @@ __Returns:__
|
|
521
521
|
|
522
522
|
--
|
523
523
|
|
524
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
524
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L555)
|
525
525
|
|
526
526
|
> def server_url
|
527
527
|
|
@@ -533,7 +533,7 @@ __Returns:__
|
|
533
533
|
|
534
534
|
--
|
535
535
|
|
536
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
536
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L566)
|
537
537
|
|
538
538
|
> def restart
|
539
539
|
|
@@ -545,7 +545,7 @@ __Returns:__
|
|
545
545
|
|
546
546
|
--
|
547
547
|
|
548
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
548
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L577)
|
549
549
|
|
550
550
|
> def screenshot(png_save_path)
|
551
551
|
|
@@ -563,7 +563,7 @@ __Returns:__
|
|
563
563
|
|
564
564
|
--
|
565
565
|
|
566
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
566
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L584)
|
567
567
|
|
568
568
|
> def driver_quit
|
569
569
|
|
@@ -575,7 +575,7 @@ __Returns:__
|
|
575
575
|
|
576
576
|
--
|
577
577
|
|
578
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
578
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L594)
|
579
579
|
|
580
580
|
> def start_driver
|
581
581
|
|
@@ -587,7 +587,7 @@ __Returns:__
|
|
587
587
|
|
588
588
|
--
|
589
589
|
|
590
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L632)
|
591
591
|
|
592
592
|
> def no_wait
|
593
593
|
|
@@ -595,7 +595,7 @@ Set implicit wait to zero.
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L646)
|
599
599
|
|
600
600
|
> def set_wait(timeout = nil)
|
601
601
|
|
@@ -617,7 +617,7 @@ __Returns:__
|
|
617
617
|
|
618
618
|
--
|
619
619
|
|
620
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
620
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L663)
|
621
621
|
|
622
622
|
> def exists(pre_check = 0, post_check = @default_wait)
|
623
623
|
|
@@ -641,7 +641,7 @@ __Returns:__
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L687)
|
645
645
|
|
646
646
|
> def execute_script(script, *args)
|
647
647
|
|
@@ -659,7 +659,7 @@ __Returns:__
|
|
659
659
|
|
660
660
|
--
|
661
661
|
|
662
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
662
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L695)
|
663
663
|
|
664
664
|
> def find_elements(*args)
|
665
665
|
|
@@ -675,7 +675,7 @@ __Returns:__
|
|
675
675
|
|
676
676
|
--
|
677
677
|
|
678
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
678
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L703)
|
679
679
|
|
680
680
|
> def find_element(*args)
|
681
681
|
|
@@ -691,7 +691,7 @@ __Returns:__
|
|
691
691
|
|
692
692
|
--
|
693
693
|
|
694
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
694
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L716)
|
695
695
|
|
696
696
|
> def set_location(opts = {})
|
697
697
|
|
@@ -707,7 +707,7 @@ __Returns:__
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [x](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L726)
|
711
711
|
|
712
712
|
> def x
|
713
713
|
|
@@ -720,7 +720,7 @@ __Returns:__
|
|
720
720
|
|
721
721
|
--
|
722
722
|
|
723
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
723
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/driver.rb#L735)
|
724
724
|
|
725
725
|
> def set_automation_name_if_nil
|
726
726
|
|
@@ -729,7 +729,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
729
729
|
|
730
730
|
--
|
731
731
|
|
732
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/logger.rb#L13)
|
733
733
|
|
734
734
|
> def logger=(value)
|
735
735
|
|
@@ -741,7 +741,7 @@ __Parameters:__
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/logger.rb#L17)
|
745
745
|
|
746
746
|
> def logger
|
747
747
|
|
@@ -749,7 +749,7 @@ __Parameters:__
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L7)
|
753
753
|
|
754
754
|
> def app_strings
|
755
755
|
|
@@ -760,7 +760,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
760
760
|
|
761
761
|
--
|
762
762
|
|
763
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
763
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L13)
|
764
764
|
|
765
765
|
> def background_app
|
766
766
|
|
@@ -769,7 +769,7 @@ This is a blocking application
|
|
769
769
|
|
770
770
|
--
|
771
771
|
|
772
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L18)
|
773
773
|
|
774
774
|
> def current_activity
|
775
775
|
|
@@ -777,7 +777,7 @@ This is a blocking application
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L20)
|
781
781
|
|
782
782
|
> def launch_app
|
783
783
|
|
@@ -785,7 +785,7 @@ Start the simulator and application configured with desired capabilities
|
|
785
785
|
|
786
786
|
--
|
787
787
|
|
788
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L23)
|
789
789
|
|
790
790
|
> def reset
|
791
791
|
|
@@ -793,7 +793,7 @@ Reset the device, relaunching the application.
|
|
793
793
|
|
794
794
|
--
|
795
795
|
|
796
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
796
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L26)
|
797
797
|
|
798
798
|
> def shake
|
799
799
|
|
@@ -801,7 +801,7 @@ Cause the device to shake
|
|
801
801
|
|
802
802
|
--
|
803
803
|
|
804
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L29)
|
805
805
|
|
806
806
|
> def toggle_flight_mode
|
807
807
|
|
@@ -809,7 +809,7 @@ Toggle flight mode on or off
|
|
809
809
|
|
810
810
|
--
|
811
811
|
|
812
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
812
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L32)
|
813
813
|
|
814
814
|
> def device_locked?
|
815
815
|
|
@@ -817,7 +817,7 @@ Toggle flight mode on or off
|
|
817
817
|
|
818
818
|
--
|
819
819
|
|
820
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
820
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L34)
|
821
821
|
|
822
822
|
> def hide_keyboard
|
823
823
|
|
@@ -830,7 +830,7 @@ Defaults to 'Done'.
|
|
830
830
|
|
831
831
|
--
|
832
832
|
|
833
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
833
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L43)
|
834
834
|
|
835
835
|
> def press_keycode
|
836
836
|
|
@@ -845,7 +845,7 @@ __Parameters:__
|
|
845
845
|
|
846
846
|
--
|
847
847
|
|
848
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
848
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L49)
|
849
849
|
|
850
850
|
> def long_press_keycode
|
851
851
|
|
@@ -860,7 +860,7 @@ __Parameters:__
|
|
860
860
|
|
861
861
|
--
|
862
862
|
|
863
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
863
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L55)
|
864
864
|
|
865
865
|
> def push_file
|
866
866
|
|
@@ -874,7 +874,7 @@ __Parameters:__
|
|
874
874
|
|
875
875
|
--
|
876
876
|
|
877
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
877
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L60)
|
878
878
|
|
879
879
|
> def pull_file
|
880
880
|
|
@@ -891,7 +891,7 @@ __Parameters:__
|
|
891
891
|
|
892
892
|
--
|
893
893
|
|
894
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
894
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L70)
|
895
895
|
|
896
896
|
> def pull_folder
|
897
897
|
|
@@ -906,7 +906,7 @@ __Parameters:__
|
|
906
906
|
|
907
907
|
--
|
908
908
|
|
909
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
909
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L78)
|
910
910
|
|
911
911
|
> def touch_id
|
912
912
|
|
@@ -923,7 +923,7 @@ Defaults to true.
|
|
923
923
|
|
924
924
|
--
|
925
925
|
|
926
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
926
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L87)
|
927
927
|
|
928
928
|
> def end_coverage
|
929
929
|
|
@@ -937,7 +937,7 @@ __Parameters:__
|
|
937
937
|
|
938
938
|
--
|
939
939
|
|
940
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
940
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L92)
|
941
941
|
|
942
942
|
> def get_settings
|
943
943
|
|
@@ -945,7 +945,7 @@ Get appium Settings for current test session
|
|
945
945
|
|
946
946
|
--
|
947
947
|
|
948
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
948
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L95)
|
949
949
|
|
950
950
|
> def update_settings
|
951
951
|
|
@@ -957,7 +957,7 @@ __Parameters:__
|
|
957
957
|
|
958
958
|
--
|
959
959
|
|
960
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
960
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L99)
|
961
961
|
|
962
962
|
> def start_activity
|
963
963
|
|
@@ -971,7 +971,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
971
971
|
|
972
972
|
--
|
973
973
|
|
974
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L113)
|
975
975
|
|
976
976
|
> def get_network_connection
|
977
977
|
|
@@ -980,7 +980,7 @@ See set_network_connection method for return value
|
|
980
980
|
|
981
981
|
--
|
982
982
|
|
983
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
983
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L117)
|
984
984
|
|
985
985
|
> def set_network_connection
|
986
986
|
|
@@ -999,7 +999,7 @@ __Parameters:__
|
|
999
999
|
|
1000
1000
|
--
|
1001
1001
|
|
1002
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L130)
|
1003
1003
|
|
1004
1004
|
> def set_immediate_value
|
1005
1005
|
|
@@ -1013,7 +1013,7 @@ set_immediate_value element, 'hello'
|
|
1013
1013
|
|
1014
1014
|
--
|
1015
1015
|
|
1016
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1016
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L139)
|
1017
1017
|
|
1018
1018
|
> def get_performance_data_types
|
1019
1019
|
|
@@ -1027,7 +1027,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1027
1027
|
|
1028
1028
|
--
|
1029
1029
|
|
1030
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1030
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L388)
|
1031
1031
|
|
1032
1032
|
> def extend_search_contexts
|
1033
1033
|
|
@@ -1035,7 +1035,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1035
1035
|
|
1036
1036
|
--
|
1037
1037
|
|
1038
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1038
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L388)
|
1039
1039
|
|
1040
1040
|
> def find_element
|
1041
1041
|
|
@@ -1043,7 +1043,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1043
1043
|
|
1044
1044
|
--
|
1045
1045
|
|
1046
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1046
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L388)
|
1047
1047
|
|
1048
1048
|
> def find_elements
|
1049
1049
|
|
@@ -1055,7 +1055,7 @@ find_element/s with their accessibility_id
|
|
1055
1055
|
|
1056
1056
|
--
|
1057
1057
|
|
1058
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1058
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L419)
|
1059
1059
|
|
1060
1060
|
> def add_touch_actions
|
1061
1061
|
|
@@ -1063,7 +1063,7 @@ find_element/s with their accessibility_id
|
|
1063
1063
|
|
1064
1064
|
--
|
1065
1065
|
|
1066
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1066
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L442)
|
1067
1067
|
|
1068
1068
|
> def add_ime_actions
|
1069
1069
|
|
@@ -1071,7 +1071,7 @@ find_element/s with their accessibility_id
|
|
1071
1071
|
|
1072
1072
|
--
|
1073
1073
|
|
1074
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1074
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L517)
|
1075
1075
|
|
1076
1076
|
> def set_context
|
1077
1077
|
|
@@ -1086,7 +1086,7 @@ __Parameters:__
|
|
1086
1086
|
|
1087
1087
|
--
|
1088
1088
|
|
1089
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L525)
|
1090
1090
|
|
1091
1091
|
> def current_context
|
1092
1092
|
|
@@ -1098,7 +1098,7 @@ __Returns:__
|
|
1098
1098
|
|
1099
1099
|
--
|
1100
1100
|
|
1101
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L528)
|
1102
1102
|
|
1103
1103
|
> def available_contexts
|
1104
1104
|
|
@@ -1110,7 +1110,7 @@ __Returns:__
|
|
1110
1110
|
|
1111
1111
|
--
|
1112
1112
|
|
1113
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1113
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L538)
|
1114
1114
|
|
1115
1115
|
> def within_context(context)
|
1116
1116
|
|
@@ -1126,7 +1126,7 @@ __Parameters:__
|
|
1126
1126
|
|
1127
1127
|
--
|
1128
1128
|
|
1129
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1129
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/device.rb#L546)
|
1130
1130
|
|
1131
1131
|
> def switch_to_default_context
|
1132
1132
|
|
@@ -1134,7 +1134,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1134
1134
|
|
1135
1135
|
--
|
1136
1136
|
|
1137
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1137
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L28)
|
1138
1138
|
|
1139
1139
|
> def pinch(percentage = 25, auto_perform = true)
|
1140
1140
|
|
@@ -1153,7 +1153,7 @@ __Parameters:__
|
|
1153
1153
|
|
1154
1154
|
--
|
1155
1155
|
|
1156
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L57)
|
1157
1157
|
|
1158
1158
|
> def zoom(percentage = 200, auto_perform = true)
|
1159
1159
|
|
@@ -1172,7 +1172,7 @@ __Parameters:__
|
|
1172
1172
|
|
1173
1173
|
--
|
1174
1174
|
|
1175
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L79)
|
1176
1176
|
|
1177
1177
|
> def pinch_for_xcuitest(rate)
|
1178
1178
|
|
@@ -1180,7 +1180,7 @@ __Parameters:__
|
|
1180
1180
|
|
1181
1181
|
--
|
1182
1182
|
|
1183
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L94)
|
1184
1184
|
|
1185
1185
|
> def pinch_android(rate)
|
1186
1186
|
|
@@ -1188,7 +1188,7 @@ __Parameters:__
|
|
1188
1188
|
|
1189
1189
|
--
|
1190
1190
|
|
1191
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L108)
|
1192
1192
|
|
1193
1193
|
> def pinch_ios(rate)
|
1194
1194
|
|
@@ -1196,7 +1196,7 @@ __Parameters:__
|
|
1196
1196
|
|
1197
1197
|
--
|
1198
1198
|
|
1199
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1199
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L122)
|
1200
1200
|
|
1201
1201
|
> def zoom_for_xcuitest(rate)
|
1202
1202
|
|
@@ -1204,7 +1204,7 @@ __Parameters:__
|
|
1204
1204
|
|
1205
1205
|
--
|
1206
1206
|
|
1207
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L137)
|
1208
1208
|
|
1209
1209
|
> def zoom_android(rate)
|
1210
1210
|
|
@@ -1212,7 +1212,7 @@ __Parameters:__
|
|
1212
1212
|
|
1213
1213
|
--
|
1214
1214
|
|
1215
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1215
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L151)
|
1216
1216
|
|
1217
1217
|
> def zoom_ios(rate)
|
1218
1218
|
|
@@ -1220,7 +1220,7 @@ __Parameters:__
|
|
1220
1220
|
|
1221
1221
|
--
|
1222
1222
|
|
1223
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L167)
|
1224
1224
|
|
1225
1225
|
> def initialize
|
1226
1226
|
|
@@ -1232,7 +1232,7 @@ __Returns:__
|
|
1232
1232
|
|
1233
1233
|
--
|
1234
1234
|
|
1235
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [add](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L173)
|
1236
1236
|
|
1237
1237
|
> def add(chain)
|
1238
1238
|
|
@@ -1244,7 +1244,7 @@ __Parameters:__
|
|
1244
1244
|
|
1245
1245
|
--
|
1246
1246
|
|
1247
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/multi_touch.rb#L178)
|
1248
1248
|
|
1249
1249
|
> def perform
|
1250
1250
|
|
@@ -1252,7 +1252,7 @@ Ask Appium to perform the actions
|
|
1252
1252
|
|
1253
1253
|
--
|
1254
1254
|
|
1255
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L11)
|
1256
1256
|
|
1257
1257
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1258
1258
|
|
@@ -1260,7 +1260,7 @@ Ask Appium to perform the actions
|
|
1260
1260
|
|
1261
1261
|
--
|
1262
1262
|
|
1263
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L12)
|
1264
1264
|
|
1265
1265
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1266
1266
|
|
@@ -1268,7 +1268,7 @@ Ask Appium to perform the actions
|
|
1268
1268
|
|
1269
1269
|
--
|
1270
1270
|
|
1271
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L26)
|
1272
1272
|
|
1273
1273
|
> def actions
|
1274
1274
|
|
@@ -1276,7 +1276,7 @@ Returns the value of attribute actions
|
|
1276
1276
|
|
1277
1277
|
--
|
1278
1278
|
|
1279
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L28)
|
1280
1280
|
|
1281
1281
|
> def initialize
|
1282
1282
|
|
@@ -1288,7 +1288,7 @@ __Returns:__
|
|
1288
1288
|
|
1289
1289
|
--
|
1290
1290
|
|
1291
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L39)
|
1292
1292
|
|
1293
1293
|
> def move_to(opts)
|
1294
1294
|
|
@@ -1302,7 +1302,7 @@ __Parameters:__
|
|
1302
1302
|
|
1303
1303
|
--
|
1304
1304
|
|
1305
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L53)
|
1306
1306
|
|
1307
1307
|
> def long_press(opts)
|
1308
1308
|
|
@@ -1323,7 +1323,7 @@ __Parameters:__
|
|
1323
1323
|
|
1324
1324
|
--
|
1325
1325
|
|
1326
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1326
|
+
##### [press](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L65)
|
1327
1327
|
|
1328
1328
|
> def press(opts)
|
1329
1329
|
|
@@ -1336,7 +1336,7 @@ __Parameters:__
|
|
1336
1336
|
|
1337
1337
|
--
|
1338
1338
|
|
1339
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [release](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L76)
|
1340
1340
|
|
1341
1341
|
> def release(opts = nil)
|
1342
1342
|
|
@@ -1348,7 +1348,7 @@ __Parameters:__
|
|
1348
1348
|
|
1349
1349
|
--
|
1350
1350
|
|
1351
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L88)
|
1352
1352
|
|
1353
1353
|
> def tap(opts)
|
1354
1354
|
|
@@ -1361,7 +1361,7 @@ __Parameters:__
|
|
1361
1361
|
|
1362
1362
|
--
|
1363
1363
|
|
1364
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L101)
|
1365
1365
|
|
1366
1366
|
> def double_tap(opts)
|
1367
1367
|
|
@@ -1373,7 +1373,7 @@ __Parameters:__
|
|
1373
1373
|
|
1374
1374
|
--
|
1375
1375
|
|
1376
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L112)
|
1377
1377
|
|
1378
1378
|
> def two_finger_tap(opts)
|
1379
1379
|
|
@@ -1385,7 +1385,7 @@ __Parameters:__
|
|
1385
1385
|
|
1386
1386
|
--
|
1387
1387
|
|
1388
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L120)
|
1389
1389
|
|
1390
1390
|
> def wait(milliseconds)
|
1391
1391
|
|
@@ -1397,7 +1397,7 @@ __Parameters:__
|
|
1397
1397
|
|
1398
1398
|
--
|
1399
1399
|
|
1400
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L143)
|
1401
1401
|
|
1402
1402
|
> def swipe(opts, ele = nil)
|
1403
1403
|
|
@@ -1418,7 +1418,7 @@ __Parameters:__
|
|
1418
1418
|
|
1419
1419
|
--
|
1420
1420
|
|
1421
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1421
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L168)
|
1422
1422
|
|
1423
1423
|
> def perform
|
1424
1424
|
|
@@ -1426,7 +1426,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1426
1426
|
|
1427
1427
|
--
|
1428
1428
|
|
1429
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1429
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L174)
|
1430
1430
|
|
1431
1431
|
> def cancel
|
1432
1432
|
|
@@ -1434,7 +1434,7 @@ Does nothing, currently.
|
|
1434
1434
|
|
1435
1435
|
--
|
1436
1436
|
|
1437
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1437
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L180)
|
1438
1438
|
|
1439
1439
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1440
1440
|
|
@@ -1442,7 +1442,7 @@ Does nothing, currently.
|
|
1442
1442
|
|
1443
1443
|
--
|
1444
1444
|
|
1445
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L198)
|
1446
1446
|
|
1447
1447
|
> def chain_method(method, args = nil)
|
1448
1448
|
|
@@ -1450,7 +1450,7 @@ Does nothing, currently.
|
|
1450
1450
|
|
1451
1451
|
--
|
1452
1452
|
|
1453
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1453
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/device/touch_actions.rb#L204)
|
1454
1454
|
|
1455
1455
|
> def args_with_ele_ref(args)
|
1456
1456
|
|
@@ -1458,7 +1458,7 @@ Does nothing, currently.
|
|
1458
1458
|
|
1459
1459
|
--
|
1460
1460
|
|
1461
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1461
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/wait.rb#L9)
|
1462
1462
|
|
1463
1463
|
> def _generic_wait(opts = {})
|
1464
1464
|
|
@@ -1467,7 +1467,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1467
1467
|
|
1468
1468
|
--
|
1469
1469
|
|
1470
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1470
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/wait.rb#L48)
|
1471
1471
|
|
1472
1472
|
> def _process_wait_opts(opts)
|
1473
1473
|
|
@@ -1475,7 +1475,7 @@ process opts before calling _generic_wait
|
|
1475
1475
|
|
1476
1476
|
--
|
1477
1477
|
|
1478
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1478
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/wait.rb#L69)
|
1479
1479
|
|
1480
1480
|
> def wait_true(opts = {}, &block)
|
1481
1481
|
|
@@ -1495,7 +1495,7 @@ __Parameters:__
|
|
1495
1495
|
|
1496
1496
|
--
|
1497
1497
|
|
1498
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1498
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/wait.rb#L87)
|
1499
1499
|
|
1500
1500
|
> def wait(opts = {}, &block)
|
1501
1501
|
|
@@ -1513,7 +1513,7 @@ __Parameters:__
|
|
1513
1513
|
|
1514
1514
|
--
|
1515
1515
|
|
1516
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1516
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L24)
|
1517
1517
|
|
1518
1518
|
> def ignore
|
1519
1519
|
|
@@ -1521,7 +1521,7 @@ Return yield and ignore any exceptions.
|
|
1521
1521
|
|
1522
1522
|
--
|
1523
1523
|
|
1524
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1524
|
+
##### [back](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L31)
|
1525
1525
|
|
1526
1526
|
> def back
|
1527
1527
|
|
@@ -1533,7 +1533,7 @@ __Returns:__
|
|
1533
1533
|
|
1534
1534
|
--
|
1535
1535
|
|
1536
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1536
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L36)
|
1537
1537
|
|
1538
1538
|
> def session_id
|
1539
1539
|
|
@@ -1541,7 +1541,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1541
1541
|
|
1542
1542
|
--
|
1543
1543
|
|
1544
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L44)
|
1545
1545
|
|
1546
1546
|
> def xpath(xpath_str)
|
1547
1547
|
|
@@ -1557,7 +1557,7 @@ __Returns:__
|
|
1557
1557
|
|
1558
1558
|
--
|
1559
1559
|
|
1560
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1560
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L52)
|
1561
1561
|
|
1562
1562
|
> def xpaths(xpath_str)
|
1563
1563
|
|
@@ -1573,7 +1573,7 @@ __Returns:__
|
|
1573
1573
|
|
1574
1574
|
--
|
1575
1575
|
|
1576
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1576
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L56)
|
1577
1577
|
|
1578
1578
|
> def _print_source(source)
|
1579
1579
|
|
@@ -1581,7 +1581,7 @@ __Returns:__
|
|
1581
1581
|
|
1582
1582
|
--
|
1583
1583
|
|
1584
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1584
|
+
##### [result](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L69)
|
1585
1585
|
|
1586
1586
|
> def result
|
1587
1587
|
|
@@ -1589,7 +1589,7 @@ Returns the value of attribute result
|
|
1589
1589
|
|
1590
1590
|
--
|
1591
1591
|
|
1592
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1592
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L71)
|
1593
1593
|
|
1594
1594
|
> def initialize
|
1595
1595
|
|
@@ -1601,7 +1601,7 @@ __Returns:__
|
|
1601
1601
|
|
1602
1602
|
--
|
1603
1603
|
|
1604
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1604
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L75)
|
1605
1605
|
|
1606
1606
|
> def reset
|
1607
1607
|
|
@@ -1609,7 +1609,7 @@ __Returns:__
|
|
1609
1609
|
|
1610
1610
|
--
|
1611
1611
|
|
1612
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L80)
|
1613
1613
|
|
1614
1614
|
> def start_element(name, attrs = [])
|
1615
1615
|
|
@@ -1617,7 +1617,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1617
1617
|
|
1618
1618
|
--
|
1619
1619
|
|
1620
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L86)
|
1621
1621
|
|
1622
1622
|
> def formatted_result
|
1623
1623
|
|
@@ -1625,7 +1625,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1625
1625
|
|
1626
1626
|
--
|
1627
1627
|
|
1628
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1628
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L97)
|
1629
1629
|
|
1630
1630
|
> def get_page_class
|
1631
1631
|
|
@@ -1633,7 +1633,7 @@ Returns a string of class counts of visible elements.
|
|
1633
1633
|
|
1634
1634
|
--
|
1635
1635
|
|
1636
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1636
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L108)
|
1637
1637
|
|
1638
1638
|
> def page_class
|
1639
1639
|
|
@@ -1642,7 +1642,7 @@ Useful for appium_console.
|
|
1642
1642
|
|
1643
1643
|
--
|
1644
1644
|
|
1645
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L118)
|
1646
1646
|
|
1647
1647
|
> def px_to_window_rel(opts = {})
|
1648
1648
|
|
@@ -1654,7 +1654,7 @@ px_to_window_rel x: 50, y: 150
|
|
1654
1654
|
|
1655
1655
|
--
|
1656
1656
|
|
1657
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1657
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L137)
|
1658
1658
|
|
1659
1659
|
> def xml_keys(target)
|
1660
1660
|
|
@@ -1670,7 +1670,7 @@ __Returns:__
|
|
1670
1670
|
|
1671
1671
|
--
|
1672
1672
|
|
1673
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L145)
|
1674
1674
|
|
1675
1675
|
> def xml_values(target)
|
1676
1676
|
|
@@ -1686,7 +1686,7 @@ __Returns:__
|
|
1686
1686
|
|
1687
1687
|
--
|
1688
1688
|
|
1689
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1689
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L153)
|
1690
1690
|
|
1691
1691
|
> def resolve_id(id)
|
1692
1692
|
|
@@ -1702,7 +1702,7 @@ __Returns:__
|
|
1702
1702
|
|
1703
1703
|
--
|
1704
1704
|
|
1705
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L159)
|
1706
1706
|
|
1707
1707
|
> def filter
|
1708
1708
|
|
@@ -1710,7 +1710,7 @@ Returns the value of attribute filter
|
|
1710
1710
|
|
1711
1711
|
--
|
1712
1712
|
|
1713
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1713
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L162)
|
1714
1714
|
|
1715
1715
|
> def filter=(value)
|
1716
1716
|
|
@@ -1718,7 +1718,7 @@ convert to string to support symbols
|
|
1718
1718
|
|
1719
1719
|
--
|
1720
1720
|
|
1721
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L168)
|
1722
1722
|
|
1723
1723
|
> def initialize
|
1724
1724
|
|
@@ -1730,7 +1730,7 @@ __Returns:__
|
|
1730
1730
|
|
1731
1731
|
--
|
1732
1732
|
|
1733
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1733
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L173)
|
1734
1734
|
|
1735
1735
|
> def reset
|
1736
1736
|
|
@@ -1738,7 +1738,7 @@ __Returns:__
|
|
1738
1738
|
|
1739
1739
|
--
|
1740
1740
|
|
1741
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [result](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L179)
|
1742
1742
|
|
1743
1743
|
> def result
|
1744
1744
|
|
@@ -1746,7 +1746,7 @@ __Returns:__
|
|
1746
1746
|
|
1747
1747
|
--
|
1748
1748
|
|
1749
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1749
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L195)
|
1750
1750
|
|
1751
1751
|
> def start_element(name, attrs = [])
|
1752
1752
|
|
@@ -1754,7 +1754,7 @@ __Returns:__
|
|
1754
1754
|
|
1755
1755
|
--
|
1756
1756
|
|
1757
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L204)
|
1758
1758
|
|
1759
1759
|
> def end_element(name)
|
1760
1760
|
|
@@ -1762,7 +1762,7 @@ __Returns:__
|
|
1762
1762
|
|
1763
1763
|
--
|
1764
1764
|
|
1765
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1765
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L210)
|
1766
1766
|
|
1767
1767
|
> def characters(chars)
|
1768
1768
|
|
@@ -1770,7 +1770,7 @@ __Returns:__
|
|
1770
1770
|
|
1771
1771
|
--
|
1772
1772
|
|
1773
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1773
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/helper.rb#L217)
|
1774
1774
|
|
1775
1775
|
> def _no_such_element
|
1776
1776
|
|
@@ -1778,7 +1778,7 @@ __Returns:__
|
|
1778
1778
|
|
1779
1779
|
--
|
1780
1780
|
|
1781
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/command.rb#L4)
|
1782
1782
|
|
1783
1783
|
> COMMAND_NO_ARG = {
|
1784
1784
|
|
@@ -1786,7 +1786,7 @@ __Returns:__
|
|
1786
1786
|
|
1787
1787
|
--
|
1788
1788
|
|
1789
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/command.rb#L24)
|
1790
1790
|
|
1791
1791
|
> COMMAND = {
|
1792
1792
|
|
@@ -1794,7 +1794,7 @@ __Returns:__
|
|
1794
1794
|
|
1795
1795
|
--
|
1796
1796
|
|
1797
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/element/window.rb#L5)
|
1798
1798
|
|
1799
1799
|
> def window_size
|
1800
1800
|
|
@@ -1802,7 +1802,7 @@ Get the window's size
|
|
1802
1802
|
|
1803
1803
|
--
|
1804
1804
|
|
1805
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/search_context.rb#L5)
|
1806
1806
|
|
1807
1807
|
> FINDERS = {
|
1808
1808
|
|
@@ -1810,7 +1810,7 @@ rubocop:disable Style/MutableConstant
|
|
1810
1810
|
|
1811
1811
|
--
|
1812
1812
|
|
1813
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1813
|
+
##### [result](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L6) android
|
1814
1814
|
|
1815
1815
|
> def result
|
1816
1816
|
|
@@ -1818,7 +1818,7 @@ Returns the value of attribute result
|
|
1818
1818
|
|
1819
1819
|
--
|
1820
1820
|
|
1821
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1821
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L6) android
|
1822
1822
|
|
1823
1823
|
> def keys
|
1824
1824
|
|
@@ -1826,7 +1826,7 @@ Returns the value of attribute keys
|
|
1826
1826
|
|
1827
1827
|
--
|
1828
1828
|
|
1829
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L6) android
|
1830
1830
|
|
1831
1831
|
> def instance
|
1832
1832
|
|
@@ -1834,7 +1834,7 @@ Returns the value of attribute instance
|
|
1834
1834
|
|
1835
1835
|
--
|
1836
1836
|
|
1837
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L6) android
|
1838
1838
|
|
1839
1839
|
> def filter
|
1840
1840
|
|
@@ -1842,7 +1842,7 @@ Returns the value of attribute filter
|
|
1842
1842
|
|
1843
1843
|
--
|
1844
1844
|
|
1845
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L9) android
|
1846
1846
|
|
1847
1847
|
> def filter=(value)
|
1848
1848
|
|
@@ -1850,7 +1850,7 @@ convert to string to support symbols
|
|
1850
1850
|
|
1851
1851
|
--
|
1852
1852
|
|
1853
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L15) android
|
1854
1854
|
|
1855
1855
|
> def initialize
|
1856
1856
|
|
@@ -1862,7 +1862,7 @@ __Returns:__
|
|
1862
1862
|
|
1863
1863
|
--
|
1864
1864
|
|
1865
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L21) android
|
1866
1866
|
|
1867
1867
|
> def reset
|
1868
1868
|
|
@@ -1870,7 +1870,7 @@ __Returns:__
|
|
1870
1870
|
|
1871
1871
|
--
|
1872
1872
|
|
1873
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1873
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L28) android
|
1874
1874
|
|
1875
1875
|
> def start_element(name, attrs = [])
|
1876
1876
|
|
@@ -1878,7 +1878,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1878
1878
|
|
1879
1879
|
--
|
1880
1880
|
|
1881
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L88) android
|
1882
1882
|
|
1883
1883
|
> def _fix_android_native_source(source)
|
1884
1884
|
|
@@ -1888,7 +1888,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1888
1888
|
|
1889
1889
|
--
|
1890
1890
|
|
1891
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1891
|
+
##### [source](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L116) android
|
1892
1892
|
|
1893
1893
|
> def source
|
1894
1894
|
|
@@ -1900,7 +1900,7 @@ __Returns:__
|
|
1900
1900
|
|
1901
1901
|
--
|
1902
1902
|
|
1903
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1903
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L126) android
|
1904
1904
|
|
1905
1905
|
> def get_android_inspect(class_name = false)
|
1906
1906
|
|
@@ -1919,7 +1919,7 @@ __Returns:__
|
|
1919
1919
|
|
1920
1920
|
--
|
1921
1921
|
|
1922
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1922
|
+
##### [page](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L152) android
|
1923
1923
|
|
1924
1924
|
> def page(opts = {})
|
1925
1925
|
|
@@ -1938,7 +1938,7 @@ __Returns:__
|
|
1938
1938
|
|
1939
1939
|
--
|
1940
1940
|
|
1941
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1941
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L164) android
|
1942
1942
|
|
1943
1943
|
> def current_app
|
1944
1944
|
|
@@ -1948,7 +1948,7 @@ example line:
|
|
1948
1948
|
|
1949
1949
|
--
|
1950
1950
|
|
1951
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1951
|
+
##### [id](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L188) android
|
1952
1952
|
|
1953
1953
|
> def id(id)
|
1954
1954
|
|
@@ -1964,7 +1964,7 @@ __Returns:__
|
|
1964
1964
|
|
1965
1965
|
--
|
1966
1966
|
|
1967
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1967
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L196) android
|
1968
1968
|
|
1969
1969
|
> def ids(id)
|
1970
1970
|
|
@@ -1980,7 +1980,7 @@ __Returns:__
|
|
1980
1980
|
|
1981
1981
|
--
|
1982
1982
|
|
1983
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L205) android
|
1984
1984
|
|
1985
1985
|
> def ele_index(class_name, index)
|
1986
1986
|
|
@@ -1998,7 +1998,7 @@ __Returns:__
|
|
1998
1998
|
|
1999
1999
|
--
|
2000
2000
|
|
2001
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2001
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L223) android
|
2002
2002
|
|
2003
2003
|
> def first_ele(class_name)
|
2004
2004
|
|
@@ -2014,7 +2014,7 @@ __Returns:__
|
|
2014
2014
|
|
2015
2015
|
--
|
2016
2016
|
|
2017
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2017
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L230) android
|
2018
2018
|
|
2019
2019
|
> def last_ele(class_name)
|
2020
2020
|
|
@@ -2030,7 +2030,7 @@ __Returns:__
|
|
2030
2030
|
|
2031
2031
|
--
|
2032
2032
|
|
2033
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2033
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L238) android
|
2034
2034
|
|
2035
2035
|
> def tag(class_name)
|
2036
2036
|
|
@@ -2046,7 +2046,7 @@ __Returns:__
|
|
2046
2046
|
|
2047
2047
|
--
|
2048
2048
|
|
2049
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2049
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L246) android
|
2050
2050
|
|
2051
2051
|
> def tags(class_name)
|
2052
2052
|
|
@@ -2062,7 +2062,7 @@ __Returns:__
|
|
2062
2062
|
|
2063
2063
|
--
|
2064
2064
|
|
2065
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2065
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L288) android
|
2066
2066
|
|
2067
2067
|
> def string_visible_contains(class_name, value)
|
2068
2068
|
|
@@ -2082,7 +2082,7 @@ __Returns:__
|
|
2082
2082
|
|
2083
2083
|
--
|
2084
2084
|
|
2085
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L308) android
|
2086
2086
|
|
2087
2087
|
> def complex_find_contains(element, value)
|
2088
2088
|
|
@@ -2100,7 +2100,7 @@ __Returns:__
|
|
2100
2100
|
|
2101
2101
|
--
|
2102
2102
|
|
2103
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2103
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L316) android
|
2104
2104
|
|
2105
2105
|
> def complex_finds_contains(element, value)
|
2106
2106
|
|
@@ -2118,7 +2118,7 @@ __Returns:__
|
|
2118
2118
|
|
2119
2119
|
--
|
2120
2120
|
|
2121
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2121
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L345) android
|
2122
2122
|
|
2123
2123
|
> def complex_find_exact(class_name, value)
|
2124
2124
|
|
@@ -2136,7 +2136,7 @@ __Returns:__
|
|
2136
2136
|
|
2137
2137
|
--
|
2138
2138
|
|
2139
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2139
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L353) android
|
2140
2140
|
|
2141
2141
|
> def complex_finds_exact(class_name, value)
|
2142
2142
|
|
@@ -2154,7 +2154,7 @@ __Returns:__
|
|
2154
2154
|
|
2155
2155
|
--
|
2156
2156
|
|
2157
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2157
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/helper.rb#L361) android
|
2158
2158
|
|
2159
2159
|
> def get_source
|
2160
2160
|
|
@@ -2168,7 +2168,7 @@ __Returns:__
|
|
2168
2168
|
|
2169
2169
|
--
|
2170
2170
|
|
2171
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/client_xpath.rb#L5) android
|
2172
2172
|
|
2173
2173
|
> def _nodeset_to_uiselector(opts = {})
|
2174
2174
|
|
@@ -2176,7 +2176,7 @@ __Returns:__
|
|
2176
2176
|
|
2177
2177
|
--
|
2178
2178
|
|
2179
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2179
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/client_xpath.rb#L20) android
|
2180
2180
|
|
2181
2181
|
> def _client_xpath(opts = {})
|
2182
2182
|
|
@@ -2184,7 +2184,7 @@ __Returns:__
|
|
2184
2184
|
|
2185
2185
|
--
|
2186
2186
|
|
2187
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2187
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/client_xpath.rb#L36) android
|
2188
2188
|
|
2189
2189
|
> def client_xpath(xpath)
|
2190
2190
|
|
@@ -2192,7 +2192,7 @@ __Returns:__
|
|
2192
2192
|
|
2193
2193
|
--
|
2194
2194
|
|
2195
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2195
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/client_xpath.rb#L40) android
|
2196
2196
|
|
2197
2197
|
> def client_xpaths(xpath)
|
2198
2198
|
|
@@ -2200,7 +2200,7 @@ __Returns:__
|
|
2200
2200
|
|
2201
2201
|
--
|
2202
2202
|
|
2203
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2203
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/text.rb#L4) android
|
2204
2204
|
|
2205
2205
|
> TextView = 'android.widget.TextView'.freeze
|
2206
2206
|
|
@@ -2208,7 +2208,7 @@ __Returns:__
|
|
2208
2208
|
|
2209
2209
|
--
|
2210
2210
|
|
2211
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2211
|
+
##### [text](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/text.rb#L10) android
|
2212
2212
|
|
2213
2213
|
> def text(value)
|
2214
2214
|
|
@@ -2225,7 +2225,7 @@ __Returns:__
|
|
2225
2225
|
|
2226
2226
|
--
|
2227
2227
|
|
2228
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2228
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/text.rb#L19) android
|
2229
2229
|
|
2230
2230
|
> def texts(value = false)
|
2231
2231
|
|
@@ -2242,7 +2242,7 @@ __Returns:__
|
|
2242
2242
|
|
2243
2243
|
--
|
2244
2244
|
|
2245
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2245
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/text.rb#L26) android
|
2246
2246
|
|
2247
2247
|
> def first_text
|
2248
2248
|
|
@@ -2254,7 +2254,7 @@ __Returns:__
|
|
2254
2254
|
|
2255
2255
|
--
|
2256
2256
|
|
2257
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2257
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/text.rb#L32) android
|
2258
2258
|
|
2259
2259
|
> def last_text
|
2260
2260
|
|
@@ -2266,7 +2266,7 @@ __Returns:__
|
|
2266
2266
|
|
2267
2267
|
--
|
2268
2268
|
|
2269
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2269
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/text.rb#L39) android
|
2270
2270
|
|
2271
2271
|
> def text_exact(value)
|
2272
2272
|
|
@@ -2282,7 +2282,7 @@ __Returns:__
|
|
2282
2282
|
|
2283
2283
|
--
|
2284
2284
|
|
2285
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2285
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/text.rb#L46) android
|
2286
2286
|
|
2287
2287
|
> def texts_exact(value)
|
2288
2288
|
|
@@ -2298,7 +2298,7 @@ __Returns:__
|
|
2298
2298
|
|
2299
2299
|
--
|
2300
2300
|
|
2301
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2301
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/alert.rb#L6) android
|
2302
2302
|
|
2303
2303
|
> def alert_click(value)
|
2304
2304
|
|
@@ -2314,7 +2314,7 @@ __Returns:__
|
|
2314
2314
|
|
2315
2315
|
--
|
2316
2316
|
|
2317
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2317
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/alert.rb#L13) android
|
2318
2318
|
|
2319
2319
|
> def alert_accept
|
2320
2320
|
|
@@ -2327,7 +2327,7 @@ __Returns:__
|
|
2327
2327
|
|
2328
2328
|
--
|
2329
2329
|
|
2330
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2330
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/alert.rb#L20) android
|
2331
2331
|
|
2332
2332
|
> def alert_accept_text
|
2333
2333
|
|
@@ -2340,7 +2340,7 @@ __Returns:__
|
|
2340
2340
|
|
2341
2341
|
--
|
2342
2342
|
|
2343
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2343
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/alert.rb#L27) android
|
2344
2344
|
|
2345
2345
|
> def alert_dismiss
|
2346
2346
|
|
@@ -2353,7 +2353,7 @@ __Returns:__
|
|
2353
2353
|
|
2354
2354
|
--
|
2355
2355
|
|
2356
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2356
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/alert.rb#L34) android
|
2357
2357
|
|
2358
2358
|
> def alert_dismiss_text
|
2359
2359
|
|
@@ -2366,7 +2366,7 @@ __Returns:__
|
|
2366
2366
|
|
2367
2367
|
--
|
2368
2368
|
|
2369
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2369
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L4) android
|
2370
2370
|
|
2371
2371
|
> Button = 'android.widget.Button'.freeze
|
2372
2372
|
|
@@ -2374,7 +2374,7 @@ __Returns:__
|
|
2374
2374
|
|
2375
2375
|
--
|
2376
2376
|
|
2377
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2377
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L5) android
|
2378
2378
|
|
2379
2379
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2380
2380
|
|
@@ -2382,7 +2382,7 @@ __Returns:__
|
|
2382
2382
|
|
2383
2383
|
--
|
2384
2384
|
|
2385
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2385
|
+
##### [button](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L43) android
|
2386
2386
|
|
2387
2387
|
> def button(value)
|
2388
2388
|
|
@@ -2399,7 +2399,7 @@ __Returns:__
|
|
2399
2399
|
|
2400
2400
|
--
|
2401
2401
|
|
2402
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2402
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L60) android
|
2403
2403
|
|
2404
2404
|
> def buttons(value = false)
|
2405
2405
|
|
@@ -2416,7 +2416,7 @@ __Returns:__
|
|
2416
2416
|
|
2417
2417
|
--
|
2418
2418
|
|
2419
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2419
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L67) android
|
2420
2420
|
|
2421
2421
|
> def first_button
|
2422
2422
|
|
@@ -2428,7 +2428,7 @@ __Returns:__
|
|
2428
2428
|
|
2429
2429
|
--
|
2430
2430
|
|
2431
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2431
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L73) android
|
2432
2432
|
|
2433
2433
|
> def last_button
|
2434
2434
|
|
@@ -2440,7 +2440,7 @@ __Returns:__
|
|
2440
2440
|
|
2441
2441
|
--
|
2442
2442
|
|
2443
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2443
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L89) android
|
2444
2444
|
|
2445
2445
|
> def button_exact(value)
|
2446
2446
|
|
@@ -2456,7 +2456,7 @@ __Returns:__
|
|
2456
2456
|
|
2457
2457
|
--
|
2458
2458
|
|
2459
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/button.rb#L96) android
|
2460
2460
|
|
2461
2461
|
> def buttons_exact(value)
|
2462
2462
|
|
@@ -2472,7 +2472,7 @@ __Returns:__
|
|
2472
2472
|
|
2473
2473
|
--
|
2474
2474
|
|
2475
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2475
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2476
2476
|
|
2477
2477
|
> def uiautomator_find
|
2478
2478
|
|
@@ -2484,7 +2484,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2484
2484
|
|
2485
2485
|
--
|
2486
2486
|
|
2487
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2487
|
+
##### [find](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/generic.rb#L6) android
|
2488
2488
|
|
2489
2489
|
> def find(value)
|
2490
2490
|
|
@@ -2500,7 +2500,7 @@ __Returns:__
|
|
2500
2500
|
|
2501
2501
|
--
|
2502
2502
|
|
2503
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2503
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/generic.rb#L13) android
|
2504
2504
|
|
2505
2505
|
> def finds(value)
|
2506
2506
|
|
@@ -2516,7 +2516,7 @@ __Returns:__
|
|
2516
2516
|
|
2517
2517
|
--
|
2518
2518
|
|
2519
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2519
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/generic.rb#L20) android
|
2520
2520
|
|
2521
2521
|
> def find_exact(value)
|
2522
2522
|
|
@@ -2532,7 +2532,7 @@ __Returns:__
|
|
2532
2532
|
|
2533
2533
|
--
|
2534
2534
|
|
2535
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2535
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/generic.rb#L27) android
|
2536
2536
|
|
2537
2537
|
> def finds_exact(value)
|
2538
2538
|
|
@@ -2548,7 +2548,7 @@ __Returns:__
|
|
2548
2548
|
|
2549
2549
|
--
|
2550
2550
|
|
2551
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2551
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/generic.rb#L39) android
|
2552
2552
|
|
2553
2553
|
> def scroll_to(text)
|
2554
2554
|
|
@@ -2564,7 +2564,7 @@ __Returns:__
|
|
2564
2564
|
|
2565
2565
|
--
|
2566
2566
|
|
2567
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2567
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/generic.rb#L51) android
|
2568
2568
|
|
2569
2569
|
> def scroll_to_exact(text)
|
2570
2570
|
|
@@ -2580,7 +2580,7 @@ __Returns:__
|
|
2580
2580
|
|
2581
2581
|
--
|
2582
2582
|
|
2583
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2583
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/textfield.rb#L3) android
|
2584
2584
|
|
2585
2585
|
> EditText = 'android.widget.EditText'.freeze
|
2586
2586
|
|
@@ -2588,7 +2588,7 @@ __Returns:__
|
|
2588
2588
|
|
2589
2589
|
--
|
2590
2590
|
|
2591
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2591
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/textfield.rb#L9) android
|
2592
2592
|
|
2593
2593
|
> def textfield(value)
|
2594
2594
|
|
@@ -2605,7 +2605,7 @@ __Returns:__
|
|
2605
2605
|
|
2606
2606
|
--
|
2607
2607
|
|
2608
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2608
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/textfield.rb#L18) android
|
2609
2609
|
|
2610
2610
|
> def textfields(value = false)
|
2611
2611
|
|
@@ -2622,7 +2622,7 @@ __Returns:__
|
|
2622
2622
|
|
2623
2623
|
--
|
2624
2624
|
|
2625
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2625
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/textfield.rb#L25) android
|
2626
2626
|
|
2627
2627
|
> def first_textfield
|
2628
2628
|
|
@@ -2634,7 +2634,7 @@ __Returns:__
|
|
2634
2634
|
|
2635
2635
|
--
|
2636
2636
|
|
2637
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2637
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/textfield.rb#L31) android
|
2638
2638
|
|
2639
2639
|
> def last_textfield
|
2640
2640
|
|
@@ -2646,7 +2646,7 @@ __Returns:__
|
|
2646
2646
|
|
2647
2647
|
--
|
2648
2648
|
|
2649
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2649
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/textfield.rb#L38) android
|
2650
2650
|
|
2651
2651
|
> def textfield_exact(value)
|
2652
2652
|
|
@@ -2662,7 +2662,7 @@ __Returns:__
|
|
2662
2662
|
|
2663
2663
|
--
|
2664
2664
|
|
2665
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2665
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/android/element/textfield.rb#L45) android
|
2666
2666
|
|
2667
2667
|
> def textfields_exact(value)
|
2668
2668
|
|
@@ -2678,7 +2678,7 @@ __Returns:__
|
|
2678
2678
|
|
2679
2679
|
--
|
2680
2680
|
|
2681
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2681
|
+
##### [value](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/patch.rb#L12)
|
2682
2682
|
|
2683
2683
|
> def value
|
2684
2684
|
|
@@ -2688,7 +2688,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2688
2688
|
|
2689
2689
|
--
|
2690
2690
|
|
2691
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2691
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/patch.rb#L19)
|
2692
2692
|
|
2693
2693
|
> def name
|
2694
2694
|
|
@@ -2698,7 +2698,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2698
2698
|
|
2699
2699
|
--
|
2700
2700
|
|
2701
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2701
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/patch.rb#L31)
|
2702
2702
|
|
2703
2703
|
> def location_rel
|
2704
2704
|
|
@@ -2716,7 +2716,7 @@ __Returns:__
|
|
2716
2716
|
|
2717
2717
|
--
|
2718
2718
|
|
2719
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2719
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/patch.rb#L152)
|
2720
2720
|
|
2721
2721
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2722
2722
|
|
@@ -2724,7 +2724,7 @@ __Returns:__
|
|
2724
2724
|
|
2725
2725
|
--
|
2726
2726
|
|
2727
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2727
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/6e199aeee8b2d5249b0962a8439a5938dd641613/lib/appium_lib/common/patch.rb#L155)
|
2728
2728
|
|
2729
2729
|
> def patch_remote_driver_commands
|
2730
2730
|
|