appium_lib 10.1.0 → 10.2.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 +17 -0
- data/docs/android_docs.md +210 -228
- data/docs/ios_docs.md +252 -270
- data/lib/appium_lib/driver.rb +4 -11
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4011653c1d1e6367f1f079c191d480f94fe5ab066ebc1a65c929eb58a4e5d342
|
4
|
+
data.tar.gz: d4f34d8c74265f36764969d9d5ef248f115f238dfefa0bb579073f76a05113c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f7fdb0e813ac0f2ecb1ecf4773c57d13eb3b96ec3260ac5d75569249c65d447c6142702c99d663a36c0a7a4ce334f682bfc84c3e8e532b44628820d86f1a695
|
7
|
+
data.tar.gz: 3a8e52ffd508bd7b5b9adbabe7c35f03df6f82ab9ff44f9a84c8e2a6135cfea316b9effcc062e35e813ef5d6b4400cd04c95e44ae3c357f51682d4fea28532c5
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,23 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
6
6
|
## Unreleased
|
7
7
|
### 1. Enhancements
|
8
8
|
|
9
|
+
### 2. Bug fixes
|
10
|
+
|
11
|
+
### 3. Deprecations
|
12
|
+
|
13
|
+
## v10.2.0
|
14
|
+
### 1. Enhancements
|
15
|
+
|
16
|
+
### 2. Bug fixes
|
17
|
+
- **Breaking changes**
|
18
|
+
- `find_element/s_by_image` no longer need arguments except for a file path
|
19
|
+
- `find_element/s_by_image(file_to_image)` instead of `find_element/s_by_image(file_to_image, match_threshold:, visualize:)`
|
20
|
+
|
21
|
+
### 3. Deprecations
|
22
|
+
|
23
|
+
## v10.1.0
|
24
|
+
### 1. Enhancements
|
25
|
+
|
9
26
|
### 2. Bug fixes
|
10
27
|
- `*_exact` methods handle value as case sensitive
|
11
28
|
- This might break test cases if it calls `*_exact` as case insensitive
|
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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L327) common
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __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/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L341) common
|
425
425
|
|
426
426
|
> def action
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L361) common
|
438
438
|
|
439
439
|
> def appium_server_version
|
440
440
|
|
@@ -446,7 +446,7 @@ __Returns:__
|
|
446
446
|
|
447
447
|
--
|
448
448
|
|
449
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L369) common
|
450
450
|
|
451
451
|
> def appium_server_version
|
452
452
|
|
@@ -458,7 +458,7 @@ __Returns:__
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L373) common
|
462
462
|
|
463
463
|
> def platform_version
|
464
464
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L386) common
|
474
474
|
|
475
475
|
> def appium_client_version
|
476
476
|
|
@@ -482,7 +482,7 @@ __Returns:__
|
|
482
482
|
|
483
483
|
--
|
484
484
|
|
485
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L398) common
|
486
486
|
|
487
487
|
> def self.absolute_app_path(opts)
|
488
488
|
|
@@ -499,7 +499,7 @@ __Returns:__
|
|
499
499
|
|
500
500
|
--
|
501
501
|
|
502
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L421) common
|
503
503
|
|
504
504
|
> def server_url
|
505
505
|
|
@@ -511,7 +511,7 @@ __Returns:__
|
|
511
511
|
|
512
512
|
--
|
513
513
|
|
514
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L430) common
|
515
515
|
|
516
516
|
> def restart
|
517
517
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L443) common
|
527
527
|
|
528
528
|
> def screenshot(png_save_path)
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L457) common
|
543
543
|
|
544
544
|
> def element_screenshot(element, png_save_path)
|
545
545
|
|
@@ -557,7 +557,7 @@ __Returns:__
|
|
557
557
|
|
558
558
|
--
|
559
559
|
|
560
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L464) common
|
561
561
|
|
562
562
|
> def driver_quit
|
563
563
|
|
@@ -569,7 +569,7 @@ __Returns:__
|
|
569
569
|
|
570
570
|
--
|
571
571
|
|
572
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L467) common
|
573
573
|
|
574
574
|
> def driver_quit
|
575
575
|
|
@@ -581,7 +581,7 @@ __Returns:__
|
|
581
581
|
|
582
582
|
--
|
583
583
|
|
584
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L478) common
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [window_rect](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [window_rect](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L493) common
|
597
597
|
|
598
598
|
> def window_rect
|
599
599
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
605
605
|
|
606
606
|
--
|
607
607
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L526) common
|
609
609
|
|
610
610
|
> def start_driver(http_client_ops =
|
611
611
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L547) common
|
629
629
|
|
630
630
|
> def set_implicit_wait(wait)
|
631
631
|
|
@@ -633,7 +633,7 @@ To ignore error for Espresso Driver
|
|
633
633
|
|
634
634
|
--
|
635
635
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L558) common
|
637
637
|
|
638
638
|
> def no_wait
|
639
639
|
|
@@ -641,7 +641,7 @@ Set implicit wait to zero.
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L572) common
|
645
645
|
|
646
646
|
> def set_wait(timeout = nil)
|
647
647
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
657
657
|
|
658
658
|
--
|
659
659
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L589) common
|
661
661
|
|
662
662
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
663
|
|
@@ -681,7 +681,7 @@ __Returns:__
|
|
681
681
|
|
682
682
|
--
|
683
683
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
684
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L613) common
|
685
685
|
|
686
686
|
> def execute_script(script, *args)
|
687
687
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [execute_async_script](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L621) common
|
703
703
|
|
704
704
|
> def execute_async_script(script, *args)
|
705
705
|
|
@@ -709,7 +709,7 @@ Get the window handles of open browser windows
|
|
709
709
|
|
710
710
|
--
|
711
711
|
|
712
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L625) common
|
713
713
|
|
714
714
|
> def window_handles
|
715
715
|
|
@@ -717,7 +717,7 @@ Get the window handles of open browser windows
|
|
717
717
|
|
718
718
|
--
|
719
719
|
|
720
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L630) common
|
721
721
|
|
722
722
|
> def window_handle
|
723
723
|
|
@@ -725,7 +725,7 @@ Get the current window handle
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L634) common
|
729
729
|
|
730
730
|
> def navigate
|
731
731
|
|
@@ -733,7 +733,7 @@ Get the current window handle
|
|
733
733
|
|
734
734
|
--
|
735
735
|
|
736
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L638) common
|
737
737
|
|
738
738
|
> def manage
|
739
739
|
|
@@ -741,7 +741,7 @@ Get the current window handle
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [get](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L642) common
|
745
745
|
|
746
746
|
> def get(url)
|
747
747
|
|
@@ -749,7 +749,7 @@ Get the current window handle
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L646) common
|
753
753
|
|
754
754
|
> def current_url
|
755
755
|
|
@@ -757,7 +757,7 @@ Get the current window handle
|
|
757
757
|
|
758
758
|
--
|
759
759
|
|
760
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
760
|
+
##### [title](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L650) common
|
761
761
|
|
762
762
|
> def title
|
763
763
|
|
@@ -765,7 +765,7 @@ Get the current window handle
|
|
765
765
|
|
766
766
|
--
|
767
767
|
|
768
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L656) common
|
769
769
|
|
770
770
|
> def switch_to
|
771
771
|
|
@@ -777,7 +777,7 @@ __Returns:__
|
|
777
777
|
|
778
778
|
--
|
779
779
|
|
780
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
780
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L683) common
|
781
781
|
|
782
782
|
> def find_elements(*args)
|
783
783
|
|
@@ -797,7 +797,7 @@ __Returns:__
|
|
797
797
|
|
798
798
|
--
|
799
799
|
|
800
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L699) common
|
801
801
|
|
802
802
|
> def find_element(*args)
|
803
803
|
|
@@ -815,9 +815,9 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [
|
818
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L714) common
|
819
819
|
|
820
|
-
>
|
820
|
+
> def find_element_by_image(png_img_path)
|
821
821
|
|
822
822
|
Return ImageElement if current view has a partial image
|
823
823
|
|
@@ -825,28 +825,15 @@ __Parameters:__
|
|
825
825
|
|
826
826
|
[String] png_img_path - A path to a partial image you'd like to find
|
827
827
|
|
828
|
-
[Flood] match_threshold - At what normalized threshold to reject
|
829
|
-
|
830
|
-
[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of
|
831
|
-
the corresponding picture matching operation. This option is disabled by default.
|
832
|
-
|
833
828
|
__Returns:__
|
834
829
|
|
835
830
|
[::Appium::Core::ImageElement]
|
836
831
|
|
837
832
|
--
|
838
833
|
|
839
|
-
##### [
|
840
|
-
|
841
|
-
> def find_element_by_image(png_img_path, match_threshold: DEFAULT_MATCH_THRESHOLD, visualize: false)
|
842
|
-
|
843
|
-
|
844
|
-
|
845
|
-
--
|
846
|
-
|
847
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/4b43cf7b240a7b4cab7b22198ed4dd1307611545/lib/appium_lib/driver.rb#L736) common
|
834
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L729) common
|
848
835
|
|
849
|
-
> def find_elements_by_image(png_img_paths
|
836
|
+
> def find_elements_by_image(png_img_paths)
|
850
837
|
|
851
838
|
Return ImageElement if current view has partial images
|
852
839
|
|
@@ -854,18 +841,13 @@ __Parameters:__
|
|
854
841
|
|
855
842
|
[[String]] png_img_paths - Paths to a partial image you'd like to find
|
856
843
|
|
857
|
-
[Flood] match_threshold - At what normalized threshold to reject
|
858
|
-
|
859
|
-
[Bool] visualize - Makes the endpoint to return an image, which contains the visualized result of
|
860
|
-
the corresponding picture matching operation. This option is disabled by default.
|
861
|
-
|
862
844
|
__Returns:__
|
863
845
|
|
864
846
|
[[::Appium::Core::ImageElement]]
|
865
847
|
|
866
848
|
--
|
867
849
|
|
868
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
850
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L742) common
|
869
851
|
|
870
852
|
> def set_location(opts = {})
|
871
853
|
|
@@ -881,7 +863,7 @@ __Returns:__
|
|
881
863
|
|
882
864
|
--
|
883
865
|
|
884
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
866
|
+
##### [x](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/driver.rb#L752) common
|
885
867
|
|
886
868
|
> def x
|
887
869
|
|
@@ -894,7 +876,7 @@ __Returns:__
|
|
894
876
|
|
895
877
|
--
|
896
878
|
|
897
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
879
|
+
##### [username](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/sauce_labs.rb#L4) common
|
898
880
|
|
899
881
|
> def username
|
900
882
|
|
@@ -902,7 +884,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
902
884
|
|
903
885
|
--
|
904
886
|
|
905
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/sauce_labs.rb#L6) common
|
906
888
|
|
907
889
|
> def access_key
|
908
890
|
|
@@ -910,7 +892,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
910
892
|
|
911
893
|
--
|
912
894
|
|
913
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
895
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/sauce_labs.rb#L8) common
|
914
896
|
|
915
897
|
> def endpoint
|
916
898
|
|
@@ -918,7 +900,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
918
900
|
|
919
901
|
--
|
920
902
|
|
921
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
903
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/sauce_labs.rb#L33) common
|
922
904
|
|
923
905
|
> def initialize(appium_lib_opts)
|
924
906
|
|
@@ -934,7 +916,7 @@ __Returns:__
|
|
934
916
|
|
935
917
|
--
|
936
918
|
|
937
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/sauce_labs.rb#L53) common
|
938
920
|
|
939
921
|
> def sauce_server_url?
|
940
922
|
|
@@ -946,7 +928,7 @@ __Returns:__
|
|
946
928
|
|
947
929
|
--
|
948
930
|
|
949
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/sauce_labs.rb#L66) common
|
950
932
|
|
951
933
|
> def server_url
|
952
934
|
|
@@ -958,7 +940,7 @@ __Returns:__
|
|
958
940
|
|
959
941
|
--
|
960
942
|
|
961
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/log.rb#L11) common
|
962
944
|
|
963
945
|
> def get_log(type)
|
964
946
|
|
@@ -974,7 +956,7 @@ __Returns:__
|
|
974
956
|
|
975
957
|
--
|
976
958
|
|
977
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/log.rb#L23) common
|
978
960
|
|
979
961
|
> def get_available_log_types
|
980
962
|
|
@@ -986,7 +968,7 @@ __Returns:__
|
|
986
968
|
|
987
969
|
--
|
988
970
|
|
989
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/wait.rb#L30) common
|
990
972
|
|
991
973
|
> def wait_true(opts = {})
|
992
974
|
|
@@ -1006,7 +988,7 @@ __Parameters:__
|
|
1006
988
|
|
1007
989
|
--
|
1008
990
|
|
1009
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/wait.rb#L59) common
|
1010
992
|
|
1011
993
|
> def wait(opts = {})
|
1012
994
|
|
@@ -1024,7 +1006,7 @@ __Parameters:__
|
|
1024
1006
|
|
1025
1007
|
--
|
1026
1008
|
|
1027
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/device.rb#L12) common
|
1028
1010
|
|
1029
1011
|
> def add_touch_actions
|
1030
1012
|
|
@@ -1032,7 +1014,7 @@ __Parameters:__
|
|
1032
1014
|
|
1033
1015
|
--
|
1034
1016
|
|
1035
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/device.rb#L24) common
|
1036
1018
|
|
1037
1019
|
> def delegate_from_appium_driver(method, delegation_target)
|
1038
1020
|
|
@@ -1040,7 +1022,7 @@ __Parameters:__
|
|
1040
1022
|
|
1041
1023
|
--
|
1042
1024
|
|
1043
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L16) common
|
1044
1026
|
|
1045
1027
|
> def ignore
|
1046
1028
|
|
@@ -1048,7 +1030,7 @@ Return yield and ignore any exceptions.
|
|
1048
1030
|
|
1049
1031
|
--
|
1050
1032
|
|
1051
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [back](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L23) common
|
1052
1034
|
|
1053
1035
|
> def back
|
1054
1036
|
|
@@ -1060,7 +1042,7 @@ __Returns:__
|
|
1060
1042
|
|
1061
1043
|
--
|
1062
1044
|
|
1063
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L34) common
|
1064
1046
|
|
1065
1047
|
> def session_id
|
1066
1048
|
|
@@ -1072,7 +1054,7 @@ __Returns:__
|
|
1072
1054
|
|
1073
1055
|
--
|
1074
1056
|
|
1075
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L42) common
|
1076
1058
|
|
1077
1059
|
> def xpath(xpath_str)
|
1078
1060
|
|
@@ -1088,7 +1070,7 @@ __Returns:__
|
|
1088
1070
|
|
1089
1071
|
--
|
1090
1072
|
|
1091
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L50) common
|
1092
1074
|
|
1093
1075
|
> def xpaths(xpath_str)
|
1094
1076
|
|
@@ -1104,7 +1086,7 @@ __Returns:__
|
|
1104
1086
|
|
1105
1087
|
--
|
1106
1088
|
|
1107
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [result](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L60) common
|
1108
1090
|
|
1109
1091
|
> def result
|
1110
1092
|
|
@@ -1112,7 +1094,7 @@ Returns the value of attribute result
|
|
1112
1094
|
|
1113
1095
|
--
|
1114
1096
|
|
1115
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L62) common
|
1116
1098
|
|
1117
1099
|
> def initialize(platform)
|
1118
1100
|
|
@@ -1124,7 +1106,7 @@ __Returns:__
|
|
1124
1106
|
|
1125
1107
|
--
|
1126
1108
|
|
1127
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L67) common
|
1128
1110
|
|
1129
1111
|
> def reset
|
1130
1112
|
|
@@ -1132,7 +1114,7 @@ __Returns:__
|
|
1132
1114
|
|
1133
1115
|
--
|
1134
1116
|
|
1135
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L72) common
|
1136
1118
|
|
1137
1119
|
> def start_element(name, attrs = [])
|
1138
1120
|
|
@@ -1140,7 +1122,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1140
1122
|
|
1141
1123
|
--
|
1142
1124
|
|
1143
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L83) common
|
1144
1126
|
|
1145
1127
|
> def formatted_result
|
1146
1128
|
|
@@ -1148,7 +1130,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1148
1130
|
|
1149
1131
|
--
|
1150
1132
|
|
1151
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L101) common
|
1152
1134
|
|
1153
1135
|
> def get_page_class
|
1154
1136
|
|
@@ -1160,7 +1142,7 @@ __Returns:__
|
|
1160
1142
|
|
1161
1143
|
--
|
1162
1144
|
|
1163
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L126) common
|
1164
1146
|
|
1165
1147
|
> def page_class
|
1166
1148
|
|
@@ -1173,7 +1155,7 @@ __Returns:__
|
|
1173
1155
|
|
1174
1156
|
--
|
1175
1157
|
|
1176
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1158
|
+
##### [source](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L133) common
|
1177
1159
|
|
1178
1160
|
> def source
|
1179
1161
|
|
@@ -1185,7 +1167,7 @@ __Returns:__
|
|
1185
1167
|
|
1186
1168
|
--
|
1187
1169
|
|
1188
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1170
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L140) common
|
1189
1171
|
|
1190
1172
|
> def get_source
|
1191
1173
|
|
@@ -1198,7 +1180,7 @@ __Returns:__
|
|
1198
1180
|
|
1199
1181
|
--
|
1200
1182
|
|
1201
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L150) common
|
1202
1184
|
|
1203
1185
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1204
1186
|
|
@@ -1206,7 +1188,7 @@ Converts pixel values to window relative values
|
|
1206
1188
|
|
1207
1189
|
--
|
1208
1190
|
|
1209
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L169) common
|
1210
1192
|
|
1211
1193
|
> def xml_keys(target)
|
1212
1194
|
|
@@ -1222,7 +1204,7 @@ __Returns:__
|
|
1222
1204
|
|
1223
1205
|
--
|
1224
1206
|
|
1225
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L177) common
|
1226
1208
|
|
1227
1209
|
> def xml_values(target)
|
1228
1210
|
|
@@ -1238,7 +1220,7 @@ __Returns:__
|
|
1238
1220
|
|
1239
1221
|
--
|
1240
1222
|
|
1241
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L185) common
|
1242
1224
|
|
1243
1225
|
> def resolve_id(id)
|
1244
1226
|
|
@@ -1254,7 +1236,7 @@ __Returns:__
|
|
1254
1236
|
|
1255
1237
|
--
|
1256
1238
|
|
1257
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L192) common
|
1258
1240
|
|
1259
1241
|
> def filter
|
1260
1242
|
|
@@ -1262,7 +1244,7 @@ Returns the value of attribute filter
|
|
1262
1244
|
|
1263
1245
|
--
|
1264
1246
|
|
1265
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L195) common
|
1266
1248
|
|
1267
1249
|
> def filter=(value)
|
1268
1250
|
|
@@ -1270,7 +1252,7 @@ convert to string to support symbols
|
|
1270
1252
|
|
1271
1253
|
--
|
1272
1254
|
|
1273
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L202) common
|
1274
1256
|
|
1275
1257
|
> def initialize
|
1276
1258
|
|
@@ -1282,7 +1264,7 @@ __Returns:__
|
|
1282
1264
|
|
1283
1265
|
--
|
1284
1266
|
|
1285
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L207) common
|
1286
1268
|
|
1287
1269
|
> def reset
|
1288
1270
|
|
@@ -1290,7 +1272,7 @@ __Returns:__
|
|
1290
1272
|
|
1291
1273
|
--
|
1292
1274
|
|
1293
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [result](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L213) common
|
1294
1276
|
|
1295
1277
|
> def result
|
1296
1278
|
|
@@ -1298,7 +1280,7 @@ __Returns:__
|
|
1298
1280
|
|
1299
1281
|
--
|
1300
1282
|
|
1301
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L226) common
|
1302
1284
|
|
1303
1285
|
> def start_element(name, attrs = [])
|
1304
1286
|
|
@@ -1306,7 +1288,7 @@ __Returns:__
|
|
1306
1288
|
|
1307
1289
|
--
|
1308
1290
|
|
1309
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L236) common
|
1310
1292
|
|
1311
1293
|
> def end_element(name)
|
1312
1294
|
|
@@ -1314,7 +1296,7 @@ __Returns:__
|
|
1314
1296
|
|
1315
1297
|
--
|
1316
1298
|
|
1317
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/helper.rb#L243) common
|
1318
1300
|
|
1319
1301
|
> def characters(chars)
|
1320
1302
|
|
@@ -1322,7 +1304,7 @@ __Returns:__
|
|
1322
1304
|
|
1323
1305
|
--
|
1324
1306
|
|
1325
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/http_client.rb#L8) common
|
1326
1308
|
|
1327
1309
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1328
1310
|
|
@@ -1330,7 +1312,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1330
1312
|
|
1331
1313
|
--
|
1332
1314
|
|
1333
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/multi_touch.rb#L51) common
|
1334
1316
|
|
1335
1317
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1336
1318
|
|
@@ -1350,7 +1332,7 @@ __Parameters:__
|
|
1350
1332
|
|
1351
1333
|
--
|
1352
1334
|
|
1353
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/multi_touch.rb#L94) common
|
1354
1336
|
|
1355
1337
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1356
1338
|
|
@@ -1370,7 +1352,7 @@ __Parameters:__
|
|
1370
1352
|
|
1371
1353
|
--
|
1372
1354
|
|
1373
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/multi_touch.rb#L180) common
|
1374
1356
|
|
1375
1357
|
> def initialize(driver = $driver)
|
1376
1358
|
|
@@ -1382,7 +1364,7 @@ __Returns:__
|
|
1382
1364
|
|
1383
1365
|
--
|
1384
1366
|
|
1385
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/touch_actions.rb#L33) common
|
1386
1368
|
|
1387
1369
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1388
1370
|
|
@@ -1390,7 +1372,7 @@ __Returns:__
|
|
1390
1372
|
|
1391
1373
|
--
|
1392
1374
|
|
1393
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/touch_actions.rb#L48) common
|
1394
1376
|
|
1395
1377
|
> def initialize(driver = $driver)
|
1396
1378
|
|
@@ -1402,7 +1384,7 @@ __Returns:__
|
|
1402
1384
|
|
1403
1385
|
--
|
1404
1386
|
|
1405
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/touch_actions.rb#L52) common
|
1406
1388
|
|
1407
1389
|
> def swipe(opts)
|
1408
1390
|
|
@@ -1410,7 +1392,7 @@ __Returns:__
|
|
1410
1392
|
|
1411
1393
|
--
|
1412
1394
|
|
1413
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/command/ws_logcat.rb#L5) common
|
1414
1396
|
|
1415
1397
|
> def initialize(url:, output_file: 'logcat.log')
|
1416
1398
|
|
@@ -1422,7 +1404,7 @@ __Returns:__
|
|
1422
1404
|
|
1423
1405
|
--
|
1424
1406
|
|
1425
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/common/command/ws_logcat.rb#L10) common
|
1426
1408
|
|
1427
1409
|
> def handle_message_data(data)
|
1428
1410
|
|
@@ -1430,7 +1412,7 @@ __Returns:__
|
|
1430
1412
|
|
1431
1413
|
--
|
1432
1414
|
|
1433
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [for](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/android.rb#L19) android
|
1434
1416
|
|
1435
1417
|
> def self.for(target)
|
1436
1418
|
|
@@ -1438,7 +1420,7 @@ __Returns:__
|
|
1438
1420
|
|
1439
1421
|
--
|
1440
1422
|
|
1441
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/text.rb#L4) android
|
1442
1424
|
|
1443
1425
|
> TextView = 'android.widget.TextView'.freeze
|
1444
1426
|
|
@@ -1446,7 +1428,7 @@ __Returns:__
|
|
1446
1428
|
|
1447
1429
|
--
|
1448
1430
|
|
1449
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [text](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/text.rb#L10) android
|
1450
1432
|
|
1451
1433
|
> def text(value)
|
1452
1434
|
|
@@ -1463,7 +1445,7 @@ __Returns:__
|
|
1463
1445
|
|
1464
1446
|
--
|
1465
1447
|
|
1466
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1448
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/text.rb#L20) android
|
1467
1449
|
|
1468
1450
|
> def texts(value = false)
|
1469
1451
|
|
@@ -1480,7 +1462,7 @@ __Returns:__
|
|
1480
1462
|
|
1481
1463
|
--
|
1482
1464
|
|
1483
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/text.rb#L28) android
|
1484
1466
|
|
1485
1467
|
> def first_text
|
1486
1468
|
|
@@ -1492,7 +1474,7 @@ __Returns:__
|
|
1492
1474
|
|
1493
1475
|
--
|
1494
1476
|
|
1495
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1477
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/text.rb#L34) android
|
1496
1478
|
|
1497
1479
|
> def last_text
|
1498
1480
|
|
@@ -1504,7 +1486,7 @@ __Returns:__
|
|
1504
1486
|
|
1505
1487
|
--
|
1506
1488
|
|
1507
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1489
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/text.rb#L41) android
|
1508
1490
|
|
1509
1491
|
> def text_exact(value)
|
1510
1492
|
|
@@ -1520,7 +1502,7 @@ __Returns:__
|
|
1520
1502
|
|
1521
1503
|
--
|
1522
1504
|
|
1523
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1505
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/text.rb#L48) android
|
1524
1506
|
|
1525
1507
|
> def texts_exact(value)
|
1526
1508
|
|
@@ -1536,7 +1518,7 @@ __Returns:__
|
|
1536
1518
|
|
1537
1519
|
--
|
1538
1520
|
|
1539
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1521
|
+
##### [result](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L6) android
|
1540
1522
|
|
1541
1523
|
> def result
|
1542
1524
|
|
@@ -1544,7 +1526,7 @@ Returns the value of attribute result
|
|
1544
1526
|
|
1545
1527
|
--
|
1546
1528
|
|
1547
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1529
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L6) android
|
1548
1530
|
|
1549
1531
|
> def keys
|
1550
1532
|
|
@@ -1552,7 +1534,7 @@ Returns the value of attribute keys
|
|
1552
1534
|
|
1553
1535
|
--
|
1554
1536
|
|
1555
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L6) android
|
1556
1538
|
|
1557
1539
|
> def filter
|
1558
1540
|
|
@@ -1560,7 +1542,7 @@ Returns the value of attribute filter
|
|
1560
1542
|
|
1561
1543
|
--
|
1562
1544
|
|
1563
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1545
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L9) android
|
1564
1546
|
|
1565
1547
|
> def filter=(value)
|
1566
1548
|
|
@@ -1568,7 +1550,7 @@ convert to string to support symbols
|
|
1568
1550
|
|
1569
1551
|
--
|
1570
1552
|
|
1571
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L16) android
|
1572
1554
|
|
1573
1555
|
> def initialize
|
1574
1556
|
|
@@ -1580,7 +1562,7 @@ __Returns:__
|
|
1580
1562
|
|
1581
1563
|
--
|
1582
1564
|
|
1583
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1565
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L21) android
|
1584
1566
|
|
1585
1567
|
> def reset
|
1586
1568
|
|
@@ -1588,7 +1570,7 @@ __Returns:__
|
|
1588
1570
|
|
1589
1571
|
--
|
1590
1572
|
|
1591
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1573
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L27) android
|
1592
1574
|
|
1593
1575
|
> def start_element(name, attrs = [], driver = $driver)
|
1594
1576
|
|
@@ -1596,7 +1578,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1596
1578
|
|
1597
1579
|
--
|
1598
1580
|
|
1599
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1581
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L81) android
|
1600
1582
|
|
1601
1583
|
> def get_android_inspect(class_name = false)
|
1602
1584
|
|
@@ -1615,7 +1597,7 @@ __Returns:__
|
|
1615
1597
|
|
1616
1598
|
--
|
1617
1599
|
|
1618
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1600
|
+
##### [page](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L107) android
|
1619
1601
|
|
1620
1602
|
> def page(opts = {})
|
1621
1603
|
|
@@ -1634,7 +1616,7 @@ __Returns:__
|
|
1634
1616
|
|
1635
1617
|
--
|
1636
1618
|
|
1637
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1619
|
+
##### [id](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L116) android
|
1638
1620
|
|
1639
1621
|
> def id(id)
|
1640
1622
|
|
@@ -1650,7 +1632,7 @@ __Returns:__
|
|
1650
1632
|
|
1651
1633
|
--
|
1652
1634
|
|
1653
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1635
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L124) android
|
1654
1636
|
|
1655
1637
|
> def ids(id)
|
1656
1638
|
|
@@ -1666,7 +1648,7 @@ __Returns:__
|
|
1666
1648
|
|
1667
1649
|
--
|
1668
1650
|
|
1669
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1651
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L133) android
|
1670
1652
|
|
1671
1653
|
> def ele_index(class_name, index)
|
1672
1654
|
|
@@ -1684,7 +1666,7 @@ __Returns:__
|
|
1684
1666
|
|
1685
1667
|
--
|
1686
1668
|
|
1687
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L152) android
|
1688
1670
|
|
1689
1671
|
> def first_ele(class_name)
|
1690
1672
|
|
@@ -1700,7 +1682,7 @@ __Returns:__
|
|
1700
1682
|
|
1701
1683
|
--
|
1702
1684
|
|
1703
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1685
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L159) android
|
1704
1686
|
|
1705
1687
|
> def last_ele(class_name)
|
1706
1688
|
|
@@ -1716,7 +1698,7 @@ __Returns:__
|
|
1716
1698
|
|
1717
1699
|
--
|
1718
1700
|
|
1719
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1701
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L167) android
|
1720
1702
|
|
1721
1703
|
> def tag(class_name)
|
1722
1704
|
|
@@ -1732,7 +1714,7 @@ __Returns:__
|
|
1732
1714
|
|
1733
1715
|
--
|
1734
1716
|
|
1735
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1717
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L175) android
|
1736
1718
|
|
1737
1719
|
> def tags(class_name)
|
1738
1720
|
|
@@ -1748,7 +1730,7 @@ __Returns:__
|
|
1748
1730
|
|
1749
1731
|
--
|
1750
1732
|
|
1751
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1733
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L218) android
|
1752
1734
|
|
1753
1735
|
> def string_visible_contains_xpath(class_name, value)
|
1754
1736
|
|
@@ -1769,7 +1751,7 @@ __Returns:__
|
|
1769
1751
|
|
1770
1752
|
--
|
1771
1753
|
|
1772
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1754
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L238) android
|
1773
1755
|
|
1774
1756
|
> def string_visible_contains(class_name, value)
|
1775
1757
|
|
@@ -1790,7 +1772,7 @@ __Returns:__
|
|
1790
1772
|
|
1791
1773
|
--
|
1792
1774
|
|
1793
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1775
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L256) android
|
1794
1776
|
|
1795
1777
|
> def complex_find_contains(class_name, value)
|
1796
1778
|
|
@@ -1808,7 +1790,7 @@ __Returns:__
|
|
1808
1790
|
|
1809
1791
|
--
|
1810
1792
|
|
1811
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1793
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L264) android
|
1812
1794
|
|
1813
1795
|
> def complex_finds_contains(class_name, value)
|
1814
1796
|
|
@@ -1826,7 +1808,7 @@ __Returns:__
|
|
1826
1808
|
|
1827
1809
|
--
|
1828
1810
|
|
1829
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1811
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L306) android
|
1830
1812
|
|
1831
1813
|
> def complex_find_exact(class_name, value)
|
1832
1814
|
|
@@ -1844,7 +1826,7 @@ __Returns:__
|
|
1844
1826
|
|
1845
1827
|
--
|
1846
1828
|
|
1847
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1829
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/helper.rb#L314) android
|
1848
1830
|
|
1849
1831
|
> def complex_finds_exact(class_name, value)
|
1850
1832
|
|
@@ -1862,7 +1844,7 @@ __Returns:__
|
|
1862
1844
|
|
1863
1845
|
--
|
1864
1846
|
|
1865
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/alert.rb#L6) android
|
1866
1848
|
|
1867
1849
|
> def alert_click(value)
|
1868
1850
|
|
@@ -1878,7 +1860,7 @@ __Returns:__
|
|
1878
1860
|
|
1879
1861
|
--
|
1880
1862
|
|
1881
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/alert.rb#L13) android
|
1882
1864
|
|
1883
1865
|
> def alert_accept
|
1884
1866
|
|
@@ -1891,7 +1873,7 @@ __Returns:__
|
|
1891
1873
|
|
1892
1874
|
--
|
1893
1875
|
|
1894
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1876
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/alert.rb#L20) android
|
1895
1877
|
|
1896
1878
|
> def alert_accept_text
|
1897
1879
|
|
@@ -1904,7 +1886,7 @@ __Returns:__
|
|
1904
1886
|
|
1905
1887
|
--
|
1906
1888
|
|
1907
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1889
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/alert.rb#L27) android
|
1908
1890
|
|
1909
1891
|
> def alert_dismiss
|
1910
1892
|
|
@@ -1917,7 +1899,7 @@ __Returns:__
|
|
1917
1899
|
|
1918
1900
|
--
|
1919
1901
|
|
1920
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1902
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/alert.rb#L34) android
|
1921
1903
|
|
1922
1904
|
> def alert_dismiss_text
|
1923
1905
|
|
@@ -1930,7 +1912,7 @@ __Returns:__
|
|
1930
1912
|
|
1931
1913
|
--
|
1932
1914
|
|
1933
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1915
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L3) android
|
1934
1916
|
|
1935
1917
|
> Button = 'android.widget.Button'.freeze
|
1936
1918
|
|
@@ -1938,7 +1920,7 @@ __Returns:__
|
|
1938
1920
|
|
1939
1921
|
--
|
1940
1922
|
|
1941
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L4) android
|
1942
1924
|
|
1943
1925
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1944
1926
|
|
@@ -1946,7 +1928,7 @@ __Returns:__
|
|
1946
1928
|
|
1947
1929
|
--
|
1948
1930
|
|
1949
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L10) android
|
1950
1932
|
|
1951
1933
|
> def button(value)
|
1952
1934
|
|
@@ -1963,7 +1945,7 @@ __Returns:__
|
|
1963
1945
|
|
1964
1946
|
--
|
1965
1947
|
|
1966
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1948
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L28) android
|
1967
1949
|
|
1968
1950
|
> def buttons(value = false)
|
1969
1951
|
|
@@ -1980,7 +1962,7 @@ __Returns:__
|
|
1980
1962
|
|
1981
1963
|
--
|
1982
1964
|
|
1983
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L36) android
|
1984
1966
|
|
1985
1967
|
> def first_button
|
1986
1968
|
|
@@ -1992,7 +1974,7 @@ __Returns:__
|
|
1992
1974
|
|
1993
1975
|
--
|
1994
1976
|
|
1995
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1977
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L42) android
|
1996
1978
|
|
1997
1979
|
> def last_button
|
1998
1980
|
|
@@ -2004,7 +1986,7 @@ __Returns:__
|
|
2004
1986
|
|
2005
1987
|
--
|
2006
1988
|
|
2007
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1989
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L58) android
|
2008
1990
|
|
2009
1991
|
> def button_exact(value)
|
2010
1992
|
|
@@ -2020,7 +2002,7 @@ __Returns:__
|
|
2020
2002
|
|
2021
2003
|
--
|
2022
2004
|
|
2023
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2005
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L65) android
|
2024
2006
|
|
2025
2007
|
> def buttons_exact(value)
|
2026
2008
|
|
@@ -2036,7 +2018,7 @@ __Returns:__
|
|
2036
2018
|
|
2037
2019
|
--
|
2038
2020
|
|
2039
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2021
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L78) android
|
2040
2022
|
|
2041
2023
|
> def _button_visible_selectors(opts = {})
|
2042
2024
|
|
@@ -2044,7 +2026,7 @@ __Returns:__
|
|
2044
2026
|
|
2045
2027
|
--
|
2046
2028
|
|
2047
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L91) android
|
2048
2030
|
|
2049
2031
|
> def _button_exact_string(value)
|
2050
2032
|
|
@@ -2052,7 +2034,7 @@ __Returns:__
|
|
2052
2034
|
|
2053
2035
|
--
|
2054
2036
|
|
2055
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/button.rb#L97) android
|
2056
2038
|
|
2057
2039
|
> def _button_contains_string(value)
|
2058
2040
|
|
@@ -2060,7 +2042,7 @@ __Returns:__
|
|
2060
2042
|
|
2061
2043
|
--
|
2062
2044
|
|
2063
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [find](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/generic.rb#L6) android
|
2064
2046
|
|
2065
2047
|
> def find(value)
|
2066
2048
|
|
@@ -2076,7 +2058,7 @@ __Returns:__
|
|
2076
2058
|
|
2077
2059
|
--
|
2078
2060
|
|
2079
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2061
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/generic.rb#L13) android
|
2080
2062
|
|
2081
2063
|
> def finds(value)
|
2082
2064
|
|
@@ -2092,7 +2074,7 @@ __Returns:__
|
|
2092
2074
|
|
2093
2075
|
--
|
2094
2076
|
|
2095
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2077
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/generic.rb#L20) android
|
2096
2078
|
|
2097
2079
|
> def find_exact(value)
|
2098
2080
|
|
@@ -2108,7 +2090,7 @@ __Returns:__
|
|
2108
2090
|
|
2109
2091
|
--
|
2110
2092
|
|
2111
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2093
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/generic.rb#L27) android
|
2112
2094
|
|
2113
2095
|
> def finds_exact(value)
|
2114
2096
|
|
@@ -2124,7 +2106,7 @@ __Returns:__
|
|
2124
2106
|
|
2125
2107
|
--
|
2126
2108
|
|
2127
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2109
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/generic.rb#L40) android
|
2128
2110
|
|
2129
2111
|
> def scroll_to(text, scrollable_index = 0)
|
2130
2112
|
|
@@ -2142,7 +2124,7 @@ __Returns:__
|
|
2142
2124
|
|
2143
2125
|
--
|
2144
2126
|
|
2145
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2127
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/generic.rb#L58) android
|
2146
2128
|
|
2147
2129
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2148
2130
|
|
@@ -2160,7 +2142,7 @@ __Returns:__
|
|
2160
2142
|
|
2161
2143
|
--
|
2162
2144
|
|
2163
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2145
|
+
##### [for](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
2164
2146
|
|
2165
2147
|
> def self.for(target)
|
2166
2148
|
|
@@ -2168,7 +2150,7 @@ __Returns:__
|
|
2168
2150
|
|
2169
2151
|
--
|
2170
2152
|
|
2171
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2153
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/helper.rb#L9) android
|
2172
2154
|
|
2173
2155
|
> def complex_find_contains(class_name, value)
|
2174
2156
|
|
@@ -2186,7 +2168,7 @@ __Returns:__
|
|
2186
2168
|
|
2187
2169
|
--
|
2188
2170
|
|
2189
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2171
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/helper.rb#L17) android
|
2190
2172
|
|
2191
2173
|
> def complex_finds_contains(class_name, value)
|
2192
2174
|
|
@@ -2204,7 +2186,7 @@ __Returns:__
|
|
2204
2186
|
|
2205
2187
|
--
|
2206
2188
|
|
2207
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2189
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/helper.rb#L25) android
|
2208
2190
|
|
2209
2191
|
> def complex_find_exact(class_name, value)
|
2210
2192
|
|
@@ -2222,7 +2204,7 @@ __Returns:__
|
|
2222
2204
|
|
2223
2205
|
--
|
2224
2206
|
|
2225
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2207
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/helper.rb#L33) android
|
2226
2208
|
|
2227
2209
|
> def complex_finds_exact(class_name, value)
|
2228
2210
|
|
@@ -2240,7 +2222,7 @@ __Returns:__
|
|
2240
2222
|
|
2241
2223
|
--
|
2242
2224
|
|
2243
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2225
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/textfield.rb#L3) android
|
2244
2226
|
|
2245
2227
|
> EditText = 'android.widget.EditText'.freeze
|
2246
2228
|
|
@@ -2248,7 +2230,7 @@ __Returns:__
|
|
2248
2230
|
|
2249
2231
|
--
|
2250
2232
|
|
2251
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/textfield.rb#L9) android
|
2252
2234
|
|
2253
2235
|
> def textfield(value)
|
2254
2236
|
|
@@ -2265,7 +2247,7 @@ __Returns:__
|
|
2265
2247
|
|
2266
2248
|
--
|
2267
2249
|
|
2268
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2250
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/textfield.rb#L19) android
|
2269
2251
|
|
2270
2252
|
> def textfields(value = false)
|
2271
2253
|
|
@@ -2282,7 +2264,7 @@ __Returns:__
|
|
2282
2264
|
|
2283
2265
|
--
|
2284
2266
|
|
2285
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2267
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/textfield.rb#L27) android
|
2286
2268
|
|
2287
2269
|
> def first_textfield
|
2288
2270
|
|
@@ -2294,7 +2276,7 @@ __Returns:__
|
|
2294
2276
|
|
2295
2277
|
--
|
2296
2278
|
|
2297
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2279
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/textfield.rb#L33) android
|
2298
2280
|
|
2299
2281
|
> def last_textfield
|
2300
2282
|
|
@@ -2306,7 +2288,7 @@ __Returns:__
|
|
2306
2288
|
|
2307
2289
|
--
|
2308
2290
|
|
2309
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2291
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/textfield.rb#L40) android
|
2310
2292
|
|
2311
2293
|
> def textfield_exact(value)
|
2312
2294
|
|
@@ -2322,7 +2304,7 @@ __Returns:__
|
|
2322
2304
|
|
2323
2305
|
--
|
2324
2306
|
|
2325
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2307
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/element/textfield.rb#L47) android
|
2326
2308
|
|
2327
2309
|
> def textfields_exact(value)
|
2328
2310
|
|
@@ -2338,7 +2320,7 @@ __Returns:__
|
|
2338
2320
|
|
2339
2321
|
--
|
2340
2322
|
|
2341
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [for](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2342
2324
|
|
2343
2325
|
> def self.for(target)
|
2344
2326
|
|
@@ -2346,7 +2328,7 @@ __Returns:__
|
|
2346
2328
|
|
2347
2329
|
--
|
2348
2330
|
|
2349
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2331
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2350
2332
|
|
2351
2333
|
> def string_visible_contains(class_name, value)
|
2352
2334
|
|
@@ -2367,7 +2349,7 @@ __Returns:__
|
|
2367
2349
|
|
2368
2350
|
--
|
2369
2351
|
|
2370
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2352
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2371
2353
|
|
2372
2354
|
> def complex_find_contains(class_name, value)
|
2373
2355
|
|
@@ -2385,7 +2367,7 @@ __Returns:__
|
|
2385
2367
|
|
2386
2368
|
--
|
2387
2369
|
|
2388
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2370
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/helper.rb#L42) android
|
2389
2371
|
|
2390
2372
|
> def complex_finds_contains(class_name, value)
|
2391
2373
|
|
@@ -2403,7 +2385,7 @@ __Returns:__
|
|
2403
2385
|
|
2404
2386
|
--
|
2405
2387
|
|
2406
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2388
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/helper.rb#L70) android
|
2407
2389
|
|
2408
2390
|
> def complex_find_exact(class_name, value)
|
2409
2391
|
|
@@ -2421,7 +2403,7 @@ __Returns:__
|
|
2421
2403
|
|
2422
2404
|
--
|
2423
2405
|
|
2424
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2406
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/helper.rb#L81) android
|
2425
2407
|
|
2426
2408
|
> def complex_finds_exact(class_name, value)
|
2427
2409
|
|
@@ -2439,7 +2421,7 @@ __Returns:__
|
|
2439
2421
|
|
2440
2422
|
--
|
2441
2423
|
|
2442
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2424
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/command/command.rb#L14) android
|
2443
2425
|
|
2444
2426
|
> def shell(command, arguments)
|
2445
2427
|
|
@@ -2454,7 +2436,7 @@ __Parameters:__
|
|
2454
2436
|
|
2455
2437
|
--
|
2456
2438
|
|
2457
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2439
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/command/command.rb#L28) android
|
2458
2440
|
|
2459
2441
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2460
2442
|
|
@@ -2466,7 +2448,7 @@ __Parameters:__
|
|
2466
2448
|
|
2467
2449
|
--
|
2468
2450
|
|
2469
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2451
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/common/command/command.rb#L41) android
|
2470
2452
|
|
2471
2453
|
> def stop_logs_broadcast
|
2472
2454
|
|
@@ -2474,7 +2456,7 @@ Stop Android logcat broadcast websocket
|
|
2474
2456
|
|
2475
2457
|
--
|
2476
2458
|
|
2477
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2459
|
+
##### [button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L9) android
|
2478
2460
|
|
2479
2461
|
> def button(value)
|
2480
2462
|
|
@@ -2491,7 +2473,7 @@ __Returns:__
|
|
2491
2473
|
|
2492
2474
|
--
|
2493
2475
|
|
2494
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2476
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L32) android
|
2495
2477
|
|
2496
2478
|
> def buttons(value = false)
|
2497
2479
|
|
@@ -2508,7 +2490,7 @@ __Returns:__
|
|
2508
2490
|
|
2509
2491
|
--
|
2510
2492
|
|
2511
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2493
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L42) android
|
2512
2494
|
|
2513
2495
|
> def first_button
|
2514
2496
|
|
@@ -2520,7 +2502,7 @@ __Returns:__
|
|
2520
2502
|
|
2521
2503
|
--
|
2522
2504
|
|
2523
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2505
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L48) android
|
2524
2506
|
|
2525
2507
|
> def last_button
|
2526
2508
|
|
@@ -2532,7 +2514,7 @@ __Returns:__
|
|
2532
2514
|
|
2533
2515
|
--
|
2534
2516
|
|
2535
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2517
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L63) android
|
2536
2518
|
|
2537
2519
|
> def button_exact(value)
|
2538
2520
|
|
@@ -2548,7 +2530,7 @@ __Returns:__
|
|
2548
2530
|
|
2549
2531
|
--
|
2550
2532
|
|
2551
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2533
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L75) android
|
2552
2534
|
|
2553
2535
|
> def buttons_exact(value)
|
2554
2536
|
|
@@ -2564,7 +2546,7 @@ __Returns:__
|
|
2564
2546
|
|
2565
2547
|
--
|
2566
2548
|
|
2567
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2549
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L90) android
|
2568
2550
|
|
2569
2551
|
> def _button_visible_selectors_xpath(opts = {})
|
2570
2552
|
|
@@ -2572,7 +2554,7 @@ __Returns:__
|
|
2572
2554
|
|
2573
2555
|
--
|
2574
2556
|
|
2575
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2557
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L111) android
|
2576
2558
|
|
2577
2559
|
> def _button_exact_string_xpath(class_name, value)
|
2578
2560
|
|
@@ -2580,7 +2562,7 @@ __Returns:__
|
|
2580
2562
|
|
2581
2563
|
--
|
2582
2564
|
|
2583
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2565
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/button.rb#L116) android
|
2584
2566
|
|
2585
2567
|
> def _button_contains_string_xpath(class_name, value)
|
2586
2568
|
|
@@ -2588,7 +2570,7 @@ __Returns:__
|
|
2588
2570
|
|
2589
2571
|
--
|
2590
2572
|
|
2591
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/generic.rb#L9) android
|
2592
2574
|
|
2593
2575
|
> def scroll_to(text)
|
2594
2576
|
|
@@ -2605,7 +2587,7 @@ __Returns:__
|
|
2605
2587
|
|
2606
2588
|
--
|
2607
2589
|
|
2608
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2590
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/espresso/element/generic.rb#L36) android
|
2609
2591
|
|
2610
2592
|
> def scroll_to_exact(text)
|
2611
2593
|
|
@@ -2622,7 +2604,7 @@ __Returns:__
|
|
2622
2604
|
|
2623
2605
|
--
|
2624
2606
|
|
2625
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2607
|
+
##### [button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2626
2608
|
|
2627
2609
|
> def button(value)
|
2628
2610
|
|
@@ -2639,7 +2621,7 @@ __Returns:__
|
|
2639
2621
|
|
2640
2622
|
--
|
2641
2623
|
|
2642
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2624
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/element/button.rb#L30) android
|
2643
2625
|
|
2644
2626
|
> def buttons(value = false)
|
2645
2627
|
|
@@ -2656,7 +2638,7 @@ __Returns:__
|
|
2656
2638
|
|
2657
2639
|
--
|
2658
2640
|
|
2659
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2641
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/element/button.rb#L38) android
|
2660
2642
|
|
2661
2643
|
> def first_button
|
2662
2644
|
|
@@ -2668,7 +2650,7 @@ __Returns:__
|
|
2668
2650
|
|
2669
2651
|
--
|
2670
2652
|
|
2671
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2653
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/element/button.rb#L45) android
|
2672
2654
|
|
2673
2655
|
> def last_button
|
2674
2656
|
|
@@ -2680,7 +2662,7 @@ __Returns:__
|
|
2680
2662
|
|
2681
2663
|
--
|
2682
2664
|
|
2683
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2665
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/element/button.rb#L62) android
|
2684
2666
|
|
2685
2667
|
> def button_exact(value)
|
2686
2668
|
|
@@ -2696,7 +2678,7 @@ __Returns:__
|
|
2696
2678
|
|
2697
2679
|
--
|
2698
2680
|
|
2699
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2681
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/f1b8a2e32fc935508e13431570fd7de4a90b6bd7/lib/appium_lib/android/uiautomator2/element/button.rb#L70) android
|
2700
2682
|
|
2701
2683
|
> def buttons_exact(value)
|
2702
2684
|
|