appium_lib 9.3.8 → 9.4.0
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 +14 -0
- data/android_tests/lib/android/specs/common/device.rb +2 -2
- data/android_tests/lib/android/specs/common/patch.rb +1 -1
- data/docs/android_docs.md +230 -230
- data/docs/ios_docs.md +383 -249
- data/docs/ios_xcuitest.md +7 -0
- data/ios_tests/lib/ios/specs/ios/xcuitest_gestures.rb +61 -0
- data/lib/appium_lib/android/element/button.rb +18 -34
- data/lib/appium_lib/android/helper.rb +12 -22
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +2 -0
- data/lib/appium_lib/ios/xcuitest_gestures.rb +144 -0
- data/release_notes.md +7 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dce3e59a04cb11e2e5174df2ccf6b08be76323a
|
4
|
+
data.tar.gz: b02c5c37266b9c54a788684941fa37d93ca81d79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc300482ba9b9bf890a9c82d5977da41539aa442f723deb6afa110117b5ca4b55a16a456b2f91b440dd621f16de7ab79bb4ec1b270fc5ef425e0c4eed09549d2
|
7
|
+
data.tar.gz: 2a844260070de8b238668767e37e45a0720de5254406b3b111b73dcbd6dff4a7eefa8317564e6c02b6245e48c0238fb1119450ce131915f48d013a5f2bf077fa
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,20 @@ 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.0
|
7
|
+
### 1. Enhancements
|
8
|
+
- update mobile gesture APIs for XCUITest(WDA) [#514](https://github.com/appium/ruby_lib/pull/514)
|
9
|
+
- For XCUITest(WebDriverAgent)
|
10
|
+
- Users can call some [`mobile:` methods](https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/ios-xctest-mobile-gestures.md) without `execute_script('mobile: tap', args)`.
|
11
|
+
- Users can write test code without `.ref` method for elements in `execute_script`.
|
12
|
+
- Example: https://github.com/appium/ruby_lib/pull/537
|
13
|
+
- Support UIAutomator2 strategy for Android[#505](https://github.com/appium/ruby_lib/issues/505)
|
14
|
+
- Fix some find elemenet methods[#544](https://github.com/appium/ruby_lib/pull/544)
|
15
|
+
|
16
|
+
### 2. Bug fixes
|
17
|
+
|
18
|
+
### 3. Deprecations
|
19
|
+
|
6
20
|
## v9.3.8
|
7
21
|
### 1. Enhancements
|
8
22
|
- allow using TestObject server [#538](https://github.com/appium/ruby_lib/pull/538)
|
@@ -12,8 +12,8 @@ describe 'common/device' do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
t 'get_performance_data_types' do
|
15
|
-
expected = %w(cpuinfo
|
16
|
-
get_performance_data_types.must_equal expected
|
15
|
+
expected = %w(batteryinfo cpuinfo memoryinfo networkinfo)
|
16
|
+
get_performance_data_types.sort.must_equal expected
|
17
17
|
|
18
18
|
get_performance_data(package_name: 'io.appium.android.apis',
|
19
19
|
data_type: 'cpuinfo').must_equal [%w(user kernel), %w(0 0)]
|
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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/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/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L473)
|
452
452
|
|
453
453
|
> def automation_name_is_xcuitest?
|
454
454
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L480)
|
464
464
|
|
465
465
|
> def check_server_version_xcuitest
|
466
466
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L501)
|
477
477
|
|
478
478
|
> def appium_server_version
|
479
479
|
|
@@ -494,7 +494,7 @@ __Returns:__
|
|
494
494
|
|
495
495
|
--
|
496
496
|
|
497
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
497
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L518)
|
498
498
|
|
499
499
|
> def appium_client_version
|
500
500
|
|
@@ -512,7 +512,7 @@ __Returns:__
|
|
512
512
|
|
513
513
|
--
|
514
514
|
|
515
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
515
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L530)
|
516
516
|
|
517
517
|
> def self.absolute_app_path(opts)
|
518
518
|
|
@@ -529,7 +529,7 @@ __Returns:__
|
|
529
529
|
|
530
530
|
--
|
531
531
|
|
532
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
532
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L563)
|
533
533
|
|
534
534
|
> def server_url
|
535
535
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L574)
|
545
545
|
|
546
546
|
> def restart
|
547
547
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
553
553
|
|
554
554
|
--
|
555
555
|
|
556
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L585)
|
557
557
|
|
558
558
|
> def screenshot(png_save_path)
|
559
559
|
|
@@ -571,7 +571,7 @@ __Returns:__
|
|
571
571
|
|
572
572
|
--
|
573
573
|
|
574
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L592)
|
575
575
|
|
576
576
|
> def driver_quit
|
577
577
|
|
@@ -583,7 +583,7 @@ __Returns:__
|
|
583
583
|
|
584
584
|
--
|
585
585
|
|
586
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
586
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L602)
|
587
587
|
|
588
588
|
> def start_driver
|
589
589
|
|
@@ -595,7 +595,7 @@ __Returns:__
|
|
595
595
|
|
596
596
|
--
|
597
597
|
|
598
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L640)
|
599
599
|
|
600
600
|
> def no_wait
|
601
601
|
|
@@ -603,7 +603,7 @@ Set implicit wait to zero.
|
|
603
603
|
|
604
604
|
--
|
605
605
|
|
606
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L654)
|
607
607
|
|
608
608
|
> def set_wait(timeout = nil)
|
609
609
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L671)
|
629
629
|
|
630
630
|
> def exists(pre_check = 0, post_check = @default_wait)
|
631
631
|
|
@@ -649,7 +649,7 @@ __Returns:__
|
|
649
649
|
|
650
650
|
--
|
651
651
|
|
652
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
652
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L695)
|
653
653
|
|
654
654
|
> def execute_script(script, *args)
|
655
655
|
|
@@ -667,7 +667,7 @@ __Returns:__
|
|
667
667
|
|
668
668
|
--
|
669
669
|
|
670
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L717)
|
671
671
|
|
672
672
|
> def find_elements(*args)
|
673
673
|
|
@@ -693,7 +693,7 @@ __Returns:__
|
|
693
693
|
|
694
694
|
--
|
695
695
|
|
696
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
696
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L732)
|
697
697
|
|
698
698
|
> def find_element(*args)
|
699
699
|
|
@@ -714,7 +714,7 @@ __Returns:__
|
|
714
714
|
|
715
715
|
--
|
716
716
|
|
717
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L745)
|
718
718
|
|
719
719
|
> def set_location(opts = {})
|
720
720
|
|
@@ -730,7 +730,7 @@ __Returns:__
|
|
730
730
|
|
731
731
|
--
|
732
732
|
|
733
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
733
|
+
##### [x](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L755)
|
734
734
|
|
735
735
|
> def x
|
736
736
|
|
@@ -743,7 +743,7 @@ __Returns:__
|
|
743
743
|
|
744
744
|
--
|
745
745
|
|
746
|
-
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/
|
746
|
+
##### [set_automation_name_if_nil](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/driver.rb#L764)
|
747
747
|
|
748
748
|
> def set_automation_name_if_nil
|
749
749
|
|
@@ -752,7 +752,7 @@ Since @automation_name is set only client side before start_driver is called.
|
|
752
752
|
|
753
753
|
--
|
754
754
|
|
755
|
-
##### [logger=](https://github.com/appium/ruby_lib/blob/
|
755
|
+
##### [logger=](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/logger.rb#L13)
|
756
756
|
|
757
757
|
> def logger=(value)
|
758
758
|
|
@@ -764,7 +764,7 @@ __Parameters:__
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [logger](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [logger](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/logger.rb#L17)
|
768
768
|
|
769
769
|
> def logger
|
770
770
|
|
@@ -772,7 +772,7 @@ __Parameters:__
|
|
772
772
|
|
773
773
|
--
|
774
774
|
|
775
|
-
##### [app_strings](https://github.com/appium/ruby_lib/blob/
|
775
|
+
##### [app_strings](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L7)
|
776
776
|
|
777
777
|
> def app_strings
|
778
778
|
|
@@ -783,7 +783,7 @@ app_strings #=> "TransitionsTitle"=>"Transitions", "WebTitle"=>"Web"
|
|
783
783
|
|
784
784
|
--
|
785
785
|
|
786
|
-
##### [background_app](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [background_app](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L13)
|
787
787
|
|
788
788
|
> def background_app
|
789
789
|
|
@@ -792,7 +792,7 @@ This is a blocking application
|
|
792
792
|
|
793
793
|
--
|
794
794
|
|
795
|
-
##### [current_activity](https://github.com/appium/ruby_lib/blob/
|
795
|
+
##### [current_activity](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L24)
|
796
796
|
|
797
797
|
> def current_activity
|
798
798
|
|
@@ -800,7 +800,7 @@ This is a blocking application
|
|
800
800
|
|
801
801
|
--
|
802
802
|
|
803
|
-
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/
|
803
|
+
##### [get_system_bars](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L26)
|
804
804
|
|
805
805
|
> def get_system_bars
|
806
806
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [get_display_density](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [get_display_density](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L34)
|
819
819
|
|
820
820
|
> def get_display_density
|
821
821
|
|
@@ -830,7 +830,7 @@ __Returns:__
|
|
830
830
|
|
831
831
|
--
|
832
832
|
|
833
|
-
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/
|
833
|
+
##### [is_keyboard_shown](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L42)
|
834
834
|
|
835
835
|
> def is_keyboard_shown
|
836
836
|
|
@@ -845,7 +845,7 @@ __Returns:__
|
|
845
845
|
|
846
846
|
--
|
847
847
|
|
848
|
-
##### [launch_app](https://github.com/appium/ruby_lib/blob/
|
848
|
+
##### [launch_app](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L50)
|
849
849
|
|
850
850
|
> def launch_app
|
851
851
|
|
@@ -853,7 +853,7 @@ Start the simulator and application configured with desired capabilities
|
|
853
853
|
|
854
854
|
--
|
855
855
|
|
856
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L53)
|
857
857
|
|
858
858
|
> def reset
|
859
859
|
|
@@ -861,7 +861,7 @@ Reset the device, relaunching the application.
|
|
861
861
|
|
862
862
|
--
|
863
863
|
|
864
|
-
##### [shake](https://github.com/appium/ruby_lib/blob/
|
864
|
+
##### [shake](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L56)
|
865
865
|
|
866
866
|
> def shake
|
867
867
|
|
@@ -869,7 +869,7 @@ Cause the device to shake
|
|
869
869
|
|
870
870
|
--
|
871
871
|
|
872
|
-
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [toggle_flight_mode](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L59)
|
873
873
|
|
874
874
|
> def toggle_flight_mode
|
875
875
|
|
@@ -877,7 +877,7 @@ Toggle flight mode on or off
|
|
877
877
|
|
878
878
|
--
|
879
879
|
|
880
|
-
##### [device_locked?](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [device_locked?](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L62)
|
881
881
|
|
882
882
|
> def device_locked?
|
883
883
|
|
@@ -885,7 +885,7 @@ Toggle flight mode on or off
|
|
885
885
|
|
886
886
|
--
|
887
887
|
|
888
|
-
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/
|
888
|
+
##### [hide_keyboard](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L64)
|
889
889
|
|
890
890
|
> def hide_keyboard
|
891
891
|
|
@@ -898,7 +898,7 @@ Defaults to 'Done'.
|
|
898
898
|
|
899
899
|
--
|
900
900
|
|
901
|
-
##### [press_keycode](https://github.com/appium/ruby_lib/blob/
|
901
|
+
##### [press_keycode](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L73)
|
902
902
|
|
903
903
|
> def press_keycode
|
904
904
|
|
@@ -913,7 +913,7 @@ __Parameters:__
|
|
913
913
|
|
914
914
|
--
|
915
915
|
|
916
|
-
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/
|
916
|
+
##### [long_press_keycode](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L79)
|
917
917
|
|
918
918
|
> def long_press_keycode
|
919
919
|
|
@@ -928,7 +928,7 @@ __Parameters:__
|
|
928
928
|
|
929
929
|
--
|
930
930
|
|
931
|
-
##### [push_file](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [push_file](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L85)
|
932
932
|
|
933
933
|
> def push_file
|
934
934
|
|
@@ -942,7 +942,7 @@ __Parameters:__
|
|
942
942
|
|
943
943
|
--
|
944
944
|
|
945
|
-
##### [pull_file](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [pull_file](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L90)
|
946
946
|
|
947
947
|
> def pull_file
|
948
948
|
|
@@ -959,7 +959,7 @@ __Parameters:__
|
|
959
959
|
|
960
960
|
--
|
961
961
|
|
962
|
-
##### [pull_folder](https://github.com/appium/ruby_lib/blob/
|
962
|
+
##### [pull_folder](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L100)
|
963
963
|
|
964
964
|
> def pull_folder
|
965
965
|
|
@@ -974,7 +974,7 @@ __Parameters:__
|
|
974
974
|
|
975
975
|
--
|
976
976
|
|
977
|
-
##### [touch_id](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [touch_id](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L108)
|
978
978
|
|
979
979
|
> def touch_id
|
980
980
|
|
@@ -991,7 +991,7 @@ Defaults to true.
|
|
991
991
|
|
992
992
|
--
|
993
993
|
|
994
|
-
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/
|
994
|
+
##### [toggle_touch_id_enrollment](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L117)
|
995
995
|
|
996
996
|
> def toggle_touch_id_enrollment
|
997
997
|
|
@@ -999,7 +999,7 @@ iOS Simulator only: Toggle touch id enrollment on an iOS Simulator.
|
|
999
999
|
|
1000
1000
|
--
|
1001
1001
|
|
1002
|
-
##### [end_coverage](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [end_coverage](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L120)
|
1003
1003
|
|
1004
1004
|
> def end_coverage
|
1005
1005
|
|
@@ -1013,7 +1013,7 @@ __Parameters:__
|
|
1013
1013
|
|
1014
1014
|
--
|
1015
1015
|
|
1016
|
-
##### [get_settings](https://github.com/appium/ruby_lib/blob/
|
1016
|
+
##### [get_settings](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L125)
|
1017
1017
|
|
1018
1018
|
> def get_settings
|
1019
1019
|
|
@@ -1021,7 +1021,7 @@ Get appium Settings for current test session
|
|
1021
1021
|
|
1022
1022
|
--
|
1023
1023
|
|
1024
|
-
##### [update_settings](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [update_settings](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L128)
|
1025
1025
|
|
1026
1026
|
> def update_settings
|
1027
1027
|
|
@@ -1033,7 +1033,7 @@ __Parameters:__
|
|
1033
1033
|
|
1034
1034
|
--
|
1035
1035
|
|
1036
|
-
##### [start_activity](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [start_activity](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L132)
|
1037
1037
|
|
1038
1038
|
> def start_activity
|
1039
1039
|
|
@@ -1047,7 +1047,7 @@ start_activity app_package: 'io.appium.android.apis',
|
|
1047
1047
|
|
1048
1048
|
--
|
1049
1049
|
|
1050
|
-
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/
|
1050
|
+
##### [get_network_connection](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L146)
|
1051
1051
|
|
1052
1052
|
> def get_network_connection
|
1053
1053
|
|
@@ -1056,7 +1056,7 @@ See set_network_connection method for return value
|
|
1056
1056
|
|
1057
1057
|
--
|
1058
1058
|
|
1059
|
-
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/
|
1059
|
+
##### [set_network_connection](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L150)
|
1060
1060
|
|
1061
1061
|
> def set_network_connection
|
1062
1062
|
|
@@ -1075,7 +1075,7 @@ __Parameters:__
|
|
1075
1075
|
|
1076
1076
|
--
|
1077
1077
|
|
1078
|
-
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/
|
1078
|
+
##### [set_immediate_value](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L163)
|
1079
1079
|
|
1080
1080
|
> def set_immediate_value
|
1081
1081
|
|
@@ -1089,7 +1089,7 @@ set_immediate_value element, 'hello'
|
|
1089
1089
|
|
1090
1090
|
--
|
1091
1091
|
|
1092
|
-
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [get_performance_data_types](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L172)
|
1093
1093
|
|
1094
1094
|
> def get_performance_data_types
|
1095
1095
|
|
@@ -1103,7 +1103,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1103
1103
|
|
1104
1104
|
--
|
1105
1105
|
|
1106
|
-
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/
|
1106
|
+
##### [extend_search_contexts](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L434)
|
1107
1107
|
|
1108
1108
|
> def extend_search_contexts
|
1109
1109
|
|
@@ -1111,7 +1111,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1111
1111
|
|
1112
1112
|
--
|
1113
1113
|
|
1114
|
-
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/
|
1114
|
+
##### [find_element_with_appium](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L434)
|
1115
1115
|
|
1116
1116
|
> def find_element_with_appium
|
1117
1117
|
|
@@ -1119,7 +1119,7 @@ get_performance_data_types #=> ["cpuinfo", "batteryinfo", "networkinfo", "memory
|
|
1119
1119
|
|
1120
1120
|
--
|
1121
1121
|
|
1122
|
-
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/
|
1122
|
+
##### [find_elements_with_appium](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L434)
|
1123
1123
|
|
1124
1124
|
> def find_elements_with_appium
|
1125
1125
|
|
@@ -1131,7 +1131,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1131
1131
|
|
1132
1132
|
--
|
1133
1133
|
|
1134
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1134
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L465)
|
1135
1135
|
|
1136
1136
|
> def add_touch_actions
|
1137
1137
|
|
@@ -1139,7 +1139,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1139
1139
|
|
1140
1140
|
--
|
1141
1141
|
|
1142
|
-
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/
|
1142
|
+
##### [add_ime_actions](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L488)
|
1143
1143
|
|
1144
1144
|
> def add_ime_actions
|
1145
1145
|
|
@@ -1147,7 +1147,7 @@ find_element/s_with_appium with their accessibility_id
|
|
1147
1147
|
|
1148
1148
|
--
|
1149
1149
|
|
1150
|
-
##### [set_context](https://github.com/appium/ruby_lib/blob/
|
1150
|
+
##### [set_context](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L563)
|
1151
1151
|
|
1152
1152
|
> def set_context
|
1153
1153
|
|
@@ -1162,7 +1162,7 @@ __Parameters:__
|
|
1162
1162
|
|
1163
1163
|
--
|
1164
1164
|
|
1165
|
-
##### [current_context](https://github.com/appium/ruby_lib/blob/
|
1165
|
+
##### [current_context](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L571)
|
1166
1166
|
|
1167
1167
|
> def current_context
|
1168
1168
|
|
@@ -1174,7 +1174,7 @@ __Returns:__
|
|
1174
1174
|
|
1175
1175
|
--
|
1176
1176
|
|
1177
|
-
##### [available_contexts](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [available_contexts](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L574)
|
1178
1178
|
|
1179
1179
|
> def available_contexts
|
1180
1180
|
|
@@ -1186,7 +1186,7 @@ __Returns:__
|
|
1186
1186
|
|
1187
1187
|
--
|
1188
1188
|
|
1189
|
-
##### [within_context](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [within_context](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L584)
|
1190
1190
|
|
1191
1191
|
> def within_context(context)
|
1192
1192
|
|
@@ -1202,7 +1202,7 @@ __Parameters:__
|
|
1202
1202
|
|
1203
1203
|
--
|
1204
1204
|
|
1205
|
-
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [switch_to_default_context](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/device.rb#L592)
|
1206
1206
|
|
1207
1207
|
> def switch_to_default_context
|
1208
1208
|
|
@@ -1210,7 +1210,7 @@ Change to the default context. This is equivalent to `set_context nil`.
|
|
1210
1210
|
|
1211
1211
|
--
|
1212
1212
|
|
1213
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L28)
|
1214
1214
|
|
1215
1215
|
> def pinch(percentage = 25, auto_perform = true)
|
1216
1216
|
|
@@ -1229,7 +1229,7 @@ __Parameters:__
|
|
1229
1229
|
|
1230
1230
|
--
|
1231
1231
|
|
1232
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1232
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L57)
|
1233
1233
|
|
1234
1234
|
> def zoom(percentage = 200, auto_perform = true)
|
1235
1235
|
|
@@ -1248,7 +1248,7 @@ __Parameters:__
|
|
1248
1248
|
|
1249
1249
|
--
|
1250
1250
|
|
1251
|
-
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1251
|
+
##### [pinch_for_xcuitest](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L79)
|
1252
1252
|
|
1253
1253
|
> def pinch_for_xcuitest(rate)
|
1254
1254
|
|
@@ -1256,7 +1256,7 @@ __Parameters:__
|
|
1256
1256
|
|
1257
1257
|
--
|
1258
1258
|
|
1259
|
-
##### [pinch_android](https://github.com/appium/ruby_lib/blob/
|
1259
|
+
##### [pinch_android](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L94)
|
1260
1260
|
|
1261
1261
|
> def pinch_android(rate)
|
1262
1262
|
|
@@ -1264,7 +1264,7 @@ __Parameters:__
|
|
1264
1264
|
|
1265
1265
|
--
|
1266
1266
|
|
1267
|
-
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [pinch_ios](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L108)
|
1268
1268
|
|
1269
1269
|
> def pinch_ios(rate)
|
1270
1270
|
|
@@ -1272,7 +1272,7 @@ __Parameters:__
|
|
1272
1272
|
|
1273
1273
|
--
|
1274
1274
|
|
1275
|
-
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [zoom_for_xcuitest](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L122)
|
1276
1276
|
|
1277
1277
|
> def zoom_for_xcuitest(rate)
|
1278
1278
|
|
@@ -1280,7 +1280,7 @@ __Parameters:__
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [zoom_android](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [zoom_android](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L137)
|
1284
1284
|
|
1285
1285
|
> def zoom_android(rate)
|
1286
1286
|
|
@@ -1288,7 +1288,7 @@ __Parameters:__
|
|
1288
1288
|
|
1289
1289
|
--
|
1290
1290
|
|
1291
|
-
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [zoom_ios](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L151)
|
1292
1292
|
|
1293
1293
|
> def zoom_ios(rate)
|
1294
1294
|
|
@@ -1296,7 +1296,7 @@ __Parameters:__
|
|
1296
1296
|
|
1297
1297
|
--
|
1298
1298
|
|
1299
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L166)
|
1300
1300
|
|
1301
1301
|
> def actions
|
1302
1302
|
|
@@ -1304,7 +1304,7 @@ self
|
|
1304
1304
|
|
1305
1305
|
--
|
1306
1306
|
|
1307
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L169)
|
1308
1308
|
|
1309
1309
|
> def initialize
|
1310
1310
|
|
@@ -1316,7 +1316,7 @@ __Returns:__
|
|
1316
1316
|
|
1317
1317
|
--
|
1318
1318
|
|
1319
|
-
##### [add](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [add](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L175)
|
1320
1320
|
|
1321
1321
|
> def add(chain)
|
1322
1322
|
|
@@ -1328,7 +1328,7 @@ __Parameters:__
|
|
1328
1328
|
|
1329
1329
|
--
|
1330
1330
|
|
1331
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/multi_touch.rb#L180)
|
1332
1332
|
|
1333
1333
|
> def perform
|
1334
1334
|
|
@@ -1336,7 +1336,7 @@ Ask Appium to perform the actions
|
|
1336
1336
|
|
1337
1337
|
--
|
1338
1338
|
|
1339
|
-
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [ACTIONS](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L20)
|
1340
1340
|
|
1341
1341
|
> ACTIONS = [:move_to, :long_press, :double_tap, :two_finger_tap, :press, :release, :tap, :wait, :perform].freeze
|
1342
1342
|
|
@@ -1344,7 +1344,7 @@ Ask Appium to perform the actions
|
|
1344
1344
|
|
1345
1345
|
--
|
1346
1346
|
|
1347
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L21)
|
1348
1348
|
|
1349
1349
|
> COMPLEX_ACTIONS = [:swipe].freeze
|
1350
1350
|
|
@@ -1352,7 +1352,7 @@ Ask Appium to perform the actions
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [actions](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [actions](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L35)
|
1356
1356
|
|
1357
1357
|
> def actions
|
1358
1358
|
|
@@ -1360,7 +1360,7 @@ Returns the value of attribute actions
|
|
1360
1360
|
|
1361
1361
|
--
|
1362
1362
|
|
1363
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L37)
|
1364
1364
|
|
1365
1365
|
> def initialize
|
1366
1366
|
|
@@ -1372,7 +1372,7 @@ __Returns:__
|
|
1372
1372
|
|
1373
1373
|
--
|
1374
1374
|
|
1375
|
-
##### [move_to](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [move_to](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L48)
|
1376
1376
|
|
1377
1377
|
> def move_to(opts)
|
1378
1378
|
|
@@ -1386,7 +1386,7 @@ __Parameters:__
|
|
1386
1386
|
|
1387
1387
|
--
|
1388
1388
|
|
1389
|
-
##### [long_press](https://github.com/appium/ruby_lib/blob/
|
1389
|
+
##### [long_press](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L62)
|
1390
1390
|
|
1391
1391
|
> def long_press(opts)
|
1392
1392
|
|
@@ -1407,7 +1407,7 @@ __Parameters:__
|
|
1407
1407
|
|
1408
1408
|
--
|
1409
1409
|
|
1410
|
-
##### [press](https://github.com/appium/ruby_lib/blob/
|
1410
|
+
##### [press](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L74)
|
1411
1411
|
|
1412
1412
|
> def press(opts)
|
1413
1413
|
|
@@ -1420,7 +1420,7 @@ __Parameters:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [release](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [release](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L85)
|
1424
1424
|
|
1425
1425
|
> def release(opts = nil)
|
1426
1426
|
|
@@ -1432,7 +1432,7 @@ __Parameters:__
|
|
1432
1432
|
|
1433
1433
|
--
|
1434
1434
|
|
1435
|
-
##### [tap](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [tap](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L97)
|
1436
1436
|
|
1437
1437
|
> def tap(opts)
|
1438
1438
|
|
@@ -1445,7 +1445,7 @@ __Parameters:__
|
|
1445
1445
|
|
1446
1446
|
--
|
1447
1447
|
|
1448
|
-
##### [double_tap](https://github.com/appium/ruby_lib/blob/
|
1448
|
+
##### [double_tap](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L110)
|
1449
1449
|
|
1450
1450
|
> def double_tap(opts)
|
1451
1451
|
|
@@ -1457,7 +1457,7 @@ __Parameters:__
|
|
1457
1457
|
|
1458
1458
|
--
|
1459
1459
|
|
1460
|
-
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [two_finger_tap](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L121)
|
1461
1461
|
|
1462
1462
|
> def two_finger_tap(opts)
|
1463
1463
|
|
@@ -1469,7 +1469,7 @@ __Parameters:__
|
|
1469
1469
|
|
1470
1470
|
--
|
1471
1471
|
|
1472
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L129)
|
1473
1473
|
|
1474
1474
|
> def wait(milliseconds)
|
1475
1475
|
|
@@ -1481,7 +1481,7 @@ __Parameters:__
|
|
1481
1481
|
|
1482
1482
|
--
|
1483
1483
|
|
1484
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L152)
|
1485
1485
|
|
1486
1486
|
> def swipe(opts, ele = nil)
|
1487
1487
|
|
@@ -1502,7 +1502,7 @@ __Parameters:__
|
|
1502
1502
|
|
1503
1503
|
--
|
1504
1504
|
|
1505
|
-
##### [perform](https://github.com/appium/ruby_lib/blob/
|
1505
|
+
##### [perform](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L177)
|
1506
1506
|
|
1507
1507
|
> def perform
|
1508
1508
|
|
@@ -1510,7 +1510,7 @@ Ask the driver to perform all actions in this action chain.
|
|
1510
1510
|
|
1511
1511
|
--
|
1512
1512
|
|
1513
|
-
##### [cancel](https://github.com/appium/ruby_lib/blob/
|
1513
|
+
##### [cancel](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L184)
|
1514
1514
|
|
1515
1515
|
> def cancel
|
1516
1516
|
|
@@ -1518,7 +1518,7 @@ Does nothing, currently.
|
|
1518
1518
|
|
1519
1519
|
--
|
1520
1520
|
|
1521
|
-
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/
|
1521
|
+
##### [swipe_coordinates](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L190)
|
1522
1522
|
|
1523
1523
|
> def swipe_coordinates(end_x: nil, end_y: nil, offset_x: nil, offset_y: nil)
|
1524
1524
|
|
@@ -1526,7 +1526,7 @@ Does nothing, currently.
|
|
1526
1526
|
|
1527
1527
|
--
|
1528
1528
|
|
1529
|
-
##### [chain_method](https://github.com/appium/ruby_lib/blob/
|
1529
|
+
##### [chain_method](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L208)
|
1530
1530
|
|
1531
1531
|
> def chain_method(method, args = nil)
|
1532
1532
|
|
@@ -1534,7 +1534,7 @@ Does nothing, currently.
|
|
1534
1534
|
|
1535
1535
|
--
|
1536
1536
|
|
1537
|
-
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [args_with_ele_ref](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/device/touch_actions.rb#L214)
|
1538
1538
|
|
1539
1539
|
> def args_with_ele_ref(args)
|
1540
1540
|
|
@@ -1542,7 +1542,7 @@ Does nothing, currently.
|
|
1542
1542
|
|
1543
1543
|
--
|
1544
1544
|
|
1545
|
-
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/
|
1545
|
+
##### [_generic_wait](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/wait.rb#L9)
|
1546
1546
|
|
1547
1547
|
> def _generic_wait(opts = {})
|
1548
1548
|
|
@@ -1551,7 +1551,7 @@ https://github.com/SeleniumHQ/selenium/blob/cf501dda3f0ed12233de51ce8170c0e8090f
|
|
1551
1551
|
|
1552
1552
|
--
|
1553
1553
|
|
1554
|
-
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/
|
1554
|
+
##### [_process_wait_opts](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/wait.rb#L48)
|
1555
1555
|
|
1556
1556
|
> def _process_wait_opts(opts)
|
1557
1557
|
|
@@ -1559,7 +1559,7 @@ process opts before calling _generic_wait
|
|
1559
1559
|
|
1560
1560
|
--
|
1561
1561
|
|
1562
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1562
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/wait.rb#L69)
|
1563
1563
|
|
1564
1564
|
> def wait_true(opts = {}, &block)
|
1565
1565
|
|
@@ -1579,7 +1579,7 @@ __Parameters:__
|
|
1579
1579
|
|
1580
1580
|
--
|
1581
1581
|
|
1582
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1582
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/wait.rb#L87)
|
1583
1583
|
|
1584
1584
|
> def wait(opts = {}, &block)
|
1585
1585
|
|
@@ -1597,7 +1597,7 @@ __Parameters:__
|
|
1597
1597
|
|
1598
1598
|
--
|
1599
1599
|
|
1600
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1600
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L24)
|
1601
1601
|
|
1602
1602
|
> def ignore
|
1603
1603
|
|
@@ -1605,7 +1605,7 @@ Return yield and ignore any exceptions.
|
|
1605
1605
|
|
1606
1606
|
--
|
1607
1607
|
|
1608
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1608
|
+
##### [back](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L31)
|
1609
1609
|
|
1610
1610
|
> def back
|
1611
1611
|
|
@@ -1617,7 +1617,7 @@ __Returns:__
|
|
1617
1617
|
|
1618
1618
|
--
|
1619
1619
|
|
1620
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L36)
|
1621
1621
|
|
1622
1622
|
> def session_id
|
1623
1623
|
|
@@ -1625,7 +1625,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
1625
1625
|
|
1626
1626
|
--
|
1627
1627
|
|
1628
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1628
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L44)
|
1629
1629
|
|
1630
1630
|
> def xpath(xpath_str)
|
1631
1631
|
|
@@ -1641,7 +1641,7 @@ __Returns:__
|
|
1641
1641
|
|
1642
1642
|
--
|
1643
1643
|
|
1644
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1644
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L52)
|
1645
1645
|
|
1646
1646
|
> def xpaths(xpath_str)
|
1647
1647
|
|
@@ -1657,7 +1657,7 @@ __Returns:__
|
|
1657
1657
|
|
1658
1658
|
--
|
1659
1659
|
|
1660
|
-
##### [_print_source](https://github.com/appium/ruby_lib/blob/
|
1660
|
+
##### [_print_source](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L56)
|
1661
1661
|
|
1662
1662
|
> def _print_source(source)
|
1663
1663
|
|
@@ -1665,7 +1665,7 @@ __Returns:__
|
|
1665
1665
|
|
1666
1666
|
--
|
1667
1667
|
|
1668
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1668
|
+
##### [result](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L69)
|
1669
1669
|
|
1670
1670
|
> def result
|
1671
1671
|
|
@@ -1673,7 +1673,7 @@ Returns the value of attribute result
|
|
1673
1673
|
|
1674
1674
|
--
|
1675
1675
|
|
1676
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1676
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L71)
|
1677
1677
|
|
1678
1678
|
> def initialize
|
1679
1679
|
|
@@ -1685,7 +1685,7 @@ __Returns:__
|
|
1685
1685
|
|
1686
1686
|
--
|
1687
1687
|
|
1688
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1688
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L75)
|
1689
1689
|
|
1690
1690
|
> def reset
|
1691
1691
|
|
@@ -1693,7 +1693,7 @@ __Returns:__
|
|
1693
1693
|
|
1694
1694
|
--
|
1695
1695
|
|
1696
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1696
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L80)
|
1697
1697
|
|
1698
1698
|
> def start_element(name, attrs = [])
|
1699
1699
|
|
@@ -1701,7 +1701,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1701
1701
|
|
1702
1702
|
--
|
1703
1703
|
|
1704
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1704
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L86)
|
1705
1705
|
|
1706
1706
|
> def formatted_result
|
1707
1707
|
|
@@ -1709,7 +1709,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1709
1709
|
|
1710
1710
|
--
|
1711
1711
|
|
1712
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1712
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L97)
|
1713
1713
|
|
1714
1714
|
> def get_page_class
|
1715
1715
|
|
@@ -1717,7 +1717,7 @@ Returns a string of class counts of visible elements.
|
|
1717
1717
|
|
1718
1718
|
--
|
1719
1719
|
|
1720
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1720
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L108)
|
1721
1721
|
|
1722
1722
|
> def page_class
|
1723
1723
|
|
@@ -1726,7 +1726,7 @@ Useful for appium_console.
|
|
1726
1726
|
|
1727
1727
|
--
|
1728
1728
|
|
1729
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1729
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L118)
|
1730
1730
|
|
1731
1731
|
> def px_to_window_rel(opts = {})
|
1732
1732
|
|
@@ -1738,7 +1738,7 @@ px_to_window_rel x: 50, y: 150
|
|
1738
1738
|
|
1739
1739
|
--
|
1740
1740
|
|
1741
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L137)
|
1742
1742
|
|
1743
1743
|
> def xml_keys(target)
|
1744
1744
|
|
@@ -1754,7 +1754,7 @@ __Returns:__
|
|
1754
1754
|
|
1755
1755
|
--
|
1756
1756
|
|
1757
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1757
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L145)
|
1758
1758
|
|
1759
1759
|
> def xml_values(target)
|
1760
1760
|
|
@@ -1770,7 +1770,7 @@ __Returns:__
|
|
1770
1770
|
|
1771
1771
|
--
|
1772
1772
|
|
1773
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1773
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L153)
|
1774
1774
|
|
1775
1775
|
> def resolve_id(id)
|
1776
1776
|
|
@@ -1786,7 +1786,7 @@ __Returns:__
|
|
1786
1786
|
|
1787
1787
|
--
|
1788
1788
|
|
1789
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L159)
|
1790
1790
|
|
1791
1791
|
> def filter
|
1792
1792
|
|
@@ -1794,7 +1794,7 @@ Returns the value of attribute filter
|
|
1794
1794
|
|
1795
1795
|
--
|
1796
1796
|
|
1797
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1797
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L162)
|
1798
1798
|
|
1799
1799
|
> def filter=(value)
|
1800
1800
|
|
@@ -1802,7 +1802,7 @@ convert to string to support symbols
|
|
1802
1802
|
|
1803
1803
|
--
|
1804
1804
|
|
1805
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1805
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L168)
|
1806
1806
|
|
1807
1807
|
> def initialize
|
1808
1808
|
|
@@ -1814,7 +1814,7 @@ __Returns:__
|
|
1814
1814
|
|
1815
1815
|
--
|
1816
1816
|
|
1817
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1817
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L173)
|
1818
1818
|
|
1819
1819
|
> def reset
|
1820
1820
|
|
@@ -1822,7 +1822,7 @@ __Returns:__
|
|
1822
1822
|
|
1823
1823
|
--
|
1824
1824
|
|
1825
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1825
|
+
##### [result](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L179)
|
1826
1826
|
|
1827
1827
|
> def result
|
1828
1828
|
|
@@ -1830,7 +1830,7 @@ __Returns:__
|
|
1830
1830
|
|
1831
1831
|
--
|
1832
1832
|
|
1833
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1833
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L195)
|
1834
1834
|
|
1835
1835
|
> def start_element(name, attrs = [])
|
1836
1836
|
|
@@ -1838,7 +1838,7 @@ __Returns:__
|
|
1838
1838
|
|
1839
1839
|
--
|
1840
1840
|
|
1841
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1841
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L204)
|
1842
1842
|
|
1843
1843
|
> def end_element(name)
|
1844
1844
|
|
@@ -1846,7 +1846,7 @@ __Returns:__
|
|
1846
1846
|
|
1847
1847
|
--
|
1848
1848
|
|
1849
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1849
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L210)
|
1850
1850
|
|
1851
1851
|
> def characters(chars)
|
1852
1852
|
|
@@ -1854,7 +1854,7 @@ __Returns:__
|
|
1854
1854
|
|
1855
1855
|
--
|
1856
1856
|
|
1857
|
-
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/
|
1857
|
+
##### [_no_such_element](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/helper.rb#L217)
|
1858
1858
|
|
1859
1859
|
> def _no_such_element
|
1860
1860
|
|
@@ -1862,7 +1862,7 @@ __Returns:__
|
|
1862
1862
|
|
1863
1863
|
--
|
1864
1864
|
|
1865
|
-
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [COMMAND_NO_ARG](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/command.rb#L4)
|
1866
1866
|
|
1867
1867
|
> COMMAND_NO_ARG = {
|
1868
1868
|
|
@@ -1870,7 +1870,7 @@ __Returns:__
|
|
1870
1870
|
|
1871
1871
|
--
|
1872
1872
|
|
1873
|
-
##### [COMMAND](https://github.com/appium/ruby_lib/blob/
|
1873
|
+
##### [COMMAND](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/command.rb#L27)
|
1874
1874
|
|
1875
1875
|
> COMMAND = {
|
1876
1876
|
|
@@ -1878,7 +1878,7 @@ __Returns:__
|
|
1878
1878
|
|
1879
1879
|
--
|
1880
1880
|
|
1881
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/element/window.rb#L5)
|
1882
1882
|
|
1883
1883
|
> def window_size
|
1884
1884
|
|
@@ -1886,7 +1886,7 @@ Get the window's size
|
|
1886
1886
|
|
1887
1887
|
--
|
1888
1888
|
|
1889
|
-
##### [FINDERS](https://github.com/appium/ruby_lib/blob/
|
1889
|
+
##### [FINDERS](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/search_context.rb#L5)
|
1890
1890
|
|
1891
1891
|
> FINDERS = {
|
1892
1892
|
|
@@ -1894,7 +1894,7 @@ rubocop:disable Style/MutableConstant
|
|
1894
1894
|
|
1895
1895
|
--
|
1896
1896
|
|
1897
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [result](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L6) android
|
1898
1898
|
|
1899
1899
|
> def result
|
1900
1900
|
|
@@ -1902,7 +1902,7 @@ Returns the value of attribute result
|
|
1902
1902
|
|
1903
1903
|
--
|
1904
1904
|
|
1905
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1905
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L6) android
|
1906
1906
|
|
1907
1907
|
> def keys
|
1908
1908
|
|
@@ -1910,7 +1910,7 @@ Returns the value of attribute keys
|
|
1910
1910
|
|
1911
1911
|
--
|
1912
1912
|
|
1913
|
-
##### [instance](https://github.com/appium/ruby_lib/blob/
|
1913
|
+
##### [instance](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L6) android
|
1914
1914
|
|
1915
1915
|
> def instance
|
1916
1916
|
|
@@ -1918,7 +1918,7 @@ Returns the value of attribute instance
|
|
1918
1918
|
|
1919
1919
|
--
|
1920
1920
|
|
1921
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1921
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L6) android
|
1922
1922
|
|
1923
1923
|
> def filter
|
1924
1924
|
|
@@ -1926,7 +1926,7 @@ Returns the value of attribute filter
|
|
1926
1926
|
|
1927
1927
|
--
|
1928
1928
|
|
1929
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1929
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L9) android
|
1930
1930
|
|
1931
1931
|
> def filter=(value)
|
1932
1932
|
|
@@ -1934,7 +1934,7 @@ convert to string to support symbols
|
|
1934
1934
|
|
1935
1935
|
--
|
1936
1936
|
|
1937
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1937
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L15) android
|
1938
1938
|
|
1939
1939
|
> def initialize
|
1940
1940
|
|
@@ -1946,7 +1946,7 @@ __Returns:__
|
|
1946
1946
|
|
1947
1947
|
--
|
1948
1948
|
|
1949
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L21) android
|
1950
1950
|
|
1951
1951
|
> def reset
|
1952
1952
|
|
@@ -1954,7 +1954,7 @@ __Returns:__
|
|
1954
1954
|
|
1955
1955
|
--
|
1956
1956
|
|
1957
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1957
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L28) android
|
1958
1958
|
|
1959
1959
|
> def start_element(name, attrs = [])
|
1960
1960
|
|
@@ -1962,7 +1962,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1962
1962
|
|
1963
1963
|
--
|
1964
1964
|
|
1965
|
-
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [_fix_android_native_source](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L88) android
|
1966
1966
|
|
1967
1967
|
> def _fix_android_native_source(source)
|
1968
1968
|
|
@@ -1972,7 +1972,7 @@ https://code.google.com/p/android/issues/detail?id=74143
|
|
1972
1972
|
|
1973
1973
|
--
|
1974
1974
|
|
1975
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1975
|
+
##### [source](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L116) android
|
1976
1976
|
|
1977
1977
|
> def source
|
1978
1978
|
|
@@ -1984,7 +1984,7 @@ __Returns:__
|
|
1984
1984
|
|
1985
1985
|
--
|
1986
1986
|
|
1987
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1987
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L126) android
|
1988
1988
|
|
1989
1989
|
> def get_android_inspect(class_name = false)
|
1990
1990
|
|
@@ -2003,7 +2003,7 @@ __Returns:__
|
|
2003
2003
|
|
2004
2004
|
--
|
2005
2005
|
|
2006
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
2006
|
+
##### [page](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L152) android
|
2007
2007
|
|
2008
2008
|
> def page(opts = {})
|
2009
2009
|
|
@@ -2022,7 +2022,7 @@ __Returns:__
|
|
2022
2022
|
|
2023
2023
|
--
|
2024
2024
|
|
2025
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
2025
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L164) android
|
2026
2026
|
|
2027
2027
|
> def current_app
|
2028
2028
|
|
@@ -2032,7 +2032,7 @@ example line:
|
|
2032
2032
|
|
2033
2033
|
--
|
2034
2034
|
|
2035
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
2035
|
+
##### [id](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L188) android
|
2036
2036
|
|
2037
2037
|
> def id(id)
|
2038
2038
|
|
@@ -2048,7 +2048,7 @@ __Returns:__
|
|
2048
2048
|
|
2049
2049
|
--
|
2050
2050
|
|
2051
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
2051
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L196) android
|
2052
2052
|
|
2053
2053
|
> def ids(id)
|
2054
2054
|
|
@@ -2064,7 +2064,7 @@ __Returns:__
|
|
2064
2064
|
|
2065
2065
|
--
|
2066
2066
|
|
2067
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
2067
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L205) android
|
2068
2068
|
|
2069
2069
|
> def ele_index(class_name, index)
|
2070
2070
|
|
@@ -2082,7 +2082,7 @@ __Returns:__
|
|
2082
2082
|
|
2083
2083
|
--
|
2084
2084
|
|
2085
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L223) android
|
2086
2086
|
|
2087
2087
|
> def first_ele(class_name)
|
2088
2088
|
|
@@ -2098,7 +2098,7 @@ __Returns:__
|
|
2098
2098
|
|
2099
2099
|
--
|
2100
2100
|
|
2101
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
2101
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L230) android
|
2102
2102
|
|
2103
2103
|
> def last_ele(class_name)
|
2104
2104
|
|
@@ -2114,7 +2114,7 @@ __Returns:__
|
|
2114
2114
|
|
2115
2115
|
--
|
2116
2116
|
|
2117
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
2117
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L238) android
|
2118
2118
|
|
2119
2119
|
> def tag(class_name)
|
2120
2120
|
|
@@ -2130,7 +2130,7 @@ __Returns:__
|
|
2130
2130
|
|
2131
2131
|
--
|
2132
2132
|
|
2133
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
2133
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L246) android
|
2134
2134
|
|
2135
2135
|
> def tags(class_name)
|
2136
2136
|
|
@@ -2146,7 +2146,7 @@ __Returns:__
|
|
2146
2146
|
|
2147
2147
|
--
|
2148
2148
|
|
2149
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2149
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L288) android
|
2150
2150
|
|
2151
2151
|
> def string_visible_contains(class_name, value)
|
2152
2152
|
|
@@ -2166,7 +2166,7 @@ __Returns:__
|
|
2166
2166
|
|
2167
2167
|
--
|
2168
2168
|
|
2169
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2169
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L304) android
|
2170
2170
|
|
2171
2171
|
> def complex_find_contains(element, value)
|
2172
2172
|
|
@@ -2184,7 +2184,7 @@ __Returns:__
|
|
2184
2184
|
|
2185
2185
|
--
|
2186
2186
|
|
2187
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2187
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L312) android
|
2188
2188
|
|
2189
2189
|
> def complex_finds_contains(element, value)
|
2190
2190
|
|
@@ -2202,7 +2202,7 @@ __Returns:__
|
|
2202
2202
|
|
2203
2203
|
--
|
2204
2204
|
|
2205
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2205
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L335) android
|
2206
2206
|
|
2207
2207
|
> def complex_find_exact(class_name, value)
|
2208
2208
|
|
@@ -2220,7 +2220,7 @@ __Returns:__
|
|
2220
2220
|
|
2221
2221
|
--
|
2222
2222
|
|
2223
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2223
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L343) android
|
2224
2224
|
|
2225
2225
|
> def complex_finds_exact(class_name, value)
|
2226
2226
|
|
@@ -2238,7 +2238,7 @@ __Returns:__
|
|
2238
2238
|
|
2239
2239
|
--
|
2240
2240
|
|
2241
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
2241
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/helper.rb#L351) android
|
2242
2242
|
|
2243
2243
|
> def get_source
|
2244
2244
|
|
@@ -2252,7 +2252,7 @@ __Returns:__
|
|
2252
2252
|
|
2253
2253
|
--
|
2254
2254
|
|
2255
|
-
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/
|
2255
|
+
##### [_nodeset_to_uiselector](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/client_xpath.rb#L5) android
|
2256
2256
|
|
2257
2257
|
> def _nodeset_to_uiselector(opts = {})
|
2258
2258
|
|
@@ -2260,7 +2260,7 @@ __Returns:__
|
|
2260
2260
|
|
2261
2261
|
--
|
2262
2262
|
|
2263
|
-
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [_client_xpath](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/client_xpath.rb#L20) android
|
2264
2264
|
|
2265
2265
|
> def _client_xpath(opts = {})
|
2266
2266
|
|
@@ -2268,7 +2268,7 @@ __Returns:__
|
|
2268
2268
|
|
2269
2269
|
--
|
2270
2270
|
|
2271
|
-
##### [client_xpath](https://github.com/appium/ruby_lib/blob/
|
2271
|
+
##### [client_xpath](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/client_xpath.rb#L36) android
|
2272
2272
|
|
2273
2273
|
> def client_xpath(xpath)
|
2274
2274
|
|
@@ -2276,7 +2276,7 @@ __Returns:__
|
|
2276
2276
|
|
2277
2277
|
--
|
2278
2278
|
|
2279
|
-
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/
|
2279
|
+
##### [client_xpaths](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/client_xpath.rb#L40) android
|
2280
2280
|
|
2281
2281
|
> def client_xpaths(xpath)
|
2282
2282
|
|
@@ -2284,7 +2284,7 @@ __Returns:__
|
|
2284
2284
|
|
2285
2285
|
--
|
2286
2286
|
|
2287
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
2287
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/text.rb#L4) android
|
2288
2288
|
|
2289
2289
|
> TextView = 'android.widget.TextView'.freeze
|
2290
2290
|
|
@@ -2292,7 +2292,7 @@ __Returns:__
|
|
2292
2292
|
|
2293
2293
|
--
|
2294
2294
|
|
2295
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
2295
|
+
##### [text](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/text.rb#L10) android
|
2296
2296
|
|
2297
2297
|
> def text(value)
|
2298
2298
|
|
@@ -2309,7 +2309,7 @@ __Returns:__
|
|
2309
2309
|
|
2310
2310
|
--
|
2311
2311
|
|
2312
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
2312
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/text.rb#L19) android
|
2313
2313
|
|
2314
2314
|
> def texts(value = false)
|
2315
2315
|
|
@@ -2326,7 +2326,7 @@ __Returns:__
|
|
2326
2326
|
|
2327
2327
|
--
|
2328
2328
|
|
2329
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
2329
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/text.rb#L26) android
|
2330
2330
|
|
2331
2331
|
> def first_text
|
2332
2332
|
|
@@ -2338,7 +2338,7 @@ __Returns:__
|
|
2338
2338
|
|
2339
2339
|
--
|
2340
2340
|
|
2341
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
2341
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/text.rb#L32) android
|
2342
2342
|
|
2343
2343
|
> def last_text
|
2344
2344
|
|
@@ -2350,7 +2350,7 @@ __Returns:__
|
|
2350
2350
|
|
2351
2351
|
--
|
2352
2352
|
|
2353
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
2353
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/text.rb#L39) android
|
2354
2354
|
|
2355
2355
|
> def text_exact(value)
|
2356
2356
|
|
@@ -2366,7 +2366,7 @@ __Returns:__
|
|
2366
2366
|
|
2367
2367
|
--
|
2368
2368
|
|
2369
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
2369
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/text.rb#L46) android
|
2370
2370
|
|
2371
2371
|
> def texts_exact(value)
|
2372
2372
|
|
@@ -2382,7 +2382,7 @@ __Returns:__
|
|
2382
2382
|
|
2383
2383
|
--
|
2384
2384
|
|
2385
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
2385
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/alert.rb#L6) android
|
2386
2386
|
|
2387
2387
|
> def alert_click(value)
|
2388
2388
|
|
@@ -2398,7 +2398,7 @@ __Returns:__
|
|
2398
2398
|
|
2399
2399
|
--
|
2400
2400
|
|
2401
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
2401
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/alert.rb#L13) android
|
2402
2402
|
|
2403
2403
|
> def alert_accept
|
2404
2404
|
|
@@ -2411,7 +2411,7 @@ __Returns:__
|
|
2411
2411
|
|
2412
2412
|
--
|
2413
2413
|
|
2414
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
2414
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/alert.rb#L20) android
|
2415
2415
|
|
2416
2416
|
> def alert_accept_text
|
2417
2417
|
|
@@ -2424,7 +2424,7 @@ __Returns:__
|
|
2424
2424
|
|
2425
2425
|
--
|
2426
2426
|
|
2427
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
2427
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/alert.rb#L27) android
|
2428
2428
|
|
2429
2429
|
> def alert_dismiss
|
2430
2430
|
|
@@ -2437,7 +2437,7 @@ __Returns:__
|
|
2437
2437
|
|
2438
2438
|
--
|
2439
2439
|
|
2440
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
2440
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/alert.rb#L34) android
|
2441
2441
|
|
2442
2442
|
> def alert_dismiss_text
|
2443
2443
|
|
@@ -2450,7 +2450,7 @@ __Returns:__
|
|
2450
2450
|
|
2451
2451
|
--
|
2452
2452
|
|
2453
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
2453
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L4) android
|
2454
2454
|
|
2455
2455
|
> Button = 'android.widget.Button'.freeze
|
2456
2456
|
|
@@ -2458,7 +2458,7 @@ __Returns:__
|
|
2458
2458
|
|
2459
2459
|
--
|
2460
2460
|
|
2461
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2461
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L5) android
|
2462
2462
|
|
2463
2463
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
2464
2464
|
|
@@ -2466,7 +2466,7 @@ __Returns:__
|
|
2466
2466
|
|
2467
2467
|
--
|
2468
2468
|
|
2469
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2469
|
+
##### [button](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L32) android
|
2470
2470
|
|
2471
2471
|
> def button(value)
|
2472
2472
|
|
@@ -2483,7 +2483,7 @@ __Returns:__
|
|
2483
2483
|
|
2484
2484
|
--
|
2485
2485
|
|
2486
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2486
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L51) android
|
2487
2487
|
|
2488
2488
|
> def buttons(value = false)
|
2489
2489
|
|
@@ -2500,7 +2500,7 @@ __Returns:__
|
|
2500
2500
|
|
2501
2501
|
--
|
2502
2502
|
|
2503
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2503
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L58) android
|
2504
2504
|
|
2505
2505
|
> def first_button
|
2506
2506
|
|
@@ -2512,7 +2512,7 @@ __Returns:__
|
|
2512
2512
|
|
2513
2513
|
--
|
2514
2514
|
|
2515
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2515
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L64) android
|
2516
2516
|
|
2517
2517
|
> def last_button
|
2518
2518
|
|
@@ -2524,7 +2524,7 @@ __Returns:__
|
|
2524
2524
|
|
2525
2525
|
--
|
2526
2526
|
|
2527
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2527
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L73) android
|
2528
2528
|
|
2529
2529
|
> def button_exact(value)
|
2530
2530
|
|
@@ -2540,7 +2540,7 @@ __Returns:__
|
|
2540
2540
|
|
2541
2541
|
--
|
2542
2542
|
|
2543
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2543
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/button.rb#L80) android
|
2544
2544
|
|
2545
2545
|
> def buttons_exact(value)
|
2546
2546
|
|
@@ -2556,7 +2556,7 @@ __Returns:__
|
|
2556
2556
|
|
2557
2557
|
--
|
2558
2558
|
|
2559
|
-
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/
|
2559
|
+
##### [uiautomator_find](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/mobile_methods.rb#L10) android
|
2560
2560
|
|
2561
2561
|
> def uiautomator_find
|
2562
2562
|
|
@@ -2568,7 +2568,7 @@ find_element/s can be used with a [UISelector](http://developer.android.com/tool
|
|
2568
2568
|
|
2569
2569
|
--
|
2570
2570
|
|
2571
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2571
|
+
##### [find](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/generic.rb#L6) android
|
2572
2572
|
|
2573
2573
|
> def find(value)
|
2574
2574
|
|
@@ -2584,7 +2584,7 @@ __Returns:__
|
|
2584
2584
|
|
2585
2585
|
--
|
2586
2586
|
|
2587
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2587
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/generic.rb#L13) android
|
2588
2588
|
|
2589
2589
|
> def finds(value)
|
2590
2590
|
|
@@ -2600,7 +2600,7 @@ __Returns:__
|
|
2600
2600
|
|
2601
2601
|
--
|
2602
2602
|
|
2603
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2603
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/generic.rb#L20) android
|
2604
2604
|
|
2605
2605
|
> def find_exact(value)
|
2606
2606
|
|
@@ -2616,7 +2616,7 @@ __Returns:__
|
|
2616
2616
|
|
2617
2617
|
--
|
2618
2618
|
|
2619
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2619
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/generic.rb#L27) android
|
2620
2620
|
|
2621
2621
|
> def finds_exact(value)
|
2622
2622
|
|
@@ -2632,7 +2632,7 @@ __Returns:__
|
|
2632
2632
|
|
2633
2633
|
--
|
2634
2634
|
|
2635
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2635
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/generic.rb#L40) android
|
2636
2636
|
|
2637
2637
|
> def scroll_to(text, scrollable_index = 0)
|
2638
2638
|
|
@@ -2650,7 +2650,7 @@ __Returns:__
|
|
2650
2650
|
|
2651
2651
|
--
|
2652
2652
|
|
2653
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2653
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/generic.rb#L54) android
|
2654
2654
|
|
2655
2655
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2656
2656
|
|
@@ -2668,7 +2668,7 @@ __Returns:__
|
|
2668
2668
|
|
2669
2669
|
--
|
2670
2670
|
|
2671
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2671
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/textfield.rb#L3) android
|
2672
2672
|
|
2673
2673
|
> EditText = 'android.widget.EditText'.freeze
|
2674
2674
|
|
@@ -2676,7 +2676,7 @@ __Returns:__
|
|
2676
2676
|
|
2677
2677
|
--
|
2678
2678
|
|
2679
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2679
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/textfield.rb#L9) android
|
2680
2680
|
|
2681
2681
|
> def textfield(value)
|
2682
2682
|
|
@@ -2693,7 +2693,7 @@ __Returns:__
|
|
2693
2693
|
|
2694
2694
|
--
|
2695
2695
|
|
2696
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2696
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/textfield.rb#L18) android
|
2697
2697
|
|
2698
2698
|
> def textfields(value = false)
|
2699
2699
|
|
@@ -2710,7 +2710,7 @@ __Returns:__
|
|
2710
2710
|
|
2711
2711
|
--
|
2712
2712
|
|
2713
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2713
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/textfield.rb#L25) android
|
2714
2714
|
|
2715
2715
|
> def first_textfield
|
2716
2716
|
|
@@ -2722,7 +2722,7 @@ __Returns:__
|
|
2722
2722
|
|
2723
2723
|
--
|
2724
2724
|
|
2725
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2725
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/textfield.rb#L31) android
|
2726
2726
|
|
2727
2727
|
> def last_textfield
|
2728
2728
|
|
@@ -2734,7 +2734,7 @@ __Returns:__
|
|
2734
2734
|
|
2735
2735
|
--
|
2736
2736
|
|
2737
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2737
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/textfield.rb#L38) android
|
2738
2738
|
|
2739
2739
|
> def textfield_exact(value)
|
2740
2740
|
|
@@ -2750,7 +2750,7 @@ __Returns:__
|
|
2750
2750
|
|
2751
2751
|
--
|
2752
2752
|
|
2753
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2753
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/android/element/textfield.rb#L45) android
|
2754
2754
|
|
2755
2755
|
> def textfields_exact(value)
|
2756
2756
|
|
@@ -2766,7 +2766,7 @@ __Returns:__
|
|
2766
2766
|
|
2767
2767
|
--
|
2768
2768
|
|
2769
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
2769
|
+
##### [value](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/patch.rb#L12)
|
2770
2770
|
|
2771
2771
|
> def value
|
2772
2772
|
|
@@ -2776,7 +2776,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
2776
2776
|
|
2777
2777
|
--
|
2778
2778
|
|
2779
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
2779
|
+
##### [name](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/patch.rb#L19)
|
2780
2780
|
|
2781
2781
|
> def name
|
2782
2782
|
|
@@ -2786,7 +2786,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
2786
2786
|
|
2787
2787
|
--
|
2788
2788
|
|
2789
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
2789
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/patch.rb#L31)
|
2790
2790
|
|
2791
2791
|
> def location_rel
|
2792
2792
|
|
@@ -2804,7 +2804,7 @@ __Returns:__
|
|
2804
2804
|
|
2805
2805
|
--
|
2806
2806
|
|
2807
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
2807
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/patch.rb#L152)
|
2808
2808
|
|
2809
2809
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
2810
2810
|
|
@@ -2812,7 +2812,7 @@ __Returns:__
|
|
2812
2812
|
|
2813
2813
|
--
|
2814
2814
|
|
2815
|
-
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/
|
2815
|
+
##### [patch_remote_driver_commands](https://github.com/appium/ruby_lib/blob/125bb67e570b396d675cb24d7c51f43a24a58897/lib/appium_lib/common/patch.rb#L155)
|
2816
2816
|
|
2817
2817
|
> def patch_remote_driver_commands
|
2818
2818
|
|