appium_lib 9.18.0 → 10.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +19 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +209 -213
- data/docs/ios_docs.md +253 -257
- data/lib/appium_lib/driver.rb +0 -1
- data/lib/appium_lib/ios/xcuitest/command/gestures.rb +3 -6
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +8 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 79735cbaac94556c8ab4ef785686af5deae187ab
|
4
|
+
data.tar.gz: 7789362035bdc9333de09801f41adbfb345bfec4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45bba2199232103a5e05a88b690bdee08bf9a24e2c317a3d5895e8b4038ee84a0865f0031ebc1082fc01661448efe907560aa6f5a180615146eb1ff611b04ea0
|
7
|
+
data.tar.gz: 2eea0c58f7a31a850ff5f5fdfd3111b27d3c8f696af0c36d0b01ab0316ea4ff86ba14b19d93a79ece6ceaf837b108d007c785dce007eb7cbcc3d986836d0d7b6
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,25 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v10.0.0
|
14
|
+
|
15
|
+
This change has a breaking change about implicit wait.
|
16
|
+
|
17
|
+
### 1. Enhancements
|
18
|
+
- **Breaking changes**
|
19
|
+
- Set implicit wait zero by default following [WebDriver spec in Selenium](https://www.seleniumhq.org/docs/04_webdriver_advanced.jsp)
|
20
|
+
- The change potentially break your `find_element/s`
|
21
|
+
- You can wrap it with `wait` method to avoid the error explicitly
|
22
|
+
- Or you also can configure `wait: 20` as `appium_lib` capability to keep the behaviour
|
23
|
+
- [Experimental]
|
24
|
+
- Add `direct_connect` capability
|
25
|
+
- How to use: `{ caps: {...}, appium_lib: { direct_connect: true }}`
|
26
|
+
- Read [here](https://github.com/appium/ruby_lib_core/blob/master/CHANGELOG.md#enhancements-1) for more details
|
27
|
+
|
28
|
+
### 2. Bug fixes
|
29
|
+
|
30
|
+
### 3. Deprecations
|
31
|
+
|
13
32
|
## v9.18.0
|
14
33
|
### 1. Enhancements
|
15
34
|
- Enhance Espresso automation name adaptation
|
data/appium_lib.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'appium_lib_core', '~>
|
17
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 3.0'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
20
20
|
|
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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L46) common
|
2
2
|
|
3
3
|
> def 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/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L82) common
|
31
31
|
|
32
32
|
> def load_settings(opts = {})
|
33
33
|
|
@@ -56,7 +56,7 @@ __Returns:__
|
|
56
56
|
|
57
57
|
--
|
58
58
|
|
59
|
-
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/
|
59
|
+
##### [expand_required_files](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L87) common
|
60
60
|
|
61
61
|
> def expand_required_files(base_dir, file_paths)
|
62
62
|
|
@@ -74,7 +74,7 @@ __Returns:__
|
|
74
74
|
|
75
75
|
--
|
76
76
|
|
77
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
77
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L129) common
|
78
78
|
|
79
79
|
> def promote_singleton_appium_methods(modules, driver = $driver)
|
80
80
|
|
@@ -98,7 +98,7 @@ __Parameters:__
|
|
98
98
|
|
99
99
|
--
|
100
100
|
|
101
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
101
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/appium.rb#L185) common
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,7 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L35) common
|
120
120
|
|
121
121
|
> def global_webdriver_http_sleep
|
122
122
|
|
@@ -124,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
124
124
|
|
125
125
|
--
|
126
126
|
|
127
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L35) common
|
128
128
|
|
129
129
|
> def global_webdriver_http_sleep=(value)
|
130
130
|
|
@@ -132,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L38) common
|
136
136
|
|
137
137
|
> def sauce
|
138
138
|
|
@@ -140,7 +140,7 @@ SauceLab's settings
|
|
140
140
|
|
141
141
|
--
|
142
142
|
|
143
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L41) common
|
144
144
|
|
145
145
|
> def sauce_username
|
146
146
|
|
@@ -149,7 +149,7 @@ same as @sauce.username
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L44) common
|
153
153
|
|
154
154
|
> def sauce_access_key
|
155
155
|
|
@@ -158,7 +158,7 @@ same as @sauce.access_key
|
|
158
158
|
|
159
159
|
--
|
160
160
|
|
161
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L47) common
|
162
162
|
|
163
163
|
> def sauce_endpoint
|
164
164
|
|
@@ -167,7 +167,7 @@ same as @sauce.endpoint
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L51) common
|
171
171
|
|
172
172
|
> def caps
|
173
173
|
|
@@ -176,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L52) common
|
180
180
|
|
181
181
|
> def custom_url
|
182
182
|
|
@@ -184,7 +184,7 @@ Returns the value of attribute custom_url
|
|
184
184
|
|
185
185
|
--
|
186
186
|
|
187
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L53) common
|
188
188
|
|
189
189
|
> def export_session
|
190
190
|
|
@@ -192,7 +192,7 @@ Returns the value of attribute export_session
|
|
192
192
|
|
193
193
|
--
|
194
194
|
|
195
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L54) common
|
196
196
|
|
197
197
|
> def export_session_path
|
198
198
|
|
@@ -200,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
200
200
|
|
201
201
|
--
|
202
202
|
|
203
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L55) common
|
204
204
|
|
205
205
|
> def default_wait
|
206
206
|
|
@@ -208,7 +208,7 @@ Returns the value of attribute default_wait
|
|
208
208
|
|
209
209
|
--
|
210
210
|
|
211
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L56) common
|
212
212
|
|
213
213
|
> def appium_port
|
214
214
|
|
@@ -216,7 +216,7 @@ Returns the value of attribute appium_port
|
|
216
216
|
|
217
217
|
--
|
218
218
|
|
219
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L57) common
|
220
220
|
|
221
221
|
> def appium_device
|
222
222
|
|
@@ -224,7 +224,7 @@ Returns the value of attribute appium_device
|
|
224
224
|
|
225
225
|
--
|
226
226
|
|
227
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L58) common
|
228
228
|
|
229
229
|
> def automation_name
|
230
230
|
|
@@ -232,7 +232,7 @@ Returns the value of attribute automation_name
|
|
232
232
|
|
233
233
|
--
|
234
234
|
|
235
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L59) common
|
236
236
|
|
237
237
|
> def listener
|
238
238
|
|
@@ -240,7 +240,7 @@ Returns the value of attribute listener
|
|
240
240
|
|
241
241
|
--
|
242
242
|
|
243
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L60) common
|
244
244
|
|
245
245
|
> def http_client
|
246
246
|
|
@@ -248,7 +248,7 @@ Returns the value of attribute http_client
|
|
248
248
|
|
249
249
|
--
|
250
250
|
|
251
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L61) common
|
252
252
|
|
253
253
|
> def appium_wait_timeout
|
254
254
|
|
@@ -256,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
256
256
|
|
257
257
|
--
|
258
258
|
|
259
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L62) common
|
260
260
|
|
261
261
|
> def appium_wait_interval
|
262
262
|
|
@@ -264,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
264
264
|
|
265
265
|
--
|
266
266
|
|
267
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L65) common
|
268
268
|
|
269
269
|
> def appium_server_status
|
270
270
|
|
@@ -272,7 +272,7 @@ Appium's server version
|
|
272
272
|
|
273
273
|
--
|
274
274
|
|
275
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L67) common
|
276
276
|
|
277
277
|
> def appium_debug
|
278
278
|
|
@@ -280,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
280
280
|
|
281
281
|
--
|
282
282
|
|
283
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L70) common
|
284
284
|
|
285
285
|
> def driver
|
286
286
|
|
@@ -292,7 +292,7 @@ __Returns:__
|
|
292
292
|
|
293
293
|
--
|
294
294
|
|
295
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L72) common
|
296
296
|
|
297
297
|
> def core
|
298
298
|
|
@@ -300,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
300
300
|
|
301
301
|
--
|
302
302
|
|
303
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L140) common
|
304
304
|
|
305
305
|
> def initialize(opts = {}, global_driver = nil)
|
306
306
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L259) common
|
323
323
|
|
324
324
|
> def driver_attributes
|
325
325
|
|
@@ -327,7 +327,7 @@ Returns a hash of the driver attributes
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L281) common
|
331
331
|
|
332
332
|
> def device_is_android?
|
333
333
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L285) common
|
343
343
|
|
344
344
|
> def device_is_ios?
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L289) common
|
355
355
|
|
356
356
|
> def device_is_windows?
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L295) common
|
367
367
|
|
368
368
|
> def automation_name_is_uiautomator2?
|
369
369
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L301) common
|
379
379
|
|
380
380
|
> def automation_name_is_espresso?
|
381
381
|
|
@@ -387,7 +387,7 @@ __Returns:__
|
|
387
387
|
|
388
388
|
--
|
389
389
|
|
390
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L307) common
|
391
391
|
|
392
392
|
> def automation_name_is_xcuitest?
|
393
393
|
|
@@ -399,7 +399,7 @@ __Returns:__
|
|
399
399
|
|
400
400
|
--
|
401
401
|
|
402
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L327) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,24 +421,20 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [action](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [action](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L341) common
|
425
425
|
|
426
426
|
> def action
|
427
427
|
|
428
428
|
An entry point to chain W3C actions. Returns `TouchAction.new` if it works as MJSONWP instead of W3C action.
|
429
429
|
Read https://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Base/Bridge/W3C#action-instance_method
|
430
430
|
|
431
|
-
__Parameters:__
|
432
|
-
|
433
|
-
[bool] async - Run actions async
|
434
|
-
|
435
431
|
__Returns:__
|
436
432
|
|
437
433
|
[TouchAction|Selenium::WebDriver::PointerActions]
|
438
434
|
|
439
435
|
--
|
440
436
|
|
441
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L361) common
|
442
438
|
|
443
439
|
> def appium_server_version
|
444
440
|
|
@@ -450,7 +446,7 @@ __Returns:__
|
|
450
446
|
|
451
447
|
--
|
452
448
|
|
453
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L369) common
|
454
450
|
|
455
451
|
> def appium_server_version
|
456
452
|
|
@@ -462,7 +458,7 @@ __Returns:__
|
|
462
458
|
|
463
459
|
--
|
464
460
|
|
465
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L373) common
|
466
462
|
|
467
463
|
> def platform_version
|
468
464
|
|
@@ -474,7 +470,7 @@ __Returns:__
|
|
474
470
|
|
475
471
|
--
|
476
472
|
|
477
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L386) common
|
478
474
|
|
479
475
|
> def appium_client_version
|
480
476
|
|
@@ -486,7 +482,7 @@ __Returns:__
|
|
486
482
|
|
487
483
|
--
|
488
484
|
|
489
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L398) common
|
490
486
|
|
491
487
|
> def self.absolute_app_path(opts)
|
492
488
|
|
@@ -503,7 +499,7 @@ __Returns:__
|
|
503
499
|
|
504
500
|
--
|
505
501
|
|
506
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L421) common
|
507
503
|
|
508
504
|
> def server_url
|
509
505
|
|
@@ -515,7 +511,7 @@ __Returns:__
|
|
515
511
|
|
516
512
|
--
|
517
513
|
|
518
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L430) common
|
519
515
|
|
520
516
|
> def restart
|
521
517
|
|
@@ -527,7 +523,7 @@ __Returns:__
|
|
527
523
|
|
528
524
|
--
|
529
525
|
|
530
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L443) common
|
531
527
|
|
532
528
|
> def screenshot(png_save_path)
|
533
529
|
|
@@ -543,7 +539,7 @@ __Returns:__
|
|
543
539
|
|
544
540
|
--
|
545
541
|
|
546
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L457) common
|
547
543
|
|
548
544
|
> def element_screenshot(element, png_save_path)
|
549
545
|
|
@@ -561,7 +557,7 @@ __Returns:__
|
|
561
557
|
|
562
558
|
--
|
563
559
|
|
564
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L464) common
|
565
561
|
|
566
562
|
> def driver_quit
|
567
563
|
|
@@ -573,7 +569,7 @@ __Returns:__
|
|
573
569
|
|
574
570
|
--
|
575
571
|
|
576
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L467) common
|
577
573
|
|
578
574
|
> def driver_quit
|
579
575
|
|
@@ -585,7 +581,7 @@ __Returns:__
|
|
585
581
|
|
586
582
|
--
|
587
583
|
|
588
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L478) common
|
589
585
|
|
590
586
|
> def window_size
|
591
587
|
|
@@ -597,7 +593,7 @@ __Returns:__
|
|
597
593
|
|
598
594
|
--
|
599
595
|
|
600
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L493) common
|
601
597
|
|
602
598
|
> def window_rect
|
603
599
|
|
@@ -609,7 +605,7 @@ __Returns:__
|
|
609
605
|
|
610
606
|
--
|
611
607
|
|
612
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L526) common
|
613
609
|
|
614
610
|
> def start_driver(http_client_ops =
|
615
611
|
|
@@ -629,7 +625,7 @@ __Returns:__
|
|
629
625
|
|
630
626
|
--
|
631
627
|
|
632
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L547) common
|
633
629
|
|
634
630
|
> def set_implicit_wait(wait)
|
635
631
|
|
@@ -637,7 +633,7 @@ To ignore error for Espresso Driver
|
|
637
633
|
|
638
634
|
--
|
639
635
|
|
640
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L558) common
|
641
637
|
|
642
638
|
> def no_wait
|
643
639
|
|
@@ -645,7 +641,7 @@ Set implicit wait to zero.
|
|
645
641
|
|
646
642
|
--
|
647
643
|
|
648
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L572) common
|
649
645
|
|
650
646
|
> def set_wait(timeout = nil)
|
651
647
|
|
@@ -661,7 +657,7 @@ __Returns:__
|
|
661
657
|
|
662
658
|
--
|
663
659
|
|
664
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L589) common
|
665
661
|
|
666
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
667
663
|
|
@@ -685,7 +681,7 @@ __Returns:__
|
|
685
681
|
|
686
682
|
--
|
687
683
|
|
688
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L613) common
|
689
685
|
|
690
686
|
> def execute_script(script, *args)
|
691
687
|
|
@@ -703,7 +699,7 @@ __Returns:__
|
|
703
699
|
|
704
700
|
--
|
705
701
|
|
706
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L621) common
|
707
703
|
|
708
704
|
> def execute_async_script(script, *args)
|
709
705
|
|
@@ -713,7 +709,7 @@ Get the window handles of open browser windows
|
|
713
709
|
|
714
710
|
--
|
715
711
|
|
716
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L625) common
|
717
713
|
|
718
714
|
> def window_handles
|
719
715
|
|
@@ -721,7 +717,7 @@ Get the window handles of open browser windows
|
|
721
717
|
|
722
718
|
--
|
723
719
|
|
724
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L630) common
|
725
721
|
|
726
722
|
> def window_handle
|
727
723
|
|
@@ -729,7 +725,7 @@ Get the current window handle
|
|
729
725
|
|
730
726
|
--
|
731
727
|
|
732
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L634) common
|
733
729
|
|
734
730
|
> def navigate
|
735
731
|
|
@@ -737,7 +733,7 @@ Get the current window handle
|
|
737
733
|
|
738
734
|
--
|
739
735
|
|
740
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L638) common
|
741
737
|
|
742
738
|
> def manage
|
743
739
|
|
@@ -745,7 +741,7 @@ Get the current window handle
|
|
745
741
|
|
746
742
|
--
|
747
743
|
|
748
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [get](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L642) common
|
749
745
|
|
750
746
|
> def get(url)
|
751
747
|
|
@@ -753,7 +749,7 @@ Get the current window handle
|
|
753
749
|
|
754
750
|
--
|
755
751
|
|
756
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L646) common
|
757
753
|
|
758
754
|
> def current_url
|
759
755
|
|
@@ -761,7 +757,7 @@ Get the current window handle
|
|
761
757
|
|
762
758
|
--
|
763
759
|
|
764
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [title](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L650) common
|
765
761
|
|
766
762
|
> def title
|
767
763
|
|
@@ -769,7 +765,7 @@ Get the current window handle
|
|
769
765
|
|
770
766
|
--
|
771
767
|
|
772
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L656) common
|
773
769
|
|
774
770
|
> def switch_to
|
775
771
|
|
@@ -781,7 +777,7 @@ __Returns:__
|
|
781
777
|
|
782
778
|
--
|
783
779
|
|
784
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L683) common
|
785
781
|
|
786
782
|
> def find_elements(*args)
|
787
783
|
|
@@ -801,7 +797,7 @@ __Returns:__
|
|
801
797
|
|
802
798
|
--
|
803
799
|
|
804
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L699) common
|
805
801
|
|
806
802
|
> def find_element(*args)
|
807
803
|
|
@@ -819,7 +815,7 @@ __Returns:__
|
|
819
815
|
|
820
816
|
--
|
821
817
|
|
822
|
-
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [DEFAULT_MATCH_THRESHOLD](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L717) common
|
823
819
|
|
824
820
|
> DEFAULT_MATCH_THRESHOLD = 0.5
|
825
821
|
|
@@ -840,7 +836,7 @@ __Returns:__
|
|
840
836
|
|
841
837
|
--
|
842
838
|
|
843
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
839
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L718) common
|
844
840
|
|
845
841
|
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
846
842
|
|
@@ -848,7 +844,7 @@ __Returns:__
|
|
848
844
|
|
849
845
|
--
|
850
846
|
|
851
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L736) common
|
852
848
|
|
853
849
|
> def find_elements_by_image(png_img_paths, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
854
850
|
|
@@ -869,7 +865,7 @@ __Returns:__
|
|
869
865
|
|
870
866
|
--
|
871
867
|
|
872
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L749) common
|
873
869
|
|
874
870
|
> def set_location(opts = {})
|
875
871
|
|
@@ -885,7 +881,7 @@ __Returns:__
|
|
885
881
|
|
886
882
|
--
|
887
883
|
|
888
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [x](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/driver.rb#L759) common
|
889
885
|
|
890
886
|
> def x
|
891
887
|
|
@@ -898,7 +894,7 @@ __Returns:__
|
|
898
894
|
|
899
895
|
--
|
900
896
|
|
901
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [username](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L4) common
|
902
898
|
|
903
899
|
> def username
|
904
900
|
|
@@ -906,7 +902,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
906
902
|
|
907
903
|
--
|
908
904
|
|
909
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L6) common
|
910
906
|
|
911
907
|
> def access_key
|
912
908
|
|
@@ -914,7 +910,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
914
910
|
|
915
911
|
--
|
916
912
|
|
917
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L8) common
|
918
914
|
|
919
915
|
> def endpoint
|
920
916
|
|
@@ -922,7 +918,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
922
918
|
|
923
919
|
--
|
924
920
|
|
925
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L33) common
|
926
922
|
|
927
923
|
> def initialize(appium_lib_opts)
|
928
924
|
|
@@ -938,7 +934,7 @@ __Returns:__
|
|
938
934
|
|
939
935
|
--
|
940
936
|
|
941
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L53) common
|
942
938
|
|
943
939
|
> def sauce_server_url?
|
944
940
|
|
@@ -950,7 +946,7 @@ __Returns:__
|
|
950
946
|
|
951
947
|
--
|
952
948
|
|
953
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/sauce_labs.rb#L66) common
|
954
950
|
|
955
951
|
> def server_url
|
956
952
|
|
@@ -962,7 +958,7 @@ __Returns:__
|
|
962
958
|
|
963
959
|
--
|
964
960
|
|
965
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/log.rb#L11) common
|
966
962
|
|
967
963
|
> def get_log(type)
|
968
964
|
|
@@ -978,7 +974,7 @@ __Returns:__
|
|
978
974
|
|
979
975
|
--
|
980
976
|
|
981
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
977
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/log.rb#L23) common
|
982
978
|
|
983
979
|
> def get_available_log_types
|
984
980
|
|
@@ -990,7 +986,7 @@ __Returns:__
|
|
990
986
|
|
991
987
|
--
|
992
988
|
|
993
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/wait.rb#L30) common
|
994
990
|
|
995
991
|
> def wait_true(opts = {})
|
996
992
|
|
@@ -1010,7 +1006,7 @@ __Parameters:__
|
|
1010
1006
|
|
1011
1007
|
--
|
1012
1008
|
|
1013
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/wait.rb#L59) common
|
1014
1010
|
|
1015
1011
|
> def wait(opts = {})
|
1016
1012
|
|
@@ -1028,7 +1024,7 @@ __Parameters:__
|
|
1028
1024
|
|
1029
1025
|
--
|
1030
1026
|
|
1031
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/device.rb#L12) common
|
1032
1028
|
|
1033
1029
|
> def add_touch_actions
|
1034
1030
|
|
@@ -1036,7 +1032,7 @@ __Parameters:__
|
|
1036
1032
|
|
1037
1033
|
--
|
1038
1034
|
|
1039
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/device.rb#L24) common
|
1040
1036
|
|
1041
1037
|
> def delegate_from_appium_driver(method, delegation_target)
|
1042
1038
|
|
@@ -1044,7 +1040,7 @@ __Parameters:__
|
|
1044
1040
|
|
1045
1041
|
--
|
1046
1042
|
|
1047
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L16) common
|
1048
1044
|
|
1049
1045
|
> def ignore
|
1050
1046
|
|
@@ -1052,7 +1048,7 @@ Return yield and ignore any exceptions.
|
|
1052
1048
|
|
1053
1049
|
--
|
1054
1050
|
|
1055
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [back](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L23) common
|
1056
1052
|
|
1057
1053
|
> def back
|
1058
1054
|
|
@@ -1064,7 +1060,7 @@ __Returns:__
|
|
1064
1060
|
|
1065
1061
|
--
|
1066
1062
|
|
1067
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L34) common
|
1068
1064
|
|
1069
1065
|
> def session_id
|
1070
1066
|
|
@@ -1076,7 +1072,7 @@ __Returns:__
|
|
1076
1072
|
|
1077
1073
|
--
|
1078
1074
|
|
1079
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1075
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L42) common
|
1080
1076
|
|
1081
1077
|
> def xpath(xpath_str)
|
1082
1078
|
|
@@ -1092,7 +1088,7 @@ __Returns:__
|
|
1092
1088
|
|
1093
1089
|
--
|
1094
1090
|
|
1095
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1091
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L50) common
|
1096
1092
|
|
1097
1093
|
> def xpaths(xpath_str)
|
1098
1094
|
|
@@ -1108,7 +1104,7 @@ __Returns:__
|
|
1108
1104
|
|
1109
1105
|
--
|
1110
1106
|
|
1111
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L60) common
|
1112
1108
|
|
1113
1109
|
> def result
|
1114
1110
|
|
@@ -1116,7 +1112,7 @@ Returns the value of attribute result
|
|
1116
1112
|
|
1117
1113
|
--
|
1118
1114
|
|
1119
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L62) common
|
1120
1116
|
|
1121
1117
|
> def initialize(platform)
|
1122
1118
|
|
@@ -1128,7 +1124,7 @@ __Returns:__
|
|
1128
1124
|
|
1129
1125
|
--
|
1130
1126
|
|
1131
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1127
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L67) common
|
1132
1128
|
|
1133
1129
|
> def reset
|
1134
1130
|
|
@@ -1136,7 +1132,7 @@ __Returns:__
|
|
1136
1132
|
|
1137
1133
|
--
|
1138
1134
|
|
1139
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L72) common
|
1140
1136
|
|
1141
1137
|
> def start_element(name, attrs = [])
|
1142
1138
|
|
@@ -1144,7 +1140,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1144
1140
|
|
1145
1141
|
--
|
1146
1142
|
|
1147
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1143
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L83) common
|
1148
1144
|
|
1149
1145
|
> def formatted_result
|
1150
1146
|
|
@@ -1152,7 +1148,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1152
1148
|
|
1153
1149
|
--
|
1154
1150
|
|
1155
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L101) common
|
1156
1152
|
|
1157
1153
|
> def get_page_class
|
1158
1154
|
|
@@ -1164,7 +1160,7 @@ __Returns:__
|
|
1164
1160
|
|
1165
1161
|
--
|
1166
1162
|
|
1167
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1163
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L126) common
|
1168
1164
|
|
1169
1165
|
> def page_class
|
1170
1166
|
|
@@ -1177,7 +1173,7 @@ __Returns:__
|
|
1177
1173
|
|
1178
1174
|
--
|
1179
1175
|
|
1180
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [source](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L133) common
|
1181
1177
|
|
1182
1178
|
> def source
|
1183
1179
|
|
@@ -1189,7 +1185,7 @@ __Returns:__
|
|
1189
1185
|
|
1190
1186
|
--
|
1191
1187
|
|
1192
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1188
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L140) common
|
1193
1189
|
|
1194
1190
|
> def get_source
|
1195
1191
|
|
@@ -1202,7 +1198,7 @@ __Returns:__
|
|
1202
1198
|
|
1203
1199
|
--
|
1204
1200
|
|
1205
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L150) common
|
1206
1202
|
|
1207
1203
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1208
1204
|
|
@@ -1210,7 +1206,7 @@ Converts pixel values to window relative values
|
|
1210
1206
|
|
1211
1207
|
--
|
1212
1208
|
|
1213
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1209
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L169) common
|
1214
1210
|
|
1215
1211
|
> def xml_keys(target)
|
1216
1212
|
|
@@ -1226,7 +1222,7 @@ __Returns:__
|
|
1226
1222
|
|
1227
1223
|
--
|
1228
1224
|
|
1229
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L177) common
|
1230
1226
|
|
1231
1227
|
> def xml_values(target)
|
1232
1228
|
|
@@ -1242,7 +1238,7 @@ __Returns:__
|
|
1242
1238
|
|
1243
1239
|
--
|
1244
1240
|
|
1245
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1241
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L185) common
|
1246
1242
|
|
1247
1243
|
> def resolve_id(id)
|
1248
1244
|
|
@@ -1258,7 +1254,7 @@ __Returns:__
|
|
1258
1254
|
|
1259
1255
|
--
|
1260
1256
|
|
1261
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L192) common
|
1262
1258
|
|
1263
1259
|
> def filter
|
1264
1260
|
|
@@ -1266,7 +1262,7 @@ Returns the value of attribute filter
|
|
1266
1262
|
|
1267
1263
|
--
|
1268
1264
|
|
1269
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L195) common
|
1270
1266
|
|
1271
1267
|
> def filter=(value)
|
1272
1268
|
|
@@ -1274,7 +1270,7 @@ convert to string to support symbols
|
|
1274
1270
|
|
1275
1271
|
--
|
1276
1272
|
|
1277
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L202) common
|
1278
1274
|
|
1279
1275
|
> def initialize
|
1280
1276
|
|
@@ -1286,7 +1282,7 @@ __Returns:__
|
|
1286
1282
|
|
1287
1283
|
--
|
1288
1284
|
|
1289
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L207) common
|
1290
1286
|
|
1291
1287
|
> def reset
|
1292
1288
|
|
@@ -1294,7 +1290,7 @@ __Returns:__
|
|
1294
1290
|
|
1295
1291
|
--
|
1296
1292
|
|
1297
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L213) common
|
1298
1294
|
|
1299
1295
|
> def result
|
1300
1296
|
|
@@ -1302,7 +1298,7 @@ __Returns:__
|
|
1302
1298
|
|
1303
1299
|
--
|
1304
1300
|
|
1305
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1301
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L226) common
|
1306
1302
|
|
1307
1303
|
> def start_element(name, attrs = [])
|
1308
1304
|
|
@@ -1310,7 +1306,7 @@ __Returns:__
|
|
1310
1306
|
|
1311
1307
|
--
|
1312
1308
|
|
1313
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1309
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L236) common
|
1314
1310
|
|
1315
1311
|
> def end_element(name)
|
1316
1312
|
|
@@ -1318,7 +1314,7 @@ __Returns:__
|
|
1318
1314
|
|
1319
1315
|
--
|
1320
1316
|
|
1321
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1317
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/helper.rb#L243) common
|
1322
1318
|
|
1323
1319
|
> def characters(chars)
|
1324
1320
|
|
@@ -1326,7 +1322,7 @@ __Returns:__
|
|
1326
1322
|
|
1327
1323
|
--
|
1328
1324
|
|
1329
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/http_client.rb#L8) common
|
1330
1326
|
|
1331
1327
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1332
1328
|
|
@@ -1334,7 +1330,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1334
1330
|
|
1335
1331
|
--
|
1336
1332
|
|
1337
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1333
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L51) common
|
1338
1334
|
|
1339
1335
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1340
1336
|
|
@@ -1354,7 +1350,7 @@ __Parameters:__
|
|
1354
1350
|
|
1355
1351
|
--
|
1356
1352
|
|
1357
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1353
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L94) common
|
1358
1354
|
|
1359
1355
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1360
1356
|
|
@@ -1374,7 +1370,7 @@ __Parameters:__
|
|
1374
1370
|
|
1375
1371
|
--
|
1376
1372
|
|
1377
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1373
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/multi_touch.rb#L180) common
|
1378
1374
|
|
1379
1375
|
> def initialize(driver = $driver)
|
1380
1376
|
|
@@ -1386,7 +1382,7 @@ __Returns:__
|
|
1386
1382
|
|
1387
1383
|
--
|
1388
1384
|
|
1389
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1385
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L33) common
|
1390
1386
|
|
1391
1387
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1392
1388
|
|
@@ -1394,7 +1390,7 @@ __Returns:__
|
|
1394
1390
|
|
1395
1391
|
--
|
1396
1392
|
|
1397
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L48) common
|
1398
1394
|
|
1399
1395
|
> def initialize(driver = $driver)
|
1400
1396
|
|
@@ -1406,7 +1402,7 @@ __Returns:__
|
|
1406
1402
|
|
1407
1403
|
--
|
1408
1404
|
|
1409
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/touch_actions.rb#L52) common
|
1410
1406
|
|
1411
1407
|
> def swipe(opts)
|
1412
1408
|
|
@@ -1414,7 +1410,7 @@ __Returns:__
|
|
1414
1410
|
|
1415
1411
|
--
|
1416
1412
|
|
1417
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/command/ws_logcat.rb#L5) common
|
1418
1414
|
|
1419
1415
|
> def initialize(url:, output_file: 'logcat.log')
|
1420
1416
|
|
@@ -1426,7 +1422,7 @@ __Returns:__
|
|
1426
1422
|
|
1427
1423
|
--
|
1428
1424
|
|
1429
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/common/command/ws_logcat.rb#L10) common
|
1430
1426
|
|
1431
1427
|
> def handle_message_data(data)
|
1432
1428
|
|
@@ -1434,7 +1430,7 @@ __Returns:__
|
|
1434
1430
|
|
1435
1431
|
--
|
1436
1432
|
|
1437
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/android.rb#L19) android
|
1438
1434
|
|
1439
1435
|
> def self.for(target)
|
1440
1436
|
|
@@ -1442,7 +1438,7 @@ __Returns:__
|
|
1442
1438
|
|
1443
1439
|
--
|
1444
1440
|
|
1445
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L4) android
|
1446
1442
|
|
1447
1443
|
> TextView = 'android.widget.TextView'.freeze
|
1448
1444
|
|
@@ -1450,7 +1446,7 @@ __Returns:__
|
|
1450
1446
|
|
1451
1447
|
--
|
1452
1448
|
|
1453
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L10) android
|
1454
1450
|
|
1455
1451
|
> def text(value)
|
1456
1452
|
|
@@ -1467,7 +1463,7 @@ __Returns:__
|
|
1467
1463
|
|
1468
1464
|
--
|
1469
1465
|
|
1470
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1466
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L20) android
|
1471
1467
|
|
1472
1468
|
> def texts(value = false)
|
1473
1469
|
|
@@ -1484,7 +1480,7 @@ __Returns:__
|
|
1484
1480
|
|
1485
1481
|
--
|
1486
1482
|
|
1487
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L28) android
|
1488
1484
|
|
1489
1485
|
> def first_text
|
1490
1486
|
|
@@ -1496,7 +1492,7 @@ __Returns:__
|
|
1496
1492
|
|
1497
1493
|
--
|
1498
1494
|
|
1499
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1495
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L34) android
|
1500
1496
|
|
1501
1497
|
> def last_text
|
1502
1498
|
|
@@ -1508,7 +1504,7 @@ __Returns:__
|
|
1508
1504
|
|
1509
1505
|
--
|
1510
1506
|
|
1511
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L41) android
|
1512
1508
|
|
1513
1509
|
> def text_exact(value)
|
1514
1510
|
|
@@ -1524,7 +1520,7 @@ __Returns:__
|
|
1524
1520
|
|
1525
1521
|
--
|
1526
1522
|
|
1527
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1523
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/text.rb#L48) android
|
1528
1524
|
|
1529
1525
|
> def texts_exact(value)
|
1530
1526
|
|
@@ -1540,7 +1536,7 @@ __Returns:__
|
|
1540
1536
|
|
1541
1537
|
--
|
1542
1538
|
|
1543
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1539
|
+
##### [result](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L6) android
|
1544
1540
|
|
1545
1541
|
> def result
|
1546
1542
|
|
@@ -1548,7 +1544,7 @@ Returns the value of attribute result
|
|
1548
1544
|
|
1549
1545
|
--
|
1550
1546
|
|
1551
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L6) android
|
1552
1548
|
|
1553
1549
|
> def keys
|
1554
1550
|
|
@@ -1556,7 +1552,7 @@ Returns the value of attribute keys
|
|
1556
1552
|
|
1557
1553
|
--
|
1558
1554
|
|
1559
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1555
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L6) android
|
1560
1556
|
|
1561
1557
|
> def filter
|
1562
1558
|
|
@@ -1564,7 +1560,7 @@ Returns the value of attribute filter
|
|
1564
1560
|
|
1565
1561
|
--
|
1566
1562
|
|
1567
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L9) android
|
1568
1564
|
|
1569
1565
|
> def filter=(value)
|
1570
1566
|
|
@@ -1572,7 +1568,7 @@ convert to string to support symbols
|
|
1572
1568
|
|
1573
1569
|
--
|
1574
1570
|
|
1575
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L16) android
|
1576
1572
|
|
1577
1573
|
> def initialize
|
1578
1574
|
|
@@ -1584,7 +1580,7 @@ __Returns:__
|
|
1584
1580
|
|
1585
1581
|
--
|
1586
1582
|
|
1587
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1583
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L21) android
|
1588
1584
|
|
1589
1585
|
> def reset
|
1590
1586
|
|
@@ -1592,7 +1588,7 @@ __Returns:__
|
|
1592
1588
|
|
1593
1589
|
--
|
1594
1590
|
|
1595
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L27) android
|
1596
1592
|
|
1597
1593
|
> def start_element(name, attrs = [], driver = $driver)
|
1598
1594
|
|
@@ -1600,7 +1596,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1600
1596
|
|
1601
1597
|
--
|
1602
1598
|
|
1603
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1599
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L81) android
|
1604
1600
|
|
1605
1601
|
> def get_android_inspect(class_name = false)
|
1606
1602
|
|
@@ -1619,7 +1615,7 @@ __Returns:__
|
|
1619
1615
|
|
1620
1616
|
--
|
1621
1617
|
|
1622
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1618
|
+
##### [page](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L107) android
|
1623
1619
|
|
1624
1620
|
> def page(opts = {})
|
1625
1621
|
|
@@ -1638,7 +1634,7 @@ __Returns:__
|
|
1638
1634
|
|
1639
1635
|
--
|
1640
1636
|
|
1641
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [id](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L116) android
|
1642
1638
|
|
1643
1639
|
> def id(id)
|
1644
1640
|
|
@@ -1654,7 +1650,7 @@ __Returns:__
|
|
1654
1650
|
|
1655
1651
|
--
|
1656
1652
|
|
1657
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1653
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L124) android
|
1658
1654
|
|
1659
1655
|
> def ids(id)
|
1660
1656
|
|
@@ -1670,7 +1666,7 @@ __Returns:__
|
|
1670
1666
|
|
1671
1667
|
--
|
1672
1668
|
|
1673
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L133) android
|
1674
1670
|
|
1675
1671
|
> def ele_index(class_name, index)
|
1676
1672
|
|
@@ -1688,7 +1684,7 @@ __Returns:__
|
|
1688
1684
|
|
1689
1685
|
--
|
1690
1686
|
|
1691
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1687
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L152) android
|
1692
1688
|
|
1693
1689
|
> def first_ele(class_name)
|
1694
1690
|
|
@@ -1704,7 +1700,7 @@ __Returns:__
|
|
1704
1700
|
|
1705
1701
|
--
|
1706
1702
|
|
1707
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1703
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L159) android
|
1708
1704
|
|
1709
1705
|
> def last_ele(class_name)
|
1710
1706
|
|
@@ -1720,7 +1716,7 @@ __Returns:__
|
|
1720
1716
|
|
1721
1717
|
--
|
1722
1718
|
|
1723
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1719
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L167) android
|
1724
1720
|
|
1725
1721
|
> def tag(class_name)
|
1726
1722
|
|
@@ -1736,7 +1732,7 @@ __Returns:__
|
|
1736
1732
|
|
1737
1733
|
--
|
1738
1734
|
|
1739
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1735
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L175) android
|
1740
1736
|
|
1741
1737
|
> def tags(class_name)
|
1742
1738
|
|
@@ -1752,7 +1748,7 @@ __Returns:__
|
|
1752
1748
|
|
1753
1749
|
--
|
1754
1750
|
|
1755
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1751
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L218) android
|
1756
1752
|
|
1757
1753
|
> def string_visible_contains_xpath(class_name, value)
|
1758
1754
|
|
@@ -1773,7 +1769,7 @@ __Returns:__
|
|
1773
1769
|
|
1774
1770
|
--
|
1775
1771
|
|
1776
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1772
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L238) android
|
1777
1773
|
|
1778
1774
|
> def string_visible_contains(class_name, value)
|
1779
1775
|
|
@@ -1794,7 +1790,7 @@ __Returns:__
|
|
1794
1790
|
|
1795
1791
|
--
|
1796
1792
|
|
1797
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1793
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L256) android
|
1798
1794
|
|
1799
1795
|
> def complex_find_contains(class_name, value)
|
1800
1796
|
|
@@ -1812,7 +1808,7 @@ __Returns:__
|
|
1812
1808
|
|
1813
1809
|
--
|
1814
1810
|
|
1815
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1811
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L264) android
|
1816
1812
|
|
1817
1813
|
> def complex_finds_contains(class_name, value)
|
1818
1814
|
|
@@ -1830,7 +1826,7 @@ __Returns:__
|
|
1830
1826
|
|
1831
1827
|
--
|
1832
1828
|
|
1833
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L306) android
|
1834
1830
|
|
1835
1831
|
> def complex_find_exact(class_name, value)
|
1836
1832
|
|
@@ -1848,7 +1844,7 @@ __Returns:__
|
|
1848
1844
|
|
1849
1845
|
--
|
1850
1846
|
|
1851
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/helper.rb#L314) android
|
1852
1848
|
|
1853
1849
|
> def complex_finds_exact(class_name, value)
|
1854
1850
|
|
@@ -1866,7 +1862,7 @@ __Returns:__
|
|
1866
1862
|
|
1867
1863
|
--
|
1868
1864
|
|
1869
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1865
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L6) android
|
1870
1866
|
|
1871
1867
|
> def alert_click(value)
|
1872
1868
|
|
@@ -1882,7 +1878,7 @@ __Returns:__
|
|
1882
1878
|
|
1883
1879
|
--
|
1884
1880
|
|
1885
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1881
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L13) android
|
1886
1882
|
|
1887
1883
|
> def alert_accept
|
1888
1884
|
|
@@ -1895,7 +1891,7 @@ __Returns:__
|
|
1895
1891
|
|
1896
1892
|
--
|
1897
1893
|
|
1898
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1894
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L20) android
|
1899
1895
|
|
1900
1896
|
> def alert_accept_text
|
1901
1897
|
|
@@ -1908,7 +1904,7 @@ __Returns:__
|
|
1908
1904
|
|
1909
1905
|
--
|
1910
1906
|
|
1911
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1907
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L27) android
|
1912
1908
|
|
1913
1909
|
> def alert_dismiss
|
1914
1910
|
|
@@ -1921,7 +1917,7 @@ __Returns:__
|
|
1921
1917
|
|
1922
1918
|
--
|
1923
1919
|
|
1924
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1920
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/alert.rb#L34) android
|
1925
1921
|
|
1926
1922
|
> def alert_dismiss_text
|
1927
1923
|
|
@@ -1934,7 +1930,7 @@ __Returns:__
|
|
1934
1930
|
|
1935
1931
|
--
|
1936
1932
|
|
1937
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1933
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L3) android
|
1938
1934
|
|
1939
1935
|
> Button = 'android.widget.Button'.freeze
|
1940
1936
|
|
@@ -1942,7 +1938,7 @@ __Returns:__
|
|
1942
1938
|
|
1943
1939
|
--
|
1944
1940
|
|
1945
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1941
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L4) android
|
1946
1942
|
|
1947
1943
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1948
1944
|
|
@@ -1950,7 +1946,7 @@ __Returns:__
|
|
1950
1946
|
|
1951
1947
|
--
|
1952
1948
|
|
1953
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L10) android
|
1954
1950
|
|
1955
1951
|
> def button(value)
|
1956
1952
|
|
@@ -1967,7 +1963,7 @@ __Returns:__
|
|
1967
1963
|
|
1968
1964
|
--
|
1969
1965
|
|
1970
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1966
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L28) android
|
1971
1967
|
|
1972
1968
|
> def buttons(value = false)
|
1973
1969
|
|
@@ -1984,7 +1980,7 @@ __Returns:__
|
|
1984
1980
|
|
1985
1981
|
--
|
1986
1982
|
|
1987
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L36) android
|
1988
1984
|
|
1989
1985
|
> def first_button
|
1990
1986
|
|
@@ -1996,7 +1992,7 @@ __Returns:__
|
|
1996
1992
|
|
1997
1993
|
--
|
1998
1994
|
|
1999
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L42) android
|
2000
1996
|
|
2001
1997
|
> def last_button
|
2002
1998
|
|
@@ -2008,7 +2004,7 @@ __Returns:__
|
|
2008
2004
|
|
2009
2005
|
--
|
2010
2006
|
|
2011
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2007
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L58) android
|
2012
2008
|
|
2013
2009
|
> def button_exact(value)
|
2014
2010
|
|
@@ -2024,7 +2020,7 @@ __Returns:__
|
|
2024
2020
|
|
2025
2021
|
--
|
2026
2022
|
|
2027
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2023
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L65) android
|
2028
2024
|
|
2029
2025
|
> def buttons_exact(value)
|
2030
2026
|
|
@@ -2040,7 +2036,7 @@ __Returns:__
|
|
2040
2036
|
|
2041
2037
|
--
|
2042
2038
|
|
2043
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2039
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L78) android
|
2044
2040
|
|
2045
2041
|
> def _button_visible_selectors(opts = {})
|
2046
2042
|
|
@@ -2048,7 +2044,7 @@ __Returns:__
|
|
2048
2044
|
|
2049
2045
|
--
|
2050
2046
|
|
2051
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2047
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L91) android
|
2052
2048
|
|
2053
2049
|
> def _button_exact_string(value)
|
2054
2050
|
|
@@ -2056,7 +2052,7 @@ __Returns:__
|
|
2056
2052
|
|
2057
2053
|
--
|
2058
2054
|
|
2059
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2055
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/button.rb#L97) android
|
2060
2056
|
|
2061
2057
|
> def _button_contains_string(value)
|
2062
2058
|
|
@@ -2064,7 +2060,7 @@ __Returns:__
|
|
2064
2060
|
|
2065
2061
|
--
|
2066
2062
|
|
2067
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2063
|
+
##### [find](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L6) android
|
2068
2064
|
|
2069
2065
|
> def find(value)
|
2070
2066
|
|
@@ -2080,7 +2076,7 @@ __Returns:__
|
|
2080
2076
|
|
2081
2077
|
--
|
2082
2078
|
|
2083
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2079
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L13) android
|
2084
2080
|
|
2085
2081
|
> def finds(value)
|
2086
2082
|
|
@@ -2096,7 +2092,7 @@ __Returns:__
|
|
2096
2092
|
|
2097
2093
|
--
|
2098
2094
|
|
2099
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2095
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L20) android
|
2100
2096
|
|
2101
2097
|
> def find_exact(value)
|
2102
2098
|
|
@@ -2112,7 +2108,7 @@ __Returns:__
|
|
2112
2108
|
|
2113
2109
|
--
|
2114
2110
|
|
2115
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2111
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L27) android
|
2116
2112
|
|
2117
2113
|
> def finds_exact(value)
|
2118
2114
|
|
@@ -2128,7 +2124,7 @@ __Returns:__
|
|
2128
2124
|
|
2129
2125
|
--
|
2130
2126
|
|
2131
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L40) android
|
2132
2128
|
|
2133
2129
|
> def scroll_to(text, scrollable_index = 0)
|
2134
2130
|
|
@@ -2146,7 +2142,7 @@ __Returns:__
|
|
2146
2142
|
|
2147
2143
|
--
|
2148
2144
|
|
2149
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/generic.rb#L58) android
|
2150
2146
|
|
2151
2147
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2152
2148
|
|
@@ -2164,7 +2160,7 @@ __Returns:__
|
|
2164
2160
|
|
2165
2161
|
--
|
2166
2162
|
|
2167
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2163
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
2168
2164
|
|
2169
2165
|
> def self.for(target)
|
2170
2166
|
|
@@ -2172,7 +2168,7 @@ __Returns:__
|
|
2172
2168
|
|
2173
2169
|
--
|
2174
2170
|
|
2175
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L9) android
|
2176
2172
|
|
2177
2173
|
> def complex_find_contains(class_name, value)
|
2178
2174
|
|
@@ -2190,7 +2186,7 @@ __Returns:__
|
|
2190
2186
|
|
2191
2187
|
--
|
2192
2188
|
|
2193
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2189
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L17) android
|
2194
2190
|
|
2195
2191
|
> def complex_finds_contains(class_name, value)
|
2196
2192
|
|
@@ -2208,7 +2204,7 @@ __Returns:__
|
|
2208
2204
|
|
2209
2205
|
--
|
2210
2206
|
|
2211
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L25) android
|
2212
2208
|
|
2213
2209
|
> def complex_find_exact(class_name, value)
|
2214
2210
|
|
@@ -2226,7 +2222,7 @@ __Returns:__
|
|
2226
2222
|
|
2227
2223
|
--
|
2228
2224
|
|
2229
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2225
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/helper.rb#L33) android
|
2230
2226
|
|
2231
2227
|
> def complex_finds_exact(class_name, value)
|
2232
2228
|
|
@@ -2244,7 +2240,7 @@ __Returns:__
|
|
2244
2240
|
|
2245
2241
|
--
|
2246
2242
|
|
2247
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2243
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L3) android
|
2248
2244
|
|
2249
2245
|
> EditText = 'android.widget.EditText'.freeze
|
2250
2246
|
|
@@ -2252,7 +2248,7 @@ __Returns:__
|
|
2252
2248
|
|
2253
2249
|
--
|
2254
2250
|
|
2255
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L9) android
|
2256
2252
|
|
2257
2253
|
> def textfield(value)
|
2258
2254
|
|
@@ -2269,7 +2265,7 @@ __Returns:__
|
|
2269
2265
|
|
2270
2266
|
--
|
2271
2267
|
|
2272
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2268
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L19) android
|
2273
2269
|
|
2274
2270
|
> def textfields(value = false)
|
2275
2271
|
|
@@ -2286,7 +2282,7 @@ __Returns:__
|
|
2286
2282
|
|
2287
2283
|
--
|
2288
2284
|
|
2289
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2285
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L27) android
|
2290
2286
|
|
2291
2287
|
> def first_textfield
|
2292
2288
|
|
@@ -2298,7 +2294,7 @@ __Returns:__
|
|
2298
2294
|
|
2299
2295
|
--
|
2300
2296
|
|
2301
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2297
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L33) android
|
2302
2298
|
|
2303
2299
|
> def last_textfield
|
2304
2300
|
|
@@ -2310,7 +2306,7 @@ __Returns:__
|
|
2310
2306
|
|
2311
2307
|
--
|
2312
2308
|
|
2313
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2309
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L40) android
|
2314
2310
|
|
2315
2311
|
> def textfield_exact(value)
|
2316
2312
|
|
@@ -2326,7 +2322,7 @@ __Returns:__
|
|
2326
2322
|
|
2327
2323
|
--
|
2328
2324
|
|
2329
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2325
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/element/textfield.rb#L47) android
|
2330
2326
|
|
2331
2327
|
> def textfields_exact(value)
|
2332
2328
|
|
@@ -2342,7 +2338,7 @@ __Returns:__
|
|
2342
2338
|
|
2343
2339
|
--
|
2344
2340
|
|
2345
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2341
|
+
##### [for](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2346
2342
|
|
2347
2343
|
> def self.for(target)
|
2348
2344
|
|
@@ -2350,7 +2346,7 @@ __Returns:__
|
|
2350
2346
|
|
2351
2347
|
--
|
2352
2348
|
|
2353
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2349
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2354
2350
|
|
2355
2351
|
> def string_visible_contains(class_name, value)
|
2356
2352
|
|
@@ -2371,7 +2367,7 @@ __Returns:__
|
|
2371
2367
|
|
2372
2368
|
--
|
2373
2369
|
|
2374
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2370
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2375
2371
|
|
2376
2372
|
> def complex_find_contains(class_name, value)
|
2377
2373
|
|
@@ -2389,7 +2385,7 @@ __Returns:__
|
|
2389
2385
|
|
2390
2386
|
--
|
2391
2387
|
|
2392
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2388
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L42) android
|
2393
2389
|
|
2394
2390
|
> def complex_finds_contains(class_name, value)
|
2395
2391
|
|
@@ -2407,7 +2403,7 @@ __Returns:__
|
|
2407
2403
|
|
2408
2404
|
--
|
2409
2405
|
|
2410
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2406
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L70) android
|
2411
2407
|
|
2412
2408
|
> def complex_find_exact(class_name, value)
|
2413
2409
|
|
@@ -2425,7 +2421,7 @@ __Returns:__
|
|
2425
2421
|
|
2426
2422
|
--
|
2427
2423
|
|
2428
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2424
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/helper.rb#L81) android
|
2429
2425
|
|
2430
2426
|
> def complex_finds_exact(class_name, value)
|
2431
2427
|
|
@@ -2443,7 +2439,7 @@ __Returns:__
|
|
2443
2439
|
|
2444
2440
|
--
|
2445
2441
|
|
2446
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2442
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/command/command.rb#L14) android
|
2447
2443
|
|
2448
2444
|
> def shell(command, arguments)
|
2449
2445
|
|
@@ -2458,7 +2454,7 @@ __Parameters:__
|
|
2458
2454
|
|
2459
2455
|
--
|
2460
2456
|
|
2461
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2457
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/command/command.rb#L28) android
|
2462
2458
|
|
2463
2459
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2464
2460
|
|
@@ -2470,7 +2466,7 @@ __Parameters:__
|
|
2470
2466
|
|
2471
2467
|
--
|
2472
2468
|
|
2473
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2469
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/common/command/command.rb#L41) android
|
2474
2470
|
|
2475
2471
|
> def stop_logs_broadcast
|
2476
2472
|
|
@@ -2478,7 +2474,7 @@ Stop Android logcat broadcast websocket
|
|
2478
2474
|
|
2479
2475
|
--
|
2480
2476
|
|
2481
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2477
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L9) android
|
2482
2478
|
|
2483
2479
|
> def button(value)
|
2484
2480
|
|
@@ -2495,7 +2491,7 @@ __Returns:__
|
|
2495
2491
|
|
2496
2492
|
--
|
2497
2493
|
|
2498
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2494
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L32) android
|
2499
2495
|
|
2500
2496
|
> def buttons(value = false)
|
2501
2497
|
|
@@ -2512,7 +2508,7 @@ __Returns:__
|
|
2512
2508
|
|
2513
2509
|
--
|
2514
2510
|
|
2515
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2511
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L42) android
|
2516
2512
|
|
2517
2513
|
> def first_button
|
2518
2514
|
|
@@ -2524,7 +2520,7 @@ __Returns:__
|
|
2524
2520
|
|
2525
2521
|
--
|
2526
2522
|
|
2527
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2523
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L48) android
|
2528
2524
|
|
2529
2525
|
> def last_button
|
2530
2526
|
|
@@ -2536,7 +2532,7 @@ __Returns:__
|
|
2536
2532
|
|
2537
2533
|
--
|
2538
2534
|
|
2539
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2535
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L63) android
|
2540
2536
|
|
2541
2537
|
> def button_exact(value)
|
2542
2538
|
|
@@ -2552,7 +2548,7 @@ __Returns:__
|
|
2552
2548
|
|
2553
2549
|
--
|
2554
2550
|
|
2555
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2551
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L75) android
|
2556
2552
|
|
2557
2553
|
> def buttons_exact(value)
|
2558
2554
|
|
@@ -2568,7 +2564,7 @@ __Returns:__
|
|
2568
2564
|
|
2569
2565
|
--
|
2570
2566
|
|
2571
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2567
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L90) android
|
2572
2568
|
|
2573
2569
|
> def _button_visible_selectors_xpath(opts = {})
|
2574
2570
|
|
@@ -2576,7 +2572,7 @@ __Returns:__
|
|
2576
2572
|
|
2577
2573
|
--
|
2578
2574
|
|
2579
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2575
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L111) android
|
2580
2576
|
|
2581
2577
|
> def _button_exact_string_xpath(class_name, value)
|
2582
2578
|
|
@@ -2584,7 +2580,7 @@ __Returns:__
|
|
2584
2580
|
|
2585
2581
|
--
|
2586
2582
|
|
2587
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2583
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/button.rb#L116) android
|
2588
2584
|
|
2589
2585
|
> def _button_contains_string_xpath(class_name, value)
|
2590
2586
|
|
@@ -2592,7 +2588,7 @@ __Returns:__
|
|
2592
2588
|
|
2593
2589
|
--
|
2594
2590
|
|
2595
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2591
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/generic.rb#L9) android
|
2596
2592
|
|
2597
2593
|
> def scroll_to(text)
|
2598
2594
|
|
@@ -2609,7 +2605,7 @@ __Returns:__
|
|
2609
2605
|
|
2610
2606
|
--
|
2611
2607
|
|
2612
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2608
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/espresso/element/generic.rb#L36) android
|
2613
2609
|
|
2614
2610
|
> def scroll_to_exact(text)
|
2615
2611
|
|
@@ -2626,7 +2622,7 @@ __Returns:__
|
|
2626
2622
|
|
2627
2623
|
--
|
2628
2624
|
|
2629
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2625
|
+
##### [button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2630
2626
|
|
2631
2627
|
> def button(value)
|
2632
2628
|
|
@@ -2643,7 +2639,7 @@ __Returns:__
|
|
2643
2639
|
|
2644
2640
|
--
|
2645
2641
|
|
2646
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2642
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L30) android
|
2647
2643
|
|
2648
2644
|
> def buttons(value = false)
|
2649
2645
|
|
@@ -2660,7 +2656,7 @@ __Returns:__
|
|
2660
2656
|
|
2661
2657
|
--
|
2662
2658
|
|
2663
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2659
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L38) android
|
2664
2660
|
|
2665
2661
|
> def first_button
|
2666
2662
|
|
@@ -2672,7 +2668,7 @@ __Returns:__
|
|
2672
2668
|
|
2673
2669
|
--
|
2674
2670
|
|
2675
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2671
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L45) android
|
2676
2672
|
|
2677
2673
|
> def last_button
|
2678
2674
|
|
@@ -2684,7 +2680,7 @@ __Returns:__
|
|
2684
2680
|
|
2685
2681
|
--
|
2686
2682
|
|
2687
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2683
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L62) android
|
2688
2684
|
|
2689
2685
|
> def button_exact(value)
|
2690
2686
|
|
@@ -2700,7 +2696,7 @@ __Returns:__
|
|
2700
2696
|
|
2701
2697
|
--
|
2702
2698
|
|
2703
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2699
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/4e4ec298096f13f60db51bda2019c8e12a0d0c25/lib/appium_lib/android/uiautomator2/element/button.rb#L70) android
|
2704
2700
|
|
2705
2701
|
> def buttons_exact(value)
|
2706
2702
|
|