appium_lib 9.4.6 → 9.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/appium_lib.gemspec +1 -0
- data/docs/android_docs.md +230 -224
- data/docs/ios_docs.md +256 -250
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/device/device.rb +2 -1
- data/lib/appium_lib/driver.rb +10 -0
- data/release_notes.md +6 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d41ff1f97b40c3d8be78614404c1b7e449dff92
|
4
|
+
data.tar.gz: 06c2ae98192a965b06a51e02dd94d008101587a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 948d59c1e732b6ba0ec29cf125baf3da9ad7fa0b332d4b367dd8c371eff9d03298e08c6a19273cd79a73bdbb2a3f92b5569395b302224524a58bb786dff6aff2
|
7
|
+
data.tar.gz: 7f66a1e0c62a6e0ef9a44ca2594a4d7cd7b6e91339044a732809a18d04217b88daca39f6859f48a4efd6dfc8914175e547c0bc5975463e2f520422a2c6def113
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,15 @@ 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.
|
6
|
+
## v9.4.7
|
7
|
+
### 1. Enhancements
|
8
|
+
|
9
|
+
### 2. Bug fixes
|
10
|
+
- fix raise 500 error by `driver.remote_status` in `appium_server_version` [#599](https://github.com/appium/ruby_lib/issues/599)
|
11
|
+
|
12
|
+
### 3. Deprecations
|
13
|
+
|
14
|
+
## v9.4.6
|
7
15
|
### 1. Enhancements
|
8
16
|
|
9
17
|
### 2. Bug fixes
|
data/appium_lib.gemspec
CHANGED
@@ -28,6 +28,7 @@ Gem::Specification.new do |s|
|
|
28
28
|
s.add_development_dependency 'yard', '~> 0.8'
|
29
29
|
|
30
30
|
s.add_development_dependency 'rubocop', '~> 0.46.0'
|
31
|
+
s.add_development_dependency 'rainbow', '~> 2.1.0'
|
31
32
|
s.add_development_dependency 'pry'
|
32
33
|
|
33
34
|
s.files = `git ls-files`.split("\n").select { |v| !v.match /\A^(ios_tests|android_tests|grid)\/.+/ }
|
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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/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/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L279)
|
173
173
|
|
174
174
|
> def caps
|
175
175
|
|
@@ -177,7 +177,7 @@ Selenium webdriver capabilities
|
|
177
177
|
|
178
178
|
--
|
179
179
|
|
180
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
180
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L281)
|
181
181
|
|
182
182
|
> def custom_url
|
183
183
|
|
@@ -185,7 +185,7 @@ Custom URL for the selenium server
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L283)
|
189
189
|
|
190
190
|
> def export_session
|
191
191
|
|
@@ -193,7 +193,7 @@ Export session id to textfile in /tmp for 3rd party tools
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L288)
|
197
197
|
|
198
198
|
> def default_wait
|
199
199
|
|
@@ -207,7 +207,7 @@ __Returns:__
|
|
207
207
|
|
208
208
|
--
|
209
209
|
|
210
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
210
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L290)
|
211
211
|
|
212
212
|
> def sauce_username
|
213
213
|
|
@@ -215,7 +215,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
215
215
|
|
216
216
|
--
|
217
217
|
|
218
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
218
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L292)
|
219
219
|
|
220
220
|
> def sauce_access_key
|
221
221
|
|
@@ -223,7 +223,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
223
223
|
|
224
224
|
--
|
225
225
|
|
226
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L294)
|
227
227
|
|
228
228
|
> def sauce_endpoint
|
229
229
|
|
@@ -231,7 +231,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests
|
|
231
231
|
|
232
232
|
--
|
233
233
|
|
234
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
234
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L296)
|
235
235
|
|
236
236
|
> def appium_port
|
237
237
|
|
@@ -239,7 +239,7 @@ Appium's server port
|
|
239
239
|
|
240
240
|
--
|
241
241
|
|
242
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
242
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L298)
|
243
243
|
|
244
244
|
> def appium_device
|
245
245
|
|
@@ -247,7 +247,7 @@ Device type to request from the appium server
|
|
247
247
|
|
248
248
|
--
|
249
249
|
|
250
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
250
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L301)
|
251
251
|
|
252
252
|
> def automation_name
|
253
253
|
|
@@ -256,7 +256,7 @@ If automation_name is nil, it is not set both client side and server side.
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L303)
|
260
260
|
|
261
261
|
> def appium_server_status
|
262
262
|
|
@@ -264,7 +264,7 @@ Appium's server version
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L305)
|
268
268
|
|
269
269
|
> def appium_debug
|
270
270
|
|
@@ -272,7 +272,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L307)
|
276
276
|
|
277
277
|
> def listener
|
278
278
|
|
@@ -280,7 +280,7 @@ instance of AbstractEventListener for logging support
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L310)
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L313)
|
296
296
|
|
297
297
|
> def http_client
|
298
298
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
304
304
|
|
305
305
|
--
|
306
306
|
|
307
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L318)
|
308
308
|
|
309
309
|
> def appium_wait_timeout
|
310
310
|
|
@@ -318,7 +318,7 @@ __Returns:__
|
|
318
318
|
|
319
319
|
--
|
320
320
|
|
321
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L323)
|
322
322
|
|
323
323
|
> def appium_wait_interval
|
324
324
|
|
@@ -332,7 +332,7 @@ __Returns:__
|
|
332
332
|
|
333
333
|
--
|
334
334
|
|
335
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
335
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L363)
|
336
336
|
|
337
337
|
> def initialize(opts = {})
|
338
338
|
|
@@ -348,7 +348,7 @@ __Returns:__
|
|
348
348
|
|
349
349
|
--
|
350
350
|
|
351
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
351
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L441)
|
352
352
|
|
353
353
|
> def driver_attributes
|
354
354
|
|
@@ -356,7 +356,7 @@ Returns a hash of the driver attributes
|
|
356
356
|
|
357
357
|
--
|
358
358
|
|
359
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
359
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L466)
|
360
360
|
|
361
361
|
> def device_is_android?
|
362
362
|
|
@@ -368,7 +368,7 @@ __Returns:__
|
|
368
368
|
|
369
369
|
--
|
370
370
|
|
371
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
371
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L472)
|
372
372
|
|
373
373
|
> def automation_name_is_xcuitest?
|
374
374
|
|
@@ -380,7 +380,7 @@ __Returns:__
|
|
380
380
|
|
381
381
|
--
|
382
382
|
|
383
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
383
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L478)
|
384
384
|
|
385
385
|
> def automation_name_is_uiautomator2?
|
386
386
|
|
@@ -392,7 +392,7 @@ __Returns:__
|
|
392
392
|
|
393
393
|
--
|
394
394
|
|
395
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
395
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L485)
|
396
396
|
|
397
397
|
> def check_server_version_xcuitest
|
398
398
|
|
@@ -405,7 +405,7 @@ __Returns:__
|
|
405
405
|
|
406
406
|
--
|
407
407
|
|
408
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
408
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L512)
|
409
409
|
|
410
410
|
> def appium_server_version
|
411
411
|
|
@@ -420,13 +420,19 @@ Returns the server's version info
|
|
420
420
|
}
|
421
421
|
```
|
422
422
|
|
423
|
+
Returns blank hash for Selenium Grid since `remote_status` gets 500 error
|
424
|
+
|
425
|
+
```ruby
|
426
|
+
{}
|
427
|
+
```
|
428
|
+
|
423
429
|
__Returns:__
|
424
430
|
|
425
431
|
[Hash]
|
426
432
|
|
427
433
|
--
|
428
434
|
|
429
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
435
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L533)
|
430
436
|
|
431
437
|
> def appium_client_version
|
432
438
|
|
@@ -444,7 +450,7 @@ __Returns:__
|
|
444
450
|
|
445
451
|
--
|
446
452
|
|
447
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
453
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L545)
|
448
454
|
|
449
455
|
> def self.absolute_app_path(opts)
|
450
456
|
|
@@ -461,7 +467,7 @@ __Returns:__
|
|
461
467
|
|
462
468
|
--
|
463
469
|
|
464
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
470
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L578)
|
465
471
|
|
466
472
|
> def server_url
|
467
473
|
|
@@ -473,7 +479,7 @@ __Returns:__
|
|
473
479
|
|
474
480
|
--
|
475
481
|
|
476
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
482
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L589)
|
477
483
|
|
478
484
|
> def restart
|
479
485
|
|
@@ -485,7 +491,7 @@ __Returns:__
|
|
485
491
|
|
486
492
|
--
|
487
493
|
|
488
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
494
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L600)
|
489
495
|
|
490
496
|
> def screenshot(png_save_path)
|
491
497
|
|
@@ -503,7 +509,7 @@ __Returns:__
|
|
503
509
|
|
504
510
|
--
|
505
511
|
|
506
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
512
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L607)
|
507
513
|
|
508
514
|
> def driver_quit
|
509
515
|
|
@@ -515,7 +521,7 @@ __Returns:__
|
|
515
521
|
|
516
522
|
--
|
517
523
|
|
518
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
524
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L617)
|
519
525
|
|
520
526
|
> def start_driver
|
521
527
|
|
@@ -527,7 +533,7 @@ __Returns:__
|
|
527
533
|
|
528
534
|
--
|
529
535
|
|
530
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
536
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L655)
|
531
537
|
|
532
538
|
> def no_wait
|
533
539
|
|
@@ -535,7 +541,7 @@ Set implicit wait to zero.
|
|
535
541
|
|
536
542
|
--
|
537
543
|
|
538
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L669)
|
539
545
|
|
540
546
|
> def set_wait(timeout = nil)
|
541
547
|
|
@@ -557,7 +563,7 @@ __Returns:__
|
|
557
563
|
|
558
564
|
--
|
559
565
|
|
560
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
566
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L686)
|
561
567
|
|
562
568
|
> def exists(pre_check = 0, post_check = @default_wait)
|
563
569
|
|
@@ -581,7 +587,7 @@ __Returns:__
|
|
581
587
|
|
582
588
|
--
|
583
589
|
|
584
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
590
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L710)
|
585
591
|
|
586
592
|
> def execute_script(script, *args)
|
587
593
|
|
@@ -599,7 +605,7 @@ __Returns:__
|
|
599
605
|
|
600
606
|
--
|
601
607
|
|
602
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L732)
|
603
609
|
|
604
610
|
> def find_elements(*args)
|
605
611
|
|
@@ -625,7 +631,7 @@ __Returns:__
|
|
625
631
|
|
626
632
|
--
|
627
633
|
|
628
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
634
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L747)
|
629
635
|
|
630
636
|
> def find_element(*args)
|
631
637
|
|
@@ -646,7 +652,7 @@ __Returns:__
|
|
646
652
|
|
647
653
|
--
|
648
654
|
|
649
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
655
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L760)
|
650
656
|
|
651
657
|
> def set_location(opts = {})
|
652
658
|
|
@@ -662,7 +668,7 @@ __Returns:__
|
|
662
668
|
|
663
669
|
--
|
664
670
|
|
665
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
671
|
+
##### [x](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L770)
|
666
672
|
|
667
673
|
> def x
|
668
674
|
|
@@ -675,7 +681,7 @@ __Returns:__
|
|
675
681
|
|
676
682
|
--
|
677
683
|
|
678
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/driver.rb#L779)
|
679
685
|
|
680
686
|
> def set_automation_name_if_nil
|
681
687
|
|
@@ -684,7 +690,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
684
690
|
|
685
691
|
--
|
686
692
|
|
687
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
693
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/logger.rb#L13)
|
688
694
|
|
689
695
|
> def logger=(value)
|
690
696
|
|
@@ -696,7 +702,7 @@ __Parameters:__
|
|
696
702
|
|
697
703
|
--
|
698
704
|
|
699
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
705
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/logger.rb#L17)
|
700
706
|
|
701
707
|
> def logger
|
702
708
|
|
@@ -704,7 +710,7 @@ __Parameters:__
|
|
704
710
|
|
705
711
|
--
|
706
712
|
|
707
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
713
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L7)
|
708
714
|
|
709
715
|
> def app_strings
|
710
716
|
|
@@ -715,7 +721,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
715
721
|
|
716
722
|
--
|
717
723
|
|
718
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L13)
|
719
725
|
|
720
726
|
> def background_app
|
721
727
|
|
@@ -724,7 +730,7 @@ This is a blocking application
|
|
724
730
|
|
725
731
|
--
|
726
732
|
|
727
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
733
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L24)
|
728
734
|
|
729
735
|
> def current_activity
|
730
736
|
|
@@ -732,7 +738,7 @@ This is a blocking application
|
|
732
738
|
|
733
739
|
--
|
734
740
|
|
735
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L26)
|
736
742
|
|
737
743
|
> def get_system_bars
|
738
744
|
|
@@ -747,7 +753,7 @@ __Returns:__
|
|
747
753
|
|
748
754
|
--
|
749
755
|
|
750
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
756
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L34)
|
751
757
|
|
752
758
|
> def get_display_density
|
753
759
|
|
@@ -762,7 +768,7 @@ __Returns:__
|
|
762
768
|
|
763
769
|
--
|
764
770
|
|
765
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L42)
|
766
772
|
|
767
773
|
> def is_keyboard_shown
|
768
774
|
|
@@ -777,7 +783,7 @@ __Returns:__
|
|
777
783
|
|
778
784
|
--
|
779
785
|
|
780
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L50)
|
781
787
|
|
782
788
|
> def launch_app
|
783
789
|
|
@@ -785,7 +791,7 @@ Start the simulator and application configured with desired capabilities
|
|
785
791
|
|
786
792
|
--
|
787
793
|
|
788
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L53)
|
789
795
|
|
790
796
|
> def reset
|
791
797
|
|
@@ -793,7 +799,7 @@ Reset the device, relaunching the application.
|
|
793
799
|
|
794
800
|
--
|
795
801
|
|
796
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
802
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L56)
|
797
803
|
|
798
804
|
> def shake
|
799
805
|
|
@@ -801,7 +807,7 @@ Cause the device to shake
|
|
801
807
|
|
802
808
|
--
|
803
809
|
|
804
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L59)
|
805
811
|
|
806
812
|
> def toggle_flight_mode
|
807
813
|
|
@@ -809,7 +815,7 @@ Toggle flight mode on or off
|
|
809
815
|
|
810
816
|
--
|
811
817
|
|
812
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L62)
|
813
819
|
|
814
820
|
> def device_locked?
|
815
821
|
|
@@ -817,7 +823,7 @@ Toggle flight mode on or off
|
|
817
823
|
|
818
824
|
--
|
819
825
|
|
820
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
826
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L64)
|
821
827
|
|
822
828
|
> def hide_keyboard
|
823
829
|
|
@@ -834,7 +840,7 @@ Default for iOS is `:pressKey`. Default for Android is `:tapOutside`.
|
|
834
840
|
|
835
841
|
--
|
836
842
|
|
837
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L77)
|
838
844
|
|
839
845
|
> def press_keycode
|
840
846
|
|
@@ -849,7 +855,7 @@ __Parameters:__
|
|
849
855
|
|
850
856
|
--
|
851
857
|
|
852
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
858
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L83)
|
853
859
|
|
854
860
|
> def long_press_keycode
|
855
861
|
|
@@ -864,7 +870,7 @@ __Parameters:__
|
|
864
870
|
|
865
871
|
--
|
866
872
|
|
867
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L89)
|
868
874
|
|
869
875
|
> def push_file
|
870
876
|
|
@@ -878,7 +884,7 @@ __Parameters:__
|
|
878
884
|
|
879
885
|
--
|
880
886
|
|
881
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L94)
|
882
888
|
|
883
889
|
> def pull_file
|
884
890
|
|
@@ -895,7 +901,7 @@ __Parameters:__
|
|
895
901
|
|
896
902
|
--
|
897
903
|
|
898
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
904
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L104)
|
899
905
|
|
900
906
|
> def pull_folder
|
901
907
|
|
@@ -910,7 +916,7 @@ __Parameters:__
|
|
910
916
|
|
911
917
|
--
|
912
918
|
|
913
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L112)
|
914
920
|
|
915
921
|
> def touch_id
|
916
922
|
|
@@ -927,7 +933,7 @@ Defaults to true.
|
|
927
933
|
|
928
934
|
--
|
929
935
|
|
930
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
936
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L121)
|
931
937
|
|
932
938
|
> def toggle_touch_id_enrollment
|
933
939
|
|
@@ -935,7 +941,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
935
941
|
|
936
942
|
--
|
937
943
|
|
938
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
944
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L124)
|
939
945
|
|
940
946
|
> def end_coverage
|
941
947
|
|
@@ -949,7 +955,7 @@ __Parameters:__
|
|
949
955
|
|
950
956
|
--
|
951
957
|
|
952
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L129)
|
953
959
|
|
954
960
|
> def get_settings
|
955
961
|
|
@@ -957,7 +963,7 @@ Get appium Settings for current test session
|
|
957
963
|
|
958
964
|
--
|
959
965
|
|
960
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
966
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L132)
|
961
967
|
|
962
968
|
> def update_settings
|
963
969
|
|
@@ -969,7 +975,7 @@ __Parameters:__
|
|
969
975
|
|
970
976
|
--
|
971
977
|
|
972
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
978
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L136)
|
973
979
|
|
974
980
|
> def start_activity
|
975
981
|
|
@@ -983,7 +989,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
983
989
|
|
984
990
|
--
|
985
991
|
|
986
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
992
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L150)
|
987
993
|
|
988
994
|
> def get_network_connection
|
989
995
|
|
@@ -992,7 +998,7 @@ See set_network_connection method for return value
|
|
992
998
|
|
993
999
|
--
|
994
1000
|
|
995
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1001
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L154)
|
996
1002
|
|
997
1003
|
> def set_network_connection
|
998
1004
|
|
@@ -1011,7 +1017,7 @@ __Parameters:__
|
|
1011
1017
|
|
1012
1018
|
--
|
1013
1019
|
|
1014
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1020
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L167)
|
1015
1021
|
|
1016
1022
|
> def set_immediate_value
|
1017
1023
|
|
@@ -1025,7 +1031,7 @@ set_immediate_value element, 'hello'
|
|
1025
1031
|
|
1026
1032
|
--
|
1027
1033
|
|
1028
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1034
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L176)
|
1029
1035
|
|
1030
1036
|
> def get_performance_data_types
|
1031
1037
|
|
@@ -1039,7 +1045,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1039
1045
|
|
1040
1046
|
--
|
1041
1047
|
|
1042
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L439)
|
1043
1049
|
|
1044
1050
|
> def extend_search_contexts
|
1045
1051
|
|
@@ -1047,7 +1053,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1047
1053
|
|
1048
1054
|
--
|
1049
1055
|
|
1050
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L439)
|
1051
1057
|
|
1052
1058
|
> def find_element_with_appium
|
1053
1059
|
|
@@ -1055,7 +1061,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1055
1061
|
|
1056
1062
|
--
|
1057
1063
|
|
1058
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L439)
|
1059
1065
|
|
1060
1066
|
> def find_elements_with_appium
|
1061
1067
|
|
@@ -1067,7 +1073,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1067
1073
|
|
1068
1074
|
--
|
1069
1075
|
|
1070
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L470)
|
1071
1077
|
|
1072
1078
|
> def add_touch_actions
|
1073
1079
|
|
@@ -1075,7 +1081,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1075
1081
|
|
1076
1082
|
--
|
1077
1083
|
|
1078
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1084
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L493)
|
1079
1085
|
|
1080
1086
|
> def add_ime_actions
|
1081
1087
|
|
@@ -1083,7 +1089,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1083
1089
|
|
1084
1090
|
--
|
1085
1091
|
|
1086
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L568)
|
1087
1093
|
|
1088
1094
|
> def set_context
|
1089
1095
|
|
@@ -1098,7 +1104,7 @@ __Parameters:__
|
|
1098
1104
|
|
1099
1105
|
--
|
1100
1106
|
|
1101
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L576)
|
1102
1108
|
|
1103
1109
|
> def current_context
|
1104
1110
|
|
@@ -1110,7 +1116,7 @@ __Returns:__
|
|
1110
1116
|
|
1111
1117
|
--
|
1112
1118
|
|
1113
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L579)
|
1114
1120
|
|
1115
1121
|
> def available_contexts
|
1116
1122
|
|
@@ -1122,7 +1128,7 @@ __Returns:__
|
|
1122
1128
|
|
1123
1129
|
--
|
1124
1130
|
|
1125
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L589)
|
1126
1132
|
|
1127
1133
|
> def within_context(context)
|
1128
1134
|
|
@@ -1138,7 +1144,7 @@ __Parameters:__
|
|
1138
1144
|
|
1139
1145
|
--
|
1140
1146
|
|
1141
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/device.rb#L597)
|
1142
1148
|
|
1143
1149
|
> def switch_to_default_context
|
1144
1150
|
|
@@ -1146,7 +1152,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1146
1152
|
|
1147
1153
|
--
|
1148
1154
|
|
1149
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1155
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L28)
|
1150
1156
|
|
1151
1157
|
> def pinch(percentage = 25, auto_perform = true)
|
1152
1158
|
|
@@ -1165,7 +1171,7 @@ __Parameters:__
|
|
1165
1171
|
|
1166
1172
|
--
|
1167
1173
|
|
1168
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L57)
|
1169
1175
|
|
1170
1176
|
> def zoom(percentage = 200, auto_perform = true)
|
1171
1177
|
|
@@ -1184,7 +1190,7 @@ __Parameters:__
|
|
1184
1190
|
|
1185
1191
|
--
|
1186
1192
|
|
1187
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L79)
|
1188
1194
|
|
1189
1195
|
> def pinch_for_xcuitest(rate)
|
1190
1196
|
|
@@ -1192,7 +1198,7 @@ __Parameters:__
|
|
1192
1198
|
|
1193
1199
|
--
|
1194
1200
|
|
1195
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L94)
|
1196
1202
|
|
1197
1203
|
> def pinch_android(rate)
|
1198
1204
|
|
@@ -1200,7 +1206,7 @@ __Parameters:__
|
|
1200
1206
|
|
1201
1207
|
--
|
1202
1208
|
|
1203
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L108)
|
1204
1210
|
|
1205
1211
|
> def pinch_ios(rate)
|
1206
1212
|
|
@@ -1208,7 +1214,7 @@ __Parameters:__
|
|
1208
1214
|
|
1209
1215
|
--
|
1210
1216
|
|
1211
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L122)
|
1212
1218
|
|
1213
1219
|
> def zoom_for_xcuitest(rate)
|
1214
1220
|
|
@@ -1216,7 +1222,7 @@ __Parameters:__
|
|
1216
1222
|
|
1217
1223
|
--
|
1218
1224
|
|
1219
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L137)
|
1220
1226
|
|
1221
1227
|
> def zoom_android(rate)
|
1222
1228
|
|
@@ -1224,7 +1230,7 @@ __Parameters:__
|
|
1224
1230
|
|
1225
1231
|
--
|
1226
1232
|
|
1227
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L151)
|
1228
1234
|
|
1229
1235
|
> def zoom_ios(rate)
|
1230
1236
|
|
@@ -1232,7 +1238,7 @@ __Parameters:__
|
|
1232
1238
|
|
1233
1239
|
--
|
1234
1240
|
|
1235
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1241
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L166)
|
1236
1242
|
|
1237
1243
|
> def actions
|
1238
1244
|
|
@@ -1240,7 +1246,7 @@ self
|
|
1240
1246
|
|
1241
1247
|
--
|
1242
1248
|
|
1243
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L169)
|
1244
1250
|
|
1245
1251
|
> def initialize
|
1246
1252
|
|
@@ -1252,7 +1258,7 @@ __Returns:__
|
|
1252
1258
|
|
1253
1259
|
--
|
1254
1260
|
|
1255
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [add](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L175)
|
1256
1262
|
|
1257
1263
|
> def add(chain)
|
1258
1264
|
|
@@ -1264,7 +1270,7 @@ __Parameters:__
|
|
1264
1270
|
|
1265
1271
|
--
|
1266
1272
|
|
1267
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/multi_touch.rb#L180)
|
1268
1274
|
|
1269
1275
|
> def perform
|
1270
1276
|
|
@@ -1272,7 +1278,7 @@ Ask Appium to perform the actions
|
|
1272
1278
|
|
1273
1279
|
--
|
1274
1280
|
|
1275
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L22)
|
1276
1282
|
|
1277
1283
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1278
1284
|
|
@@ -1280,7 +1286,7 @@ Ask Appium to perform the actions
|
|
1280
1286
|
|
1281
1287
|
--
|
1282
1288
|
|
1283
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L23)
|
1284
1290
|
|
1285
1291
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1286
1292
|
|
@@ -1288,7 +1294,7 @@ Ask Appium to perform the actions
|
|
1288
1294
|
|
1289
1295
|
--
|
1290
1296
|
|
1291
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L37)
|
1292
1298
|
|
1293
1299
|
> def actions
|
1294
1300
|
|
@@ -1296,7 +1302,7 @@ Returns the value of attribute actions
|
|
1296
1302
|
|
1297
1303
|
--
|
1298
1304
|
|
1299
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1305
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L39)
|
1300
1306
|
|
1301
1307
|
> def initialize
|
1302
1308
|
|
@@ -1308,7 +1314,7 @@ __Returns:__
|
|
1308
1314
|
|
1309
1315
|
--
|
1310
1316
|
|
1311
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L50)
|
1312
1318
|
|
1313
1319
|
> def move_to(opts)
|
1314
1320
|
|
@@ -1322,7 +1328,7 @@ __Parameters:__
|
|
1322
1328
|
|
1323
1329
|
--
|
1324
1330
|
|
1325
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L64)
|
1326
1332
|
|
1327
1333
|
> def long_press(opts)
|
1328
1334
|
|
@@ -1343,7 +1349,7 @@ __Parameters:__
|
|
1343
1349
|
|
1344
1350
|
--
|
1345
1351
|
|
1346
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [press](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L76)
|
1347
1353
|
|
1348
1354
|
> def press(opts)
|
1349
1355
|
|
@@ -1356,7 +1362,7 @@ __Parameters:__
|
|
1356
1362
|
|
1357
1363
|
--
|
1358
1364
|
|
1359
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1365
|
+
##### [release](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L87)
|
1360
1366
|
|
1361
1367
|
> def release(opts = nil)
|
1362
1368
|
|
@@ -1368,7 +1374,7 @@ __Parameters:__
|
|
1368
1374
|
|
1369
1375
|
--
|
1370
1376
|
|
1371
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1377
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L99)
|
1372
1378
|
|
1373
1379
|
> def tap(opts)
|
1374
1380
|
|
@@ -1381,7 +1387,7 @@ __Parameters:__
|
|
1381
1387
|
|
1382
1388
|
--
|
1383
1389
|
|
1384
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1390
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L112)
|
1385
1391
|
|
1386
1392
|
> def double_tap(opts)
|
1387
1393
|
|
@@ -1393,7 +1399,7 @@ __Parameters:__
|
|
1393
1399
|
|
1394
1400
|
--
|
1395
1401
|
|
1396
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1402
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L123)
|
1397
1403
|
|
1398
1404
|
> def two_finger_tap(opts)
|
1399
1405
|
|
@@ -1405,7 +1411,7 @@ __Parameters:__
|
|
1405
1411
|
|
1406
1412
|
--
|
1407
1413
|
|
1408
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1414
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L131)
|
1409
1415
|
|
1410
1416
|
> def wait(milliseconds)
|
1411
1417
|
|
@@ -1417,7 +1423,7 @@ __Parameters:__
|
|
1417
1423
|
|
1418
1424
|
--
|
1419
1425
|
|
1420
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L154)
|
1421
1427
|
|
1422
1428
|
> def swipe(opts, ele = nil)
|
1423
1429
|
|
@@ -1438,7 +1444,7 @@ __Parameters:__
|
|
1438
1444
|
|
1439
1445
|
--
|
1440
1446
|
|
1441
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L179)
|
1442
1448
|
|
1443
1449
|
> def perform
|
1444
1450
|
|
@@ -1446,7 +1452,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1446
1452
|
|
1447
1453
|
--
|
1448
1454
|
|
1449
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L186)
|
1450
1456
|
|
1451
1457
|
> def cancel
|
1452
1458
|
|
@@ -1454,7 +1460,7 @@ Does nothing, currently.
|
|
1454
1460
|
|
1455
1461
|
--
|
1456
1462
|
|
1457
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1463
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L192)
|
1458
1464
|
|
1459
1465
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1460
1466
|
|
@@ -1462,7 +1468,7 @@ Does nothing, currently.
|
|
1462
1468
|
|
1463
1469
|
--
|
1464
1470
|
|
1465
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L210)
|
1466
1472
|
|
1467
1473
|
> def chain_method(method, args = nil)
|
1468
1474
|
|
@@ -1470,7 +1476,7 @@ Does nothing, currently.
|
|
1470
1476
|
|
1471
1477
|
--
|
1472
1478
|
|
1473
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1479
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/device/touch_actions.rb#L216)
|
1474
1480
|
|
1475
1481
|
> def args_with_ele_ref(args)
|
1476
1482
|
|
@@ -1478,7 +1484,7 @@ Does nothing, currently.
|
|
1478
1484
|
|
1479
1485
|
--
|
1480
1486
|
|
1481
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1487
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L9)
|
1482
1488
|
|
1483
1489
|
> def _generic_wait(opts = {})
|
1484
1490
|
|
@@ -1487,7 +1493,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1487
1493
|
|
1488
1494
|
--
|
1489
1495
|
|
1490
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L48)
|
1491
1497
|
|
1492
1498
|
> def _process_wait_opts(opts)
|
1493
1499
|
|
@@ -1495,7 +1501,7 @@ process opts before calling _generic_wait
|
|
1495
1501
|
|
1496
1502
|
--
|
1497
1503
|
|
1498
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1504
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L69)
|
1499
1505
|
|
1500
1506
|
> def wait_true(opts = {}, &block)
|
1501
1507
|
|
@@ -1515,7 +1521,7 @@ __Parameters:__
|
|
1515
1521
|
|
1516
1522
|
--
|
1517
1523
|
|
1518
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1524
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/wait.rb#L87)
|
1519
1525
|
|
1520
1526
|
> def wait(opts = {}, &block)
|
1521
1527
|
|
@@ -1533,7 +1539,7 @@ __Parameters:__
|
|
1533
1539
|
|
1534
1540
|
--
|
1535
1541
|
|
1536
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1542
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L24)
|
1537
1543
|
|
1538
1544
|
> def ignore
|
1539
1545
|
|
@@ -1541,7 +1547,7 @@ Return yield and ignore any exceptions.
|
|
1541
1547
|
|
1542
1548
|
--
|
1543
1549
|
|
1544
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1550
|
+
##### [back](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L31)
|
1545
1551
|
|
1546
1552
|
> def back
|
1547
1553
|
|
@@ -1553,7 +1559,7 @@ __Returns:__
|
|
1553
1559
|
|
1554
1560
|
--
|
1555
1561
|
|
1556
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1562
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L36)
|
1557
1563
|
|
1558
1564
|
> def session_id
|
1559
1565
|
|
@@ -1561,7 +1567,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1561
1567
|
|
1562
1568
|
--
|
1563
1569
|
|
1564
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1570
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L44)
|
1565
1571
|
|
1566
1572
|
> def xpath(xpath_str)
|
1567
1573
|
|
@@ -1577,7 +1583,7 @@ __Returns:__
|
|
1577
1583
|
|
1578
1584
|
--
|
1579
1585
|
|
1580
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1586
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L52)
|
1581
1587
|
|
1582
1588
|
> def xpaths(xpath_str)
|
1583
1589
|
|
@@ -1593,7 +1599,7 @@ __Returns:__
|
|
1593
1599
|
|
1594
1600
|
--
|
1595
1601
|
|
1596
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1602
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L56)
|
1597
1603
|
|
1598
1604
|
> def _print_source(source)
|
1599
1605
|
|
@@ -1601,7 +1607,7 @@ __Returns:__
|
|
1601
1607
|
|
1602
1608
|
--
|
1603
1609
|
|
1604
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L69)
|
1605
1611
|
|
1606
1612
|
> def result
|
1607
1613
|
|
@@ -1609,7 +1615,7 @@ Returns the value of attribute result
|
|
1609
1615
|
|
1610
1616
|
--
|
1611
1617
|
|
1612
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1618
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L71)
|
1613
1619
|
|
1614
1620
|
> def initialize
|
1615
1621
|
|
@@ -1621,7 +1627,7 @@ __Returns:__
|
|
1621
1627
|
|
1622
1628
|
--
|
1623
1629
|
|
1624
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1630
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L75)
|
1625
1631
|
|
1626
1632
|
> def reset
|
1627
1633
|
|
@@ -1629,7 +1635,7 @@ __Returns:__
|
|
1629
1635
|
|
1630
1636
|
--
|
1631
1637
|
|
1632
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1638
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L80)
|
1633
1639
|
|
1634
1640
|
> def start_element(name, attrs = [])
|
1635
1641
|
|
@@ -1637,7 +1643,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1637
1643
|
|
1638
1644
|
--
|
1639
1645
|
|
1640
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1646
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L86)
|
1641
1647
|
|
1642
1648
|
> def formatted_result
|
1643
1649
|
|
@@ -1645,7 +1651,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1645
1651
|
|
1646
1652
|
--
|
1647
1653
|
|
1648
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1654
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L97)
|
1649
1655
|
|
1650
1656
|
> def get_page_class
|
1651
1657
|
|
@@ -1653,7 +1659,7 @@ Returns a string of class counts of visible elements.
|
|
1653
1659
|
|
1654
1660
|
--
|
1655
1661
|
|
1656
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1662
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L108)
|
1657
1663
|
|
1658
1664
|
> def page_class
|
1659
1665
|
|
@@ -1662,7 +1668,7 @@ Useful for appium_console.
|
|
1662
1668
|
|
1663
1669
|
--
|
1664
1670
|
|
1665
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1671
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L118)
|
1666
1672
|
|
1667
1673
|
> def px_to_window_rel(opts = {})
|
1668
1674
|
|
@@ -1674,7 +1680,7 @@ px_to_window_rel x: 50, y: 150
|
|
1674
1680
|
|
1675
1681
|
--
|
1676
1682
|
|
1677
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1683
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L137)
|
1678
1684
|
|
1679
1685
|
> def xml_keys(target)
|
1680
1686
|
|
@@ -1690,7 +1696,7 @@ __Returns:__
|
|
1690
1696
|
|
1691
1697
|
--
|
1692
1698
|
|
1693
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1699
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L145)
|
1694
1700
|
|
1695
1701
|
> def xml_values(target)
|
1696
1702
|
|
@@ -1706,7 +1712,7 @@ __Returns:__
|
|
1706
1712
|
|
1707
1713
|
--
|
1708
1714
|
|
1709
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1715
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L153)
|
1710
1716
|
|
1711
1717
|
> def resolve_id(id)
|
1712
1718
|
|
@@ -1722,7 +1728,7 @@ __Returns:__
|
|
1722
1728
|
|
1723
1729
|
--
|
1724
1730
|
|
1725
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1731
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L159)
|
1726
1732
|
|
1727
1733
|
> def filter
|
1728
1734
|
|
@@ -1730,7 +1736,7 @@ Returns the value of attribute filter
|
|
1730
1736
|
|
1731
1737
|
--
|
1732
1738
|
|
1733
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1739
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L162)
|
1734
1740
|
|
1735
1741
|
> def filter=(value)
|
1736
1742
|
|
@@ -1738,7 +1744,7 @@ convert to string to support symbols
|
|
1738
1744
|
|
1739
1745
|
--
|
1740
1746
|
|
1741
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L168)
|
1742
1748
|
|
1743
1749
|
> def initialize
|
1744
1750
|
|
@@ -1750,7 +1756,7 @@ __Returns:__
|
|
1750
1756
|
|
1751
1757
|
--
|
1752
1758
|
|
1753
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1759
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L173)
|
1754
1760
|
|
1755
1761
|
> def reset
|
1756
1762
|
|
@@ -1758,7 +1764,7 @@ __Returns:__
|
|
1758
1764
|
|
1759
1765
|
--
|
1760
1766
|
|
1761
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1767
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L179)
|
1762
1768
|
|
1763
1769
|
> def result
|
1764
1770
|
|
@@ -1766,7 +1772,7 @@ __Returns:__
|
|
1766
1772
|
|
1767
1773
|
--
|
1768
1774
|
|
1769
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1775
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L195)
|
1770
1776
|
|
1771
1777
|
> def start_element(name, attrs = [])
|
1772
1778
|
|
@@ -1774,7 +1780,7 @@ __Returns:__
|
|
1774
1780
|
|
1775
1781
|
--
|
1776
1782
|
|
1777
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1783
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L204)
|
1778
1784
|
|
1779
1785
|
> def end_element(name)
|
1780
1786
|
|
@@ -1782,7 +1788,7 @@ __Returns:__
|
|
1782
1788
|
|
1783
1789
|
--
|
1784
1790
|
|
1785
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1791
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L210)
|
1786
1792
|
|
1787
1793
|
> def characters(chars)
|
1788
1794
|
|
@@ -1790,7 +1796,7 @@ __Returns:__
|
|
1790
1796
|
|
1791
1797
|
--
|
1792
1798
|
|
1793
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1799
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/helper.rb#L217)
|
1794
1800
|
|
1795
1801
|
> def _no_such_element
|
1796
1802
|
|
@@ -1798,7 +1804,7 @@ __Returns:__
|
|
1798
1804
|
|
1799
1805
|
--
|
1800
1806
|
|
1801
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1807
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/command.rb#L4)
|
1802
1808
|
|
1803
1809
|
> COMMAND_NO_ARG = {
|
1804
1810
|
|
@@ -1806,7 +1812,7 @@ __Returns:__
|
|
1806
1812
|
|
1807
1813
|
--
|
1808
1814
|
|
1809
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1815
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/command.rb#L27)
|
1810
1816
|
|
1811
1817
|
> COMMAND = {
|
1812
1818
|
|
@@ -1814,7 +1820,7 @@ __Returns:__
|
|
1814
1820
|
|
1815
1821
|
--
|
1816
1822
|
|
1817
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1823
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/element/window.rb#L5)
|
1818
1824
|
|
1819
1825
|
> def window_size
|
1820
1826
|
|
@@ -1822,7 +1828,7 @@ Get the window's size
|
|
1822
1828
|
|
1823
1829
|
--
|
1824
1830
|
|
1825
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1831
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/search_context.rb#L5)
|
1826
1832
|
|
1827
1833
|
> FINDERS = {
|
1828
1834
|
|
@@ -1830,7 +1836,7 @@ rubocop:disable Style/MutableConstant
|
|
1830
1836
|
|
1831
1837
|
--
|
1832
1838
|
|
1833
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L6) android
|
1834
1840
|
|
1835
1841
|
> def result
|
1836
1842
|
|
@@ -1838,7 +1844,7 @@ Returns the value of attribute result
|
|
1838
1844
|
|
1839
1845
|
--
|
1840
1846
|
|
1841
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L6) android
|
1842
1848
|
|
1843
1849
|
> def keys
|
1844
1850
|
|
@@ -1846,7 +1852,7 @@ Returns the value of attribute keys
|
|
1846
1852
|
|
1847
1853
|
--
|
1848
1854
|
|
1849
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1855
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L6) android
|
1850
1856
|
|
1851
1857
|
> def filter
|
1852
1858
|
|
@@ -1854,7 +1860,7 @@ Returns the value of attribute filter
|
|
1854
1860
|
|
1855
1861
|
--
|
1856
1862
|
|
1857
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L9) android
|
1858
1864
|
|
1859
1865
|
> def filter=(value)
|
1860
1866
|
|
@@ -1862,7 +1868,7 @@ convert to string to support symbols
|
|
1862
1868
|
|
1863
1869
|
--
|
1864
1870
|
|
1865
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1871
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L15) android
|
1866
1872
|
|
1867
1873
|
> def initialize
|
1868
1874
|
|
@@ -1874,7 +1880,7 @@ __Returns:__
|
|
1874
1880
|
|
1875
1881
|
--
|
1876
1882
|
|
1877
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1883
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L20) android
|
1878
1884
|
|
1879
1885
|
> def reset
|
1880
1886
|
|
@@ -1882,7 +1888,7 @@ __Returns:__
|
|
1882
1888
|
|
1883
1889
|
--
|
1884
1890
|
|
1885
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1891
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L26) android
|
1886
1892
|
|
1887
1893
|
> def start_element(name, attrs = [])
|
1888
1894
|
|
@@ -1890,7 +1896,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1890
1896
|
|
1891
1897
|
--
|
1892
1898
|
|
1893
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [source](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L82) android
|
1894
1900
|
|
1895
1901
|
> def source
|
1896
1902
|
|
@@ -1902,7 +1908,7 @@ __Returns:__
|
|
1902
1908
|
|
1903
1909
|
--
|
1904
1910
|
|
1905
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L92) android
|
1906
1912
|
|
1907
1913
|
> def get_android_inspect(class_name = false)
|
1908
1914
|
|
@@ -1921,7 +1927,7 @@ __Returns:__
|
|
1921
1927
|
|
1922
1928
|
--
|
1923
1929
|
|
1924
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1930
|
+
##### [page](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L118) android
|
1925
1931
|
|
1926
1932
|
> def page(opts = {})
|
1927
1933
|
|
@@ -1940,7 +1946,7 @@ __Returns:__
|
|
1940
1946
|
|
1941
1947
|
--
|
1942
1948
|
|
1943
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L130) android
|
1944
1950
|
|
1945
1951
|
> def current_app
|
1946
1952
|
|
@@ -1950,7 +1956,7 @@ example line:
|
|
1950
1956
|
|
1951
1957
|
--
|
1952
1958
|
|
1953
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1959
|
+
##### [id](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L154) android
|
1954
1960
|
|
1955
1961
|
> def id(id)
|
1956
1962
|
|
@@ -1966,7 +1972,7 @@ __Returns:__
|
|
1966
1972
|
|
1967
1973
|
--
|
1968
1974
|
|
1969
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1975
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L162) android
|
1970
1976
|
|
1971
1977
|
> def ids(id)
|
1972
1978
|
|
@@ -1982,7 +1988,7 @@ __Returns:__
|
|
1982
1988
|
|
1983
1989
|
--
|
1984
1990
|
|
1985
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L171) android
|
1986
1992
|
|
1987
1993
|
> def ele_index(class_name, index)
|
1988
1994
|
|
@@ -2000,7 +2006,7 @@ __Returns:__
|
|
2000
2006
|
|
2001
2007
|
--
|
2002
2008
|
|
2003
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2009
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L189) android
|
2004
2010
|
|
2005
2011
|
> def first_ele(class_name)
|
2006
2012
|
|
@@ -2016,7 +2022,7 @@ __Returns:__
|
|
2016
2022
|
|
2017
2023
|
--
|
2018
2024
|
|
2019
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2025
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L196) android
|
2020
2026
|
|
2021
2027
|
> def last_ele(class_name)
|
2022
2028
|
|
@@ -2032,7 +2038,7 @@ __Returns:__
|
|
2032
2038
|
|
2033
2039
|
--
|
2034
2040
|
|
2035
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2041
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L204) android
|
2036
2042
|
|
2037
2043
|
> def tag(class_name)
|
2038
2044
|
|
@@ -2048,7 +2054,7 @@ __Returns:__
|
|
2048
2054
|
|
2049
2055
|
--
|
2050
2056
|
|
2051
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L212) android
|
2052
2058
|
|
2053
2059
|
> def tags(class_name)
|
2054
2060
|
|
@@ -2064,7 +2070,7 @@ __Returns:__
|
|
2064
2070
|
|
2065
2071
|
--
|
2066
2072
|
|
2067
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
2073
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L255) android
|
2068
2074
|
|
2069
2075
|
> def string_visible_contains_xpath(class_name, value)
|
2070
2076
|
|
@@ -2085,7 +2091,7 @@ __Returns:__
|
|
2085
2091
|
|
2086
2092
|
--
|
2087
2093
|
|
2088
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2094
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L275) android
|
2089
2095
|
|
2090
2096
|
> def string_visible_contains(class_name, value)
|
2091
2097
|
|
@@ -2106,7 +2112,7 @@ __Returns:__
|
|
2106
2112
|
|
2107
2113
|
--
|
2108
2114
|
|
2109
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2115
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L293) android
|
2110
2116
|
|
2111
2117
|
> def complex_find_contains(class_name, value)
|
2112
2118
|
|
@@ -2124,7 +2130,7 @@ __Returns:__
|
|
2124
2130
|
|
2125
2131
|
--
|
2126
2132
|
|
2127
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2133
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L307) android
|
2128
2134
|
|
2129
2135
|
> def complex_finds_contains(class_name, value)
|
2130
2136
|
|
@@ -2142,7 +2148,7 @@ __Returns:__
|
|
2142
2148
|
|
2143
2149
|
--
|
2144
2150
|
|
2145
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2151
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L351) android
|
2146
2152
|
|
2147
2153
|
> def complex_find_exact(class_name, value)
|
2148
2154
|
|
@@ -2160,7 +2166,7 @@ __Returns:__
|
|
2160
2166
|
|
2161
2167
|
--
|
2162
2168
|
|
2163
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2169
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L365) android
|
2164
2170
|
|
2165
2171
|
> def complex_finds_exact(class_name, value)
|
2166
2172
|
|
@@ -2178,7 +2184,7 @@ __Returns:__
|
|
2178
2184
|
|
2179
2185
|
--
|
2180
2186
|
|
2181
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2187
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/helper.rb#L371) android
|
2182
2188
|
|
2183
2189
|
> def get_source
|
2184
2190
|
|
@@ -2190,7 +2196,7 @@ __Returns:__
|
|
2190
2196
|
|
2191
2197
|
--
|
2192
2198
|
|
2193
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2199
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/client_xpath.rb#L5) android
|
2194
2200
|
|
2195
2201
|
> def _nodeset_to_uiselector(opts = {})
|
2196
2202
|
|
@@ -2198,7 +2204,7 @@ __Returns:__
|
|
2198
2204
|
|
2199
2205
|
--
|
2200
2206
|
|
2201
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/client_xpath.rb#L20) android
|
2202
2208
|
|
2203
2209
|
> def _client_xpath(opts = {})
|
2204
2210
|
|
@@ -2206,7 +2212,7 @@ __Returns:__
|
|
2206
2212
|
|
2207
2213
|
--
|
2208
2214
|
|
2209
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2215
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/client_xpath.rb#L36) android
|
2210
2216
|
|
2211
2217
|
> def client_xpath(xpath)
|
2212
2218
|
|
@@ -2214,7 +2220,7 @@ __Returns:__
|
|
2214
2220
|
|
2215
2221
|
--
|
2216
2222
|
|
2217
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2223
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/client_xpath.rb#L40) android
|
2218
2224
|
|
2219
2225
|
> def client_xpaths(xpath)
|
2220
2226
|
|
@@ -2222,7 +2228,7 @@ __Returns:__
|
|
2222
2228
|
|
2223
2229
|
--
|
2224
2230
|
|
2225
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/text.rb#L4) android
|
2226
2232
|
|
2227
2233
|
> TextView = 'android.widget.TextView'.freeze
|
2228
2234
|
|
@@ -2230,7 +2236,7 @@ __Returns:__
|
|
2230
2236
|
|
2231
2237
|
--
|
2232
2238
|
|
2233
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2239
|
+
##### [text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/text.rb#L10) android
|
2234
2240
|
|
2235
2241
|
> def text(value)
|
2236
2242
|
|
@@ -2247,7 +2253,7 @@ __Returns:__
|
|
2247
2253
|
|
2248
2254
|
--
|
2249
2255
|
|
2250
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2256
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/text.rb#L19) android
|
2251
2257
|
|
2252
2258
|
> def texts(value = false)
|
2253
2259
|
|
@@ -2264,7 +2270,7 @@ __Returns:__
|
|
2264
2270
|
|
2265
2271
|
--
|
2266
2272
|
|
2267
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2273
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/text.rb#L26) android
|
2268
2274
|
|
2269
2275
|
> def first_text
|
2270
2276
|
|
@@ -2276,7 +2282,7 @@ __Returns:__
|
|
2276
2282
|
|
2277
2283
|
--
|
2278
2284
|
|
2279
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2285
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/text.rb#L32) android
|
2280
2286
|
|
2281
2287
|
> def last_text
|
2282
2288
|
|
@@ -2288,7 +2294,7 @@ __Returns:__
|
|
2288
2294
|
|
2289
2295
|
--
|
2290
2296
|
|
2291
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2297
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/text.rb#L39) android
|
2292
2298
|
|
2293
2299
|
> def text_exact(value)
|
2294
2300
|
|
@@ -2304,7 +2310,7 @@ __Returns:__
|
|
2304
2310
|
|
2305
2311
|
--
|
2306
2312
|
|
2307
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2313
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/text.rb#L46) android
|
2308
2314
|
|
2309
2315
|
> def texts_exact(value)
|
2310
2316
|
|
@@ -2320,7 +2326,7 @@ __Returns:__
|
|
2320
2326
|
|
2321
2327
|
--
|
2322
2328
|
|
2323
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2329
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/alert.rb#L6) android
|
2324
2330
|
|
2325
2331
|
> def alert_click(value)
|
2326
2332
|
|
@@ -2336,7 +2342,7 @@ __Returns:__
|
|
2336
2342
|
|
2337
2343
|
--
|
2338
2344
|
|
2339
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2345
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/alert.rb#L13) android
|
2340
2346
|
|
2341
2347
|
> def alert_accept
|
2342
2348
|
|
@@ -2349,7 +2355,7 @@ __Returns:__
|
|
2349
2355
|
|
2350
2356
|
--
|
2351
2357
|
|
2352
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2358
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/alert.rb#L20) android
|
2353
2359
|
|
2354
2360
|
> def alert_accept_text
|
2355
2361
|
|
@@ -2362,7 +2368,7 @@ __Returns:__
|
|
2362
2368
|
|
2363
2369
|
--
|
2364
2370
|
|
2365
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2371
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/alert.rb#L27) android
|
2366
2372
|
|
2367
2373
|
> def alert_dismiss
|
2368
2374
|
|
@@ -2375,7 +2381,7 @@ __Returns:__
|
|
2375
2381
|
|
2376
2382
|
--
|
2377
2383
|
|
2378
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2384
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/alert.rb#L34) android
|
2379
2385
|
|
2380
2386
|
> def alert_dismiss_text
|
2381
2387
|
|
@@ -2388,7 +2394,7 @@ __Returns:__
|
|
2388
2394
|
|
2389
2395
|
--
|
2390
2396
|
|
2391
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2397
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L4) android
|
2392
2398
|
|
2393
2399
|
> Button = 'android.widget.Button'.freeze
|
2394
2400
|
|
@@ -2396,7 +2402,7 @@ __Returns:__
|
|
2396
2402
|
|
2397
2403
|
--
|
2398
2404
|
|
2399
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2405
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L5) android
|
2400
2406
|
|
2401
2407
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2402
2408
|
|
@@ -2404,7 +2410,7 @@ __Returns:__
|
|
2404
2410
|
|
2405
2411
|
--
|
2406
2412
|
|
2407
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2413
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L9) android
|
2408
2414
|
|
2409
2415
|
> def _button_visible_selectors(opts = {})
|
2410
2416
|
|
@@ -2412,7 +2418,7 @@ __Returns:__
|
|
2412
2418
|
|
2413
2419
|
--
|
2414
2420
|
|
2415
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2421
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L22) android
|
2416
2422
|
|
2417
2423
|
> def _button_exact_string(value)
|
2418
2424
|
|
@@ -2420,7 +2426,7 @@ __Returns:__
|
|
2420
2426
|
|
2421
2427
|
--
|
2422
2428
|
|
2423
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2429
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L28) android
|
2424
2430
|
|
2425
2431
|
> def _button_contains_string(value)
|
2426
2432
|
|
@@ -2428,7 +2434,7 @@ __Returns:__
|
|
2428
2434
|
|
2429
2435
|
--
|
2430
2436
|
|
2431
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2437
|
+
##### [button](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L40) android
|
2432
2438
|
|
2433
2439
|
> def button(value)
|
2434
2440
|
|
@@ -2445,7 +2451,7 @@ __Returns:__
|
|
2445
2451
|
|
2446
2452
|
--
|
2447
2453
|
|
2448
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2454
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L68) android
|
2449
2455
|
|
2450
2456
|
> def buttons(value = false)
|
2451
2457
|
|
@@ -2462,7 +2468,7 @@ __Returns:__
|
|
2462
2468
|
|
2463
2469
|
--
|
2464
2470
|
|
2465
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L75) android
|
2466
2472
|
|
2467
2473
|
> def first_button
|
2468
2474
|
|
@@ -2474,7 +2480,7 @@ __Returns:__
|
|
2474
2480
|
|
2475
2481
|
--
|
2476
2482
|
|
2477
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2483
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L86) android
|
2478
2484
|
|
2479
2485
|
> def last_button
|
2480
2486
|
|
@@ -2486,7 +2492,7 @@ __Returns:__
|
|
2486
2492
|
|
2487
2493
|
--
|
2488
2494
|
|
2489
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2495
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L109) android
|
2490
2496
|
|
2491
2497
|
> def button_exact(value)
|
2492
2498
|
|
@@ -2502,7 +2508,7 @@ __Returns:__
|
|
2502
2508
|
|
2503
2509
|
--
|
2504
2510
|
|
2505
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2511
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L121) android
|
2506
2512
|
|
2507
2513
|
> def buttons_exact(value)
|
2508
2514
|
|
@@ -2518,7 +2524,7 @@ __Returns:__
|
|
2518
2524
|
|
2519
2525
|
--
|
2520
2526
|
|
2521
|
-
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/
|
2527
|
+
##### [raise_no_such_element_if_empty](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/button.rb#L127) android
|
2522
2528
|
|
2523
2529
|
> def raise_no_such_element_if_empty(elements)
|
2524
2530
|
|
@@ -2526,7 +2532,7 @@ __Returns:__
|
|
2526
2532
|
|
2527
2533
|
--
|
2528
2534
|
|
2529
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2535
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2530
2536
|
|
2531
2537
|
> def uiautomator_find
|
2532
2538
|
|
@@ -2538,7 +2544,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2538
2544
|
|
2539
2545
|
--
|
2540
2546
|
|
2541
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2547
|
+
##### [find](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/generic.rb#L6) android
|
2542
2548
|
|
2543
2549
|
> def find(value)
|
2544
2550
|
|
@@ -2554,7 +2560,7 @@ __Returns:__
|
|
2554
2560
|
|
2555
2561
|
--
|
2556
2562
|
|
2557
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2563
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/generic.rb#L13) android
|
2558
2564
|
|
2559
2565
|
> def finds(value)
|
2560
2566
|
|
@@ -2570,7 +2576,7 @@ __Returns:__
|
|
2570
2576
|
|
2571
2577
|
--
|
2572
2578
|
|
2573
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2579
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/generic.rb#L20) android
|
2574
2580
|
|
2575
2581
|
> def find_exact(value)
|
2576
2582
|
|
@@ -2586,7 +2592,7 @@ __Returns:__
|
|
2586
2592
|
|
2587
2593
|
--
|
2588
2594
|
|
2589
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2595
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/generic.rb#L27) android
|
2590
2596
|
|
2591
2597
|
> def finds_exact(value)
|
2592
2598
|
|
@@ -2602,7 +2608,7 @@ __Returns:__
|
|
2602
2608
|
|
2603
2609
|
--
|
2604
2610
|
|
2605
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2611
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/generic.rb#L40) android
|
2606
2612
|
|
2607
2613
|
> def scroll_to(text, scrollable_index = 0)
|
2608
2614
|
|
@@ -2620,7 +2626,7 @@ __Returns:__
|
|
2620
2626
|
|
2621
2627
|
--
|
2622
2628
|
|
2623
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2629
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/generic.rb#L54) android
|
2624
2630
|
|
2625
2631
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2626
2632
|
|
@@ -2638,7 +2644,7 @@ __Returns:__
|
|
2638
2644
|
|
2639
2645
|
--
|
2640
2646
|
|
2641
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2647
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/textfield.rb#L3) android
|
2642
2648
|
|
2643
2649
|
> EditText = 'android.widget.EditText'.freeze
|
2644
2650
|
|
@@ -2646,7 +2652,7 @@ __Returns:__
|
|
2646
2652
|
|
2647
2653
|
--
|
2648
2654
|
|
2649
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2655
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/textfield.rb#L9) android
|
2650
2656
|
|
2651
2657
|
> def textfield(value)
|
2652
2658
|
|
@@ -2663,7 +2669,7 @@ __Returns:__
|
|
2663
2669
|
|
2664
2670
|
--
|
2665
2671
|
|
2666
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2672
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/textfield.rb#L18) android
|
2667
2673
|
|
2668
2674
|
> def textfields(value = false)
|
2669
2675
|
|
@@ -2680,7 +2686,7 @@ __Returns:__
|
|
2680
2686
|
|
2681
2687
|
--
|
2682
2688
|
|
2683
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2689
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/textfield.rb#L25) android
|
2684
2690
|
|
2685
2691
|
> def first_textfield
|
2686
2692
|
|
@@ -2692,7 +2698,7 @@ __Returns:__
|
|
2692
2698
|
|
2693
2699
|
--
|
2694
2700
|
|
2695
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2701
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/textfield.rb#L31) android
|
2696
2702
|
|
2697
2703
|
> def last_textfield
|
2698
2704
|
|
@@ -2704,7 +2710,7 @@ __Returns:__
|
|
2704
2710
|
|
2705
2711
|
--
|
2706
2712
|
|
2707
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2713
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/textfield.rb#L38) android
|
2708
2714
|
|
2709
2715
|
> def textfield_exact(value)
|
2710
2716
|
|
@@ -2720,7 +2726,7 @@ __Returns:__
|
|
2720
2726
|
|
2721
2727
|
--
|
2722
2728
|
|
2723
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2729
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/android/element/textfield.rb#L45) android
|
2724
2730
|
|
2725
2731
|
> def textfields_exact(value)
|
2726
2732
|
|
@@ -2736,7 +2742,7 @@ __Returns:__
|
|
2736
2742
|
|
2737
2743
|
--
|
2738
2744
|
|
2739
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2745
|
+
##### [value](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L12)
|
2740
2746
|
|
2741
2747
|
> def value
|
2742
2748
|
|
@@ -2746,7 +2752,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2746
2752
|
|
2747
2753
|
--
|
2748
2754
|
|
2749
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2755
|
+
##### [name](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L19)
|
2750
2756
|
|
2751
2757
|
> def name
|
2752
2758
|
|
@@ -2756,7 +2762,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2756
2762
|
|
2757
2763
|
--
|
2758
2764
|
|
2759
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2765
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L31)
|
2760
2766
|
|
2761
2767
|
> def location_rel
|
2762
2768
|
|
@@ -2774,7 +2780,7 @@ __Returns:__
|
|
2774
2780
|
|
2775
2781
|
--
|
2776
2782
|
|
2777
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2783
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L152)
|
2778
2784
|
|
2779
2785
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2780
2786
|
|
@@ -2782,7 +2788,7 @@ __Returns:__
|
|
2782
2788
|
|
2783
2789
|
--
|
2784
2790
|
|
2785
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2791
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/d8ce8598c5125bb1ee13d3e0fbb0bd6938045141/lib/appium_lib/common/patch.rb#L155)
|
2786
2792
|
|
2787
2793
|
> def patch_remote_driver_commands
|
2788
2794
|
|