appium_lib 10.3.0 → 10.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/docs/android_docs.md +212 -212
- data/docs/ios_docs.md +258 -258
- data/lib/appium_lib/android/element/generic.rb +2 -2
- 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: ad46c4d2f81bad0844a3a16ba3c978a0802654ceaac6f88039312c941c246110
|
4
|
+
data.tar.gz: e5151c601051e3d320d301c88b468585d258b07165cf9187efff3222b00fc1ed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3940b2c9845481758f7e81e1cd0fa68fb9494ea6209bc89524b4f1ae9efe0c19f422b3533ac4b1e5784b6abed465bbfb5e308442522bbcea1e57496014f7654
|
7
|
+
data.tar.gz: 0fb34365dec01a4b0049aad0db032af5139ca14f54c67746bc40c2e3d9676b3317a077f49094ff780f73e920514738423bb37b364b642a35a31e9bc5922d4884
|
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,14 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v10.3.1
|
14
|
+
### 1. Enhancements
|
15
|
+
|
16
|
+
### 2. Bug fixes
|
17
|
+
- Fix `scroll_to` and `scroll_to_exact` for Android [#859](https://github.com/appium/ruby_lib/pull/859)
|
18
|
+
|
19
|
+
### 3. Deprecations
|
20
|
+
|
13
21
|
## v10.3.0
|
14
22
|
### 1. Enhancements
|
15
23
|
- Add `tvOS` support
|
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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L60) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L96) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L101) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L143) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/appium.rb#L199) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L49) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L49) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L52) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L55) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L58) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L61) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L65) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L66) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L67) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L68) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L69) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L70) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L71) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L72) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L73) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L74) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L75) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L76) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L79) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L81) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L84) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L86) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L154) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L273) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L295) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L299) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L303) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L309) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L315) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L321) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L341) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L355) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L375) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L383) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L387) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L400) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L412) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L435) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L444) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L457) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L471) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L478) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L481) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L492) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L507) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L540) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L561) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L572) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L586) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L603) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L627) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L635) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L639) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L644) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L648) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L652) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L656) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L660) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L664) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L670) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L697) 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/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L713) common
|
801
801
|
|
802
802
|
> def find_element(*args)
|
803
803
|
|
@@ -815,7 +815,7 @@ __Returns:__
|
|
815
815
|
|
816
816
|
--
|
817
817
|
|
818
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L728) common
|
819
819
|
|
820
820
|
> def find_element_by_image(png_img_path)
|
821
821
|
|
@@ -831,7 +831,7 @@ __Returns:__
|
|
831
831
|
|
832
832
|
--
|
833
833
|
|
834
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
834
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L743) common
|
835
835
|
|
836
836
|
> def find_elements_by_image(png_img_paths)
|
837
837
|
|
@@ -847,7 +847,7 @@ __Returns:__
|
|
847
847
|
|
848
848
|
--
|
849
849
|
|
850
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
850
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L756) common
|
851
851
|
|
852
852
|
> def set_location(opts = {})
|
853
853
|
|
@@ -863,7 +863,7 @@ __Returns:__
|
|
863
863
|
|
864
864
|
--
|
865
865
|
|
866
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
866
|
+
##### [x](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/driver.rb#L766) common
|
867
867
|
|
868
868
|
> def x
|
869
869
|
|
@@ -876,7 +876,7 @@ __Returns:__
|
|
876
876
|
|
877
877
|
--
|
878
878
|
|
879
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
879
|
+
##### [username](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L18) common
|
880
880
|
|
881
881
|
> def username
|
882
882
|
|
@@ -884,7 +884,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
884
884
|
|
885
885
|
--
|
886
886
|
|
887
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L20) common
|
888
888
|
|
889
889
|
> def access_key
|
890
890
|
|
@@ -892,7 +892,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
892
892
|
|
893
893
|
--
|
894
894
|
|
895
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
895
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L22) common
|
896
896
|
|
897
897
|
> def endpoint
|
898
898
|
|
@@ -900,7 +900,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
900
900
|
|
901
901
|
--
|
902
902
|
|
903
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
903
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L47) common
|
904
904
|
|
905
905
|
> def initialize(appium_lib_opts)
|
906
906
|
|
@@ -916,7 +916,7 @@ __Returns:__
|
|
916
916
|
|
917
917
|
--
|
918
918
|
|
919
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L67) common
|
920
920
|
|
921
921
|
> def sauce_server_url?
|
922
922
|
|
@@ -928,7 +928,7 @@ __Returns:__
|
|
928
928
|
|
929
929
|
--
|
930
930
|
|
931
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/sauce_labs.rb#L80) common
|
932
932
|
|
933
933
|
> def server_url
|
934
934
|
|
@@ -940,7 +940,7 @@ __Returns:__
|
|
940
940
|
|
941
941
|
--
|
942
942
|
|
943
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/log.rb#L25) common
|
944
944
|
|
945
945
|
> def get_log(type)
|
946
946
|
|
@@ -956,7 +956,7 @@ __Returns:__
|
|
956
956
|
|
957
957
|
--
|
958
958
|
|
959
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/log.rb#L37) common
|
960
960
|
|
961
961
|
> def get_available_log_types
|
962
962
|
|
@@ -968,7 +968,7 @@ __Returns:__
|
|
968
968
|
|
969
969
|
--
|
970
970
|
|
971
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/wait.rb#L44) common
|
972
972
|
|
973
973
|
> def wait_true(opts = {})
|
974
974
|
|
@@ -988,7 +988,7 @@ __Parameters:__
|
|
988
988
|
|
989
989
|
--
|
990
990
|
|
991
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/wait.rb#L73) common
|
992
992
|
|
993
993
|
> def wait(opts = {})
|
994
994
|
|
@@ -1006,7 +1006,7 @@ __Parameters:__
|
|
1006
1006
|
|
1007
1007
|
--
|
1008
1008
|
|
1009
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1009
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/device.rb#L26) common
|
1010
1010
|
|
1011
1011
|
> def add_touch_actions
|
1012
1012
|
|
@@ -1014,7 +1014,7 @@ __Parameters:__
|
|
1014
1014
|
|
1015
1015
|
--
|
1016
1016
|
|
1017
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1017
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/device.rb#L38) common
|
1018
1018
|
|
1019
1019
|
> def delegate_from_appium_driver(method, delegation_target)
|
1020
1020
|
|
@@ -1022,7 +1022,7 @@ __Parameters:__
|
|
1022
1022
|
|
1023
1023
|
--
|
1024
1024
|
|
1025
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1025
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L30) common
|
1026
1026
|
|
1027
1027
|
> def ignore
|
1028
1028
|
|
@@ -1030,7 +1030,7 @@ Return yield and ignore any exceptions.
|
|
1030
1030
|
|
1031
1031
|
--
|
1032
1032
|
|
1033
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L37) common
|
1034
1034
|
|
1035
1035
|
> def back
|
1036
1036
|
|
@@ -1042,7 +1042,7 @@ __Returns:__
|
|
1042
1042
|
|
1043
1043
|
--
|
1044
1044
|
|
1045
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1045
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L48) common
|
1046
1046
|
|
1047
1047
|
> def session_id
|
1048
1048
|
|
@@ -1054,7 +1054,7 @@ __Returns:__
|
|
1054
1054
|
|
1055
1055
|
--
|
1056
1056
|
|
1057
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L56) common
|
1058
1058
|
|
1059
1059
|
> def xpath(xpath_str)
|
1060
1060
|
|
@@ -1070,7 +1070,7 @@ __Returns:__
|
|
1070
1070
|
|
1071
1071
|
--
|
1072
1072
|
|
1073
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L64) common
|
1074
1074
|
|
1075
1075
|
> def xpaths(xpath_str)
|
1076
1076
|
|
@@ -1086,7 +1086,7 @@ __Returns:__
|
|
1086
1086
|
|
1087
1087
|
--
|
1088
1088
|
|
1089
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L74) common
|
1090
1090
|
|
1091
1091
|
> def result
|
1092
1092
|
|
@@ -1094,7 +1094,7 @@ Returns the value of attribute result
|
|
1094
1094
|
|
1095
1095
|
--
|
1096
1096
|
|
1097
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L76) common
|
1098
1098
|
|
1099
1099
|
> def initialize(platform)
|
1100
1100
|
|
@@ -1106,7 +1106,7 @@ __Returns:__
|
|
1106
1106
|
|
1107
1107
|
--
|
1108
1108
|
|
1109
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1109
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L81) common
|
1110
1110
|
|
1111
1111
|
> def reset
|
1112
1112
|
|
@@ -1114,7 +1114,7 @@ __Returns:__
|
|
1114
1114
|
|
1115
1115
|
--
|
1116
1116
|
|
1117
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L86) common
|
1118
1118
|
|
1119
1119
|
> def start_element(name, attrs = [])
|
1120
1120
|
|
@@ -1122,7 +1122,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1122
1122
|
|
1123
1123
|
--
|
1124
1124
|
|
1125
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L97) common
|
1126
1126
|
|
1127
1127
|
> def formatted_result
|
1128
1128
|
|
@@ -1130,7 +1130,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1130
1130
|
|
1131
1131
|
--
|
1132
1132
|
|
1133
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L115) common
|
1134
1134
|
|
1135
1135
|
> def get_page_class
|
1136
1136
|
|
@@ -1142,7 +1142,7 @@ __Returns:__
|
|
1142
1142
|
|
1143
1143
|
--
|
1144
1144
|
|
1145
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L140) common
|
1146
1146
|
|
1147
1147
|
> def page_class
|
1148
1148
|
|
@@ -1155,7 +1155,7 @@ __Returns:__
|
|
1155
1155
|
|
1156
1156
|
--
|
1157
1157
|
|
1158
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1158
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L147) common
|
1159
1159
|
|
1160
1160
|
> def source
|
1161
1161
|
|
@@ -1167,7 +1167,7 @@ __Returns:__
|
|
1167
1167
|
|
1168
1168
|
--
|
1169
1169
|
|
1170
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1170
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L154) common
|
1171
1171
|
|
1172
1172
|
> def get_source
|
1173
1173
|
|
@@ -1180,7 +1180,7 @@ __Returns:__
|
|
1180
1180
|
|
1181
1181
|
--
|
1182
1182
|
|
1183
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L164) common
|
1184
1184
|
|
1185
1185
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1186
1186
|
|
@@ -1188,7 +1188,7 @@ Converts pixel values to window relative values
|
|
1188
1188
|
|
1189
1189
|
--
|
1190
1190
|
|
1191
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L183) common
|
1192
1192
|
|
1193
1193
|
> def xml_keys(target)
|
1194
1194
|
|
@@ -1204,7 +1204,7 @@ __Returns:__
|
|
1204
1204
|
|
1205
1205
|
--
|
1206
1206
|
|
1207
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L191) common
|
1208
1208
|
|
1209
1209
|
> def xml_values(target)
|
1210
1210
|
|
@@ -1220,7 +1220,7 @@ __Returns:__
|
|
1220
1220
|
|
1221
1221
|
--
|
1222
1222
|
|
1223
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L199) common
|
1224
1224
|
|
1225
1225
|
> def resolve_id(id)
|
1226
1226
|
|
@@ -1236,7 +1236,7 @@ __Returns:__
|
|
1236
1236
|
|
1237
1237
|
--
|
1238
1238
|
|
1239
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L206) common
|
1240
1240
|
|
1241
1241
|
> def filter
|
1242
1242
|
|
@@ -1244,7 +1244,7 @@ Returns the value of attribute filter
|
|
1244
1244
|
|
1245
1245
|
--
|
1246
1246
|
|
1247
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L209) common
|
1248
1248
|
|
1249
1249
|
> def filter=(value)
|
1250
1250
|
|
@@ -1252,7 +1252,7 @@ convert to string to support symbols
|
|
1252
1252
|
|
1253
1253
|
--
|
1254
1254
|
|
1255
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L216) common
|
1256
1256
|
|
1257
1257
|
> def initialize
|
1258
1258
|
|
@@ -1264,7 +1264,7 @@ __Returns:__
|
|
1264
1264
|
|
1265
1265
|
--
|
1266
1266
|
|
1267
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L221) common
|
1268
1268
|
|
1269
1269
|
> def reset
|
1270
1270
|
|
@@ -1272,7 +1272,7 @@ __Returns:__
|
|
1272
1272
|
|
1273
1273
|
--
|
1274
1274
|
|
1275
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L227) common
|
1276
1276
|
|
1277
1277
|
> def result
|
1278
1278
|
|
@@ -1280,7 +1280,7 @@ __Returns:__
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L240) common
|
1284
1284
|
|
1285
1285
|
> def start_element(name, attrs = [])
|
1286
1286
|
|
@@ -1288,7 +1288,7 @@ __Returns:__
|
|
1288
1288
|
|
1289
1289
|
--
|
1290
1290
|
|
1291
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L250) common
|
1292
1292
|
|
1293
1293
|
> def end_element(name)
|
1294
1294
|
|
@@ -1296,7 +1296,7 @@ __Returns:__
|
|
1296
1296
|
|
1297
1297
|
--
|
1298
1298
|
|
1299
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/helper.rb#L257) common
|
1300
1300
|
|
1301
1301
|
> def characters(chars)
|
1302
1302
|
|
@@ -1304,7 +1304,7 @@ __Returns:__
|
|
1304
1304
|
|
1305
1305
|
--
|
1306
1306
|
|
1307
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/http_client.rb#L22) common
|
1308
1308
|
|
1309
1309
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1310
1310
|
|
@@ -1312,7 +1312,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1312
1312
|
|
1313
1313
|
--
|
1314
1314
|
|
1315
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/multi_touch.rb#L65) common
|
1316
1316
|
|
1317
1317
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1318
1318
|
|
@@ -1332,7 +1332,7 @@ __Parameters:__
|
|
1332
1332
|
|
1333
1333
|
--
|
1334
1334
|
|
1335
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/multi_touch.rb#L108) common
|
1336
1336
|
|
1337
1337
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1338
1338
|
|
@@ -1352,7 +1352,7 @@ __Parameters:__
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/multi_touch.rb#L194) common
|
1356
1356
|
|
1357
1357
|
> def initialize(driver = $driver)
|
1358
1358
|
|
@@ -1364,7 +1364,7 @@ __Returns:__
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/touch_actions.rb#L47) common
|
1368
1368
|
|
1369
1369
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1370
1370
|
|
@@ -1372,7 +1372,7 @@ __Returns:__
|
|
1372
1372
|
|
1373
1373
|
--
|
1374
1374
|
|
1375
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/touch_actions.rb#L62) common
|
1376
1376
|
|
1377
1377
|
> def initialize(driver = $driver)
|
1378
1378
|
|
@@ -1384,7 +1384,7 @@ __Returns:__
|
|
1384
1384
|
|
1385
1385
|
--
|
1386
1386
|
|
1387
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/touch_actions.rb#L66) common
|
1388
1388
|
|
1389
1389
|
> def swipe(opts)
|
1390
1390
|
|
@@ -1392,7 +1392,7 @@ __Returns:__
|
|
1392
1392
|
|
1393
1393
|
--
|
1394
1394
|
|
1395
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1396
1396
|
|
1397
1397
|
> def initialize(url:, output_file: 'logcat.log')
|
1398
1398
|
|
@@ -1404,7 +1404,7 @@ __Returns:__
|
|
1404
1404
|
|
1405
1405
|
--
|
1406
1406
|
|
1407
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1408
1408
|
|
1409
1409
|
> def handle_message_data(data)
|
1410
1410
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/android.rb#L33) android
|
1416
1416
|
|
1417
1417
|
> def self.for(target)
|
1418
1418
|
|
@@ -1420,7 +1420,7 @@ __Returns:__
|
|
1420
1420
|
|
1421
1421
|
--
|
1422
1422
|
|
1423
|
-
##### [TEXT_VIEW](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [TEXT_VIEW](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L18) android
|
1424
1424
|
|
1425
1425
|
> TEXT_VIEW = 'android.widget.TextView'
|
1426
1426
|
|
@@ -1428,7 +1428,7 @@ __Returns:__
|
|
1428
1428
|
|
1429
1429
|
--
|
1430
1430
|
|
1431
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L19) android
|
1432
1432
|
|
1433
1433
|
> TextView = TEXT_VIEW
|
1434
1434
|
|
@@ -1436,7 +1436,7 @@ __Returns:__
|
|
1436
1436
|
|
1437
1437
|
--
|
1438
1438
|
|
1439
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L25) android
|
1440
1440
|
|
1441
1441
|
> def text(value)
|
1442
1442
|
|
@@ -1453,7 +1453,7 @@ __Returns:__
|
|
1453
1453
|
|
1454
1454
|
--
|
1455
1455
|
|
1456
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1456
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L35) android
|
1457
1457
|
|
1458
1458
|
> def texts(value = false)
|
1459
1459
|
|
@@ -1470,7 +1470,7 @@ __Returns:__
|
|
1470
1470
|
|
1471
1471
|
--
|
1472
1472
|
|
1473
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L43) android
|
1474
1474
|
|
1475
1475
|
> def first_text
|
1476
1476
|
|
@@ -1482,7 +1482,7 @@ __Returns:__
|
|
1482
1482
|
|
1483
1483
|
--
|
1484
1484
|
|
1485
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1485
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L49) android
|
1486
1486
|
|
1487
1487
|
> def last_text
|
1488
1488
|
|
@@ -1494,7 +1494,7 @@ __Returns:__
|
|
1494
1494
|
|
1495
1495
|
--
|
1496
1496
|
|
1497
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1497
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L56) android
|
1498
1498
|
|
1499
1499
|
> def text_exact(value)
|
1500
1500
|
|
@@ -1510,7 +1510,7 @@ __Returns:__
|
|
1510
1510
|
|
1511
1511
|
--
|
1512
1512
|
|
1513
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1513
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/text.rb#L63) android
|
1514
1514
|
|
1515
1515
|
> def texts_exact(value)
|
1516
1516
|
|
@@ -1526,7 +1526,7 @@ __Returns:__
|
|
1526
1526
|
|
1527
1527
|
--
|
1528
1528
|
|
1529
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1529
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L20) android
|
1530
1530
|
|
1531
1531
|
> def result
|
1532
1532
|
|
@@ -1534,7 +1534,7 @@ Returns the value of attribute result
|
|
1534
1534
|
|
1535
1535
|
--
|
1536
1536
|
|
1537
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L20) android
|
1538
1538
|
|
1539
1539
|
> def keys
|
1540
1540
|
|
@@ -1542,7 +1542,7 @@ Returns the value of attribute keys
|
|
1542
1542
|
|
1543
1543
|
--
|
1544
1544
|
|
1545
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1545
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L20) android
|
1546
1546
|
|
1547
1547
|
> def filter
|
1548
1548
|
|
@@ -1550,7 +1550,7 @@ Returns the value of attribute filter
|
|
1550
1550
|
|
1551
1551
|
--
|
1552
1552
|
|
1553
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L23) android
|
1554
1554
|
|
1555
1555
|
> def filter=(value)
|
1556
1556
|
|
@@ -1558,7 +1558,7 @@ convert to string to support symbols
|
|
1558
1558
|
|
1559
1559
|
--
|
1560
1560
|
|
1561
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1561
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L30) android
|
1562
1562
|
|
1563
1563
|
> def initialize
|
1564
1564
|
|
@@ -1570,7 +1570,7 @@ __Returns:__
|
|
1570
1570
|
|
1571
1571
|
--
|
1572
1572
|
|
1573
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1573
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L35) android
|
1574
1574
|
|
1575
1575
|
> def reset
|
1576
1576
|
|
@@ -1578,7 +1578,7 @@ __Returns:__
|
|
1578
1578
|
|
1579
1579
|
--
|
1580
1580
|
|
1581
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1581
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L41) android
|
1582
1582
|
|
1583
1583
|
> def start_element(name, attrs = [], driver = $driver)
|
1584
1584
|
|
@@ -1586,7 +1586,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1586
1586
|
|
1587
1587
|
--
|
1588
1588
|
|
1589
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1589
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L95) android
|
1590
1590
|
|
1591
1591
|
> def get_android_inspect(class_name = false)
|
1592
1592
|
|
@@ -1605,7 +1605,7 @@ __Returns:__
|
|
1605
1605
|
|
1606
1606
|
--
|
1607
1607
|
|
1608
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1608
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L121) android
|
1609
1609
|
|
1610
1610
|
> def page(opts = {})
|
1611
1611
|
|
@@ -1624,7 +1624,7 @@ __Returns:__
|
|
1624
1624
|
|
1625
1625
|
--
|
1626
1626
|
|
1627
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1627
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L130) android
|
1628
1628
|
|
1629
1629
|
> def id(id)
|
1630
1630
|
|
@@ -1640,7 +1640,7 @@ __Returns:__
|
|
1640
1640
|
|
1641
1641
|
--
|
1642
1642
|
|
1643
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1643
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L138) android
|
1644
1644
|
|
1645
1645
|
> def ids(id)
|
1646
1646
|
|
@@ -1656,7 +1656,7 @@ __Returns:__
|
|
1656
1656
|
|
1657
1657
|
--
|
1658
1658
|
|
1659
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1659
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L147) android
|
1660
1660
|
|
1661
1661
|
> def ele_index(class_name, index)
|
1662
1662
|
|
@@ -1674,7 +1674,7 @@ __Returns:__
|
|
1674
1674
|
|
1675
1675
|
--
|
1676
1676
|
|
1677
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1677
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L166) android
|
1678
1678
|
|
1679
1679
|
> def first_ele(class_name)
|
1680
1680
|
|
@@ -1690,7 +1690,7 @@ __Returns:__
|
|
1690
1690
|
|
1691
1691
|
--
|
1692
1692
|
|
1693
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1693
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L173) android
|
1694
1694
|
|
1695
1695
|
> def last_ele(class_name)
|
1696
1696
|
|
@@ -1706,7 +1706,7 @@ __Returns:__
|
|
1706
1706
|
|
1707
1707
|
--
|
1708
1708
|
|
1709
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1709
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L181) android
|
1710
1710
|
|
1711
1711
|
> def tag(class_name)
|
1712
1712
|
|
@@ -1722,7 +1722,7 @@ __Returns:__
|
|
1722
1722
|
|
1723
1723
|
--
|
1724
1724
|
|
1725
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L189) android
|
1726
1726
|
|
1727
1727
|
> def tags(class_name)
|
1728
1728
|
|
@@ -1738,7 +1738,7 @@ __Returns:__
|
|
1738
1738
|
|
1739
1739
|
--
|
1740
1740
|
|
1741
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1741
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L232) android
|
1742
1742
|
|
1743
1743
|
> def string_visible_contains_xpath(class_name, value)
|
1744
1744
|
|
@@ -1759,7 +1759,7 @@ __Returns:__
|
|
1759
1759
|
|
1760
1760
|
--
|
1761
1761
|
|
1762
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1762
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L252) android
|
1763
1763
|
|
1764
1764
|
> def string_visible_contains(class_name, value)
|
1765
1765
|
|
@@ -1780,7 +1780,7 @@ __Returns:__
|
|
1780
1780
|
|
1781
1781
|
--
|
1782
1782
|
|
1783
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1783
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L270) android
|
1784
1784
|
|
1785
1785
|
> def complex_find_contains(class_name, value)
|
1786
1786
|
|
@@ -1798,7 +1798,7 @@ __Returns:__
|
|
1798
1798
|
|
1799
1799
|
--
|
1800
1800
|
|
1801
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1801
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L278) android
|
1802
1802
|
|
1803
1803
|
> def complex_finds_contains(class_name, value)
|
1804
1804
|
|
@@ -1816,7 +1816,7 @@ __Returns:__
|
|
1816
1816
|
|
1817
1817
|
--
|
1818
1818
|
|
1819
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1819
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L320) android
|
1820
1820
|
|
1821
1821
|
> def complex_find_exact(class_name, value)
|
1822
1822
|
|
@@ -1834,7 +1834,7 @@ __Returns:__
|
|
1834
1834
|
|
1835
1835
|
--
|
1836
1836
|
|
1837
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1837
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/helper.rb#L328) android
|
1838
1838
|
|
1839
1839
|
> def complex_finds_exact(class_name, value)
|
1840
1840
|
|
@@ -1852,7 +1852,7 @@ __Returns:__
|
|
1852
1852
|
|
1853
1853
|
--
|
1854
1854
|
|
1855
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1855
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/alert.rb#L20) android
|
1856
1856
|
|
1857
1857
|
> def alert_click(value)
|
1858
1858
|
|
@@ -1868,7 +1868,7 @@ __Returns:__
|
|
1868
1868
|
|
1869
1869
|
--
|
1870
1870
|
|
1871
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1871
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/alert.rb#L27) android
|
1872
1872
|
|
1873
1873
|
> def alert_accept
|
1874
1874
|
|
@@ -1881,7 +1881,7 @@ __Returns:__
|
|
1881
1881
|
|
1882
1882
|
--
|
1883
1883
|
|
1884
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1884
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/alert.rb#L34) android
|
1885
1885
|
|
1886
1886
|
> def alert_accept_text
|
1887
1887
|
|
@@ -1894,7 +1894,7 @@ __Returns:__
|
|
1894
1894
|
|
1895
1895
|
--
|
1896
1896
|
|
1897
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1897
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/alert.rb#L41) android
|
1898
1898
|
|
1899
1899
|
> def alert_dismiss
|
1900
1900
|
|
@@ -1907,7 +1907,7 @@ __Returns:__
|
|
1907
1907
|
|
1908
1908
|
--
|
1909
1909
|
|
1910
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1910
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/alert.rb#L48) android
|
1911
1911
|
|
1912
1912
|
> def alert_dismiss_text
|
1913
1913
|
|
@@ -1920,7 +1920,7 @@ __Returns:__
|
|
1920
1920
|
|
1921
1921
|
--
|
1922
1922
|
|
1923
|
-
##### [BUTTON](https://github.com/appium/ruby_lib/blob/
|
1923
|
+
##### [BUTTON](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L17) android
|
1924
1924
|
|
1925
1925
|
> BUTTON = 'android.widget.Button'
|
1926
1926
|
|
@@ -1928,7 +1928,7 @@ __Returns:__
|
|
1928
1928
|
|
1929
1929
|
--
|
1930
1930
|
|
1931
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L18) android
|
1932
1932
|
|
1933
1933
|
> Button = BUTTON # backward compatibility
|
1934
1934
|
|
@@ -1936,7 +1936,7 @@ backward compatibility
|
|
1936
1936
|
|
1937
1937
|
--
|
1938
1938
|
|
1939
|
-
##### [IMAGE_BUTTON](https://github.com/appium/ruby_lib/blob/
|
1939
|
+
##### [IMAGE_BUTTON](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L20) android
|
1940
1940
|
|
1941
1941
|
> IMAGE_BUTTON = 'android.widget.ImageButton'
|
1942
1942
|
|
@@ -1944,7 +1944,7 @@ backward compatibility
|
|
1944
1944
|
|
1945
1945
|
--
|
1946
1946
|
|
1947
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1947
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L21) android
|
1948
1948
|
|
1949
1949
|
> ImageButton = IMAGE_BUTTON # backward compatibility
|
1950
1950
|
|
@@ -1952,7 +1952,7 @@ backward compatibility
|
|
1952
1952
|
|
1953
1953
|
--
|
1954
1954
|
|
1955
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1955
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L27) android
|
1956
1956
|
|
1957
1957
|
> def button(value)
|
1958
1958
|
|
@@ -1969,7 +1969,7 @@ __Returns:__
|
|
1969
1969
|
|
1970
1970
|
--
|
1971
1971
|
|
1972
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1972
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L45) android
|
1973
1973
|
|
1974
1974
|
> def buttons(value = false)
|
1975
1975
|
|
@@ -1986,7 +1986,7 @@ __Returns:__
|
|
1986
1986
|
|
1987
1987
|
--
|
1988
1988
|
|
1989
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1989
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L53) android
|
1990
1990
|
|
1991
1991
|
> def first_button
|
1992
1992
|
|
@@ -1998,7 +1998,7 @@ __Returns:__
|
|
1998
1998
|
|
1999
1999
|
--
|
2000
2000
|
|
2001
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2001
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L59) android
|
2002
2002
|
|
2003
2003
|
> def last_button
|
2004
2004
|
|
@@ -2010,7 +2010,7 @@ __Returns:__
|
|
2010
2010
|
|
2011
2011
|
--
|
2012
2012
|
|
2013
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2013
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L75) android
|
2014
2014
|
|
2015
2015
|
> def button_exact(value)
|
2016
2016
|
|
@@ -2026,7 +2026,7 @@ __Returns:__
|
|
2026
2026
|
|
2027
2027
|
--
|
2028
2028
|
|
2029
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L82) android
|
2030
2030
|
|
2031
2031
|
> def buttons_exact(value)
|
2032
2032
|
|
@@ -2042,7 +2042,7 @@ __Returns:__
|
|
2042
2042
|
|
2043
2043
|
--
|
2044
2044
|
|
2045
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L95) android
|
2046
2046
|
|
2047
2047
|
> def _button_visible_selectors(opts = {})
|
2048
2048
|
|
@@ -2050,7 +2050,7 @@ __Returns:__
|
|
2050
2050
|
|
2051
2051
|
--
|
2052
2052
|
|
2053
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2053
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L108) android
|
2054
2054
|
|
2055
2055
|
> def _button_exact_string(value)
|
2056
2056
|
|
@@ -2058,7 +2058,7 @@ __Returns:__
|
|
2058
2058
|
|
2059
2059
|
--
|
2060
2060
|
|
2061
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2061
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/button.rb#L114) android
|
2062
2062
|
|
2063
2063
|
> def _button_contains_string(value)
|
2064
2064
|
|
@@ -2066,7 +2066,7 @@ __Returns:__
|
|
2066
2066
|
|
2067
2067
|
--
|
2068
2068
|
|
2069
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/generic.rb#L20) android
|
2070
2070
|
|
2071
2071
|
> def find(value)
|
2072
2072
|
|
@@ -2082,7 +2082,7 @@ __Returns:__
|
|
2082
2082
|
|
2083
2083
|
--
|
2084
2084
|
|
2085
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/generic.rb#L27) android
|
2086
2086
|
|
2087
2087
|
> def finds(value)
|
2088
2088
|
|
@@ -2098,7 +2098,7 @@ __Returns:__
|
|
2098
2098
|
|
2099
2099
|
--
|
2100
2100
|
|
2101
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2101
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/generic.rb#L34) android
|
2102
2102
|
|
2103
2103
|
> def find_exact(value)
|
2104
2104
|
|
@@ -2114,7 +2114,7 @@ __Returns:__
|
|
2114
2114
|
|
2115
2115
|
--
|
2116
2116
|
|
2117
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2117
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/generic.rb#L41) android
|
2118
2118
|
|
2119
2119
|
> def finds_exact(value)
|
2120
2120
|
|
@@ -2130,7 +2130,7 @@ __Returns:__
|
|
2130
2130
|
|
2131
2131
|
--
|
2132
2132
|
|
2133
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2133
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/generic.rb#L54) android
|
2134
2134
|
|
2135
2135
|
> def scroll_to(text, scrollable_index = 0)
|
2136
2136
|
|
@@ -2148,7 +2148,7 @@ __Returns:__
|
|
2148
2148
|
|
2149
2149
|
--
|
2150
2150
|
|
2151
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2151
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/generic.rb#L72) android
|
2152
2152
|
|
2153
2153
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2154
2154
|
|
@@ -2166,7 +2166,7 @@ __Returns:__
|
|
2166
2166
|
|
2167
2167
|
--
|
2168
2168
|
|
2169
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2169
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2170
2170
|
|
2171
2171
|
> def self.for(target)
|
2172
2172
|
|
@@ -2174,7 +2174,7 @@ __Returns:__
|
|
2174
2174
|
|
2175
2175
|
--
|
2176
2176
|
|
2177
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2177
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2178
2178
|
|
2179
2179
|
> def complex_find_contains(class_name, value)
|
2180
2180
|
|
@@ -2192,7 +2192,7 @@ __Returns:__
|
|
2192
2192
|
|
2193
2193
|
--
|
2194
2194
|
|
2195
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2195
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2196
2196
|
|
2197
2197
|
> def complex_finds_contains(class_name, value)
|
2198
2198
|
|
@@ -2210,7 +2210,7 @@ __Returns:__
|
|
2210
2210
|
|
2211
2211
|
--
|
2212
2212
|
|
2213
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2213
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2214
2214
|
|
2215
2215
|
> def complex_find_exact(class_name, value)
|
2216
2216
|
|
@@ -2228,7 +2228,7 @@ __Returns:__
|
|
2228
2228
|
|
2229
2229
|
--
|
2230
2230
|
|
2231
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2231
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2232
2232
|
|
2233
2233
|
> def complex_finds_exact(class_name, value)
|
2234
2234
|
|
@@ -2246,7 +2246,7 @@ __Returns:__
|
|
2246
2246
|
|
2247
2247
|
--
|
2248
2248
|
|
2249
|
-
##### [EDIT_TEXT](https://github.com/appium/ruby_lib/blob/
|
2249
|
+
##### [EDIT_TEXT](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L17) android
|
2250
2250
|
|
2251
2251
|
> EDIT_TEXT = 'android.widget.EditText'
|
2252
2252
|
|
@@ -2254,7 +2254,7 @@ __Returns:__
|
|
2254
2254
|
|
2255
2255
|
--
|
2256
2256
|
|
2257
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2257
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L18) android
|
2258
2258
|
|
2259
2259
|
> EditText = EDIT_TEXT
|
2260
2260
|
|
@@ -2262,7 +2262,7 @@ __Returns:__
|
|
2262
2262
|
|
2263
2263
|
--
|
2264
2264
|
|
2265
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2265
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L24) android
|
2266
2266
|
|
2267
2267
|
> def textfield(value)
|
2268
2268
|
|
@@ -2279,7 +2279,7 @@ __Returns:__
|
|
2279
2279
|
|
2280
2280
|
--
|
2281
2281
|
|
2282
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2282
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L34) android
|
2283
2283
|
|
2284
2284
|
> def textfields(value = false)
|
2285
2285
|
|
@@ -2296,7 +2296,7 @@ __Returns:__
|
|
2296
2296
|
|
2297
2297
|
--
|
2298
2298
|
|
2299
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2299
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L42) android
|
2300
2300
|
|
2301
2301
|
> def first_textfield
|
2302
2302
|
|
@@ -2308,7 +2308,7 @@ __Returns:__
|
|
2308
2308
|
|
2309
2309
|
--
|
2310
2310
|
|
2311
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2311
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L48) android
|
2312
2312
|
|
2313
2313
|
> def last_textfield
|
2314
2314
|
|
@@ -2320,7 +2320,7 @@ __Returns:__
|
|
2320
2320
|
|
2321
2321
|
--
|
2322
2322
|
|
2323
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2323
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L55) android
|
2324
2324
|
|
2325
2325
|
> def textfield_exact(value)
|
2326
2326
|
|
@@ -2336,7 +2336,7 @@ __Returns:__
|
|
2336
2336
|
|
2337
2337
|
--
|
2338
2338
|
|
2339
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2339
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/element/textfield.rb#L62) android
|
2340
2340
|
|
2341
2341
|
> def textfields_exact(value)
|
2342
2342
|
|
@@ -2352,7 +2352,7 @@ __Returns:__
|
|
2352
2352
|
|
2353
2353
|
--
|
2354
2354
|
|
2355
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2355
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2356
2356
|
|
2357
2357
|
> def self.for(target)
|
2358
2358
|
|
@@ -2360,7 +2360,7 @@ __Returns:__
|
|
2360
2360
|
|
2361
2361
|
--
|
2362
2362
|
|
2363
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2363
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2364
2364
|
|
2365
2365
|
> def string_visible_contains(class_name, value)
|
2366
2366
|
|
@@ -2381,7 +2381,7 @@ __Returns:__
|
|
2381
2381
|
|
2382
2382
|
--
|
2383
2383
|
|
2384
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2384
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2385
2385
|
|
2386
2386
|
> def complex_find_contains(class_name, value)
|
2387
2387
|
|
@@ -2399,7 +2399,7 @@ __Returns:__
|
|
2399
2399
|
|
2400
2400
|
--
|
2401
2401
|
|
2402
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2402
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2403
2403
|
|
2404
2404
|
> def complex_finds_contains(class_name, value)
|
2405
2405
|
|
@@ -2417,7 +2417,7 @@ __Returns:__
|
|
2417
2417
|
|
2418
2418
|
--
|
2419
2419
|
|
2420
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2420
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2421
2421
|
|
2422
2422
|
> def complex_find_exact(class_name, value)
|
2423
2423
|
|
@@ -2435,7 +2435,7 @@ __Returns:__
|
|
2435
2435
|
|
2436
2436
|
--
|
2437
2437
|
|
2438
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2438
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2439
2439
|
|
2440
2440
|
> def complex_finds_exact(class_name, value)
|
2441
2441
|
|
@@ -2453,7 +2453,7 @@ __Returns:__
|
|
2453
2453
|
|
2454
2454
|
--
|
2455
2455
|
|
2456
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2456
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/command/command.rb#L28) android
|
2457
2457
|
|
2458
2458
|
> def shell(command, arguments)
|
2459
2459
|
|
@@ -2468,7 +2468,7 @@ __Parameters:__
|
|
2468
2468
|
|
2469
2469
|
--
|
2470
2470
|
|
2471
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2471
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/command/command.rb#L42) android
|
2472
2472
|
|
2473
2473
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2474
2474
|
|
@@ -2480,7 +2480,7 @@ __Parameters:__
|
|
2480
2480
|
|
2481
2481
|
--
|
2482
2482
|
|
2483
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2483
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/common/command/command.rb#L55) android
|
2484
2484
|
|
2485
2485
|
> def stop_logs_broadcast
|
2486
2486
|
|
@@ -2488,7 +2488,7 @@ Stop Android logcat broadcast websocket
|
|
2488
2488
|
|
2489
2489
|
--
|
2490
2490
|
|
2491
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2491
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2492
2492
|
|
2493
2493
|
> def button(value)
|
2494
2494
|
|
@@ -2505,7 +2505,7 @@ __Returns:__
|
|
2505
2505
|
|
2506
2506
|
--
|
2507
2507
|
|
2508
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2508
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2509
2509
|
|
2510
2510
|
> def buttons(value = false)
|
2511
2511
|
|
@@ -2522,7 +2522,7 @@ __Returns:__
|
|
2522
2522
|
|
2523
2523
|
--
|
2524
2524
|
|
2525
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2525
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2526
2526
|
|
2527
2527
|
> def first_button
|
2528
2528
|
|
@@ -2534,7 +2534,7 @@ __Returns:__
|
|
2534
2534
|
|
2535
2535
|
--
|
2536
2536
|
|
2537
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2537
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2538
2538
|
|
2539
2539
|
> def last_button
|
2540
2540
|
|
@@ -2546,7 +2546,7 @@ __Returns:__
|
|
2546
2546
|
|
2547
2547
|
--
|
2548
2548
|
|
2549
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2549
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2550
2550
|
|
2551
2551
|
> def button_exact(value)
|
2552
2552
|
|
@@ -2562,7 +2562,7 @@ __Returns:__
|
|
2562
2562
|
|
2563
2563
|
--
|
2564
2564
|
|
2565
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2565
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2566
2566
|
|
2567
2567
|
> def buttons_exact(value)
|
2568
2568
|
|
@@ -2578,7 +2578,7 @@ __Returns:__
|
|
2578
2578
|
|
2579
2579
|
--
|
2580
2580
|
|
2581
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2581
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2582
2582
|
|
2583
2583
|
> def _button_visible_selectors_xpath(opts = {})
|
2584
2584
|
|
@@ -2586,7 +2586,7 @@ __Returns:__
|
|
2586
2586
|
|
2587
2587
|
--
|
2588
2588
|
|
2589
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2589
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2590
2590
|
|
2591
2591
|
> def _button_exact_string_xpath(class_name, value)
|
2592
2592
|
|
@@ -2594,7 +2594,7 @@ __Returns:__
|
|
2594
2594
|
|
2595
2595
|
--
|
2596
2596
|
|
2597
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2597
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2598
2598
|
|
2599
2599
|
> def _button_contains_string_xpath(class_name, value)
|
2600
2600
|
|
@@ -2602,7 +2602,7 @@ __Returns:__
|
|
2602
2602
|
|
2603
2603
|
--
|
2604
2604
|
|
2605
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2605
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2606
2606
|
|
2607
2607
|
> def scroll_to(text)
|
2608
2608
|
|
@@ -2619,7 +2619,7 @@ __Returns:__
|
|
2619
2619
|
|
2620
2620
|
--
|
2621
2621
|
|
2622
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2622
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/espresso/element/generic.rb#L50) android
|
2623
2623
|
|
2624
2624
|
> def scroll_to_exact(text)
|
2625
2625
|
|
@@ -2636,7 +2636,7 @@ __Returns:__
|
|
2636
2636
|
|
2637
2637
|
--
|
2638
2638
|
|
2639
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2639
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2640
2640
|
|
2641
2641
|
> def button(value)
|
2642
2642
|
|
@@ -2653,7 +2653,7 @@ __Returns:__
|
|
2653
2653
|
|
2654
2654
|
--
|
2655
2655
|
|
2656
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2656
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2657
2657
|
|
2658
2658
|
> def buttons(value = false)
|
2659
2659
|
|
@@ -2670,7 +2670,7 @@ __Returns:__
|
|
2670
2670
|
|
2671
2671
|
--
|
2672
2672
|
|
2673
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2673
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2674
2674
|
|
2675
2675
|
> def first_button
|
2676
2676
|
|
@@ -2682,7 +2682,7 @@ __Returns:__
|
|
2682
2682
|
|
2683
2683
|
--
|
2684
2684
|
|
2685
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2685
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2686
2686
|
|
2687
2687
|
> def last_button
|
2688
2688
|
|
@@ -2694,7 +2694,7 @@ __Returns:__
|
|
2694
2694
|
|
2695
2695
|
--
|
2696
2696
|
|
2697
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2697
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2698
2698
|
|
2699
2699
|
> def button_exact(value)
|
2700
2700
|
|
@@ -2710,7 +2710,7 @@ __Returns:__
|
|
2710
2710
|
|
2711
2711
|
--
|
2712
2712
|
|
2713
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2713
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ef89749d25c7044fe27fa4b7c1adfd011b60bba1/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2714
2714
|
|
2715
2715
|
> def buttons_exact(value)
|
2716
2716
|
|