appium_lib 9.3.5 → 9.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/docs/android_docs.md +237 -229
- data/docs/ios_docs.md +256 -248
- data/ios_tests/lib/ios/specs/common/command.rb +1 -0
- data/lib/appium_lib/common/command.rb +2 -1
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +10 -0
- data/release_notes.md +9 -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: e4cff36a307550c294892c97a87ee799de1ecaf2
|
4
|
+
data.tar.gz: 18b19ff70d97621f6e820f3702f4969ce6c9c447
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4398a77ea7f6374f44441f6535a0da833cd023a81fdec6c1b4c74dc7845c011d374c05b16f993021771a040d07b9f2d9e09214f0dda118106ee881bfe58b8ec4
|
7
|
+
data.tar.gz: fbcbd08135646904d8927017a2f84a05e2004f6d553e6b1ef1c59561815d9643dae6ae24b7474e16dd7670297cc0c0ede34cc7bc394310c5121729764cf455ef
|
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.6
|
7
|
+
### 1. Enhancements
|
8
|
+
- Add toggle touch id enrollment [#521](https://github.com/appium/ruby_lib/pull/521)
|
9
|
+
|
10
|
+
### 2. Bug fixes
|
11
|
+
|
12
|
+
### 3. Deprecations
|
13
|
+
|
6
14
|
## v9.3.5
|
7
15
|
### 1. Enhancements
|
8
16
|
- add some commands for Android and class chain for iOS [#513](https://github.com/appium/ruby_lib/issues/513)
|
@@ -65,7 +73,7 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
65
73
|
## v9.3.0
|
66
74
|
### 1. Enhancements
|
67
75
|
- wait / wait_true need global defaults [#250](https://github.com/appium/ruby_lib/issues/250)
|
68
|
-
- You can set default value in `appium_lib`
|
76
|
+
- You can set default value in `appium_lib`
|
69
77
|
- e.g.: [lib/appium_lib/driver.rb](https://github.com/appium/ruby_lib/blob/34803ef6b7b94df9ef4e147ba8fec5c1d2cfaada/lib/appium_lib/driver.rb#L341-L351)
|
70
78
|
- Problem with delta_x/delta_y in swipe method [#461](https://github.com/appium/ruby_lib/issues/461)
|
71
79
|
- Revert _fix arguments for `move_to` in `swipe` method._ in Appium v8.2.1
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/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_status](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L302)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L304)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L304)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L306)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L306)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L309)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L312)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L317)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L322)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L362)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L440)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L465)
|
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/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L471)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L478)
|
464
464
|
|
465
465
|
> def check_server_version_xcuitest
|
466
466
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L497)
|
477
477
|
|
478
478
|
> def appium_server_version
|
479
479
|
|
@@ -494,7 +494,7 @@ __Returns:__
|
|
494
494
|
|
495
495
|
--
|
496
496
|
|
497
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
497
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L510)
|
498
498
|
|
499
499
|
> def appium_client_version
|
500
500
|
|
@@ -512,7 +512,7 @@ __Returns:__
|
|
512
512
|
|
513
513
|
--
|
514
514
|
|
515
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
515
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L522)
|
516
516
|
|
517
517
|
> def self.absolute_app_path(opts)
|
518
518
|
|
@@ -529,7 +529,7 @@ __Returns:__
|
|
529
529
|
|
530
530
|
--
|
531
531
|
|
532
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
532
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L555)
|
533
533
|
|
534
534
|
> def server_url
|
535
535
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L566)
|
545
545
|
|
546
546
|
> def restart
|
547
547
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
553
553
|
|
554
554
|
--
|
555
555
|
|
556
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L577)
|
557
557
|
|
558
558
|
> def screenshot(png_save_path)
|
559
559
|
|
@@ -571,7 +571,7 @@ __Returns:__
|
|
571
571
|
|
572
572
|
--
|
573
573
|
|
574
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L584)
|
575
575
|
|
576
576
|
> def driver_quit
|
577
577
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
583
583
|
|
584
584
|
--
|
585
585
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L594)
|
587
587
|
|
588
588
|
> def start_driver
|
589
589
|
|
@@ -595,7 +595,7 @@ __Returns:__
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L632)
|
599
599
|
|
600
600
|
> def no_wait
|
601
601
|
|
@@ -603,7 +603,7 @@ Set implicit wait to zero.
|
|
603
603
|
|
604
604
|
--
|
605
605
|
|
606
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L646)
|
607
607
|
|
608
608
|
> def set_wait(timeout = nil)
|
609
609
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L663)
|
629
629
|
|
630
630
|
> def exists(pre_check = 0, post_check = @default_wait)
|
631
631
|
|
@@ -649,7 +649,7 @@ __Returns:__
|
|
649
649
|
|
650
650
|
--
|
651
651
|
|
652
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
652
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L687)
|
653
653
|
|
654
654
|
> def execute_script(script, *args)
|
655
655
|
|
@@ -667,7 +667,7 @@ __Returns:__
|
|
667
667
|
|
668
668
|
--
|
669
669
|
|
670
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L695)
|
671
671
|
|
672
672
|
> def find_elements(*args)
|
673
673
|
|
@@ -683,7 +683,7 @@ __Returns:__
|
|
683
683
|
|
684
684
|
--
|
685
685
|
|
686
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
686
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L703)
|
687
687
|
|
688
688
|
> def find_element(*args)
|
689
689
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L716)
|
703
703
|
|
704
704
|
> def set_location(opts = {})
|
705
705
|
|
@@ -715,7 +715,7 @@ __Returns:__
|
|
715
715
|
|
716
716
|
--
|
717
717
|
|
718
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
718
|
+
##### [x](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L726)
|
719
719
|
|
720
720
|
> def x
|
721
721
|
|
@@ -728,7 +728,7 @@ __Returns:__
|
|
728
728
|
|
729
729
|
--
|
730
730
|
|
731
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
731
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/driver.rb#L735)
|
732
732
|
|
733
733
|
> def set_automation_name_if_nil
|
734
734
|
|
@@ -737,7 +737,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
737
737
|
|
738
738
|
--
|
739
739
|
|
740
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/logger.rb#L13)
|
741
741
|
|
742
742
|
> def logger=(value)
|
743
743
|
|
@@ -749,7 +749,7 @@ __Parameters:__
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/logger.rb#L17)
|
753
753
|
|
754
754
|
> def logger
|
755
755
|
|
@@ -757,7 +757,7 @@ __Parameters:__
|
|
757
757
|
|
758
758
|
--
|
759
759
|
|
760
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L7)
|
761
761
|
|
762
762
|
> def app_strings
|
763
763
|
|
@@ -768,7 +768,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
768
768
|
|
769
769
|
--
|
770
770
|
|
771
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L13)
|
772
772
|
|
773
773
|
> def background_app
|
774
774
|
|
@@ -777,7 +777,7 @@ This is a blocking application
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L24)
|
781
781
|
|
782
782
|
> def current_activity
|
783
783
|
|
@@ -785,7 +785,7 @@ This is a blocking application
|
|
785
785
|
|
786
786
|
--
|
787
787
|
|
788
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L26)
|
789
789
|
|
790
790
|
> def get_system_bars
|
791
791
|
|
@@ -800,7 +800,7 @@ __Returns:__
|
|
800
800
|
|
801
801
|
--
|
802
802
|
|
803
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
803
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L34)
|
804
804
|
|
805
805
|
> def get_display_density
|
806
806
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L42)
|
819
819
|
|
820
820
|
> def is_keyboard_shown
|
821
821
|
|
@@ -830,7 +830,7 @@ __Returns:__
|
|
830
830
|
|
831
831
|
--
|
832
832
|
|
833
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
833
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L50)
|
834
834
|
|
835
835
|
> def launch_app
|
836
836
|
|
@@ -838,7 +838,7 @@ Start the simulator and application configured with desired capabilities
|
|
838
838
|
|
839
839
|
--
|
840
840
|
|
841
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
841
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L53)
|
842
842
|
|
843
843
|
> def reset
|
844
844
|
|
@@ -846,7 +846,7 @@ Reset the device, relaunching the application.
|
|
846
846
|
|
847
847
|
--
|
848
848
|
|
849
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L56)
|
850
850
|
|
851
851
|
> def shake
|
852
852
|
|
@@ -854,7 +854,7 @@ Cause the device to shake
|
|
854
854
|
|
855
855
|
--
|
856
856
|
|
857
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
857
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L59)
|
858
858
|
|
859
859
|
> def toggle_flight_mode
|
860
860
|
|
@@ -862,7 +862,7 @@ Toggle flight mode on or off
|
|
862
862
|
|
863
863
|
--
|
864
864
|
|
865
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
865
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L62)
|
866
866
|
|
867
867
|
> def device_locked?
|
868
868
|
|
@@ -870,7 +870,7 @@ Toggle flight mode on or off
|
|
870
870
|
|
871
871
|
--
|
872
872
|
|
873
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L64)
|
874
874
|
|
875
875
|
> def hide_keyboard
|
876
876
|
|
@@ -883,7 +883,7 @@ Defaults to 'Done'.
|
|
883
883
|
|
884
884
|
--
|
885
885
|
|
886
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
886
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L73)
|
887
887
|
|
888
888
|
> def press_keycode
|
889
889
|
|
@@ -898,7 +898,7 @@ __Parameters:__
|
|
898
898
|
|
899
899
|
--
|
900
900
|
|
901
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
901
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L79)
|
902
902
|
|
903
903
|
> def long_press_keycode
|
904
904
|
|
@@ -913,7 +913,7 @@ __Parameters:__
|
|
913
913
|
|
914
914
|
--
|
915
915
|
|
916
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
916
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L85)
|
917
917
|
|
918
918
|
> def push_file
|
919
919
|
|
@@ -927,7 +927,7 @@ __Parameters:__
|
|
927
927
|
|
928
928
|
--
|
929
929
|
|
930
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
930
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L90)
|
931
931
|
|
932
932
|
> def pull_file
|
933
933
|
|
@@ -944,7 +944,7 @@ __Parameters:__
|
|
944
944
|
|
945
945
|
--
|
946
946
|
|
947
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L100)
|
948
948
|
|
949
949
|
> def pull_folder
|
950
950
|
|
@@ -959,7 +959,7 @@ __Parameters:__
|
|
959
959
|
|
960
960
|
--
|
961
961
|
|
962
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
962
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L108)
|
963
963
|
|
964
964
|
> def touch_id
|
965
965
|
|
@@ -976,7 +976,15 @@ Defaults to true.
|
|
976
976
|
|
977
977
|
--
|
978
978
|
|
979
|
-
##### [
|
979
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L117)
|
980
|
+
|
981
|
+
> def toggle_touch_id_enrollment
|
982
|
+
|
983
|
+
iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
984
|
+
|
985
|
+
--
|
986
|
+
|
987
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L120)
|
980
988
|
|
981
989
|
> def end_coverage
|
982
990
|
|
@@ -990,7 +998,7 @@ __Parameters:__
|
|
990
998
|
|
991
999
|
--
|
992
1000
|
|
993
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L125)
|
994
1002
|
|
995
1003
|
> def get_settings
|
996
1004
|
|
@@ -998,7 +1006,7 @@ Get appium Settings for current test session
|
|
998
1006
|
|
999
1007
|
--
|
1000
1008
|
|
1001
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L128)
|
1002
1010
|
|
1003
1011
|
> def update_settings
|
1004
1012
|
|
@@ -1010,7 +1018,7 @@ __Parameters:__
|
|
1010
1018
|
|
1011
1019
|
--
|
1012
1020
|
|
1013
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1021
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L132)
|
1014
1022
|
|
1015
1023
|
> def start_activity
|
1016
1024
|
|
@@ -1024,7 +1032,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1024
1032
|
|
1025
1033
|
--
|
1026
1034
|
|
1027
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L146)
|
1028
1036
|
|
1029
1037
|
> def get_network_connection
|
1030
1038
|
|
@@ -1033,7 +1041,7 @@ See set_network_connection method for return value
|
|
1033
1041
|
|
1034
1042
|
--
|
1035
1043
|
|
1036
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1044
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L150)
|
1037
1045
|
|
1038
1046
|
> def set_network_connection
|
1039
1047
|
|
@@ -1052,7 +1060,7 @@ __Parameters:__
|
|
1052
1060
|
|
1053
1061
|
--
|
1054
1062
|
|
1055
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L163)
|
1056
1064
|
|
1057
1065
|
> def set_immediate_value
|
1058
1066
|
|
@@ -1066,7 +1074,7 @@ set_immediate_value element, 'hello'
|
|
1066
1074
|
|
1067
1075
|
--
|
1068
1076
|
|
1069
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1077
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L172)
|
1070
1078
|
|
1071
1079
|
> def get_performance_data_types
|
1072
1080
|
|
@@ -1080,7 +1088,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1080
1088
|
|
1081
1089
|
--
|
1082
1090
|
|
1083
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1091
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L434)
|
1084
1092
|
|
1085
1093
|
> def extend_search_contexts
|
1086
1094
|
|
@@ -1088,7 +1096,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1088
1096
|
|
1089
1097
|
--
|
1090
1098
|
|
1091
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1099
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L434)
|
1092
1100
|
|
1093
1101
|
> def find_element
|
1094
1102
|
|
@@ -1096,7 +1104,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1096
1104
|
|
1097
1105
|
--
|
1098
1106
|
|
1099
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L434)
|
1100
1108
|
|
1101
1109
|
> def find_elements
|
1102
1110
|
|
@@ -1108,7 +1116,7 @@ find_element/s with their accessibility_id
|
|
1108
1116
|
|
1109
1117
|
--
|
1110
1118
|
|
1111
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L465)
|
1112
1120
|
|
1113
1121
|
> def add_touch_actions
|
1114
1122
|
|
@@ -1116,7 +1124,7 @@ find_element/s with their accessibility_id
|
|
1116
1124
|
|
1117
1125
|
--
|
1118
1126
|
|
1119
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L488)
|
1120
1128
|
|
1121
1129
|
> def add_ime_actions
|
1122
1130
|
|
@@ -1124,7 +1132,7 @@ find_element/s with their accessibility_id
|
|
1124
1132
|
|
1125
1133
|
--
|
1126
1134
|
|
1127
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L563)
|
1128
1136
|
|
1129
1137
|
> def set_context
|
1130
1138
|
|
@@ -1139,7 +1147,7 @@ __Parameters:__
|
|
1139
1147
|
|
1140
1148
|
--
|
1141
1149
|
|
1142
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1150
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L571)
|
1143
1151
|
|
1144
1152
|
> def current_context
|
1145
1153
|
|
@@ -1151,7 +1159,7 @@ __Returns:__
|
|
1151
1159
|
|
1152
1160
|
--
|
1153
1161
|
|
1154
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L574)
|
1155
1163
|
|
1156
1164
|
> def available_contexts
|
1157
1165
|
|
@@ -1163,7 +1171,7 @@ __Returns:__
|
|
1163
1171
|
|
1164
1172
|
--
|
1165
1173
|
|
1166
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L584)
|
1167
1175
|
|
1168
1176
|
> def within_context(context)
|
1169
1177
|
|
@@ -1179,7 +1187,7 @@ __Parameters:__
|
|
1179
1187
|
|
1180
1188
|
--
|
1181
1189
|
|
1182
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1190
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/device.rb#L592)
|
1183
1191
|
|
1184
1192
|
> def switch_to_default_context
|
1185
1193
|
|
@@ -1187,7 +1195,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1187
1195
|
|
1188
1196
|
--
|
1189
1197
|
|
1190
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1198
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L28)
|
1191
1199
|
|
1192
1200
|
> def pinch(percentage = 25, auto_perform = true)
|
1193
1201
|
|
@@ -1206,7 +1214,7 @@ __Parameters:__
|
|
1206
1214
|
|
1207
1215
|
--
|
1208
1216
|
|
1209
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L57)
|
1210
1218
|
|
1211
1219
|
> def zoom(percentage = 200, auto_perform = true)
|
1212
1220
|
|
@@ -1225,7 +1233,7 @@ __Parameters:__
|
|
1225
1233
|
|
1226
1234
|
--
|
1227
1235
|
|
1228
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1236
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L79)
|
1229
1237
|
|
1230
1238
|
> def pinch_for_xcuitest(rate)
|
1231
1239
|
|
@@ -1233,7 +1241,7 @@ __Parameters:__
|
|
1233
1241
|
|
1234
1242
|
--
|
1235
1243
|
|
1236
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L94)
|
1237
1245
|
|
1238
1246
|
> def pinch_android(rate)
|
1239
1247
|
|
@@ -1241,7 +1249,7 @@ __Parameters:__
|
|
1241
1249
|
|
1242
1250
|
--
|
1243
1251
|
|
1244
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L108)
|
1245
1253
|
|
1246
1254
|
> def pinch_ios(rate)
|
1247
1255
|
|
@@ -1249,7 +1257,7 @@ __Parameters:__
|
|
1249
1257
|
|
1250
1258
|
--
|
1251
1259
|
|
1252
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L122)
|
1253
1261
|
|
1254
1262
|
> def zoom_for_xcuitest(rate)
|
1255
1263
|
|
@@ -1257,7 +1265,7 @@ __Parameters:__
|
|
1257
1265
|
|
1258
1266
|
--
|
1259
1267
|
|
1260
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1268
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L137)
|
1261
1269
|
|
1262
1270
|
> def zoom_android(rate)
|
1263
1271
|
|
@@ -1265,7 +1273,7 @@ __Parameters:__
|
|
1265
1273
|
|
1266
1274
|
--
|
1267
1275
|
|
1268
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1276
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L151)
|
1269
1277
|
|
1270
1278
|
> def zoom_ios(rate)
|
1271
1279
|
|
@@ -1273,7 +1281,7 @@ __Parameters:__
|
|
1273
1281
|
|
1274
1282
|
--
|
1275
1283
|
|
1276
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L166)
|
1277
1285
|
|
1278
1286
|
> def actions
|
1279
1287
|
|
@@ -1281,7 +1289,7 @@ self
|
|
1281
1289
|
|
1282
1290
|
--
|
1283
1291
|
|
1284
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L169)
|
1285
1293
|
|
1286
1294
|
> def initialize
|
1287
1295
|
|
@@ -1293,7 +1301,7 @@ __Returns:__
|
|
1293
1301
|
|
1294
1302
|
--
|
1295
1303
|
|
1296
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [add](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L175)
|
1297
1305
|
|
1298
1306
|
> def add(chain)
|
1299
1307
|
|
@@ -1305,7 +1313,7 @@ __Parameters:__
|
|
1305
1313
|
|
1306
1314
|
--
|
1307
1315
|
|
1308
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/multi_touch.rb#L180)
|
1309
1317
|
|
1310
1318
|
> def perform
|
1311
1319
|
|
@@ -1313,7 +1321,7 @@ Ask Appium to perform the actions
|
|
1313
1321
|
|
1314
1322
|
--
|
1315
1323
|
|
1316
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L20)
|
1317
1325
|
|
1318
1326
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1319
1327
|
|
@@ -1321,7 +1329,7 @@ Ask Appium to perform the actions
|
|
1321
1329
|
|
1322
1330
|
--
|
1323
1331
|
|
1324
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1332
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L21)
|
1325
1333
|
|
1326
1334
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1327
1335
|
|
@@ -1329,7 +1337,7 @@ Ask Appium to perform the actions
|
|
1329
1337
|
|
1330
1338
|
--
|
1331
1339
|
|
1332
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L35)
|
1333
1341
|
|
1334
1342
|
> def actions
|
1335
1343
|
|
@@ -1337,7 +1345,7 @@ Returns the value of attribute actions
|
|
1337
1345
|
|
1338
1346
|
--
|
1339
1347
|
|
1340
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L37)
|
1341
1349
|
|
1342
1350
|
> def initialize
|
1343
1351
|
|
@@ -1349,7 +1357,7 @@ __Returns:__
|
|
1349
1357
|
|
1350
1358
|
--
|
1351
1359
|
|
1352
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L48)
|
1353
1361
|
|
1354
1362
|
> def move_to(opts)
|
1355
1363
|
|
@@ -1363,7 +1371,7 @@ __Parameters:__
|
|
1363
1371
|
|
1364
1372
|
--
|
1365
1373
|
|
1366
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L62)
|
1367
1375
|
|
1368
1376
|
> def long_press(opts)
|
1369
1377
|
|
@@ -1384,7 +1392,7 @@ __Parameters:__
|
|
1384
1392
|
|
1385
1393
|
--
|
1386
1394
|
|
1387
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [press](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L74)
|
1388
1396
|
|
1389
1397
|
> def press(opts)
|
1390
1398
|
|
@@ -1397,7 +1405,7 @@ __Parameters:__
|
|
1397
1405
|
|
1398
1406
|
--
|
1399
1407
|
|
1400
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1408
|
+
##### [release](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L85)
|
1401
1409
|
|
1402
1410
|
> def release(opts = nil)
|
1403
1411
|
|
@@ -1409,7 +1417,7 @@ __Parameters:__
|
|
1409
1417
|
|
1410
1418
|
--
|
1411
1419
|
|
1412
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L97)
|
1413
1421
|
|
1414
1422
|
> def tap(opts)
|
1415
1423
|
|
@@ -1422,7 +1430,7 @@ __Parameters:__
|
|
1422
1430
|
|
1423
1431
|
--
|
1424
1432
|
|
1425
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L110)
|
1426
1434
|
|
1427
1435
|
> def double_tap(opts)
|
1428
1436
|
|
@@ -1434,7 +1442,7 @@ __Parameters:__
|
|
1434
1442
|
|
1435
1443
|
--
|
1436
1444
|
|
1437
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L121)
|
1438
1446
|
|
1439
1447
|
> def two_finger_tap(opts)
|
1440
1448
|
|
@@ -1446,7 +1454,7 @@ __Parameters:__
|
|
1446
1454
|
|
1447
1455
|
--
|
1448
1456
|
|
1449
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L129)
|
1450
1458
|
|
1451
1459
|
> def wait(milliseconds)
|
1452
1460
|
|
@@ -1458,7 +1466,7 @@ __Parameters:__
|
|
1458
1466
|
|
1459
1467
|
--
|
1460
1468
|
|
1461
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L152)
|
1462
1470
|
|
1463
1471
|
> def swipe(opts, ele = nil)
|
1464
1472
|
|
@@ -1479,7 +1487,7 @@ __Parameters:__
|
|
1479
1487
|
|
1480
1488
|
--
|
1481
1489
|
|
1482
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1490
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L177)
|
1483
1491
|
|
1484
1492
|
> def perform
|
1485
1493
|
|
@@ -1487,7 +1495,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1487
1495
|
|
1488
1496
|
--
|
1489
1497
|
|
1490
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1498
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L184)
|
1491
1499
|
|
1492
1500
|
> def cancel
|
1493
1501
|
|
@@ -1495,7 +1503,7 @@ Does nothing, currently.
|
|
1495
1503
|
|
1496
1504
|
--
|
1497
1505
|
|
1498
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1506
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L190)
|
1499
1507
|
|
1500
1508
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1501
1509
|
|
@@ -1503,7 +1511,7 @@ Does nothing, currently.
|
|
1503
1511
|
|
1504
1512
|
--
|
1505
1513
|
|
1506
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1514
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L208)
|
1507
1515
|
|
1508
1516
|
> def chain_method(method, args = nil)
|
1509
1517
|
|
@@ -1511,7 +1519,7 @@ Does nothing, currently.
|
|
1511
1519
|
|
1512
1520
|
--
|
1513
1521
|
|
1514
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1522
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/device/touch_actions.rb#L214)
|
1515
1523
|
|
1516
1524
|
> def args_with_ele_ref(args)
|
1517
1525
|
|
@@ -1519,7 +1527,7 @@ Does nothing, currently.
|
|
1519
1527
|
|
1520
1528
|
--
|
1521
1529
|
|
1522
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1530
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L9)
|
1523
1531
|
|
1524
1532
|
> def _generic_wait(opts = {})
|
1525
1533
|
|
@@ -1528,7 +1536,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1528
1536
|
|
1529
1537
|
--
|
1530
1538
|
|
1531
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L48)
|
1532
1540
|
|
1533
1541
|
> def _process_wait_opts(opts)
|
1534
1542
|
|
@@ -1536,7 +1544,7 @@ process opts before calling _generic_wait
|
|
1536
1544
|
|
1537
1545
|
--
|
1538
1546
|
|
1539
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L69)
|
1540
1548
|
|
1541
1549
|
> def wait_true(opts = {}, &block)
|
1542
1550
|
|
@@ -1556,7 +1564,7 @@ __Parameters:__
|
|
1556
1564
|
|
1557
1565
|
--
|
1558
1566
|
|
1559
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/wait.rb#L87)
|
1560
1568
|
|
1561
1569
|
> def wait(opts = {}, &block)
|
1562
1570
|
|
@@ -1574,7 +1582,7 @@ __Parameters:__
|
|
1574
1582
|
|
1575
1583
|
--
|
1576
1584
|
|
1577
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1585
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L24)
|
1578
1586
|
|
1579
1587
|
> def ignore
|
1580
1588
|
|
@@ -1582,7 +1590,7 @@ Return yield and ignore any exceptions.
|
|
1582
1590
|
|
1583
1591
|
--
|
1584
1592
|
|
1585
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1593
|
+
##### [back](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L31)
|
1586
1594
|
|
1587
1595
|
> def back
|
1588
1596
|
|
@@ -1594,7 +1602,7 @@ __Returns:__
|
|
1594
1602
|
|
1595
1603
|
--
|
1596
1604
|
|
1597
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1605
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L36)
|
1598
1606
|
|
1599
1607
|
> def session_id
|
1600
1608
|
|
@@ -1602,7 +1610,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1602
1610
|
|
1603
1611
|
--
|
1604
1612
|
|
1605
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1613
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L44)
|
1606
1614
|
|
1607
1615
|
> def xpath(xpath_str)
|
1608
1616
|
|
@@ -1618,7 +1626,7 @@ __Returns:__
|
|
1618
1626
|
|
1619
1627
|
--
|
1620
1628
|
|
1621
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1629
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L52)
|
1622
1630
|
|
1623
1631
|
> def xpaths(xpath_str)
|
1624
1632
|
|
@@ -1634,7 +1642,7 @@ __Returns:__
|
|
1634
1642
|
|
1635
1643
|
--
|
1636
1644
|
|
1637
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1645
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L56)
|
1638
1646
|
|
1639
1647
|
> def _print_source(source)
|
1640
1648
|
|
@@ -1642,7 +1650,7 @@ __Returns:__
|
|
1642
1650
|
|
1643
1651
|
--
|
1644
1652
|
|
1645
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [result](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L69)
|
1646
1654
|
|
1647
1655
|
> def result
|
1648
1656
|
|
@@ -1650,7 +1658,7 @@ Returns the value of attribute result
|
|
1650
1658
|
|
1651
1659
|
--
|
1652
1660
|
|
1653
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1661
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L71)
|
1654
1662
|
|
1655
1663
|
> def initialize
|
1656
1664
|
|
@@ -1662,7 +1670,7 @@ __Returns:__
|
|
1662
1670
|
|
1663
1671
|
--
|
1664
1672
|
|
1665
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L75)
|
1666
1674
|
|
1667
1675
|
> def reset
|
1668
1676
|
|
@@ -1670,7 +1678,7 @@ __Returns:__
|
|
1670
1678
|
|
1671
1679
|
--
|
1672
1680
|
|
1673
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1681
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L80)
|
1674
1682
|
|
1675
1683
|
> def start_element(name, attrs = [])
|
1676
1684
|
|
@@ -1678,7 +1686,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1678
1686
|
|
1679
1687
|
--
|
1680
1688
|
|
1681
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1689
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L86)
|
1682
1690
|
|
1683
1691
|
> def formatted_result
|
1684
1692
|
|
@@ -1686,7 +1694,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1686
1694
|
|
1687
1695
|
--
|
1688
1696
|
|
1689
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1697
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L97)
|
1690
1698
|
|
1691
1699
|
> def get_page_class
|
1692
1700
|
|
@@ -1694,7 +1702,7 @@ Returns a string of class counts of visible elements.
|
|
1694
1702
|
|
1695
1703
|
--
|
1696
1704
|
|
1697
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L108)
|
1698
1706
|
|
1699
1707
|
> def page_class
|
1700
1708
|
|
@@ -1703,7 +1711,7 @@ Useful for appium_console.
|
|
1703
1711
|
|
1704
1712
|
--
|
1705
1713
|
|
1706
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1714
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L118)
|
1707
1715
|
|
1708
1716
|
> def px_to_window_rel(opts = {})
|
1709
1717
|
|
@@ -1715,7 +1723,7 @@ px_to_window_rel x: 50, y: 150
|
|
1715
1723
|
|
1716
1724
|
--
|
1717
1725
|
|
1718
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1726
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L137)
|
1719
1727
|
|
1720
1728
|
> def xml_keys(target)
|
1721
1729
|
|
@@ -1731,7 +1739,7 @@ __Returns:__
|
|
1731
1739
|
|
1732
1740
|
--
|
1733
1741
|
|
1734
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1742
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L145)
|
1735
1743
|
|
1736
1744
|
> def xml_values(target)
|
1737
1745
|
|
@@ -1747,7 +1755,7 @@ __Returns:__
|
|
1747
1755
|
|
1748
1756
|
--
|
1749
1757
|
|
1750
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1758
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L153)
|
1751
1759
|
|
1752
1760
|
> def resolve_id(id)
|
1753
1761
|
|
@@ -1763,7 +1771,7 @@ __Returns:__
|
|
1763
1771
|
|
1764
1772
|
--
|
1765
1773
|
|
1766
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1774
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L159)
|
1767
1775
|
|
1768
1776
|
> def filter
|
1769
1777
|
|
@@ -1771,7 +1779,7 @@ Returns the value of attribute filter
|
|
1771
1779
|
|
1772
1780
|
--
|
1773
1781
|
|
1774
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1782
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L162)
|
1775
1783
|
|
1776
1784
|
> def filter=(value)
|
1777
1785
|
|
@@ -1779,7 +1787,7 @@ convert to string to support symbols
|
|
1779
1787
|
|
1780
1788
|
--
|
1781
1789
|
|
1782
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1790
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L168)
|
1783
1791
|
|
1784
1792
|
> def initialize
|
1785
1793
|
|
@@ -1791,7 +1799,7 @@ __Returns:__
|
|
1791
1799
|
|
1792
1800
|
--
|
1793
1801
|
|
1794
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1802
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L173)
|
1795
1803
|
|
1796
1804
|
> def reset
|
1797
1805
|
|
@@ -1799,7 +1807,7 @@ __Returns:__
|
|
1799
1807
|
|
1800
1808
|
--
|
1801
1809
|
|
1802
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1810
|
+
##### [result](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L179)
|
1803
1811
|
|
1804
1812
|
> def result
|
1805
1813
|
|
@@ -1807,7 +1815,7 @@ __Returns:__
|
|
1807
1815
|
|
1808
1816
|
--
|
1809
1817
|
|
1810
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1818
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L195)
|
1811
1819
|
|
1812
1820
|
> def start_element(name, attrs = [])
|
1813
1821
|
|
@@ -1815,7 +1823,7 @@ __Returns:__
|
|
1815
1823
|
|
1816
1824
|
--
|
1817
1825
|
|
1818
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1826
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L204)
|
1819
1827
|
|
1820
1828
|
> def end_element(name)
|
1821
1829
|
|
@@ -1823,7 +1831,7 @@ __Returns:__
|
|
1823
1831
|
|
1824
1832
|
--
|
1825
1833
|
|
1826
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1834
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L210)
|
1827
1835
|
|
1828
1836
|
> def characters(chars)
|
1829
1837
|
|
@@ -1831,7 +1839,7 @@ __Returns:__
|
|
1831
1839
|
|
1832
1840
|
--
|
1833
1841
|
|
1834
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1842
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/helper.rb#L217)
|
1835
1843
|
|
1836
1844
|
> def _no_such_element
|
1837
1845
|
|
@@ -1839,7 +1847,7 @@ __Returns:__
|
|
1839
1847
|
|
1840
1848
|
--
|
1841
1849
|
|
1842
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1850
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/command.rb#L4)
|
1843
1851
|
|
1844
1852
|
> COMMAND_NO_ARG = {
|
1845
1853
|
|
@@ -1847,7 +1855,7 @@ __Returns:__
|
|
1847
1855
|
|
1848
1856
|
--
|
1849
1857
|
|
1850
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1858
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/command.rb#L27)
|
1851
1859
|
|
1852
1860
|
> COMMAND = {
|
1853
1861
|
|
@@ -1855,7 +1863,7 @@ __Returns:__
|
|
1855
1863
|
|
1856
1864
|
--
|
1857
1865
|
|
1858
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1866
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/element/window.rb#L5)
|
1859
1867
|
|
1860
1868
|
> def window_size
|
1861
1869
|
|
@@ -1863,7 +1871,7 @@ Get the window's size
|
|
1863
1871
|
|
1864
1872
|
--
|
1865
1873
|
|
1866
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1874
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/search_context.rb#L5)
|
1867
1875
|
|
1868
1876
|
> FINDERS = {
|
1869
1877
|
|
@@ -1871,7 +1879,7 @@ rubocop:disable Style/MutableConstant
|
|
1871
1879
|
|
1872
1880
|
--
|
1873
1881
|
|
1874
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1882
|
+
##### [result](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L6) android
|
1875
1883
|
|
1876
1884
|
> def result
|
1877
1885
|
|
@@ -1879,7 +1887,7 @@ Returns the value of attribute result
|
|
1879
1887
|
|
1880
1888
|
--
|
1881
1889
|
|
1882
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1890
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L6) android
|
1883
1891
|
|
1884
1892
|
> def keys
|
1885
1893
|
|
@@ -1887,7 +1895,7 @@ Returns the value of attribute keys
|
|
1887
1895
|
|
1888
1896
|
--
|
1889
1897
|
|
1890
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1898
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L6) android
|
1891
1899
|
|
1892
1900
|
> def instance
|
1893
1901
|
|
@@ -1895,7 +1903,7 @@ Returns the value of attribute instance
|
|
1895
1903
|
|
1896
1904
|
--
|
1897
1905
|
|
1898
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1906
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L6) android
|
1899
1907
|
|
1900
1908
|
> def filter
|
1901
1909
|
|
@@ -1903,7 +1911,7 @@ Returns the value of attribute filter
|
|
1903
1911
|
|
1904
1912
|
--
|
1905
1913
|
|
1906
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1914
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L9) android
|
1907
1915
|
|
1908
1916
|
> def filter=(value)
|
1909
1917
|
|
@@ -1911,7 +1919,7 @@ convert to string to support symbols
|
|
1911
1919
|
|
1912
1920
|
--
|
1913
1921
|
|
1914
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1922
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L15) android
|
1915
1923
|
|
1916
1924
|
> def initialize
|
1917
1925
|
|
@@ -1923,7 +1931,7 @@ __Returns:__
|
|
1923
1931
|
|
1924
1932
|
--
|
1925
1933
|
|
1926
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1934
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L21) android
|
1927
1935
|
|
1928
1936
|
> def reset
|
1929
1937
|
|
@@ -1931,7 +1939,7 @@ __Returns:__
|
|
1931
1939
|
|
1932
1940
|
--
|
1933
1941
|
|
1934
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1942
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L28) android
|
1935
1943
|
|
1936
1944
|
> def start_element(name, attrs = [])
|
1937
1945
|
|
@@ -1939,7 +1947,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1939
1947
|
|
1940
1948
|
--
|
1941
1949
|
|
1942
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1950
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L88) android
|
1943
1951
|
|
1944
1952
|
> def _fix_android_native_source(source)
|
1945
1953
|
|
@@ -1949,7 +1957,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1949
1957
|
|
1950
1958
|
--
|
1951
1959
|
|
1952
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1960
|
+
##### [source](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L116) android
|
1953
1961
|
|
1954
1962
|
> def source
|
1955
1963
|
|
@@ -1961,7 +1969,7 @@ __Returns:__
|
|
1961
1969
|
|
1962
1970
|
--
|
1963
1971
|
|
1964
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1972
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L126) android
|
1965
1973
|
|
1966
1974
|
> def get_android_inspect(class_name = false)
|
1967
1975
|
|
@@ -1980,7 +1988,7 @@ __Returns:__
|
|
1980
1988
|
|
1981
1989
|
--
|
1982
1990
|
|
1983
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [page](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L152) android
|
1984
1992
|
|
1985
1993
|
> def page(opts = {})
|
1986
1994
|
|
@@ -1999,7 +2007,7 @@ __Returns:__
|
|
1999
2007
|
|
2000
2008
|
--
|
2001
2009
|
|
2002
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
2010
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L164) android
|
2003
2011
|
|
2004
2012
|
> def current_app
|
2005
2013
|
|
@@ -2009,7 +2017,7 @@ example line:
|
|
2009
2017
|
|
2010
2018
|
--
|
2011
2019
|
|
2012
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2020
|
+
##### [id](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L188) android
|
2013
2021
|
|
2014
2022
|
> def id(id)
|
2015
2023
|
|
@@ -2025,7 +2033,7 @@ __Returns:__
|
|
2025
2033
|
|
2026
2034
|
--
|
2027
2035
|
|
2028
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
2036
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L196) android
|
2029
2037
|
|
2030
2038
|
> def ids(id)
|
2031
2039
|
|
@@ -2041,7 +2049,7 @@ __Returns:__
|
|
2041
2049
|
|
2042
2050
|
--
|
2043
2051
|
|
2044
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2052
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L205) android
|
2045
2053
|
|
2046
2054
|
> def ele_index(class_name, index)
|
2047
2055
|
|
@@ -2059,7 +2067,7 @@ __Returns:__
|
|
2059
2067
|
|
2060
2068
|
--
|
2061
2069
|
|
2062
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2070
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L223) android
|
2063
2071
|
|
2064
2072
|
> def first_ele(class_name)
|
2065
2073
|
|
@@ -2075,7 +2083,7 @@ __Returns:__
|
|
2075
2083
|
|
2076
2084
|
--
|
2077
2085
|
|
2078
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2086
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L230) android
|
2079
2087
|
|
2080
2088
|
> def last_ele(class_name)
|
2081
2089
|
|
@@ -2091,7 +2099,7 @@ __Returns:__
|
|
2091
2099
|
|
2092
2100
|
--
|
2093
2101
|
|
2094
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2102
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L238) android
|
2095
2103
|
|
2096
2104
|
> def tag(class_name)
|
2097
2105
|
|
@@ -2107,7 +2115,7 @@ __Returns:__
|
|
2107
2115
|
|
2108
2116
|
--
|
2109
2117
|
|
2110
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2118
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L246) android
|
2111
2119
|
|
2112
2120
|
> def tags(class_name)
|
2113
2121
|
|
@@ -2123,7 +2131,7 @@ __Returns:__
|
|
2123
2131
|
|
2124
2132
|
--
|
2125
2133
|
|
2126
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2134
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L288) android
|
2127
2135
|
|
2128
2136
|
> def string_visible_contains(class_name, value)
|
2129
2137
|
|
@@ -2143,7 +2151,7 @@ __Returns:__
|
|
2143
2151
|
|
2144
2152
|
--
|
2145
2153
|
|
2146
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2154
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L308) android
|
2147
2155
|
|
2148
2156
|
> def complex_find_contains(element, value)
|
2149
2157
|
|
@@ -2161,7 +2169,7 @@ __Returns:__
|
|
2161
2169
|
|
2162
2170
|
--
|
2163
2171
|
|
2164
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2172
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L316) android
|
2165
2173
|
|
2166
2174
|
> def complex_finds_contains(element, value)
|
2167
2175
|
|
@@ -2179,7 +2187,7 @@ __Returns:__
|
|
2179
2187
|
|
2180
2188
|
--
|
2181
2189
|
|
2182
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2190
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L345) android
|
2183
2191
|
|
2184
2192
|
> def complex_find_exact(class_name, value)
|
2185
2193
|
|
@@ -2197,7 +2205,7 @@ __Returns:__
|
|
2197
2205
|
|
2198
2206
|
--
|
2199
2207
|
|
2200
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2208
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L353) android
|
2201
2209
|
|
2202
2210
|
> def complex_finds_exact(class_name, value)
|
2203
2211
|
|
@@ -2215,7 +2223,7 @@ __Returns:__
|
|
2215
2223
|
|
2216
2224
|
--
|
2217
2225
|
|
2218
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2226
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/helper.rb#L361) android
|
2219
2227
|
|
2220
2228
|
> def get_source
|
2221
2229
|
|
@@ -2229,7 +2237,7 @@ __Returns:__
|
|
2229
2237
|
|
2230
2238
|
--
|
2231
2239
|
|
2232
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2240
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/client_xpath.rb#L5) android
|
2233
2241
|
|
2234
2242
|
> def _nodeset_to_uiselector(opts = {})
|
2235
2243
|
|
@@ -2237,7 +2245,7 @@ __Returns:__
|
|
2237
2245
|
|
2238
2246
|
--
|
2239
2247
|
|
2240
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2248
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/client_xpath.rb#L20) android
|
2241
2249
|
|
2242
2250
|
> def _client_xpath(opts = {})
|
2243
2251
|
|
@@ -2245,7 +2253,7 @@ __Returns:__
|
|
2245
2253
|
|
2246
2254
|
--
|
2247
2255
|
|
2248
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2256
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/client_xpath.rb#L36) android
|
2249
2257
|
|
2250
2258
|
> def client_xpath(xpath)
|
2251
2259
|
|
@@ -2253,7 +2261,7 @@ __Returns:__
|
|
2253
2261
|
|
2254
2262
|
--
|
2255
2263
|
|
2256
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2264
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/client_xpath.rb#L40) android
|
2257
2265
|
|
2258
2266
|
> def client_xpaths(xpath)
|
2259
2267
|
|
@@ -2261,7 +2269,7 @@ __Returns:__
|
|
2261
2269
|
|
2262
2270
|
--
|
2263
2271
|
|
2264
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2272
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/text.rb#L4) android
|
2265
2273
|
|
2266
2274
|
> TextView = 'android.widget.TextView'.freeze
|
2267
2275
|
|
@@ -2269,7 +2277,7 @@ __Returns:__
|
|
2269
2277
|
|
2270
2278
|
--
|
2271
2279
|
|
2272
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2280
|
+
##### [text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/text.rb#L10) android
|
2273
2281
|
|
2274
2282
|
> def text(value)
|
2275
2283
|
|
@@ -2286,7 +2294,7 @@ __Returns:__
|
|
2286
2294
|
|
2287
2295
|
--
|
2288
2296
|
|
2289
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2297
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/text.rb#L19) android
|
2290
2298
|
|
2291
2299
|
> def texts(value = false)
|
2292
2300
|
|
@@ -2303,7 +2311,7 @@ __Returns:__
|
|
2303
2311
|
|
2304
2312
|
--
|
2305
2313
|
|
2306
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2314
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/text.rb#L26) android
|
2307
2315
|
|
2308
2316
|
> def first_text
|
2309
2317
|
|
@@ -2315,7 +2323,7 @@ __Returns:__
|
|
2315
2323
|
|
2316
2324
|
--
|
2317
2325
|
|
2318
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2326
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/text.rb#L32) android
|
2319
2327
|
|
2320
2328
|
> def last_text
|
2321
2329
|
|
@@ -2327,7 +2335,7 @@ __Returns:__
|
|
2327
2335
|
|
2328
2336
|
--
|
2329
2337
|
|
2330
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2338
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/text.rb#L39) android
|
2331
2339
|
|
2332
2340
|
> def text_exact(value)
|
2333
2341
|
|
@@ -2343,7 +2351,7 @@ __Returns:__
|
|
2343
2351
|
|
2344
2352
|
--
|
2345
2353
|
|
2346
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2354
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/text.rb#L46) android
|
2347
2355
|
|
2348
2356
|
> def texts_exact(value)
|
2349
2357
|
|
@@ -2359,7 +2367,7 @@ __Returns:__
|
|
2359
2367
|
|
2360
2368
|
--
|
2361
2369
|
|
2362
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2370
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/alert.rb#L6) android
|
2363
2371
|
|
2364
2372
|
> def alert_click(value)
|
2365
2373
|
|
@@ -2375,7 +2383,7 @@ __Returns:__
|
|
2375
2383
|
|
2376
2384
|
--
|
2377
2385
|
|
2378
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2386
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/alert.rb#L13) android
|
2379
2387
|
|
2380
2388
|
> def alert_accept
|
2381
2389
|
|
@@ -2388,7 +2396,7 @@ __Returns:__
|
|
2388
2396
|
|
2389
2397
|
--
|
2390
2398
|
|
2391
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2399
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/alert.rb#L20) android
|
2392
2400
|
|
2393
2401
|
> def alert_accept_text
|
2394
2402
|
|
@@ -2401,7 +2409,7 @@ __Returns:__
|
|
2401
2409
|
|
2402
2410
|
--
|
2403
2411
|
|
2404
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2412
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/alert.rb#L27) android
|
2405
2413
|
|
2406
2414
|
> def alert_dismiss
|
2407
2415
|
|
@@ -2414,7 +2422,7 @@ __Returns:__
|
|
2414
2422
|
|
2415
2423
|
--
|
2416
2424
|
|
2417
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2425
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/alert.rb#L34) android
|
2418
2426
|
|
2419
2427
|
> def alert_dismiss_text
|
2420
2428
|
|
@@ -2427,7 +2435,7 @@ __Returns:__
|
|
2427
2435
|
|
2428
2436
|
--
|
2429
2437
|
|
2430
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L4) android
|
2431
2439
|
|
2432
2440
|
> Button = 'android.widget.Button'.freeze
|
2433
2441
|
|
@@ -2435,7 +2443,7 @@ __Returns:__
|
|
2435
2443
|
|
2436
2444
|
--
|
2437
2445
|
|
2438
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2446
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L5) android
|
2439
2447
|
|
2440
2448
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2441
2449
|
|
@@ -2443,7 +2451,7 @@ __Returns:__
|
|
2443
2451
|
|
2444
2452
|
--
|
2445
2453
|
|
2446
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [button](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L43) android
|
2447
2455
|
|
2448
2456
|
> def button(value)
|
2449
2457
|
|
@@ -2460,7 +2468,7 @@ __Returns:__
|
|
2460
2468
|
|
2461
2469
|
--
|
2462
2470
|
|
2463
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L60) android
|
2464
2472
|
|
2465
2473
|
> def buttons(value = false)
|
2466
2474
|
|
@@ -2477,7 +2485,7 @@ __Returns:__
|
|
2477
2485
|
|
2478
2486
|
--
|
2479
2487
|
|
2480
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2488
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L67) android
|
2481
2489
|
|
2482
2490
|
> def first_button
|
2483
2491
|
|
@@ -2489,7 +2497,7 @@ __Returns:__
|
|
2489
2497
|
|
2490
2498
|
--
|
2491
2499
|
|
2492
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2500
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L73) android
|
2493
2501
|
|
2494
2502
|
> def last_button
|
2495
2503
|
|
@@ -2501,7 +2509,7 @@ __Returns:__
|
|
2501
2509
|
|
2502
2510
|
--
|
2503
2511
|
|
2504
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2512
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L89) android
|
2505
2513
|
|
2506
2514
|
> def button_exact(value)
|
2507
2515
|
|
@@ -2517,7 +2525,7 @@ __Returns:__
|
|
2517
2525
|
|
2518
2526
|
--
|
2519
2527
|
|
2520
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2528
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/button.rb#L96) android
|
2521
2529
|
|
2522
2530
|
> def buttons_exact(value)
|
2523
2531
|
|
@@ -2533,7 +2541,7 @@ __Returns:__
|
|
2533
2541
|
|
2534
2542
|
--
|
2535
2543
|
|
2536
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2544
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2537
2545
|
|
2538
2546
|
> def uiautomator_find
|
2539
2547
|
|
@@ -2545,7 +2553,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2545
2553
|
|
2546
2554
|
--
|
2547
2555
|
|
2548
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2556
|
+
##### [find](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/generic.rb#L6) android
|
2549
2557
|
|
2550
2558
|
> def find(value)
|
2551
2559
|
|
@@ -2561,7 +2569,7 @@ __Returns:__
|
|
2561
2569
|
|
2562
2570
|
--
|
2563
2571
|
|
2564
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2572
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/generic.rb#L13) android
|
2565
2573
|
|
2566
2574
|
> def finds(value)
|
2567
2575
|
|
@@ -2577,7 +2585,7 @@ __Returns:__
|
|
2577
2585
|
|
2578
2586
|
--
|
2579
2587
|
|
2580
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2588
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/generic.rb#L20) android
|
2581
2589
|
|
2582
2590
|
> def find_exact(value)
|
2583
2591
|
|
@@ -2593,7 +2601,7 @@ __Returns:__
|
|
2593
2601
|
|
2594
2602
|
--
|
2595
2603
|
|
2596
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2604
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/generic.rb#L27) android
|
2597
2605
|
|
2598
2606
|
> def finds_exact(value)
|
2599
2607
|
|
@@ -2609,7 +2617,7 @@ __Returns:__
|
|
2609
2617
|
|
2610
2618
|
--
|
2611
2619
|
|
2612
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2620
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/generic.rb#L40) android
|
2613
2621
|
|
2614
2622
|
> def scroll_to(text, scrollable_index = 0)
|
2615
2623
|
|
@@ -2627,7 +2635,7 @@ __Returns:__
|
|
2627
2635
|
|
2628
2636
|
--
|
2629
2637
|
|
2630
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2638
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/generic.rb#L54) android
|
2631
2639
|
|
2632
2640
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2633
2641
|
|
@@ -2645,7 +2653,7 @@ __Returns:__
|
|
2645
2653
|
|
2646
2654
|
--
|
2647
2655
|
|
2648
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2656
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/textfield.rb#L3) android
|
2649
2657
|
|
2650
2658
|
> EditText = 'android.widget.EditText'.freeze
|
2651
2659
|
|
@@ -2653,7 +2661,7 @@ __Returns:__
|
|
2653
2661
|
|
2654
2662
|
--
|
2655
2663
|
|
2656
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2664
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/textfield.rb#L9) android
|
2657
2665
|
|
2658
2666
|
> def textfield(value)
|
2659
2667
|
|
@@ -2670,7 +2678,7 @@ __Returns:__
|
|
2670
2678
|
|
2671
2679
|
--
|
2672
2680
|
|
2673
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2681
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/textfield.rb#L18) android
|
2674
2682
|
|
2675
2683
|
> def textfields(value = false)
|
2676
2684
|
|
@@ -2687,7 +2695,7 @@ __Returns:__
|
|
2687
2695
|
|
2688
2696
|
--
|
2689
2697
|
|
2690
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2698
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/textfield.rb#L25) android
|
2691
2699
|
|
2692
2700
|
> def first_textfield
|
2693
2701
|
|
@@ -2699,7 +2707,7 @@ __Returns:__
|
|
2699
2707
|
|
2700
2708
|
--
|
2701
2709
|
|
2702
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2710
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/textfield.rb#L31) android
|
2703
2711
|
|
2704
2712
|
> def last_textfield
|
2705
2713
|
|
@@ -2711,7 +2719,7 @@ __Returns:__
|
|
2711
2719
|
|
2712
2720
|
--
|
2713
2721
|
|
2714
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2722
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/textfield.rb#L38) android
|
2715
2723
|
|
2716
2724
|
> def textfield_exact(value)
|
2717
2725
|
|
@@ -2727,7 +2735,7 @@ __Returns:__
|
|
2727
2735
|
|
2728
2736
|
--
|
2729
2737
|
|
2730
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2738
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/android/element/textfield.rb#L45) android
|
2731
2739
|
|
2732
2740
|
> def textfields_exact(value)
|
2733
2741
|
|
@@ -2743,7 +2751,7 @@ __Returns:__
|
|
2743
2751
|
|
2744
2752
|
--
|
2745
2753
|
|
2746
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2754
|
+
##### [value](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L12)
|
2747
2755
|
|
2748
2756
|
> def value
|
2749
2757
|
|
@@ -2753,7 +2761,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2753
2761
|
|
2754
2762
|
--
|
2755
2763
|
|
2756
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2764
|
+
##### [name](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L19)
|
2757
2765
|
|
2758
2766
|
> def name
|
2759
2767
|
|
@@ -2763,7 +2771,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2763
2771
|
|
2764
2772
|
--
|
2765
2773
|
|
2766
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2774
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L31)
|
2767
2775
|
|
2768
2776
|
> def location_rel
|
2769
2777
|
|
@@ -2781,7 +2789,7 @@ __Returns:__
|
|
2781
2789
|
|
2782
2790
|
--
|
2783
2791
|
|
2784
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2792
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L152)
|
2785
2793
|
|
2786
2794
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2787
2795
|
|
@@ -2789,7 +2797,7 @@ __Returns:__
|
|
2789
2797
|
|
2790
2798
|
--
|
2791
2799
|
|
2792
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2800
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/32bfee99bba89cfc2621b1770f14a796e5ac43ad/lib/appium_lib/common/patch.rb#L155)
|
2793
2801
|
|
2794
2802
|
> def patch_remote_driver_commands
|
2795
2803
|
|