appium_lib 10.4.1 → 10.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +252 -213
- data/docs/ios_docs.md +298 -259
- data/lib/appium_lib/driver.rb +42 -0
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43294ea19f1b31512e5d2892001e47bb0218b53d30bff34b92af6201c8398dae
|
4
|
+
data.tar.gz: 5468f344e0bfdb4717ab89cc7e87c31a5d9d09d47b526a81b2544e649eb8e645
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e442c6056c6d8b08612333508beeaf55af313fda0bd7f6a355672197767fd4755eafa438149f1bd299c574d5112ee3cee2eb2ac6963982e561e2bb7ad692697
|
7
|
+
data.tar.gz: f5c1b138181f9b3bd292b9de5d10b8e0f38a7d7aae83b5bccec161aeadb05d468bb042a67b50d894098a87a173be24edfe40b392d54a46ab0da6a0e91d4e82c9
|
data/CHANGELOG.md
CHANGED
@@ -6,6 +6,22 @@ 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.5.0
|
14
|
+
### 1. Enhancements
|
15
|
+
- Added `driver.log_event` to post an event
|
16
|
+
- Added `driver.log_events` to get the events
|
17
|
+
|
18
|
+
### 2. Bug fixes
|
19
|
+
|
20
|
+
### 3. Deprecations
|
21
|
+
|
22
|
+
## v10.4.1
|
23
|
+
### 1. Enhancements
|
24
|
+
|
9
25
|
### 2. Bug fixes
|
10
26
|
- Fix iOS `page` in native context
|
11
27
|
|
data/appium_lib.gemspec
CHANGED
@@ -14,7 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
15
15
|
s.require_paths = ['lib']
|
16
16
|
|
17
|
-
s.add_runtime_dependency 'appium_lib_core', '~> 3.
|
17
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 3.3'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
20
20
|
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_settings](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_settings](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L279) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L301) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L305) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L309) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L315) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L321) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L327) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L347) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L361) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L381) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L389) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L393) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L406) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L418) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L441) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L450) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L463) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L477) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L484) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L487) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L498) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L513) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L546) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L567) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L578) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L592) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L609) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L633) 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/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L641) 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
|
-
##### [execute_driver](https://github.com/appium/ruby_lib/blob/
|
712
|
+
##### [execute_driver](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L673) common
|
713
713
|
|
714
714
|
> def execute_driver(script: '', type: 'webdriverio', timeout_ms: nil)
|
715
715
|
|
@@ -735,7 +735,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
735
735
|
|
736
736
|
--
|
737
737
|
|
738
|
-
##### [window_handles](https://github.com/appium/ruby_lib/blob/
|
738
|
+
##### [window_handles](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L677) common
|
739
739
|
|
740
740
|
> def window_handles
|
741
741
|
|
@@ -743,7 +743,7 @@ Appium::Core::Base::Device::ExecuteDriver::Result.
|
|
743
743
|
|
744
744
|
--
|
745
745
|
|
746
|
-
##### [window_handle](https://github.com/appium/ruby_lib/blob/
|
746
|
+
##### [window_handle](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L682) common
|
747
747
|
|
748
748
|
> def window_handle
|
749
749
|
|
@@ -751,7 +751,7 @@ Get the current window handle
|
|
751
751
|
|
752
752
|
--
|
753
753
|
|
754
|
-
##### [navigate](https://github.com/appium/ruby_lib/blob/
|
754
|
+
##### [navigate](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L686) common
|
755
755
|
|
756
756
|
> def navigate
|
757
757
|
|
@@ -759,7 +759,7 @@ Get the current window handle
|
|
759
759
|
|
760
760
|
--
|
761
761
|
|
762
|
-
##### [manage](https://github.com/appium/ruby_lib/blob/
|
762
|
+
##### [manage](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L690) common
|
763
763
|
|
764
764
|
> def manage
|
765
765
|
|
@@ -767,7 +767,7 @@ Get the current window handle
|
|
767
767
|
|
768
768
|
--
|
769
769
|
|
770
|
-
##### [get](https://github.com/appium/ruby_lib/blob/
|
770
|
+
##### [get](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L694) common
|
771
771
|
|
772
772
|
> def get(url)
|
773
773
|
|
@@ -775,7 +775,7 @@ Get the current window handle
|
|
775
775
|
|
776
776
|
--
|
777
777
|
|
778
|
-
##### [current_url](https://github.com/appium/ruby_lib/blob/
|
778
|
+
##### [current_url](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L698) common
|
779
779
|
|
780
780
|
> def current_url
|
781
781
|
|
@@ -783,7 +783,7 @@ Get the current window handle
|
|
783
783
|
|
784
784
|
--
|
785
785
|
|
786
|
-
##### [title](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [title](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L702) common
|
787
787
|
|
788
788
|
> def title
|
789
789
|
|
@@ -791,7 +791,7 @@ Get the current window handle
|
|
791
791
|
|
792
792
|
--
|
793
793
|
|
794
|
-
##### [switch_to](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [switch_to](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L708) common
|
795
795
|
|
796
796
|
> def switch_to
|
797
797
|
|
@@ -803,7 +803,7 @@ __Returns:__
|
|
803
803
|
|
804
804
|
--
|
805
805
|
|
806
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
806
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L735) common
|
807
807
|
|
808
808
|
> def find_elements(*args)
|
809
809
|
|
@@ -823,7 +823,7 @@ __Returns:__
|
|
823
823
|
|
824
824
|
--
|
825
825
|
|
826
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
826
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L751) common
|
827
827
|
|
828
828
|
> def find_element(*args)
|
829
829
|
|
@@ -841,7 +841,7 @@ __Returns:__
|
|
841
841
|
|
842
842
|
--
|
843
843
|
|
844
|
-
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/
|
844
|
+
##### [find_element_by_image](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L766) common
|
845
845
|
|
846
846
|
> def find_element_by_image(png_img_path)
|
847
847
|
|
@@ -857,7 +857,7 @@ __Returns:__
|
|
857
857
|
|
858
858
|
--
|
859
859
|
|
860
|
-
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/
|
860
|
+
##### [find_elements_by_image](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L781) common
|
861
861
|
|
862
862
|
> def find_elements_by_image(png_img_paths)
|
863
863
|
|
@@ -873,7 +873,7 @@ __Returns:__
|
|
873
873
|
|
874
874
|
--
|
875
875
|
|
876
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
876
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L794) common
|
877
877
|
|
878
878
|
> def set_location(opts = {})
|
879
879
|
|
@@ -889,7 +889,46 @@ __Returns:__
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [
|
892
|
+
##### [log_event](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L818) common
|
893
|
+
|
894
|
+
> def log_event(vendor:, event:)
|
895
|
+
|
896
|
+
Logs a custom event. The event is available via {::Appium::Core::Events#get} or
|
897
|
+
<code>driver.session_capabilities['events']</code> with <code>eventTimings</code> capabilities.
|
898
|
+
|
899
|
+
__Parameters:__
|
900
|
+
|
901
|
+
[String] vendor - The vendor prefix for the event
|
902
|
+
|
903
|
+
[String] event - The name of event
|
904
|
+
|
905
|
+
--
|
906
|
+
|
907
|
+
##### [log_event=](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L822) common
|
908
|
+
|
909
|
+
> def log_event=(log_event)
|
910
|
+
|
911
|
+
|
912
|
+
|
913
|
+
--
|
914
|
+
|
915
|
+
##### [log_events](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L839) common
|
916
|
+
|
917
|
+
> def log_events(type = nil)
|
918
|
+
|
919
|
+
Returns events with filtering with 'type'. Defaults to all available events.
|
920
|
+
|
921
|
+
__Parameters:__
|
922
|
+
|
923
|
+
[String] type - The type of events to get
|
924
|
+
|
925
|
+
__Returns:__
|
926
|
+
|
927
|
+
[Hash]
|
928
|
+
|
929
|
+
--
|
930
|
+
|
931
|
+
##### [x](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/driver.rb#L846) common
|
893
932
|
|
894
933
|
> def x
|
895
934
|
|
@@ -902,7 +941,7 @@ __Returns:__
|
|
902
941
|
|
903
942
|
--
|
904
943
|
|
905
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
944
|
+
##### [username](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/sauce_labs.rb#L18) common
|
906
945
|
|
907
946
|
> def username
|
908
947
|
|
@@ -910,7 +949,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
910
949
|
|
911
950
|
--
|
912
951
|
|
913
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
952
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/sauce_labs.rb#L20) common
|
914
953
|
|
915
954
|
> def access_key
|
916
955
|
|
@@ -918,7 +957,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
918
957
|
|
919
958
|
--
|
920
959
|
|
921
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
960
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/sauce_labs.rb#L22) common
|
922
961
|
|
923
962
|
> def endpoint
|
924
963
|
|
@@ -926,7 +965,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
926
965
|
|
927
966
|
--
|
928
967
|
|
929
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
968
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/sauce_labs.rb#L47) common
|
930
969
|
|
931
970
|
> def initialize(appium_lib_opts)
|
932
971
|
|
@@ -942,7 +981,7 @@ __Returns:__
|
|
942
981
|
|
943
982
|
--
|
944
983
|
|
945
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
984
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/sauce_labs.rb#L67) common
|
946
985
|
|
947
986
|
> def sauce_server_url?
|
948
987
|
|
@@ -954,7 +993,7 @@ __Returns:__
|
|
954
993
|
|
955
994
|
--
|
956
995
|
|
957
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
996
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/sauce_labs.rb#L80) common
|
958
997
|
|
959
998
|
> def server_url
|
960
999
|
|
@@ -966,7 +1005,7 @@ __Returns:__
|
|
966
1005
|
|
967
1006
|
--
|
968
1007
|
|
969
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
1008
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/log.rb#L25) common
|
970
1009
|
|
971
1010
|
> def get_log(type)
|
972
1011
|
|
@@ -982,7 +1021,7 @@ __Returns:__
|
|
982
1021
|
|
983
1022
|
--
|
984
1023
|
|
985
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/log.rb#L37) common
|
986
1025
|
|
987
1026
|
> def get_available_log_types
|
988
1027
|
|
@@ -994,7 +1033,7 @@ __Returns:__
|
|
994
1033
|
|
995
1034
|
--
|
996
1035
|
|
997
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/wait.rb#L44) common
|
998
1037
|
|
999
1038
|
> def wait_true(opts = {})
|
1000
1039
|
|
@@ -1014,7 +1053,7 @@ __Parameters:__
|
|
1014
1053
|
|
1015
1054
|
--
|
1016
1055
|
|
1017
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/wait.rb#L73) common
|
1018
1057
|
|
1019
1058
|
> def wait(opts = {})
|
1020
1059
|
|
@@ -1032,7 +1071,7 @@ __Parameters:__
|
|
1032
1071
|
|
1033
1072
|
--
|
1034
1073
|
|
1035
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
1074
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/device.rb#L26) common
|
1036
1075
|
|
1037
1076
|
> def add_touch_actions
|
1038
1077
|
|
@@ -1040,7 +1079,7 @@ __Parameters:__
|
|
1040
1079
|
|
1041
1080
|
--
|
1042
1081
|
|
1043
|
-
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/
|
1082
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/device.rb#L38) common
|
1044
1083
|
|
1045
1084
|
> def delegate_from_appium_driver(method, delegation_target)
|
1046
1085
|
|
@@ -1048,7 +1087,7 @@ __Parameters:__
|
|
1048
1087
|
|
1049
1088
|
--
|
1050
1089
|
|
1051
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
1090
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L30) common
|
1052
1091
|
|
1053
1092
|
> def ignore
|
1054
1093
|
|
@@ -1056,7 +1095,7 @@ Return yield and ignore any exceptions.
|
|
1056
1095
|
|
1057
1096
|
--
|
1058
1097
|
|
1059
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [back](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L37) common
|
1060
1099
|
|
1061
1100
|
> def back
|
1062
1101
|
|
@@ -1068,7 +1107,7 @@ __Returns:__
|
|
1068
1107
|
|
1069
1108
|
--
|
1070
1109
|
|
1071
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
1110
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L48) common
|
1072
1111
|
|
1073
1112
|
> def session_id
|
1074
1113
|
|
@@ -1080,7 +1119,7 @@ __Returns:__
|
|
1080
1119
|
|
1081
1120
|
--
|
1082
1121
|
|
1083
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
1122
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L56) common
|
1084
1123
|
|
1085
1124
|
> def xpath(xpath_str)
|
1086
1125
|
|
@@ -1096,7 +1135,7 @@ __Returns:__
|
|
1096
1135
|
|
1097
1136
|
--
|
1098
1137
|
|
1099
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
1138
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L64) common
|
1100
1139
|
|
1101
1140
|
> def xpaths(xpath_str)
|
1102
1141
|
|
@@ -1112,7 +1151,7 @@ __Returns:__
|
|
1112
1151
|
|
1113
1152
|
--
|
1114
1153
|
|
1115
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [result](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L74) common
|
1116
1155
|
|
1117
1156
|
> def result
|
1118
1157
|
|
@@ -1120,7 +1159,7 @@ Returns the value of attribute result
|
|
1120
1159
|
|
1121
1160
|
--
|
1122
1161
|
|
1123
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L76) common
|
1124
1163
|
|
1125
1164
|
> def initialize(platform)
|
1126
1165
|
|
@@ -1132,7 +1171,7 @@ __Returns:__
|
|
1132
1171
|
|
1133
1172
|
--
|
1134
1173
|
|
1135
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L81) common
|
1136
1175
|
|
1137
1176
|
> def reset
|
1138
1177
|
|
@@ -1140,7 +1179,7 @@ __Returns:__
|
|
1140
1179
|
|
1141
1180
|
--
|
1142
1181
|
|
1143
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1182
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L86) common
|
1144
1183
|
|
1145
1184
|
> def start_element(name, attrs = [])
|
1146
1185
|
|
@@ -1148,7 +1187,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1148
1187
|
|
1149
1188
|
--
|
1150
1189
|
|
1151
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1190
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L97) common
|
1152
1191
|
|
1153
1192
|
> def formatted_result
|
1154
1193
|
|
@@ -1156,7 +1195,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1156
1195
|
|
1157
1196
|
--
|
1158
1197
|
|
1159
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1198
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L115) common
|
1160
1199
|
|
1161
1200
|
> def get_page_class
|
1162
1201
|
|
@@ -1168,7 +1207,7 @@ __Returns:__
|
|
1168
1207
|
|
1169
1208
|
--
|
1170
1209
|
|
1171
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L140) common
|
1172
1211
|
|
1173
1212
|
> def page_class
|
1174
1213
|
|
@@ -1181,7 +1220,7 @@ __Returns:__
|
|
1181
1220
|
|
1182
1221
|
--
|
1183
1222
|
|
1184
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [source](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L147) common
|
1185
1224
|
|
1186
1225
|
> def source
|
1187
1226
|
|
@@ -1193,7 +1232,7 @@ __Returns:__
|
|
1193
1232
|
|
1194
1233
|
--
|
1195
1234
|
|
1196
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L154) common
|
1197
1236
|
|
1198
1237
|
> def get_source
|
1199
1238
|
|
@@ -1206,7 +1245,7 @@ __Returns:__
|
|
1206
1245
|
|
1207
1246
|
--
|
1208
1247
|
|
1209
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L164) common
|
1210
1249
|
|
1211
1250
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1212
1251
|
|
@@ -1214,7 +1253,7 @@ Converts pixel values to window relative values
|
|
1214
1253
|
|
1215
1254
|
--
|
1216
1255
|
|
1217
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1256
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L183) common
|
1218
1257
|
|
1219
1258
|
> def xml_keys(target)
|
1220
1259
|
|
@@ -1230,7 +1269,7 @@ __Returns:__
|
|
1230
1269
|
|
1231
1270
|
--
|
1232
1271
|
|
1233
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L191) common
|
1234
1273
|
|
1235
1274
|
> def xml_values(target)
|
1236
1275
|
|
@@ -1246,7 +1285,7 @@ __Returns:__
|
|
1246
1285
|
|
1247
1286
|
--
|
1248
1287
|
|
1249
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1288
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L199) common
|
1250
1289
|
|
1251
1290
|
> def resolve_id(id)
|
1252
1291
|
|
@@ -1262,7 +1301,7 @@ __Returns:__
|
|
1262
1301
|
|
1263
1302
|
--
|
1264
1303
|
|
1265
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L206) common
|
1266
1305
|
|
1267
1306
|
> def filter
|
1268
1307
|
|
@@ -1270,7 +1309,7 @@ Returns the value of attribute filter
|
|
1270
1309
|
|
1271
1310
|
--
|
1272
1311
|
|
1273
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1312
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L209) common
|
1274
1313
|
|
1275
1314
|
> def filter=(value)
|
1276
1315
|
|
@@ -1278,7 +1317,7 @@ convert to string to support symbols
|
|
1278
1317
|
|
1279
1318
|
--
|
1280
1319
|
|
1281
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1320
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L216) common
|
1282
1321
|
|
1283
1322
|
> def initialize
|
1284
1323
|
|
@@ -1290,7 +1329,7 @@ __Returns:__
|
|
1290
1329
|
|
1291
1330
|
--
|
1292
1331
|
|
1293
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1332
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L221) common
|
1294
1333
|
|
1295
1334
|
> def reset
|
1296
1335
|
|
@@ -1298,7 +1337,7 @@ __Returns:__
|
|
1298
1337
|
|
1299
1338
|
--
|
1300
1339
|
|
1301
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [result](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L227) common
|
1302
1341
|
|
1303
1342
|
> def result
|
1304
1343
|
|
@@ -1306,7 +1345,7 @@ __Returns:__
|
|
1306
1345
|
|
1307
1346
|
--
|
1308
1347
|
|
1309
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L240) common
|
1310
1349
|
|
1311
1350
|
> def start_element(name, attrs = [])
|
1312
1351
|
|
@@ -1314,7 +1353,7 @@ __Returns:__
|
|
1314
1353
|
|
1315
1354
|
--
|
1316
1355
|
|
1317
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1356
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L250) common
|
1318
1357
|
|
1319
1358
|
> def end_element(name)
|
1320
1359
|
|
@@ -1322,7 +1361,7 @@ __Returns:__
|
|
1322
1361
|
|
1323
1362
|
--
|
1324
1363
|
|
1325
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/helper.rb#L257) common
|
1326
1365
|
|
1327
1366
|
> def characters(chars)
|
1328
1367
|
|
@@ -1330,7 +1369,7 @@ __Returns:__
|
|
1330
1369
|
|
1331
1370
|
--
|
1332
1371
|
|
1333
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/http_client.rb#L22) common
|
1334
1373
|
|
1335
1374
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1336
1375
|
|
@@ -1338,7 +1377,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1338
1377
|
|
1339
1378
|
--
|
1340
1379
|
|
1341
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1380
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/multi_touch.rb#L65) common
|
1342
1381
|
|
1343
1382
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1344
1383
|
|
@@ -1358,7 +1397,7 @@ __Parameters:__
|
|
1358
1397
|
|
1359
1398
|
--
|
1360
1399
|
|
1361
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/multi_touch.rb#L108) common
|
1362
1401
|
|
1363
1402
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1364
1403
|
|
@@ -1378,7 +1417,7 @@ __Parameters:__
|
|
1378
1417
|
|
1379
1418
|
--
|
1380
1419
|
|
1381
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/multi_touch.rb#L194) common
|
1382
1421
|
|
1383
1422
|
> def initialize(driver = $driver)
|
1384
1423
|
|
@@ -1390,7 +1429,7 @@ __Returns:__
|
|
1390
1429
|
|
1391
1430
|
--
|
1392
1431
|
|
1393
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1432
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/touch_actions.rb#L47) common
|
1394
1433
|
|
1395
1434
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1396
1435
|
|
@@ -1398,7 +1437,7 @@ __Returns:__
|
|
1398
1437
|
|
1399
1438
|
--
|
1400
1439
|
|
1401
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1440
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/touch_actions.rb#L62) common
|
1402
1441
|
|
1403
1442
|
> def initialize(driver = $driver)
|
1404
1443
|
|
@@ -1410,7 +1449,7 @@ __Returns:__
|
|
1410
1449
|
|
1411
1450
|
--
|
1412
1451
|
|
1413
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1452
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/touch_actions.rb#L66) common
|
1414
1453
|
|
1415
1454
|
> def swipe(opts)
|
1416
1455
|
|
@@ -1418,7 +1457,7 @@ __Returns:__
|
|
1418
1457
|
|
1419
1458
|
--
|
1420
1459
|
|
1421
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/command/ws_logcat.rb#L19) common
|
1422
1461
|
|
1423
1462
|
> def initialize(url:, output_file: 'logcat.log')
|
1424
1463
|
|
@@ -1430,7 +1469,7 @@ __Returns:__
|
|
1430
1469
|
|
1431
1470
|
--
|
1432
1471
|
|
1433
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/common/command/ws_logcat.rb#L24) common
|
1434
1473
|
|
1435
1474
|
> def handle_message_data(data)
|
1436
1475
|
|
@@ -1438,7 +1477,7 @@ __Returns:__
|
|
1438
1477
|
|
1439
1478
|
--
|
1440
1479
|
|
1441
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1480
|
+
##### [for](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/android.rb#L33) android
|
1442
1481
|
|
1443
1482
|
> def self.for(target)
|
1444
1483
|
|
@@ -1446,7 +1485,7 @@ __Returns:__
|
|
1446
1485
|
|
1447
1486
|
--
|
1448
1487
|
|
1449
|
-
##### [TEXT_VIEW](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [TEXT_VIEW](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L18) android
|
1450
1489
|
|
1451
1490
|
> TEXT_VIEW = 'android.widget.TextView'
|
1452
1491
|
|
@@ -1454,7 +1493,7 @@ __Returns:__
|
|
1454
1493
|
|
1455
1494
|
--
|
1456
1495
|
|
1457
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L19) android
|
1458
1497
|
|
1459
1498
|
> TextView = TEXT_VIEW
|
1460
1499
|
|
@@ -1462,7 +1501,7 @@ __Returns:__
|
|
1462
1501
|
|
1463
1502
|
--
|
1464
1503
|
|
1465
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1504
|
+
##### [text](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L25) android
|
1466
1505
|
|
1467
1506
|
> def text(value)
|
1468
1507
|
|
@@ -1479,7 +1518,7 @@ __Returns:__
|
|
1479
1518
|
|
1480
1519
|
--
|
1481
1520
|
|
1482
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1521
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L35) android
|
1483
1522
|
|
1484
1523
|
> def texts(value = false)
|
1485
1524
|
|
@@ -1496,7 +1535,7 @@ __Returns:__
|
|
1496
1535
|
|
1497
1536
|
--
|
1498
1537
|
|
1499
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1538
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L43) android
|
1500
1539
|
|
1501
1540
|
> def first_text
|
1502
1541
|
|
@@ -1508,7 +1547,7 @@ __Returns:__
|
|
1508
1547
|
|
1509
1548
|
--
|
1510
1549
|
|
1511
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1550
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L49) android
|
1512
1551
|
|
1513
1552
|
> def last_text
|
1514
1553
|
|
@@ -1520,7 +1559,7 @@ __Returns:__
|
|
1520
1559
|
|
1521
1560
|
--
|
1522
1561
|
|
1523
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1562
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L56) android
|
1524
1563
|
|
1525
1564
|
> def text_exact(value)
|
1526
1565
|
|
@@ -1536,7 +1575,7 @@ __Returns:__
|
|
1536
1575
|
|
1537
1576
|
--
|
1538
1577
|
|
1539
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1578
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/text.rb#L63) android
|
1540
1579
|
|
1541
1580
|
> def texts_exact(value)
|
1542
1581
|
|
@@ -1552,7 +1591,7 @@ __Returns:__
|
|
1552
1591
|
|
1553
1592
|
--
|
1554
1593
|
|
1555
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1594
|
+
##### [result](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L20) android
|
1556
1595
|
|
1557
1596
|
> def result
|
1558
1597
|
|
@@ -1560,7 +1599,7 @@ Returns the value of attribute result
|
|
1560
1599
|
|
1561
1600
|
--
|
1562
1601
|
|
1563
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1602
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L20) android
|
1564
1603
|
|
1565
1604
|
> def keys
|
1566
1605
|
|
@@ -1568,7 +1607,7 @@ Returns the value of attribute keys
|
|
1568
1607
|
|
1569
1608
|
--
|
1570
1609
|
|
1571
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L20) android
|
1572
1611
|
|
1573
1612
|
> def filter
|
1574
1613
|
|
@@ -1576,7 +1615,7 @@ Returns the value of attribute filter
|
|
1576
1615
|
|
1577
1616
|
--
|
1578
1617
|
|
1579
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1618
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L23) android
|
1580
1619
|
|
1581
1620
|
> def filter=(value)
|
1582
1621
|
|
@@ -1584,7 +1623,7 @@ convert to string to support symbols
|
|
1584
1623
|
|
1585
1624
|
--
|
1586
1625
|
|
1587
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1626
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L30) android
|
1588
1627
|
|
1589
1628
|
> def initialize
|
1590
1629
|
|
@@ -1596,7 +1635,7 @@ __Returns:__
|
|
1596
1635
|
|
1597
1636
|
--
|
1598
1637
|
|
1599
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1638
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L35) android
|
1600
1639
|
|
1601
1640
|
> def reset
|
1602
1641
|
|
@@ -1604,7 +1643,7 @@ __Returns:__
|
|
1604
1643
|
|
1605
1644
|
--
|
1606
1645
|
|
1607
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1646
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L41) android
|
1608
1647
|
|
1609
1648
|
> def start_element(name, attrs = [], driver = $driver)
|
1610
1649
|
|
@@ -1612,7 +1651,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1612
1651
|
|
1613
1652
|
--
|
1614
1653
|
|
1615
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1654
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L95) android
|
1616
1655
|
|
1617
1656
|
> def get_android_inspect(class_name = false)
|
1618
1657
|
|
@@ -1631,7 +1670,7 @@ __Returns:__
|
|
1631
1670
|
|
1632
1671
|
--
|
1633
1672
|
|
1634
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [page](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L121) android
|
1635
1674
|
|
1636
1675
|
> def page(opts = {})
|
1637
1676
|
|
@@ -1650,7 +1689,7 @@ __Returns:__
|
|
1650
1689
|
|
1651
1690
|
--
|
1652
1691
|
|
1653
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1692
|
+
##### [id](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L130) android
|
1654
1693
|
|
1655
1694
|
> def id(id)
|
1656
1695
|
|
@@ -1666,7 +1705,7 @@ __Returns:__
|
|
1666
1705
|
|
1667
1706
|
--
|
1668
1707
|
|
1669
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1708
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L138) android
|
1670
1709
|
|
1671
1710
|
> def ids(id)
|
1672
1711
|
|
@@ -1682,7 +1721,7 @@ __Returns:__
|
|
1682
1721
|
|
1683
1722
|
--
|
1684
1723
|
|
1685
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1724
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L147) android
|
1686
1725
|
|
1687
1726
|
> def ele_index(class_name, index)
|
1688
1727
|
|
@@ -1700,7 +1739,7 @@ __Returns:__
|
|
1700
1739
|
|
1701
1740
|
--
|
1702
1741
|
|
1703
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1742
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L166) android
|
1704
1743
|
|
1705
1744
|
> def first_ele(class_name)
|
1706
1745
|
|
@@ -1716,7 +1755,7 @@ __Returns:__
|
|
1716
1755
|
|
1717
1756
|
--
|
1718
1757
|
|
1719
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1758
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L173) android
|
1720
1759
|
|
1721
1760
|
> def last_ele(class_name)
|
1722
1761
|
|
@@ -1732,7 +1771,7 @@ __Returns:__
|
|
1732
1771
|
|
1733
1772
|
--
|
1734
1773
|
|
1735
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1774
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L181) android
|
1736
1775
|
|
1737
1776
|
> def tag(class_name)
|
1738
1777
|
|
@@ -1748,7 +1787,7 @@ __Returns:__
|
|
1748
1787
|
|
1749
1788
|
--
|
1750
1789
|
|
1751
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1790
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L189) android
|
1752
1791
|
|
1753
1792
|
> def tags(class_name)
|
1754
1793
|
|
@@ -1764,7 +1803,7 @@ __Returns:__
|
|
1764
1803
|
|
1765
1804
|
--
|
1766
1805
|
|
1767
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1806
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L232) android
|
1768
1807
|
|
1769
1808
|
> def string_visible_contains_xpath(class_name, value)
|
1770
1809
|
|
@@ -1785,7 +1824,7 @@ __Returns:__
|
|
1785
1824
|
|
1786
1825
|
--
|
1787
1826
|
|
1788
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1827
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L252) android
|
1789
1828
|
|
1790
1829
|
> def string_visible_contains(class_name, value)
|
1791
1830
|
|
@@ -1806,7 +1845,7 @@ __Returns:__
|
|
1806
1845
|
|
1807
1846
|
--
|
1808
1847
|
|
1809
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1848
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L270) android
|
1810
1849
|
|
1811
1850
|
> def complex_find_contains(class_name, value)
|
1812
1851
|
|
@@ -1824,7 +1863,7 @@ __Returns:__
|
|
1824
1863
|
|
1825
1864
|
--
|
1826
1865
|
|
1827
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1866
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L278) android
|
1828
1867
|
|
1829
1868
|
> def complex_finds_contains(class_name, value)
|
1830
1869
|
|
@@ -1842,7 +1881,7 @@ __Returns:__
|
|
1842
1881
|
|
1843
1882
|
--
|
1844
1883
|
|
1845
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1884
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L320) android
|
1846
1885
|
|
1847
1886
|
> def complex_find_exact(class_name, value)
|
1848
1887
|
|
@@ -1860,7 +1899,7 @@ __Returns:__
|
|
1860
1899
|
|
1861
1900
|
--
|
1862
1901
|
|
1863
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1902
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/helper.rb#L328) android
|
1864
1903
|
|
1865
1904
|
> def complex_finds_exact(class_name, value)
|
1866
1905
|
|
@@ -1878,7 +1917,7 @@ __Returns:__
|
|
1878
1917
|
|
1879
1918
|
--
|
1880
1919
|
|
1881
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1920
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/alert.rb#L20) android
|
1882
1921
|
|
1883
1922
|
> def alert_click(value)
|
1884
1923
|
|
@@ -1894,7 +1933,7 @@ __Returns:__
|
|
1894
1933
|
|
1895
1934
|
--
|
1896
1935
|
|
1897
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1936
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/alert.rb#L27) android
|
1898
1937
|
|
1899
1938
|
> def alert_accept
|
1900
1939
|
|
@@ -1907,7 +1946,7 @@ __Returns:__
|
|
1907
1946
|
|
1908
1947
|
--
|
1909
1948
|
|
1910
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1949
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/alert.rb#L34) android
|
1911
1950
|
|
1912
1951
|
> def alert_accept_text
|
1913
1952
|
|
@@ -1920,7 +1959,7 @@ __Returns:__
|
|
1920
1959
|
|
1921
1960
|
--
|
1922
1961
|
|
1923
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1962
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/alert.rb#L41) android
|
1924
1963
|
|
1925
1964
|
> def alert_dismiss
|
1926
1965
|
|
@@ -1933,7 +1972,7 @@ __Returns:__
|
|
1933
1972
|
|
1934
1973
|
--
|
1935
1974
|
|
1936
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1975
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/alert.rb#L48) android
|
1937
1976
|
|
1938
1977
|
> def alert_dismiss_text
|
1939
1978
|
|
@@ -1946,7 +1985,7 @@ __Returns:__
|
|
1946
1985
|
|
1947
1986
|
--
|
1948
1987
|
|
1949
|
-
##### [BUTTON](https://github.com/appium/ruby_lib/blob/
|
1988
|
+
##### [BUTTON](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L17) android
|
1950
1989
|
|
1951
1990
|
> BUTTON = 'android.widget.Button'
|
1952
1991
|
|
@@ -1954,7 +1993,7 @@ __Returns:__
|
|
1954
1993
|
|
1955
1994
|
--
|
1956
1995
|
|
1957
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1996
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L18) android
|
1958
1997
|
|
1959
1998
|
> Button = BUTTON # backward compatibility
|
1960
1999
|
|
@@ -1962,7 +2001,7 @@ backward compatibility
|
|
1962
2001
|
|
1963
2002
|
--
|
1964
2003
|
|
1965
|
-
##### [IMAGE_BUTTON](https://github.com/appium/ruby_lib/blob/
|
2004
|
+
##### [IMAGE_BUTTON](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L20) android
|
1966
2005
|
|
1967
2006
|
> IMAGE_BUTTON = 'android.widget.ImageButton'
|
1968
2007
|
|
@@ -1970,7 +2009,7 @@ backward compatibility
|
|
1970
2009
|
|
1971
2010
|
--
|
1972
2011
|
|
1973
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
2012
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L21) android
|
1974
2013
|
|
1975
2014
|
> ImageButton = IMAGE_BUTTON # backward compatibility
|
1976
2015
|
|
@@ -1978,7 +2017,7 @@ backward compatibility
|
|
1978
2017
|
|
1979
2018
|
--
|
1980
2019
|
|
1981
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2020
|
+
##### [button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L27) android
|
1982
2021
|
|
1983
2022
|
> def button(value)
|
1984
2023
|
|
@@ -1995,7 +2034,7 @@ __Returns:__
|
|
1995
2034
|
|
1996
2035
|
--
|
1997
2036
|
|
1998
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2037
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L45) android
|
1999
2038
|
|
2000
2039
|
> def buttons(value = false)
|
2001
2040
|
|
@@ -2012,7 +2051,7 @@ __Returns:__
|
|
2012
2051
|
|
2013
2052
|
--
|
2014
2053
|
|
2015
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2054
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L53) android
|
2016
2055
|
|
2017
2056
|
> def first_button
|
2018
2057
|
|
@@ -2024,7 +2063,7 @@ __Returns:__
|
|
2024
2063
|
|
2025
2064
|
--
|
2026
2065
|
|
2027
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2066
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L59) android
|
2028
2067
|
|
2029
2068
|
> def last_button
|
2030
2069
|
|
@@ -2036,7 +2075,7 @@ __Returns:__
|
|
2036
2075
|
|
2037
2076
|
--
|
2038
2077
|
|
2039
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2078
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L75) android
|
2040
2079
|
|
2041
2080
|
> def button_exact(value)
|
2042
2081
|
|
@@ -2052,7 +2091,7 @@ __Returns:__
|
|
2052
2091
|
|
2053
2092
|
--
|
2054
2093
|
|
2055
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2094
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L82) android
|
2056
2095
|
|
2057
2096
|
> def buttons_exact(value)
|
2058
2097
|
|
@@ -2068,7 +2107,7 @@ __Returns:__
|
|
2068
2107
|
|
2069
2108
|
--
|
2070
2109
|
|
2071
|
-
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/
|
2110
|
+
##### [_button_visible_selectors](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L95) android
|
2072
2111
|
|
2073
2112
|
> def _button_visible_selectors(opts = {})
|
2074
2113
|
|
@@ -2076,7 +2115,7 @@ __Returns:__
|
|
2076
2115
|
|
2077
2116
|
--
|
2078
2117
|
|
2079
|
-
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/
|
2118
|
+
##### [_button_exact_string](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L108) android
|
2080
2119
|
|
2081
2120
|
> def _button_exact_string(value)
|
2082
2121
|
|
@@ -2084,7 +2123,7 @@ __Returns:__
|
|
2084
2123
|
|
2085
2124
|
--
|
2086
2125
|
|
2087
|
-
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/
|
2126
|
+
##### [_button_contains_string](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/button.rb#L114) android
|
2088
2127
|
|
2089
2128
|
> def _button_contains_string(value)
|
2090
2129
|
|
@@ -2092,7 +2131,7 @@ __Returns:__
|
|
2092
2131
|
|
2093
2132
|
--
|
2094
2133
|
|
2095
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
2134
|
+
##### [find](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/generic.rb#L20) android
|
2096
2135
|
|
2097
2136
|
> def find(value)
|
2098
2137
|
|
@@ -2108,7 +2147,7 @@ __Returns:__
|
|
2108
2147
|
|
2109
2148
|
--
|
2110
2149
|
|
2111
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
2150
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/generic.rb#L27) android
|
2112
2151
|
|
2113
2152
|
> def finds(value)
|
2114
2153
|
|
@@ -2124,7 +2163,7 @@ __Returns:__
|
|
2124
2163
|
|
2125
2164
|
--
|
2126
2165
|
|
2127
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
2166
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/generic.rb#L34) android
|
2128
2167
|
|
2129
2168
|
> def find_exact(value)
|
2130
2169
|
|
@@ -2140,7 +2179,7 @@ __Returns:__
|
|
2140
2179
|
|
2141
2180
|
--
|
2142
2181
|
|
2143
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
2182
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/generic.rb#L41) android
|
2144
2183
|
|
2145
2184
|
> def finds_exact(value)
|
2146
2185
|
|
@@ -2156,7 +2195,7 @@ __Returns:__
|
|
2156
2195
|
|
2157
2196
|
--
|
2158
2197
|
|
2159
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2198
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/generic.rb#L54) android
|
2160
2199
|
|
2161
2200
|
> def scroll_to(text, scrollable_index = 0)
|
2162
2201
|
|
@@ -2174,7 +2213,7 @@ __Returns:__
|
|
2174
2213
|
|
2175
2214
|
--
|
2176
2215
|
|
2177
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2216
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/generic.rb#L72) android
|
2178
2217
|
|
2179
2218
|
> def scroll_to_exact(text, scrollable_index = 0)
|
2180
2219
|
|
@@ -2192,7 +2231,7 @@ __Returns:__
|
|
2192
2231
|
|
2193
2232
|
--
|
2194
2233
|
|
2195
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2234
|
+
##### [for](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/bridge.rb#L21) android
|
2196
2235
|
|
2197
2236
|
> def self.for(target)
|
2198
2237
|
|
@@ -2200,7 +2239,7 @@ __Returns:__
|
|
2200
2239
|
|
2201
2240
|
--
|
2202
2241
|
|
2203
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2242
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/helper.rb#L23) android
|
2204
2243
|
|
2205
2244
|
> def complex_find_contains(class_name, value)
|
2206
2245
|
|
@@ -2218,7 +2257,7 @@ __Returns:__
|
|
2218
2257
|
|
2219
2258
|
--
|
2220
2259
|
|
2221
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2260
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/helper.rb#L31) android
|
2222
2261
|
|
2223
2262
|
> def complex_finds_contains(class_name, value)
|
2224
2263
|
|
@@ -2236,7 +2275,7 @@ __Returns:__
|
|
2236
2275
|
|
2237
2276
|
--
|
2238
2277
|
|
2239
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2278
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/helper.rb#L39) android
|
2240
2279
|
|
2241
2280
|
> def complex_find_exact(class_name, value)
|
2242
2281
|
|
@@ -2254,7 +2293,7 @@ __Returns:__
|
|
2254
2293
|
|
2255
2294
|
--
|
2256
2295
|
|
2257
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2296
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/helper.rb#L47) android
|
2258
2297
|
|
2259
2298
|
> def complex_finds_exact(class_name, value)
|
2260
2299
|
|
@@ -2272,7 +2311,7 @@ __Returns:__
|
|
2272
2311
|
|
2273
2312
|
--
|
2274
2313
|
|
2275
|
-
##### [EDIT_TEXT](https://github.com/appium/ruby_lib/blob/
|
2314
|
+
##### [EDIT_TEXT](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L17) android
|
2276
2315
|
|
2277
2316
|
> EDIT_TEXT = 'android.widget.EditText'
|
2278
2317
|
|
@@ -2280,7 +2319,7 @@ __Returns:__
|
|
2280
2319
|
|
2281
2320
|
--
|
2282
2321
|
|
2283
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
2322
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L18) android
|
2284
2323
|
|
2285
2324
|
> EditText = EDIT_TEXT
|
2286
2325
|
|
@@ -2288,7 +2327,7 @@ __Returns:__
|
|
2288
2327
|
|
2289
2328
|
--
|
2290
2329
|
|
2291
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
2330
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L24) android
|
2292
2331
|
|
2293
2332
|
> def textfield(value)
|
2294
2333
|
|
@@ -2305,7 +2344,7 @@ __Returns:__
|
|
2305
2344
|
|
2306
2345
|
--
|
2307
2346
|
|
2308
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2347
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L34) android
|
2309
2348
|
|
2310
2349
|
> def textfields(value = false)
|
2311
2350
|
|
@@ -2322,7 +2361,7 @@ __Returns:__
|
|
2322
2361
|
|
2323
2362
|
--
|
2324
2363
|
|
2325
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2364
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L42) android
|
2326
2365
|
|
2327
2366
|
> def first_textfield
|
2328
2367
|
|
@@ -2334,7 +2373,7 @@ __Returns:__
|
|
2334
2373
|
|
2335
2374
|
--
|
2336
2375
|
|
2337
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2376
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L48) android
|
2338
2377
|
|
2339
2378
|
> def last_textfield
|
2340
2379
|
|
@@ -2346,7 +2385,7 @@ __Returns:__
|
|
2346
2385
|
|
2347
2386
|
--
|
2348
2387
|
|
2349
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2388
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L55) android
|
2350
2389
|
|
2351
2390
|
> def textfield_exact(value)
|
2352
2391
|
|
@@ -2362,7 +2401,7 @@ __Returns:__
|
|
2362
2401
|
|
2363
2402
|
--
|
2364
2403
|
|
2365
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2404
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/element/textfield.rb#L62) android
|
2366
2405
|
|
2367
2406
|
> def textfields_exact(value)
|
2368
2407
|
|
@@ -2378,7 +2417,7 @@ __Returns:__
|
|
2378
2417
|
|
2379
2418
|
--
|
2380
2419
|
|
2381
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2420
|
+
##### [for](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/bridge.rb#L21) android
|
2382
2421
|
|
2383
2422
|
> def self.for(target)
|
2384
2423
|
|
@@ -2386,7 +2425,7 @@ __Returns:__
|
|
2386
2425
|
|
2387
2426
|
--
|
2388
2427
|
|
2389
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2428
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/helper.rb#L27) android
|
2390
2429
|
|
2391
2430
|
> def string_visible_contains(class_name, value)
|
2392
2431
|
|
@@ -2407,7 +2446,7 @@ __Returns:__
|
|
2407
2446
|
|
2408
2447
|
--
|
2409
2448
|
|
2410
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2449
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/helper.rb#L45) android
|
2411
2450
|
|
2412
2451
|
> def complex_find_contains(class_name, value)
|
2413
2452
|
|
@@ -2425,7 +2464,7 @@ __Returns:__
|
|
2425
2464
|
|
2426
2465
|
--
|
2427
2466
|
|
2428
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2467
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/helper.rb#L56) android
|
2429
2468
|
|
2430
2469
|
> def complex_finds_contains(class_name, value)
|
2431
2470
|
|
@@ -2443,7 +2482,7 @@ __Returns:__
|
|
2443
2482
|
|
2444
2483
|
--
|
2445
2484
|
|
2446
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2485
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/helper.rb#L84) android
|
2447
2486
|
|
2448
2487
|
> def complex_find_exact(class_name, value)
|
2449
2488
|
|
@@ -2461,7 +2500,7 @@ __Returns:__
|
|
2461
2500
|
|
2462
2501
|
--
|
2463
2502
|
|
2464
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2503
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/helper.rb#L95) android
|
2465
2504
|
|
2466
2505
|
> def complex_finds_exact(class_name, value)
|
2467
2506
|
|
@@ -2479,7 +2518,7 @@ __Returns:__
|
|
2479
2518
|
|
2480
2519
|
--
|
2481
2520
|
|
2482
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2521
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/command/command.rb#L28) android
|
2483
2522
|
|
2484
2523
|
> def shell(command, arguments)
|
2485
2524
|
|
@@ -2494,7 +2533,7 @@ __Parameters:__
|
|
2494
2533
|
|
2495
2534
|
--
|
2496
2535
|
|
2497
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2536
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/command/command.rb#L42) android
|
2498
2537
|
|
2499
2538
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2500
2539
|
|
@@ -2506,7 +2545,7 @@ __Parameters:__
|
|
2506
2545
|
|
2507
2546
|
--
|
2508
2547
|
|
2509
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2548
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/common/command/command.rb#L55) android
|
2510
2549
|
|
2511
2550
|
> def stop_logs_broadcast
|
2512
2551
|
|
@@ -2514,7 +2553,7 @@ Stop Android logcat broadcast websocket
|
|
2514
2553
|
|
2515
2554
|
--
|
2516
2555
|
|
2517
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2556
|
+
##### [button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L23) android
|
2518
2557
|
|
2519
2558
|
> def button(value)
|
2520
2559
|
|
@@ -2531,7 +2570,7 @@ __Returns:__
|
|
2531
2570
|
|
2532
2571
|
--
|
2533
2572
|
|
2534
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2573
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L46) android
|
2535
2574
|
|
2536
2575
|
> def buttons(value = false)
|
2537
2576
|
|
@@ -2548,7 +2587,7 @@ __Returns:__
|
|
2548
2587
|
|
2549
2588
|
--
|
2550
2589
|
|
2551
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2590
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L56) android
|
2552
2591
|
|
2553
2592
|
> def first_button
|
2554
2593
|
|
@@ -2560,7 +2599,7 @@ __Returns:__
|
|
2560
2599
|
|
2561
2600
|
--
|
2562
2601
|
|
2563
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2602
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L62) android
|
2564
2603
|
|
2565
2604
|
> def last_button
|
2566
2605
|
|
@@ -2572,7 +2611,7 @@ __Returns:__
|
|
2572
2611
|
|
2573
2612
|
--
|
2574
2613
|
|
2575
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2614
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L77) android
|
2576
2615
|
|
2577
2616
|
> def button_exact(value)
|
2578
2617
|
|
@@ -2588,7 +2627,7 @@ __Returns:__
|
|
2588
2627
|
|
2589
2628
|
--
|
2590
2629
|
|
2591
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2630
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L89) android
|
2592
2631
|
|
2593
2632
|
> def buttons_exact(value)
|
2594
2633
|
|
@@ -2604,7 +2643,7 @@ __Returns:__
|
|
2604
2643
|
|
2605
2644
|
--
|
2606
2645
|
|
2607
|
-
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/
|
2646
|
+
##### [_button_visible_selectors_xpath](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L104) android
|
2608
2647
|
|
2609
2648
|
> def _button_visible_selectors_xpath(opts = {})
|
2610
2649
|
|
@@ -2612,7 +2651,7 @@ __Returns:__
|
|
2612
2651
|
|
2613
2652
|
--
|
2614
2653
|
|
2615
|
-
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2654
|
+
##### [_button_exact_string_xpath](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L125) android
|
2616
2655
|
|
2617
2656
|
> def _button_exact_string_xpath(class_name, value)
|
2618
2657
|
|
@@ -2620,7 +2659,7 @@ __Returns:__
|
|
2620
2659
|
|
2621
2660
|
--
|
2622
2661
|
|
2623
|
-
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/
|
2662
|
+
##### [_button_contains_string_xpath](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/button.rb#L130) android
|
2624
2663
|
|
2625
2664
|
> def _button_contains_string_xpath(class_name, value)
|
2626
2665
|
|
@@ -2628,7 +2667,7 @@ __Returns:__
|
|
2628
2667
|
|
2629
2668
|
--
|
2630
2669
|
|
2631
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
2670
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/generic.rb#L23) android
|
2632
2671
|
|
2633
2672
|
> def scroll_to(text)
|
2634
2673
|
|
@@ -2645,7 +2684,7 @@ __Returns:__
|
|
2645
2684
|
|
2646
2685
|
--
|
2647
2686
|
|
2648
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
2687
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/espresso/element/generic.rb#L50) android
|
2649
2688
|
|
2650
2689
|
> def scroll_to_exact(text)
|
2651
2690
|
|
@@ -2662,7 +2701,7 @@ __Returns:__
|
|
2662
2701
|
|
2663
2702
|
--
|
2664
2703
|
|
2665
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2704
|
+
##### [button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/element/button.rb#L23) android
|
2666
2705
|
|
2667
2706
|
> def button(value)
|
2668
2707
|
|
@@ -2679,7 +2718,7 @@ __Returns:__
|
|
2679
2718
|
|
2680
2719
|
--
|
2681
2720
|
|
2682
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2721
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/element/button.rb#L44) android
|
2683
2722
|
|
2684
2723
|
> def buttons(value = false)
|
2685
2724
|
|
@@ -2696,7 +2735,7 @@ __Returns:__
|
|
2696
2735
|
|
2697
2736
|
--
|
2698
2737
|
|
2699
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2738
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/element/button.rb#L52) android
|
2700
2739
|
|
2701
2740
|
> def first_button
|
2702
2741
|
|
@@ -2708,7 +2747,7 @@ __Returns:__
|
|
2708
2747
|
|
2709
2748
|
--
|
2710
2749
|
|
2711
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2750
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/element/button.rb#L59) android
|
2712
2751
|
|
2713
2752
|
> def last_button
|
2714
2753
|
|
@@ -2720,7 +2759,7 @@ __Returns:__
|
|
2720
2759
|
|
2721
2760
|
--
|
2722
2761
|
|
2723
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2762
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/element/button.rb#L76) android
|
2724
2763
|
|
2725
2764
|
> def button_exact(value)
|
2726
2765
|
|
@@ -2736,7 +2775,7 @@ __Returns:__
|
|
2736
2775
|
|
2737
2776
|
--
|
2738
2777
|
|
2739
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2778
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/722c3a9aa387d3537b648a50dc24070e62fcc57a/lib/appium_lib/android/uiautomator2/element/button.rb#L84) android
|
2740
2779
|
|
2741
2780
|
> def buttons_exact(value)
|
2742
2781
|
|