appium_lib 9.4.0 → 9.4.1
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 +10 -0
- data/docs/android_docs.md +288 -232
- data/docs/ios_docs.md +269 -257
- data/lib/appium_lib/android/element/button.rb +82 -16
- data/lib/appium_lib/android/helper.rb +66 -8
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +6 -0
- data/release_notes.md +8 -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: d3d4edc4560ff213c670bc478bcc99a21ddfd5a9
|
4
|
+
data.tar.gz: dc43e81bfb1a8752eeba7ca6969305db179b5c53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52b70a6e9c3a6fc1038787d540a471c1a6ebd83bee616ceaf4b84b4be326baec1c2febf291227126f8762e4b5ce0b8192a39ca37eca0ac5ec7a519f69bb242e4
|
7
|
+
data.tar.gz: 3ded22d224679b04cab59dd378fc4f624e12ae88ad37c574be41d352518e7546fc4f7fb3d66497e332f8ed1930c24e68cb5f217172553885a12144e792f0c71c
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,16 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
+
## v9.4.1
|
7
|
+
### 1. Enhancements
|
8
|
+
|
9
|
+
### 2. Bug fixes
|
10
|
+
- fix 9.4.0 release sudden failures [#546](https://github.com/appium/ruby_lib/issues/546)
|
11
|
+
- XPath strategy for find_element/s sudden fail than uiautomator strategy.
|
12
|
+
- Use `:xpath` strategy only for uiautomator2
|
13
|
+
|
14
|
+
### 3. Deprecations
|
15
|
+
|
6
16
|
## v9.4.0
|
7
17
|
### 1. Enhancements
|
8
18
|
- update mobile gesture APIs for XCUITest(WDA) [#514](https://github.com/appium/ruby_lib/pull/514)
|
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/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L76)
|
2
2
|
|
3
3
|
> def self.load_settings(opts = {})
|
4
4
|
|
@@ -27,7 +27,7 @@ __Returns:__
|
|
27
27
|
|
28
28
|
--
|
29
29
|
|
30
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L112)
|
31
31
|
|
32
32
|
> def self.load_settings(opts = {})
|
33
33
|
|
@@ -57,7 +57,7 @@ __Returns:__
|
|
57
57
|
|
58
58
|
--
|
59
59
|
|
60
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
60
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L118)
|
61
61
|
|
62
62
|
> def self.expand_required_files(base_dir, file_paths)
|
63
63
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [symbolize_keys](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L150)
|
79
79
|
|
80
80
|
> def self.symbolize_keys(hash)
|
81
81
|
|
@@ -86,7 +86,7 @@ https://github.com/rails/docrails/blob/a3b1105ada3da64acfa3843b164b14b734456a50/
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L171)
|
90
90
|
|
91
91
|
> def self.promote_singleton_appium_methods(modules)
|
92
92
|
|
@@ -104,7 +104,7 @@ otherwise, the array of modules will be used as the promotion target.
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L224)
|
108
108
|
|
109
109
|
> def self.promote_appium_methods(class_array)
|
110
110
|
|
@@ -134,7 +134,7 @@ __Parameters:__
|
|
134
134
|
|
135
135
|
--
|
136
136
|
|
137
|
-
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/
|
137
|
+
##### [init_caps_for_appium](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L259)
|
138
138
|
|
139
139
|
> def self.init_caps_for_appium(opts_caps = {})
|
140
140
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
153
153
|
|
154
154
|
--
|
155
155
|
|
156
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L277)
|
157
157
|
|
158
158
|
> def global_webdriver_http_sleep
|
159
159
|
|
@@ -161,7 +161,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L277)
|
165
165
|
|
166
166
|
> def global_webdriver_http_sleep=(value)
|
167
167
|
|
@@ -169,7 +169,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
169
169
|
|
170
170
|
--
|
171
171
|
|
172
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
172
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L279)
|
173
173
|
|
174
174
|
> def caps
|
175
175
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
177
177
|
|
178
178
|
--
|
179
179
|
|
180
|
-
##### [caps=](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [caps=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L279)
|
181
181
|
|
182
182
|
> def caps=(value)
|
183
183
|
|
@@ -185,7 +185,7 @@ Selenium webdriver capabilities
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L281)
|
189
189
|
|
190
190
|
> def custom_url
|
191
191
|
|
@@ -193,7 +193,7 @@ Custom URL for the selenium server
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [custom_url=](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [custom_url=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L281)
|
197
197
|
|
198
198
|
> def custom_url=(value)
|
199
199
|
|
@@ -201,7 +201,7 @@ Custom URL for the selenium server
|
|
201
201
|
|
202
202
|
--
|
203
203
|
|
204
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L283)
|
205
205
|
|
206
206
|
> def export_session
|
207
207
|
|
@@ -209,7 +209,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
209
209
|
|
210
210
|
--
|
211
211
|
|
212
|
-
##### [export_session=](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [export_session=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L283)
|
213
213
|
|
214
214
|
> def export_session=(value)
|
215
215
|
|
@@ -217,7 +217,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L288)
|
221
221
|
|
222
222
|
> def default_wait
|
223
223
|
|
@@ -231,7 +231,7 @@ __Returns:__
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L290)
|
235
235
|
|
236
236
|
> def sauce_username
|
237
237
|
|
@@ -239,7 +239,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [sauce_username=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L290)
|
243
243
|
|
244
244
|
> def sauce_username=(value)
|
245
245
|
|
@@ -247,7 +247,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L292)
|
251
251
|
|
252
252
|
> def sauce_access_key
|
253
253
|
|
@@ -255,7 +255,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
255
255
|
|
256
256
|
--
|
257
257
|
|
258
|
-
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/
|
258
|
+
##### [sauce_access_key=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L292)
|
259
259
|
|
260
260
|
> def sauce_access_key=(value)
|
261
261
|
|
@@ -263,7 +263,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
263
263
|
|
264
264
|
--
|
265
265
|
|
266
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
266
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L294)
|
267
267
|
|
268
268
|
> def sauce_endpoint
|
269
269
|
|
@@ -271,7 +271,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [sauce_endpoint=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L294)
|
275
275
|
|
276
276
|
> def sauce_endpoint=(value)
|
277
277
|
|
@@ -279,7 +279,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
279
279
|
|
280
280
|
--
|
281
281
|
|
282
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
282
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L296)
|
283
283
|
|
284
284
|
> def appium_port
|
285
285
|
|
@@ -287,7 +287,7 @@ Appium's server port
|
|
287
287
|
|
288
288
|
--
|
289
289
|
|
290
|
-
##### [appium_port=](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [appium_port=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L296)
|
291
291
|
|
292
292
|
> def appium_port=(value)
|
293
293
|
|
@@ -295,7 +295,7 @@ Appium's server port
|
|
295
295
|
|
296
296
|
--
|
297
297
|
|
298
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L298)
|
299
299
|
|
300
300
|
> def appium_device
|
301
301
|
|
@@ -303,7 +303,7 @@ Device type to request from the appium server
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [appium_device=](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [appium_device=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L298)
|
307
307
|
|
308
308
|
> def appium_device=(value)
|
309
309
|
|
@@ -311,7 +311,7 @@ Device type to request from the appium server
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L301)
|
315
315
|
|
316
316
|
> def automation_name
|
317
317
|
|
@@ -320,7 +320,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
320
320
|
|
321
321
|
--
|
322
322
|
|
323
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L303)
|
324
324
|
|
325
325
|
> def appium_server_status
|
326
326
|
|
@@ -328,7 +328,7 @@ Appium's server version
|
|
328
328
|
|
329
329
|
--
|
330
330
|
|
331
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
331
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L305)
|
332
332
|
|
333
333
|
> def appium_debug
|
334
334
|
|
@@ -336,7 +336,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
336
336
|
|
337
337
|
--
|
338
338
|
|
339
|
-
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/
|
339
|
+
##### [appium_debug=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L305)
|
340
340
|
|
341
341
|
> def appium_debug=(value)
|
342
342
|
|
@@ -344,7 +344,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
344
344
|
|
345
345
|
--
|
346
346
|
|
347
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
347
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L307)
|
348
348
|
|
349
349
|
> def listener
|
350
350
|
|
@@ -352,7 +352,7 @@ instance of AbstractEventListener for logging support
|
|
352
352
|
|
353
353
|
--
|
354
354
|
|
355
|
-
##### [listener=](https://github.com/appium/ruby_lib/blob/
|
355
|
+
##### [listener=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L307)
|
356
356
|
|
357
357
|
> def listener=(value)
|
358
358
|
|
@@ -360,7 +360,7 @@ instance of AbstractEventListener for logging support
|
|
360
360
|
|
361
361
|
--
|
362
362
|
|
363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L310)
|
364
364
|
|
365
365
|
> def driver
|
366
366
|
|
@@ -372,7 +372,7 @@ __Returns:__
|
|
372
372
|
|
373
373
|
--
|
374
374
|
|
375
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L313)
|
376
376
|
|
377
377
|
> def http_client
|
378
378
|
|
@@ -384,7 +384,7 @@ __Returns:__
|
|
384
384
|
|
385
385
|
--
|
386
386
|
|
387
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
387
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L318)
|
388
388
|
|
389
389
|
> def appium_wait_timeout
|
390
390
|
|
@@ -398,7 +398,7 @@ __Returns:__
|
|
398
398
|
|
399
399
|
--
|
400
400
|
|
401
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
401
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L323)
|
402
402
|
|
403
403
|
> def appium_wait_interval
|
404
404
|
|
@@ -412,7 +412,7 @@ __Returns:__
|
|
412
412
|
|
413
413
|
--
|
414
414
|
|
415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L363)
|
416
416
|
|
417
417
|
> def initialize(opts = {})
|
418
418
|
|
@@ -428,7 +428,7 @@ __Returns:__
|
|
428
428
|
|
429
429
|
--
|
430
430
|
|
431
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
431
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L442)
|
432
432
|
|
433
433
|
> def driver_attributes
|
434
434
|
|
@@ -436,7 +436,7 @@ Returns a hash of the driver attributes
|
|
436
436
|
|
437
437
|
--
|
438
438
|
|
439
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
439
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L467)
|
440
440
|
|
441
441
|
> def device_is_android?
|
442
442
|
|
@@ -448,7 +448,7 @@ __Returns:__
|
|
448
448
|
|
449
449
|
--
|
450
450
|
|
451
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L473)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,19 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [
|
463
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L479)
|
464
|
+
|
465
|
+
> def automation_name_is_uiautomator2?
|
466
|
+
|
467
|
+
Return true if automationName is 'uiautomator2'
|
468
|
+
|
469
|
+
__Returns:__
|
470
|
+
|
471
|
+
[Boolean]
|
472
|
+
|
473
|
+
--
|
474
|
+
|
475
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L486)
|
464
476
|
|
465
477
|
> def check_server_version_xcuitest
|
466
478
|
|
@@ -473,7 +485,7 @@ __Returns:__
|
|
473
485
|
|
474
486
|
--
|
475
487
|
|
476
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L507)
|
477
489
|
|
478
490
|
> def appium_server_version
|
479
491
|
|
@@ -494,7 +506,7 @@ __Returns:__
|
|
494
506
|
|
495
507
|
--
|
496
508
|
|
497
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L524)
|
498
510
|
|
499
511
|
> def appium_client_version
|
500
512
|
|
@@ -512,7 +524,7 @@ __Returns:__
|
|
512
524
|
|
513
525
|
--
|
514
526
|
|
515
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L536)
|
516
528
|
|
517
529
|
> def self.absolute_app_path(opts)
|
518
530
|
|
@@ -529,7 +541,7 @@ __Returns:__
|
|
529
541
|
|
530
542
|
--
|
531
543
|
|
532
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L569)
|
533
545
|
|
534
546
|
> def server_url
|
535
547
|
|
@@ -541,7 +553,7 @@ __Returns:__
|
|
541
553
|
|
542
554
|
--
|
543
555
|
|
544
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L580)
|
545
557
|
|
546
558
|
> def restart
|
547
559
|
|
@@ -553,7 +565,7 @@ __Returns:__
|
|
553
565
|
|
554
566
|
--
|
555
567
|
|
556
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L591)
|
557
569
|
|
558
570
|
> def screenshot(png_save_path)
|
559
571
|
|
@@ -571,7 +583,7 @@ __Returns:__
|
|
571
583
|
|
572
584
|
--
|
573
585
|
|
574
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L598)
|
575
587
|
|
576
588
|
> def driver_quit
|
577
589
|
|
@@ -583,7 +595,7 @@ __Returns:__
|
|
583
595
|
|
584
596
|
--
|
585
597
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L608)
|
587
599
|
|
588
600
|
> def start_driver
|
589
601
|
|
@@ -595,7 +607,7 @@ __Returns:__
|
|
595
607
|
|
596
608
|
--
|
597
609
|
|
598
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
610
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L646)
|
599
611
|
|
600
612
|
> def no_wait
|
601
613
|
|
@@ -603,7 +615,7 @@ Set implicit wait to zero.
|
|
603
615
|
|
604
616
|
--
|
605
617
|
|
606
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
618
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L660)
|
607
619
|
|
608
620
|
> def set_wait(timeout = nil)
|
609
621
|
|
@@ -625,7 +637,7 @@ __Returns:__
|
|
625
637
|
|
626
638
|
--
|
627
639
|
|
628
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
640
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L677)
|
629
641
|
|
630
642
|
> def exists(pre_check = 0, post_check = @default_wait)
|
631
643
|
|
@@ -649,7 +661,7 @@ __Returns:__
|
|
649
661
|
|
650
662
|
--
|
651
663
|
|
652
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L701)
|
653
665
|
|
654
666
|
> def execute_script(script, *args)
|
655
667
|
|
@@ -667,7 +679,7 @@ __Returns:__
|
|
667
679
|
|
668
680
|
--
|
669
681
|
|
670
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L723)
|
671
683
|
|
672
684
|
> def find_elements(*args)
|
673
685
|
|
@@ -693,7 +705,7 @@ __Returns:__
|
|
693
705
|
|
694
706
|
--
|
695
707
|
|
696
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L738)
|
697
709
|
|
698
710
|
> def find_element(*args)
|
699
711
|
|
@@ -714,7 +726,7 @@ __Returns:__
|
|
714
726
|
|
715
727
|
--
|
716
728
|
|
717
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L751)
|
718
730
|
|
719
731
|
> def set_location(opts = {})
|
720
732
|
|
@@ -730,7 +742,7 @@ __Returns:__
|
|
730
742
|
|
731
743
|
--
|
732
744
|
|
733
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
745
|
+
##### [x](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L761)
|
734
746
|
|
735
747
|
> def x
|
736
748
|
|
@@ -743,7 +755,7 @@ __Returns:__
|
|
743
755
|
|
744
756
|
--
|
745
757
|
|
746
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
758
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/driver.rb#L770)
|
747
759
|
|
748
760
|
> def set_automation_name_if_nil
|
749
761
|
|
@@ -752,7 +764,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
752
764
|
|
753
765
|
--
|
754
766
|
|
755
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/logger.rb#L13)
|
756
768
|
|
757
769
|
> def logger=(value)
|
758
770
|
|
@@ -764,7 +776,7 @@ __Parameters:__
|
|
764
776
|
|
765
777
|
--
|
766
778
|
|
767
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
779
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/logger.rb#L17)
|
768
780
|
|
769
781
|
> def logger
|
770
782
|
|
@@ -772,7 +784,7 @@ __Parameters:__
|
|
772
784
|
|
773
785
|
--
|
774
786
|
|
775
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
787
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L7)
|
776
788
|
|
777
789
|
> def app_strings
|
778
790
|
|
@@ -783,7 +795,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
783
795
|
|
784
796
|
--
|
785
797
|
|
786
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
798
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L13)
|
787
799
|
|
788
800
|
> def background_app
|
789
801
|
|
@@ -792,7 +804,7 @@ This is a blocking application
|
|
792
804
|
|
793
805
|
--
|
794
806
|
|
795
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L24)
|
796
808
|
|
797
809
|
> def current_activity
|
798
810
|
|
@@ -800,7 +812,7 @@ This is a blocking application
|
|
800
812
|
|
801
813
|
--
|
802
814
|
|
803
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L26)
|
804
816
|
|
805
817
|
> def get_system_bars
|
806
818
|
|
@@ -815,7 +827,7 @@ __Returns:__
|
|
815
827
|
|
816
828
|
--
|
817
829
|
|
818
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L34)
|
819
831
|
|
820
832
|
> def get_display_density
|
821
833
|
|
@@ -830,7 +842,7 @@ __Returns:__
|
|
830
842
|
|
831
843
|
--
|
832
844
|
|
833
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
845
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L42)
|
834
846
|
|
835
847
|
> def is_keyboard_shown
|
836
848
|
|
@@ -845,7 +857,7 @@ __Returns:__
|
|
845
857
|
|
846
858
|
--
|
847
859
|
|
848
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L50)
|
849
861
|
|
850
862
|
> def launch_app
|
851
863
|
|
@@ -853,7 +865,7 @@ Start the simulator and application configured with desired capabilities
|
|
853
865
|
|
854
866
|
--
|
855
867
|
|
856
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L53)
|
857
869
|
|
858
870
|
> def reset
|
859
871
|
|
@@ -861,7 +873,7 @@ Reset the device, relaunching the application.
|
|
861
873
|
|
862
874
|
--
|
863
875
|
|
864
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L56)
|
865
877
|
|
866
878
|
> def shake
|
867
879
|
|
@@ -869,7 +881,7 @@ Cause the device to shake
|
|
869
881
|
|
870
882
|
--
|
871
883
|
|
872
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L59)
|
873
885
|
|
874
886
|
> def toggle_flight_mode
|
875
887
|
|
@@ -877,7 +889,7 @@ Toggle flight mode on or off
|
|
877
889
|
|
878
890
|
--
|
879
891
|
|
880
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L62)
|
881
893
|
|
882
894
|
> def device_locked?
|
883
895
|
|
@@ -885,7 +897,7 @@ Toggle flight mode on or off
|
|
885
897
|
|
886
898
|
--
|
887
899
|
|
888
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L64)
|
889
901
|
|
890
902
|
> def hide_keyboard
|
891
903
|
|
@@ -898,7 +910,7 @@ Defaults to 'Done'.
|
|
898
910
|
|
899
911
|
--
|
900
912
|
|
901
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L73)
|
902
914
|
|
903
915
|
> def press_keycode
|
904
916
|
|
@@ -913,7 +925,7 @@ __Parameters:__
|
|
913
925
|
|
914
926
|
--
|
915
927
|
|
916
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
928
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L79)
|
917
929
|
|
918
930
|
> def long_press_keycode
|
919
931
|
|
@@ -928,7 +940,7 @@ __Parameters:__
|
|
928
940
|
|
929
941
|
--
|
930
942
|
|
931
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L85)
|
932
944
|
|
933
945
|
> def push_file
|
934
946
|
|
@@ -942,7 +954,7 @@ __Parameters:__
|
|
942
954
|
|
943
955
|
--
|
944
956
|
|
945
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
957
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L90)
|
946
958
|
|
947
959
|
> def pull_file
|
948
960
|
|
@@ -959,7 +971,7 @@ __Parameters:__
|
|
959
971
|
|
960
972
|
--
|
961
973
|
|
962
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L100)
|
963
975
|
|
964
976
|
> def pull_folder
|
965
977
|
|
@@ -974,7 +986,7 @@ __Parameters:__
|
|
974
986
|
|
975
987
|
--
|
976
988
|
|
977
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L108)
|
978
990
|
|
979
991
|
> def touch_id
|
980
992
|
|
@@ -991,7 +1003,7 @@ Defaults to true.
|
|
991
1003
|
|
992
1004
|
--
|
993
1005
|
|
994
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L117)
|
995
1007
|
|
996
1008
|
> def toggle_touch_id_enrollment
|
997
1009
|
|
@@ -999,7 +1011,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
999
1011
|
|
1000
1012
|
--
|
1001
1013
|
|
1002
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L120)
|
1003
1015
|
|
1004
1016
|
> def end_coverage
|
1005
1017
|
|
@@ -1013,7 +1025,7 @@ __Parameters:__
|
|
1013
1025
|
|
1014
1026
|
--
|
1015
1027
|
|
1016
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L125)
|
1017
1029
|
|
1018
1030
|
> def get_settings
|
1019
1031
|
|
@@ -1021,7 +1033,7 @@ Get appium Settings for current test session
|
|
1021
1033
|
|
1022
1034
|
--
|
1023
1035
|
|
1024
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L128)
|
1025
1037
|
|
1026
1038
|
> def update_settings
|
1027
1039
|
|
@@ -1033,7 +1045,7 @@ __Parameters:__
|
|
1033
1045
|
|
1034
1046
|
--
|
1035
1047
|
|
1036
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L132)
|
1037
1049
|
|
1038
1050
|
> def start_activity
|
1039
1051
|
|
@@ -1047,7 +1059,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1047
1059
|
|
1048
1060
|
--
|
1049
1061
|
|
1050
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1062
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L146)
|
1051
1063
|
|
1052
1064
|
> def get_network_connection
|
1053
1065
|
|
@@ -1056,7 +1068,7 @@ See set_network_connection method for return value
|
|
1056
1068
|
|
1057
1069
|
--
|
1058
1070
|
|
1059
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L150)
|
1060
1072
|
|
1061
1073
|
> def set_network_connection
|
1062
1074
|
|
@@ -1075,7 +1087,7 @@ __Parameters:__
|
|
1075
1087
|
|
1076
1088
|
--
|
1077
1089
|
|
1078
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1090
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L163)
|
1079
1091
|
|
1080
1092
|
> def set_immediate_value
|
1081
1093
|
|
@@ -1089,7 +1101,7 @@ set_immediate_value element, 'hello'
|
|
1089
1101
|
|
1090
1102
|
--
|
1091
1103
|
|
1092
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L172)
|
1093
1105
|
|
1094
1106
|
> def get_performance_data_types
|
1095
1107
|
|
@@ -1103,7 +1115,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1103
1115
|
|
1104
1116
|
--
|
1105
1117
|
|
1106
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L434)
|
1107
1119
|
|
1108
1120
|
> def extend_search_contexts
|
1109
1121
|
|
@@ -1111,7 +1123,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1111
1123
|
|
1112
1124
|
--
|
1113
1125
|
|
1114
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L434)
|
1115
1127
|
|
1116
1128
|
> def find_element_with_appium
|
1117
1129
|
|
@@ -1119,7 +1131,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1119
1131
|
|
1120
1132
|
--
|
1121
1133
|
|
1122
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1134
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L434)
|
1123
1135
|
|
1124
1136
|
> def find_elements_with_appium
|
1125
1137
|
|
@@ -1131,7 +1143,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1131
1143
|
|
1132
1144
|
--
|
1133
1145
|
|
1134
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L465)
|
1135
1147
|
|
1136
1148
|
> def add_touch_actions
|
1137
1149
|
|
@@ -1139,7 +1151,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1139
1151
|
|
1140
1152
|
--
|
1141
1153
|
|
1142
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L488)
|
1143
1155
|
|
1144
1156
|
> def add_ime_actions
|
1145
1157
|
|
@@ -1147,7 +1159,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1147
1159
|
|
1148
1160
|
--
|
1149
1161
|
|
1150
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L563)
|
1151
1163
|
|
1152
1164
|
> def set_context
|
1153
1165
|
|
@@ -1162,7 +1174,7 @@ __Parameters:__
|
|
1162
1174
|
|
1163
1175
|
--
|
1164
1176
|
|
1165
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L571)
|
1166
1178
|
|
1167
1179
|
> def current_context
|
1168
1180
|
|
@@ -1174,7 +1186,7 @@ __Returns:__
|
|
1174
1186
|
|
1175
1187
|
--
|
1176
1188
|
|
1177
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L574)
|
1178
1190
|
|
1179
1191
|
> def available_contexts
|
1180
1192
|
|
@@ -1186,7 +1198,7 @@ __Returns:__
|
|
1186
1198
|
|
1187
1199
|
--
|
1188
1200
|
|
1189
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L584)
|
1190
1202
|
|
1191
1203
|
> def within_context(context)
|
1192
1204
|
|
@@ -1202,7 +1214,7 @@ __Parameters:__
|
|
1202
1214
|
|
1203
1215
|
--
|
1204
1216
|
|
1205
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/device.rb#L592)
|
1206
1218
|
|
1207
1219
|
> def switch_to_default_context
|
1208
1220
|
|
@@ -1210,7 +1222,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1210
1222
|
|
1211
1223
|
--
|
1212
1224
|
|
1213
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L28)
|
1214
1226
|
|
1215
1227
|
> def pinch(percentage = 25, auto_perform = true)
|
1216
1228
|
|
@@ -1229,7 +1241,7 @@ __Parameters:__
|
|
1229
1241
|
|
1230
1242
|
--
|
1231
1243
|
|
1232
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L57)
|
1233
1245
|
|
1234
1246
|
> def zoom(percentage = 200, auto_perform = true)
|
1235
1247
|
|
@@ -1248,7 +1260,7 @@ __Parameters:__
|
|
1248
1260
|
|
1249
1261
|
--
|
1250
1262
|
|
1251
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L79)
|
1252
1264
|
|
1253
1265
|
> def pinch_for_xcuitest(rate)
|
1254
1266
|
|
@@ -1256,7 +1268,7 @@ __Parameters:__
|
|
1256
1268
|
|
1257
1269
|
--
|
1258
1270
|
|
1259
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L94)
|
1260
1272
|
|
1261
1273
|
> def pinch_android(rate)
|
1262
1274
|
|
@@ -1264,7 +1276,7 @@ __Parameters:__
|
|
1264
1276
|
|
1265
1277
|
--
|
1266
1278
|
|
1267
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L108)
|
1268
1280
|
|
1269
1281
|
> def pinch_ios(rate)
|
1270
1282
|
|
@@ -1272,7 +1284,7 @@ __Parameters:__
|
|
1272
1284
|
|
1273
1285
|
--
|
1274
1286
|
|
1275
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L122)
|
1276
1288
|
|
1277
1289
|
> def zoom_for_xcuitest(rate)
|
1278
1290
|
|
@@ -1280,7 +1292,7 @@ __Parameters:__
|
|
1280
1292
|
|
1281
1293
|
--
|
1282
1294
|
|
1283
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L137)
|
1284
1296
|
|
1285
1297
|
> def zoom_android(rate)
|
1286
1298
|
|
@@ -1288,7 +1300,7 @@ __Parameters:__
|
|
1288
1300
|
|
1289
1301
|
--
|
1290
1302
|
|
1291
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L151)
|
1292
1304
|
|
1293
1305
|
> def zoom_ios(rate)
|
1294
1306
|
|
@@ -1296,7 +1308,7 @@ __Parameters:__
|
|
1296
1308
|
|
1297
1309
|
--
|
1298
1310
|
|
1299
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L166)
|
1300
1312
|
|
1301
1313
|
> def actions
|
1302
1314
|
|
@@ -1304,7 +1316,7 @@ self
|
|
1304
1316
|
|
1305
1317
|
--
|
1306
1318
|
|
1307
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L169)
|
1308
1320
|
|
1309
1321
|
> def initialize
|
1310
1322
|
|
@@ -1316,7 +1328,7 @@ __Returns:__
|
|
1316
1328
|
|
1317
1329
|
--
|
1318
1330
|
|
1319
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [add](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L175)
|
1320
1332
|
|
1321
1333
|
> def add(chain)
|
1322
1334
|
|
@@ -1328,7 +1340,7 @@ __Parameters:__
|
|
1328
1340
|
|
1329
1341
|
--
|
1330
1342
|
|
1331
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/multi_touch.rb#L180)
|
1332
1344
|
|
1333
1345
|
> def perform
|
1334
1346
|
|
@@ -1336,7 +1348,7 @@ Ask Appium to perform the actions
|
|
1336
1348
|
|
1337
1349
|
--
|
1338
1350
|
|
1339
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L20)
|
1340
1352
|
|
1341
1353
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1342
1354
|
|
@@ -1344,7 +1356,7 @@ Ask Appium to perform the actions
|
|
1344
1356
|
|
1345
1357
|
--
|
1346
1358
|
|
1347
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L21)
|
1348
1360
|
|
1349
1361
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1350
1362
|
|
@@ -1352,7 +1364,7 @@ Ask Appium to perform the actions
|
|
1352
1364
|
|
1353
1365
|
--
|
1354
1366
|
|
1355
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L35)
|
1356
1368
|
|
1357
1369
|
> def actions
|
1358
1370
|
|
@@ -1360,7 +1372,7 @@ Returns the value of attribute actions
|
|
1360
1372
|
|
1361
1373
|
--
|
1362
1374
|
|
1363
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L37)
|
1364
1376
|
|
1365
1377
|
> def initialize
|
1366
1378
|
|
@@ -1372,7 +1384,7 @@ __Returns:__
|
|
1372
1384
|
|
1373
1385
|
--
|
1374
1386
|
|
1375
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L48)
|
1376
1388
|
|
1377
1389
|
> def move_to(opts)
|
1378
1390
|
|
@@ -1386,7 +1398,7 @@ __Parameters:__
|
|
1386
1398
|
|
1387
1399
|
--
|
1388
1400
|
|
1389
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L62)
|
1390
1402
|
|
1391
1403
|
> def long_press(opts)
|
1392
1404
|
|
@@ -1407,7 +1419,7 @@ __Parameters:__
|
|
1407
1419
|
|
1408
1420
|
--
|
1409
1421
|
|
1410
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [press](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L74)
|
1411
1423
|
|
1412
1424
|
> def press(opts)
|
1413
1425
|
|
@@ -1420,7 +1432,7 @@ __Parameters:__
|
|
1420
1432
|
|
1421
1433
|
--
|
1422
1434
|
|
1423
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [release](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L85)
|
1424
1436
|
|
1425
1437
|
> def release(opts = nil)
|
1426
1438
|
|
@@ -1432,7 +1444,7 @@ __Parameters:__
|
|
1432
1444
|
|
1433
1445
|
--
|
1434
1446
|
|
1435
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L97)
|
1436
1448
|
|
1437
1449
|
> def tap(opts)
|
1438
1450
|
|
@@ -1445,7 +1457,7 @@ __Parameters:__
|
|
1445
1457
|
|
1446
1458
|
--
|
1447
1459
|
|
1448
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L110)
|
1449
1461
|
|
1450
1462
|
> def double_tap(opts)
|
1451
1463
|
|
@@ -1457,7 +1469,7 @@ __Parameters:__
|
|
1457
1469
|
|
1458
1470
|
--
|
1459
1471
|
|
1460
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L121)
|
1461
1473
|
|
1462
1474
|
> def two_finger_tap(opts)
|
1463
1475
|
|
@@ -1469,7 +1481,7 @@ __Parameters:__
|
|
1469
1481
|
|
1470
1482
|
--
|
1471
1483
|
|
1472
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L129)
|
1473
1485
|
|
1474
1486
|
> def wait(milliseconds)
|
1475
1487
|
|
@@ -1481,7 +1493,7 @@ __Parameters:__
|
|
1481
1493
|
|
1482
1494
|
--
|
1483
1495
|
|
1484
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L152)
|
1485
1497
|
|
1486
1498
|
> def swipe(opts, ele = nil)
|
1487
1499
|
|
@@ -1502,7 +1514,7 @@ __Parameters:__
|
|
1502
1514
|
|
1503
1515
|
--
|
1504
1516
|
|
1505
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L177)
|
1506
1518
|
|
1507
1519
|
> def perform
|
1508
1520
|
|
@@ -1510,7 +1522,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1510
1522
|
|
1511
1523
|
--
|
1512
1524
|
|
1513
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L184)
|
1514
1526
|
|
1515
1527
|
> def cancel
|
1516
1528
|
|
@@ -1518,7 +1530,7 @@ Does nothing, currently.
|
|
1518
1530
|
|
1519
1531
|
--
|
1520
1532
|
|
1521
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L190)
|
1522
1534
|
|
1523
1535
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1524
1536
|
|
@@ -1526,7 +1538,7 @@ Does nothing, currently.
|
|
1526
1538
|
|
1527
1539
|
--
|
1528
1540
|
|
1529
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L208)
|
1530
1542
|
|
1531
1543
|
> def chain_method(method, args = nil)
|
1532
1544
|
|
@@ -1534,7 +1546,7 @@ Does nothing, currently.
|
|
1534
1546
|
|
1535
1547
|
--
|
1536
1548
|
|
1537
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/device/touch_actions.rb#L214)
|
1538
1550
|
|
1539
1551
|
> def args_with_ele_ref(args)
|
1540
1552
|
|
@@ -1542,7 +1554,7 @@ Does nothing, currently.
|
|
1542
1554
|
|
1543
1555
|
--
|
1544
1556
|
|
1545
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1557
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L9)
|
1546
1558
|
|
1547
1559
|
> def _generic_wait(opts = {})
|
1548
1560
|
|
@@ -1551,7 +1563,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1551
1563
|
|
1552
1564
|
--
|
1553
1565
|
|
1554
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1566
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L48)
|
1555
1567
|
|
1556
1568
|
> def _process_wait_opts(opts)
|
1557
1569
|
|
@@ -1559,7 +1571,7 @@ process opts before calling _generic_wait
|
|
1559
1571
|
|
1560
1572
|
--
|
1561
1573
|
|
1562
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1574
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L69)
|
1563
1575
|
|
1564
1576
|
> def wait_true(opts = {}, &block)
|
1565
1577
|
|
@@ -1579,7 +1591,7 @@ __Parameters:__
|
|
1579
1591
|
|
1580
1592
|
--
|
1581
1593
|
|
1582
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1594
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/wait.rb#L87)
|
1583
1595
|
|
1584
1596
|
> def wait(opts = {}, &block)
|
1585
1597
|
|
@@ -1597,7 +1609,7 @@ __Parameters:__
|
|
1597
1609
|
|
1598
1610
|
--
|
1599
1611
|
|
1600
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L24)
|
1601
1613
|
|
1602
1614
|
> def ignore
|
1603
1615
|
|
@@ -1605,7 +1617,7 @@ Return yield and ignore any exceptions.
|
|
1605
1617
|
|
1606
1618
|
--
|
1607
1619
|
|
1608
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [back](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L31)
|
1609
1621
|
|
1610
1622
|
> def back
|
1611
1623
|
|
@@ -1617,7 +1629,7 @@ __Returns:__
|
|
1617
1629
|
|
1618
1630
|
--
|
1619
1631
|
|
1620
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1632
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L36)
|
1621
1633
|
|
1622
1634
|
> def session_id
|
1623
1635
|
|
@@ -1625,7 +1637,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1625
1637
|
|
1626
1638
|
--
|
1627
1639
|
|
1628
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1640
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L44)
|
1629
1641
|
|
1630
1642
|
> def xpath(xpath_str)
|
1631
1643
|
|
@@ -1641,7 +1653,7 @@ __Returns:__
|
|
1641
1653
|
|
1642
1654
|
--
|
1643
1655
|
|
1644
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1656
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L52)
|
1645
1657
|
|
1646
1658
|
> def xpaths(xpath_str)
|
1647
1659
|
|
@@ -1657,7 +1669,7 @@ __Returns:__
|
|
1657
1669
|
|
1658
1670
|
--
|
1659
1671
|
|
1660
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L56)
|
1661
1673
|
|
1662
1674
|
> def _print_source(source)
|
1663
1675
|
|
@@ -1665,7 +1677,7 @@ __Returns:__
|
|
1665
1677
|
|
1666
1678
|
--
|
1667
1679
|
|
1668
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1680
|
+
##### [result](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L69)
|
1669
1681
|
|
1670
1682
|
> def result
|
1671
1683
|
|
@@ -1673,7 +1685,7 @@ Returns the value of attribute result
|
|
1673
1685
|
|
1674
1686
|
--
|
1675
1687
|
|
1676
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1688
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L71)
|
1677
1689
|
|
1678
1690
|
> def initialize
|
1679
1691
|
|
@@ -1685,7 +1697,7 @@ __Returns:__
|
|
1685
1697
|
|
1686
1698
|
--
|
1687
1699
|
|
1688
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1700
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L75)
|
1689
1701
|
|
1690
1702
|
> def reset
|
1691
1703
|
|
@@ -1693,7 +1705,7 @@ __Returns:__
|
|
1693
1705
|
|
1694
1706
|
--
|
1695
1707
|
|
1696
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L80)
|
1697
1709
|
|
1698
1710
|
> def start_element(name, attrs = [])
|
1699
1711
|
|
@@ -1701,7 +1713,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1701
1713
|
|
1702
1714
|
--
|
1703
1715
|
|
1704
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L86)
|
1705
1717
|
|
1706
1718
|
> def formatted_result
|
1707
1719
|
|
@@ -1709,7 +1721,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1709
1721
|
|
1710
1722
|
--
|
1711
1723
|
|
1712
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L97)
|
1713
1725
|
|
1714
1726
|
> def get_page_class
|
1715
1727
|
|
@@ -1717,7 +1729,7 @@ Returns a string of class counts of visible elements.
|
|
1717
1729
|
|
1718
1730
|
--
|
1719
1731
|
|
1720
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1732
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L108)
|
1721
1733
|
|
1722
1734
|
> def page_class
|
1723
1735
|
|
@@ -1726,7 +1738,7 @@ Useful for appium_console.
|
|
1726
1738
|
|
1727
1739
|
--
|
1728
1740
|
|
1729
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L118)
|
1730
1742
|
|
1731
1743
|
> def px_to_window_rel(opts = {})
|
1732
1744
|
|
@@ -1738,7 +1750,7 @@ px_to_window_rel x: 50, y: 150
|
|
1738
1750
|
|
1739
1751
|
--
|
1740
1752
|
|
1741
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1753
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L137)
|
1742
1754
|
|
1743
1755
|
> def xml_keys(target)
|
1744
1756
|
|
@@ -1754,7 +1766,7 @@ __Returns:__
|
|
1754
1766
|
|
1755
1767
|
--
|
1756
1768
|
|
1757
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1769
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L145)
|
1758
1770
|
|
1759
1771
|
> def xml_values(target)
|
1760
1772
|
|
@@ -1770,7 +1782,7 @@ __Returns:__
|
|
1770
1782
|
|
1771
1783
|
--
|
1772
1784
|
|
1773
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L153)
|
1774
1786
|
|
1775
1787
|
> def resolve_id(id)
|
1776
1788
|
|
@@ -1786,7 +1798,7 @@ __Returns:__
|
|
1786
1798
|
|
1787
1799
|
--
|
1788
1800
|
|
1789
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L159)
|
1790
1802
|
|
1791
1803
|
> def filter
|
1792
1804
|
|
@@ -1794,7 +1806,7 @@ Returns the value of attribute filter
|
|
1794
1806
|
|
1795
1807
|
--
|
1796
1808
|
|
1797
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1809
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L162)
|
1798
1810
|
|
1799
1811
|
> def filter=(value)
|
1800
1812
|
|
@@ -1802,7 +1814,7 @@ convert to string to support symbols
|
|
1802
1814
|
|
1803
1815
|
--
|
1804
1816
|
|
1805
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L168)
|
1806
1818
|
|
1807
1819
|
> def initialize
|
1808
1820
|
|
@@ -1814,7 +1826,7 @@ __Returns:__
|
|
1814
1826
|
|
1815
1827
|
--
|
1816
1828
|
|
1817
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L173)
|
1818
1830
|
|
1819
1831
|
> def reset
|
1820
1832
|
|
@@ -1822,7 +1834,7 @@ __Returns:__
|
|
1822
1834
|
|
1823
1835
|
--
|
1824
1836
|
|
1825
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [result](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L179)
|
1826
1838
|
|
1827
1839
|
> def result
|
1828
1840
|
|
@@ -1830,7 +1842,7 @@ __Returns:__
|
|
1830
1842
|
|
1831
1843
|
--
|
1832
1844
|
|
1833
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1845
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L195)
|
1834
1846
|
|
1835
1847
|
> def start_element(name, attrs = [])
|
1836
1848
|
|
@@ -1838,7 +1850,7 @@ __Returns:__
|
|
1838
1850
|
|
1839
1851
|
--
|
1840
1852
|
|
1841
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1853
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L204)
|
1842
1854
|
|
1843
1855
|
> def end_element(name)
|
1844
1856
|
|
@@ -1846,7 +1858,7 @@ __Returns:__
|
|
1846
1858
|
|
1847
1859
|
--
|
1848
1860
|
|
1849
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1861
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L210)
|
1850
1862
|
|
1851
1863
|
> def characters(chars)
|
1852
1864
|
|
@@ -1854,7 +1866,7 @@ __Returns:__
|
|
1854
1866
|
|
1855
1867
|
--
|
1856
1868
|
|
1857
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1869
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/helper.rb#L217)
|
1858
1870
|
|
1859
1871
|
> def _no_such_element
|
1860
1872
|
|
@@ -1862,7 +1874,7 @@ __Returns:__
|
|
1862
1874
|
|
1863
1875
|
--
|
1864
1876
|
|
1865
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1877
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/command.rb#L4)
|
1866
1878
|
|
1867
1879
|
> COMMAND_NO_ARG = {
|
1868
1880
|
|
@@ -1870,7 +1882,7 @@ __Returns:__
|
|
1870
1882
|
|
1871
1883
|
--
|
1872
1884
|
|
1873
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1885
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/command.rb#L27)
|
1874
1886
|
|
1875
1887
|
> COMMAND = {
|
1876
1888
|
|
@@ -1878,7 +1890,7 @@ __Returns:__
|
|
1878
1890
|
|
1879
1891
|
--
|
1880
1892
|
|
1881
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1893
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/element/window.rb#L5)
|
1882
1894
|
|
1883
1895
|
> def window_size
|
1884
1896
|
|
@@ -1886,7 +1898,7 @@ Get the window's size
|
|
1886
1898
|
|
1887
1899
|
--
|
1888
1900
|
|
1889
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1901
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/search_context.rb#L5)
|
1890
1902
|
|
1891
1903
|
> FINDERS = {
|
1892
1904
|
|
@@ -1894,7 +1906,7 @@ rubocop:disable Style/MutableConstant
|
|
1894
1906
|
|
1895
1907
|
--
|
1896
1908
|
|
1897
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1909
|
+
##### [result](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L6) android
|
1898
1910
|
|
1899
1911
|
> def result
|
1900
1912
|
|
@@ -1902,7 +1914,7 @@ Returns the value of attribute result
|
|
1902
1914
|
|
1903
1915
|
--
|
1904
1916
|
|
1905
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1917
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L6) android
|
1906
1918
|
|
1907
1919
|
> def keys
|
1908
1920
|
|
@@ -1910,7 +1922,7 @@ Returns the value of attribute keys
|
|
1910
1922
|
|
1911
1923
|
--
|
1912
1924
|
|
1913
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1925
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L6) android
|
1914
1926
|
|
1915
1927
|
> def instance
|
1916
1928
|
|
@@ -1918,7 +1930,7 @@ Returns the value of attribute instance
|
|
1918
1930
|
|
1919
1931
|
--
|
1920
1932
|
|
1921
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L6) android
|
1922
1934
|
|
1923
1935
|
> def filter
|
1924
1936
|
|
@@ -1926,7 +1938,7 @@ Returns the value of attribute filter
|
|
1926
1938
|
|
1927
1939
|
--
|
1928
1940
|
|
1929
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1941
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L9) android
|
1930
1942
|
|
1931
1943
|
> def filter=(value)
|
1932
1944
|
|
@@ -1934,7 +1946,7 @@ convert to string to support symbols
|
|
1934
1946
|
|
1935
1947
|
--
|
1936
1948
|
|
1937
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L15) android
|
1938
1950
|
|
1939
1951
|
> def initialize
|
1940
1952
|
|
@@ -1946,7 +1958,7 @@ __Returns:__
|
|
1946
1958
|
|
1947
1959
|
--
|
1948
1960
|
|
1949
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1961
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L21) android
|
1950
1962
|
|
1951
1963
|
> def reset
|
1952
1964
|
|
@@ -1954,7 +1966,7 @@ __Returns:__
|
|
1954
1966
|
|
1955
1967
|
--
|
1956
1968
|
|
1957
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1969
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L28) android
|
1958
1970
|
|
1959
1971
|
> def start_element(name, attrs = [])
|
1960
1972
|
|
@@ -1962,7 +1974,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1962
1974
|
|
1963
1975
|
--
|
1964
1976
|
|
1965
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1977
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L88) android
|
1966
1978
|
|
1967
1979
|
> def _fix_android_native_source(source)
|
1968
1980
|
|
@@ -1972,7 +1984,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1972
1984
|
|
1973
1985
|
--
|
1974
1986
|
|
1975
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1987
|
+
##### [source](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L116) android
|
1976
1988
|
|
1977
1989
|
> def source
|
1978
1990
|
|
@@ -1984,7 +1996,7 @@ __Returns:__
|
|
1984
1996
|
|
1985
1997
|
--
|
1986
1998
|
|
1987
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L126) android
|
1988
2000
|
|
1989
2001
|
> def get_android_inspect(class_name = false)
|
1990
2002
|
|
@@ -2003,7 +2015,7 @@ __Returns:__
|
|
2003
2015
|
|
2004
2016
|
--
|
2005
2017
|
|
2006
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
2018
|
+
##### [page](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L152) android
|
2007
2019
|
|
2008
2020
|
> def page(opts = {})
|
2009
2021
|
|
@@ -2022,7 +2034,7 @@ __Returns:__
|
|
2022
2034
|
|
2023
2035
|
--
|
2024
2036
|
|
2025
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L164) android
|
2026
2038
|
|
2027
2039
|
> def current_app
|
2028
2040
|
|
@@ -2032,7 +2044,7 @@ example line:
|
|
2032
2044
|
|
2033
2045
|
--
|
2034
2046
|
|
2035
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2047
|
+
##### [id](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L188) android
|
2036
2048
|
|
2037
2049
|
> def id(id)
|
2038
2050
|
|
@@ -2048,7 +2060,7 @@ __Returns:__
|
|
2048
2060
|
|
2049
2061
|
--
|
2050
2062
|
|
2051
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
2063
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L196) android
|
2052
2064
|
|
2053
2065
|
> def ids(id)
|
2054
2066
|
|
@@ -2064,7 +2076,7 @@ __Returns:__
|
|
2064
2076
|
|
2065
2077
|
--
|
2066
2078
|
|
2067
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L205) android
|
2068
2080
|
|
2069
2081
|
> def ele_index(class_name, index)
|
2070
2082
|
|
@@ -2082,7 +2094,7 @@ __Returns:__
|
|
2082
2094
|
|
2083
2095
|
--
|
2084
2096
|
|
2085
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2097
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L223) android
|
2086
2098
|
|
2087
2099
|
> def first_ele(class_name)
|
2088
2100
|
|
@@ -2098,7 +2110,7 @@ __Returns:__
|
|
2098
2110
|
|
2099
2111
|
--
|
2100
2112
|
|
2101
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2113
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L230) android
|
2102
2114
|
|
2103
2115
|
> def last_ele(class_name)
|
2104
2116
|
|
@@ -2114,7 +2126,7 @@ __Returns:__
|
|
2114
2126
|
|
2115
2127
|
--
|
2116
2128
|
|
2117
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2129
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L238) android
|
2118
2130
|
|
2119
2131
|
> def tag(class_name)
|
2120
2132
|
|
@@ -2130,7 +2142,7 @@ __Returns:__
|
|
2130
2142
|
|
2131
2143
|
--
|
2132
2144
|
|
2133
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L246) android
|
2134
2146
|
|
2135
2147
|
> def tags(class_name)
|
2136
2148
|
|
@@ -2146,13 +2158,33 @@ __Returns:__
|
|
2146
2158
|
|
2147
2159
|
--
|
2148
2160
|
|
2149
|
-
##### [
|
2161
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L288) android
|
2150
2162
|
|
2151
|
-
> def
|
2163
|
+
> def string_visible_contains_xpath(class_name, value)
|
2152
2164
|
|
2153
2165
|
Returns a string that matches the first element that contains value
|
2166
|
+
For automationName is uiautomator2
|
2167
|
+
example: string_visible_contains_xpath 'UIATextField', 'sign in'
|
2168
|
+
|
2169
|
+
__Parameters:__
|
2170
|
+
|
2171
|
+
[String] class_name - the class name for the element
|
2172
|
+
|
2173
|
+
[String] value - the value to search for
|
2174
|
+
|
2175
|
+
__Returns:__
|
2176
|
+
|
2177
|
+
[String]
|
2178
|
+
|
2179
|
+
--
|
2154
2180
|
|
2155
|
-
|
2181
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L307) android
|
2182
|
+
|
2183
|
+
> def string_visible_contains(class_name, value)
|
2184
|
+
|
2185
|
+
Returns a string that matches the first element that contains value
|
2186
|
+
For automationName is Appium
|
2187
|
+
example: string_visible_contains 'UIATextField', 'sign in'
|
2156
2188
|
|
2157
2189
|
__Parameters:__
|
2158
2190
|
|
@@ -2166,7 +2198,7 @@ __Returns:__
|
|
2166
2198
|
|
2167
2199
|
--
|
2168
2200
|
|
2169
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2201
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L325) android
|
2170
2202
|
|
2171
2203
|
> def complex_find_contains(element, value)
|
2172
2204
|
|
@@ -2184,7 +2216,7 @@ __Returns:__
|
|
2184
2216
|
|
2185
2217
|
--
|
2186
2218
|
|
2187
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2219
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L337) android
|
2188
2220
|
|
2189
2221
|
> def complex_finds_contains(element, value)
|
2190
2222
|
|
@@ -2202,7 +2234,7 @@ __Returns:__
|
|
2202
2234
|
|
2203
2235
|
--
|
2204
2236
|
|
2205
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2237
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L385) android
|
2206
2238
|
|
2207
2239
|
> def complex_find_exact(class_name, value)
|
2208
2240
|
|
@@ -2220,7 +2252,7 @@ __Returns:__
|
|
2220
2252
|
|
2221
2253
|
--
|
2222
2254
|
|
2223
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2255
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L397) android
|
2224
2256
|
|
2225
2257
|
> def complex_finds_exact(class_name, value)
|
2226
2258
|
|
@@ -2238,7 +2270,7 @@ __Returns:__
|
|
2238
2270
|
|
2239
2271
|
--
|
2240
2272
|
|
2241
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2273
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/helper.rb#L409) android
|
2242
2274
|
|
2243
2275
|
> def get_source
|
2244
2276
|
|
@@ -2252,7 +2284,7 @@ __Returns:__
|
|
2252
2284
|
|
2253
2285
|
--
|
2254
2286
|
|
2255
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2287
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/client_xpath.rb#L5) android
|
2256
2288
|
|
2257
2289
|
> def _nodeset_to_uiselector(opts = {})
|
2258
2290
|
|
@@ -2260,7 +2292,7 @@ __Returns:__
|
|
2260
2292
|
|
2261
2293
|
--
|
2262
2294
|
|
2263
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2295
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/client_xpath.rb#L20) android
|
2264
2296
|
|
2265
2297
|
> def _client_xpath(opts = {})
|
2266
2298
|
|
@@ -2268,7 +2300,7 @@ __Returns:__
|
|
2268
2300
|
|
2269
2301
|
--
|
2270
2302
|
|
2271
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2303
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/client_xpath.rb#L36) android
|
2272
2304
|
|
2273
2305
|
> def client_xpath(xpath)
|
2274
2306
|
|
@@ -2276,7 +2308,7 @@ __Returns:__
|
|
2276
2308
|
|
2277
2309
|
--
|
2278
2310
|
|
2279
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2311
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/client_xpath.rb#L40) android
|
2280
2312
|
|
2281
2313
|
> def client_xpaths(xpath)
|
2282
2314
|
|
@@ -2284,7 +2316,7 @@ __Returns:__
|
|
2284
2316
|
|
2285
2317
|
--
|
2286
2318
|
|
2287
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2319
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/text.rb#L4) android
|
2288
2320
|
|
2289
2321
|
> TextView = 'android.widget.TextView'.freeze
|
2290
2322
|
|
@@ -2292,7 +2324,7 @@ __Returns:__
|
|
2292
2324
|
|
2293
2325
|
--
|
2294
2326
|
|
2295
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2327
|
+
##### [text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/text.rb#L10) android
|
2296
2328
|
|
2297
2329
|
> def text(value)
|
2298
2330
|
|
@@ -2309,7 +2341,7 @@ __Returns:__
|
|
2309
2341
|
|
2310
2342
|
--
|
2311
2343
|
|
2312
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2344
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/text.rb#L19) android
|
2313
2345
|
|
2314
2346
|
> def texts(value = false)
|
2315
2347
|
|
@@ -2326,7 +2358,7 @@ __Returns:__
|
|
2326
2358
|
|
2327
2359
|
--
|
2328
2360
|
|
2329
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2361
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/text.rb#L26) android
|
2330
2362
|
|
2331
2363
|
> def first_text
|
2332
2364
|
|
@@ -2338,7 +2370,7 @@ __Returns:__
|
|
2338
2370
|
|
2339
2371
|
--
|
2340
2372
|
|
2341
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2373
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/text.rb#L32) android
|
2342
2374
|
|
2343
2375
|
> def last_text
|
2344
2376
|
|
@@ -2350,7 +2382,7 @@ __Returns:__
|
|
2350
2382
|
|
2351
2383
|
--
|
2352
2384
|
|
2353
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2385
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/text.rb#L39) android
|
2354
2386
|
|
2355
2387
|
> def text_exact(value)
|
2356
2388
|
|
@@ -2366,7 +2398,7 @@ __Returns:__
|
|
2366
2398
|
|
2367
2399
|
--
|
2368
2400
|
|
2369
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2401
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/text.rb#L46) android
|
2370
2402
|
|
2371
2403
|
> def texts_exact(value)
|
2372
2404
|
|
@@ -2382,7 +2414,7 @@ __Returns:__
|
|
2382
2414
|
|
2383
2415
|
--
|
2384
2416
|
|
2385
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2417
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/alert.rb#L6) android
|
2386
2418
|
|
2387
2419
|
> def alert_click(value)
|
2388
2420
|
|
@@ -2398,7 +2430,7 @@ __Returns:__
|
|
2398
2430
|
|
2399
2431
|
--
|
2400
2432
|
|
2401
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2433
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/alert.rb#L13) android
|
2402
2434
|
|
2403
2435
|
> def alert_accept
|
2404
2436
|
|
@@ -2411,7 +2443,7 @@ __Returns:__
|
|
2411
2443
|
|
2412
2444
|
--
|
2413
2445
|
|
2414
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2446
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/alert.rb#L20) android
|
2415
2447
|
|
2416
2448
|
> def alert_accept_text
|
2417
2449
|
|
@@ -2424,7 +2456,7 @@ __Returns:__
|
|
2424
2456
|
|
2425
2457
|
--
|
2426
2458
|
|
2427
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/alert.rb#L27) android
|
2428
2460
|
|
2429
2461
|
> def alert_dismiss
|
2430
2462
|
|
@@ -2437,7 +2469,7 @@ __Returns:__
|
|
2437
2469
|
|
2438
2470
|
--
|
2439
2471
|
|
2440
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2472
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/alert.rb#L34) android
|
2441
2473
|
|
2442
2474
|
> def alert_dismiss_text
|
2443
2475
|
|
@@ -2450,7 +2482,7 @@ __Returns:__
|
|
2450
2482
|
|
2451
2483
|
--
|
2452
2484
|
|
2453
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2485
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L4) android
|
2454
2486
|
|
2455
2487
|
> Button = 'android.widget.Button'.freeze
|
2456
2488
|
|
@@ -2458,7 +2490,7 @@ __Returns:__
|
|
2458
2490
|
|
2459
2491
|
--
|
2460
2492
|
|
2461
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2493
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L5) android
|
2462
2494
|
|
2463
2495
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2464
2496
|
|
@@ -2466,7 +2498,31 @@ __Returns:__
|
|
2466
2498
|
|
2467
2499
|
--
|
2468
2500
|
|
2469
|
-
##### [
|
2501
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L14) android
|
2502
|
+
|
2503
|
+
> def _button_visible_selectors(opts = {})
|
2504
|
+
|
2505
|
+
|
2506
|
+
|
2507
|
+
--
|
2508
|
+
|
2509
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L34) android
|
2510
|
+
|
2511
|
+
> def _button_exact_string(value)
|
2512
|
+
|
2513
|
+
|
2514
|
+
|
2515
|
+
--
|
2516
|
+
|
2517
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L47) android
|
2518
|
+
|
2519
|
+
> def _button_contains_string(value)
|
2520
|
+
|
2521
|
+
|
2522
|
+
|
2523
|
+
--
|
2524
|
+
|
2525
|
+
##### [button](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L59) android
|
2470
2526
|
|
2471
2527
|
> def button(value)
|
2472
2528
|
|
@@ -2483,7 +2539,7 @@ __Returns:__
|
|
2483
2539
|
|
2484
2540
|
--
|
2485
2541
|
|
2486
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2542
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L87) android
|
2487
2543
|
|
2488
2544
|
> def buttons(value = false)
|
2489
2545
|
|
@@ -2500,7 +2556,7 @@ __Returns:__
|
|
2500
2556
|
|
2501
2557
|
--
|
2502
2558
|
|
2503
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2559
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L99) android
|
2504
2560
|
|
2505
2561
|
> def first_button
|
2506
2562
|
|
@@ -2512,7 +2568,7 @@ __Returns:__
|
|
2512
2568
|
|
2513
2569
|
--
|
2514
2570
|
|
2515
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2571
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L109) android
|
2516
2572
|
|
2517
2573
|
> def last_button
|
2518
2574
|
|
@@ -2524,7 +2580,7 @@ __Returns:__
|
|
2524
2580
|
|
2525
2581
|
--
|
2526
2582
|
|
2527
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2583
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L131) android
|
2528
2584
|
|
2529
2585
|
> def button_exact(value)
|
2530
2586
|
|
@@ -2540,7 +2596,7 @@ __Returns:__
|
|
2540
2596
|
|
2541
2597
|
--
|
2542
2598
|
|
2543
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2599
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/button.rb#L142) android
|
2544
2600
|
|
2545
2601
|
> def buttons_exact(value)
|
2546
2602
|
|
@@ -2556,7 +2612,7 @@ __Returns:__
|
|
2556
2612
|
|
2557
2613
|
--
|
2558
2614
|
|
2559
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2615
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2560
2616
|
|
2561
2617
|
> def uiautomator_find
|
2562
2618
|
|
@@ -2568,7 +2624,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2568
2624
|
|
2569
2625
|
--
|
2570
2626
|
|
2571
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2627
|
+
##### [find](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/generic.rb#L6) android
|
2572
2628
|
|
2573
2629
|
> def find(value)
|
2574
2630
|
|
@@ -2584,7 +2640,7 @@ __Returns:__
|
|
2584
2640
|
|
2585
2641
|
--
|
2586
2642
|
|
2587
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2643
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/generic.rb#L13) android
|
2588
2644
|
|
2589
2645
|
> def finds(value)
|
2590
2646
|
|
@@ -2600,7 +2656,7 @@ __Returns:__
|
|
2600
2656
|
|
2601
2657
|
--
|
2602
2658
|
|
2603
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2659
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/generic.rb#L20) android
|
2604
2660
|
|
2605
2661
|
> def find_exact(value)
|
2606
2662
|
|
@@ -2616,7 +2672,7 @@ __Returns:__
|
|
2616
2672
|
|
2617
2673
|
--
|
2618
2674
|
|
2619
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2675
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/generic.rb#L27) android
|
2620
2676
|
|
2621
2677
|
> def finds_exact(value)
|
2622
2678
|
|
@@ -2632,7 +2688,7 @@ __Returns:__
|
|
2632
2688
|
|
2633
2689
|
--
|
2634
2690
|
|
2635
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2691
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/generic.rb#L40) android
|
2636
2692
|
|
2637
2693
|
> def scroll_to(text, scrollable_index = 0)
|
2638
2694
|
|
@@ -2650,7 +2706,7 @@ __Returns:__
|
|
2650
2706
|
|
2651
2707
|
--
|
2652
2708
|
|
2653
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2709
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/generic.rb#L54) android
|
2654
2710
|
|
2655
2711
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2656
2712
|
|
@@ -2668,7 +2724,7 @@ __Returns:__
|
|
2668
2724
|
|
2669
2725
|
--
|
2670
2726
|
|
2671
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2727
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/textfield.rb#L3) android
|
2672
2728
|
|
2673
2729
|
> EditText = 'android.widget.EditText'.freeze
|
2674
2730
|
|
@@ -2676,7 +2732,7 @@ __Returns:__
|
|
2676
2732
|
|
2677
2733
|
--
|
2678
2734
|
|
2679
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2735
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/textfield.rb#L9) android
|
2680
2736
|
|
2681
2737
|
> def textfield(value)
|
2682
2738
|
|
@@ -2693,7 +2749,7 @@ __Returns:__
|
|
2693
2749
|
|
2694
2750
|
--
|
2695
2751
|
|
2696
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2752
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/textfield.rb#L18) android
|
2697
2753
|
|
2698
2754
|
> def textfields(value = false)
|
2699
2755
|
|
@@ -2710,7 +2766,7 @@ __Returns:__
|
|
2710
2766
|
|
2711
2767
|
--
|
2712
2768
|
|
2713
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2769
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/textfield.rb#L25) android
|
2714
2770
|
|
2715
2771
|
> def first_textfield
|
2716
2772
|
|
@@ -2722,7 +2778,7 @@ __Returns:__
|
|
2722
2778
|
|
2723
2779
|
--
|
2724
2780
|
|
2725
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2781
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/textfield.rb#L31) android
|
2726
2782
|
|
2727
2783
|
> def last_textfield
|
2728
2784
|
|
@@ -2734,7 +2790,7 @@ __Returns:__
|
|
2734
2790
|
|
2735
2791
|
--
|
2736
2792
|
|
2737
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2793
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/textfield.rb#L38) android
|
2738
2794
|
|
2739
2795
|
> def textfield_exact(value)
|
2740
2796
|
|
@@ -2750,7 +2806,7 @@ __Returns:__
|
|
2750
2806
|
|
2751
2807
|
--
|
2752
2808
|
|
2753
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2809
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/android/element/textfield.rb#L45) android
|
2754
2810
|
|
2755
2811
|
> def textfields_exact(value)
|
2756
2812
|
|
@@ -2766,7 +2822,7 @@ __Returns:__
|
|
2766
2822
|
|
2767
2823
|
--
|
2768
2824
|
|
2769
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2825
|
+
##### [value](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L12)
|
2770
2826
|
|
2771
2827
|
> def value
|
2772
2828
|
|
@@ -2776,7 +2832,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2776
2832
|
|
2777
2833
|
--
|
2778
2834
|
|
2779
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2835
|
+
##### [name](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L19)
|
2780
2836
|
|
2781
2837
|
> def name
|
2782
2838
|
|
@@ -2786,7 +2842,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2786
2842
|
|
2787
2843
|
--
|
2788
2844
|
|
2789
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2845
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L31)
|
2790
2846
|
|
2791
2847
|
> def location_rel
|
2792
2848
|
|
@@ -2804,7 +2860,7 @@ __Returns:__
|
|
2804
2860
|
|
2805
2861
|
--
|
2806
2862
|
|
2807
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2863
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L152)
|
2808
2864
|
|
2809
2865
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2810
2866
|
|
@@ -2812,7 +2868,7 @@ __Returns:__
|
|
2812
2868
|
|
2813
2869
|
--
|
2814
2870
|
|
2815
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2871
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/43a8f19bee4df0e37ba87663728f665829f26e27/lib/appium_lib/common/patch.rb#L155)
|
2816
2872
|
|
2817
2873
|
> def patch_remote_driver_commands
|
2818
2874
|
|