appium_lib 9.11.0 → 9.11.1
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/.rubocop.yml +2 -1
- data/CHANGELOG.md +11 -0
- data/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +185 -189
- data/docs/ios_docs.md +239 -243
- data/lib/appium_lib/common/device.rb +7 -3
- data/lib/appium_lib/common/wait.rb +12 -6
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +9 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74c70ff386851b147f1ddf0adcaa9594155d7c22
|
4
|
+
data.tar.gz: 70ec4dfa81e28faedf02ccdf13425b59df680cc7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b88e7951e1004ca13a42cf9db7c7a369ef58bf996a65b1a7f0479ac7fe67d050ab52255e6fee66d03f4063d4ccb27172b627a459b9b0cc72d50e2634272fb579
|
7
|
+
data.tar.gz: '067842dcb4558b692d0707ffd5462c8a0ba68fa90f21858d225a776447c01c90d2b51623766d9339e18126936e2fd85345fddb30804fa2686f4eb22aa07f6713'
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -10,6 +10,17 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
10
10
|
|
11
11
|
### 3. Deprecations
|
12
12
|
|
13
|
+
## v9.11.1
|
14
|
+
### 1. Enhancements
|
15
|
+
- Apply `ruby_lib_core ~> 1.4.2`
|
16
|
+
- Support image comparison features
|
17
|
+
- http://www.rubydoc.info/gems/appium_lib_core/Appium/Core/Device/ImageComparison
|
18
|
+
|
19
|
+
### 2. Bug fixes
|
20
|
+
- Fix `wait` compatibility for `ruby_lib_core ~> 1.4.1`
|
21
|
+
|
22
|
+
### 3. Deprecations
|
23
|
+
|
13
24
|
## v9.11.0
|
14
25
|
### 1. Enhancements
|
15
26
|
- Add `start_logs_broadcast` and `stop_logs_broadcast` which use WebSocket to get logcat.
|
data/appium_lib.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
14
14
|
s.require_paths = ['lib']
|
15
15
|
|
16
|
-
s.add_runtime_dependency 'appium_lib_core', '~> 1.4.
|
16
|
+
s.add_runtime_dependency 'appium_lib_core', '~> 1.4.2'
|
17
17
|
s.add_runtime_dependency 'tomlrb', '~> 1.1'
|
18
18
|
s.add_runtime_dependency 'nokogiri', '~> 1.8', '>= 1.8.1'
|
19
19
|
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/appium.rb#L45)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/appium.rb#L79)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/appium.rb#L84)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/appium.rb#L126)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/appium.rb#L181)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L36)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L36)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L39)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L42)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L45)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L48)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L52)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L53)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L54)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L55)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L56)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L57)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L58)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L59)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L60)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L61)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L62)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L63)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L66)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L68)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L71)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L73)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L141)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L251)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L271)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L275)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L279)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L285)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L291)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L297)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L317)
|
403
403
|
|
404
404
|
> def dialect
|
405
405
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L324)
|
425
425
|
|
426
426
|
> def check_server_version_xcuitest
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L345)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L352)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L356)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L369)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L381)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L414)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L422)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L435)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L449)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L456)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L459)
|
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/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L470)
|
585
585
|
|
586
586
|
> def window_size
|
587
587
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L503)
|
597
597
|
|
598
598
|
> def start_driver(http_client_ops =
|
599
599
|
|
@@ -613,7 +613,7 @@ __Returns:__
|
|
613
613
|
|
614
614
|
--
|
615
615
|
|
616
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L525)
|
617
617
|
|
618
618
|
> def set_implicit_wait(wait)
|
619
619
|
|
@@ -621,7 +621,7 @@ To ignore error for Espresso Driver
|
|
621
621
|
|
622
622
|
--
|
623
623
|
|
624
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
624
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L535)
|
625
625
|
|
626
626
|
> def no_wait
|
627
627
|
|
@@ -629,7 +629,7 @@ Set implicit wait to zero.
|
|
629
629
|
|
630
630
|
--
|
631
631
|
|
632
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L549)
|
633
633
|
|
634
634
|
> def set_wait(timeout = nil)
|
635
635
|
|
@@ -645,7 +645,7 @@ __Returns:__
|
|
645
645
|
|
646
646
|
--
|
647
647
|
|
648
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
648
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L566)
|
649
649
|
|
650
650
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
651
651
|
|
@@ -669,7 +669,7 @@ __Returns:__
|
|
669
669
|
|
670
670
|
--
|
671
671
|
|
672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L590)
|
673
673
|
|
674
674
|
> def execute_script(script, *args)
|
675
675
|
|
@@ -687,7 +687,7 @@ __Returns:__
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L614)
|
691
691
|
|
692
692
|
> def find_elements(*args)
|
693
693
|
|
@@ -707,7 +707,7 @@ __Returns:__
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L630)
|
711
711
|
|
712
712
|
> def find_element(*args)
|
713
713
|
|
@@ -725,7 +725,7 @@ __Returns:__
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L643)
|
729
729
|
|
730
730
|
> def set_location(opts = {})
|
731
731
|
|
@@ -741,7 +741,7 @@ __Returns:__
|
|
741
741
|
|
742
742
|
--
|
743
743
|
|
744
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [x](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/driver.rb#L653)
|
745
745
|
|
746
746
|
> def x
|
747
747
|
|
@@ -754,7 +754,7 @@ __Returns:__
|
|
754
754
|
|
755
755
|
--
|
756
756
|
|
757
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [username](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/sauce_labs.rb#L4)
|
758
758
|
|
759
759
|
> def username
|
760
760
|
|
@@ -762,7 +762,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/sauce_labs.rb#L6)
|
766
766
|
|
767
767
|
> def access_key
|
768
768
|
|
@@ -770,7 +770,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
770
770
|
|
771
771
|
--
|
772
772
|
|
773
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/sauce_labs.rb#L8)
|
774
774
|
|
775
775
|
> def endpoint
|
776
776
|
|
@@ -778,7 +778,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/sauce_labs.rb#L33)
|
782
782
|
|
783
783
|
> def initialize(appium_lib_opts)
|
784
784
|
|
@@ -794,7 +794,7 @@ __Returns:__
|
|
794
794
|
|
795
795
|
--
|
796
796
|
|
797
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/sauce_labs.rb#L53)
|
798
798
|
|
799
799
|
> def sauce_server_url?
|
800
800
|
|
@@ -806,7 +806,7 @@ __Returns:__
|
|
806
806
|
|
807
807
|
--
|
808
808
|
|
809
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/sauce_labs.rb#L66)
|
810
810
|
|
811
811
|
> def server_url
|
812
812
|
|
@@ -818,7 +818,7 @@ __Returns:__
|
|
818
818
|
|
819
819
|
--
|
820
820
|
|
821
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/log.rb#L11)
|
822
822
|
|
823
823
|
> def get_log(type)
|
824
824
|
|
@@ -834,7 +834,7 @@ __Returns:__
|
|
834
834
|
|
835
835
|
--
|
836
836
|
|
837
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/log.rb#L23)
|
838
838
|
|
839
839
|
> def get_available_log_types
|
840
840
|
|
@@ -846,19 +846,7 @@ __Returns:__
|
|
846
846
|
|
847
847
|
--
|
848
848
|
|
849
|
-
##### [
|
850
|
-
|
851
|
-
> def initialize(opts = {})
|
852
|
-
|
853
|
-
|
854
|
-
|
855
|
-
__Returns:__
|
856
|
-
|
857
|
-
[Wait] a new instance of Wait
|
858
|
-
|
859
|
-
--
|
860
|
-
|
861
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/e8b0362ffcad51b85243b129e14f8cde3f9f562f/lib/appium_lib/common/wait.rb#L26)
|
849
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/wait.rb#L24)
|
862
850
|
|
863
851
|
> def wait_true(opts = {})
|
864
852
|
|
@@ -878,7 +866,7 @@ __Parameters:__
|
|
878
866
|
|
879
867
|
--
|
880
868
|
|
881
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
869
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/wait.rb#L45)
|
882
870
|
|
883
871
|
> def wait(opts = {})
|
884
872
|
|
@@ -896,7 +884,7 @@ __Parameters:__
|
|
896
884
|
|
897
885
|
--
|
898
886
|
|
899
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/device.rb#L12)
|
900
888
|
|
901
889
|
> def add_touch_actions
|
902
890
|
|
@@ -904,7 +892,15 @@ __Parameters:__
|
|
904
892
|
|
905
893
|
--
|
906
894
|
|
907
|
-
##### [
|
895
|
+
##### [delegate_from_appium_driver](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/device.rb#L24)
|
896
|
+
|
897
|
+
> def delegate_from_appium_driver(method, delegation_target)
|
898
|
+
|
899
|
+
|
900
|
+
|
901
|
+
--
|
902
|
+
|
903
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L16)
|
908
904
|
|
909
905
|
> def ignore
|
910
906
|
|
@@ -912,7 +908,7 @@ Return yield and ignore any exceptions.
|
|
912
908
|
|
913
909
|
--
|
914
910
|
|
915
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
911
|
+
##### [back](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L23)
|
916
912
|
|
917
913
|
> def back
|
918
914
|
|
@@ -924,7 +920,7 @@ __Returns:__
|
|
924
920
|
|
925
921
|
--
|
926
922
|
|
927
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
923
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L34)
|
928
924
|
|
929
925
|
> def session_id
|
930
926
|
|
@@ -936,7 +932,7 @@ __Returns:__
|
|
936
932
|
|
937
933
|
--
|
938
934
|
|
939
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L42)
|
940
936
|
|
941
937
|
> def xpath(xpath_str)
|
942
938
|
|
@@ -952,7 +948,7 @@ __Returns:__
|
|
952
948
|
|
953
949
|
--
|
954
950
|
|
955
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L50)
|
956
952
|
|
957
953
|
> def xpaths(xpath_str)
|
958
954
|
|
@@ -968,7 +964,7 @@ __Returns:__
|
|
968
964
|
|
969
965
|
--
|
970
966
|
|
971
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
967
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L60)
|
972
968
|
|
973
969
|
> def result
|
974
970
|
|
@@ -976,7 +972,7 @@ Returns the value of attribute result
|
|
976
972
|
|
977
973
|
--
|
978
974
|
|
979
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L62)
|
980
976
|
|
981
977
|
> def initialize
|
982
978
|
|
@@ -988,7 +984,7 @@ __Returns:__
|
|
988
984
|
|
989
985
|
--
|
990
986
|
|
991
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
987
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L66)
|
992
988
|
|
993
989
|
> def reset
|
994
990
|
|
@@ -996,7 +992,7 @@ __Returns:__
|
|
996
992
|
|
997
993
|
--
|
998
994
|
|
999
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
995
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L71)
|
1000
996
|
|
1001
997
|
> def start_element(name, attrs = [], driver = $driver)
|
1002
998
|
|
@@ -1004,7 +1000,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1004
1000
|
|
1005
1001
|
--
|
1006
1002
|
|
1007
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L77)
|
1008
1004
|
|
1009
1005
|
> def formatted_result
|
1010
1006
|
|
@@ -1012,7 +1008,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1012
1008
|
|
1013
1009
|
--
|
1014
1010
|
|
1015
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1011
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L96)
|
1016
1012
|
|
1017
1013
|
> def get_page_class
|
1018
1014
|
|
@@ -1024,7 +1020,7 @@ __Returns:__
|
|
1024
1020
|
|
1025
1021
|
--
|
1026
1022
|
|
1027
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1023
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L121)
|
1028
1024
|
|
1029
1025
|
> def page_class
|
1030
1026
|
|
@@ -1037,7 +1033,7 @@ __Returns:__
|
|
1037
1033
|
|
1038
1034
|
--
|
1039
1035
|
|
1040
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [source](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L128)
|
1041
1037
|
|
1042
1038
|
> def source
|
1043
1039
|
|
@@ -1049,7 +1045,7 @@ __Returns:__
|
|
1049
1045
|
|
1050
1046
|
--
|
1051
1047
|
|
1052
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L135)
|
1053
1049
|
|
1054
1050
|
> def get_source
|
1055
1051
|
|
@@ -1062,7 +1058,7 @@ __Returns:__
|
|
1062
1058
|
|
1063
1059
|
--
|
1064
1060
|
|
1065
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1061
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L145)
|
1066
1062
|
|
1067
1063
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1068
1064
|
|
@@ -1070,7 +1066,7 @@ Converts pixel values to window relative values
|
|
1070
1066
|
|
1071
1067
|
--
|
1072
1068
|
|
1073
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1069
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L164)
|
1074
1070
|
|
1075
1071
|
> def xml_keys(target)
|
1076
1072
|
|
@@ -1086,7 +1082,7 @@ __Returns:__
|
|
1086
1082
|
|
1087
1083
|
--
|
1088
1084
|
|
1089
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1085
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L172)
|
1090
1086
|
|
1091
1087
|
> def xml_values(target)
|
1092
1088
|
|
@@ -1102,7 +1098,7 @@ __Returns:__
|
|
1102
1098
|
|
1103
1099
|
--
|
1104
1100
|
|
1105
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L180)
|
1106
1102
|
|
1107
1103
|
> def resolve_id(id)
|
1108
1104
|
|
@@ -1118,7 +1114,7 @@ __Returns:__
|
|
1118
1114
|
|
1119
1115
|
--
|
1120
1116
|
|
1121
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L187)
|
1122
1118
|
|
1123
1119
|
> def filter
|
1124
1120
|
|
@@ -1126,7 +1122,7 @@ Returns the value of attribute filter
|
|
1126
1122
|
|
1127
1123
|
--
|
1128
1124
|
|
1129
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L190)
|
1130
1126
|
|
1131
1127
|
> def filter=(value)
|
1132
1128
|
|
@@ -1134,7 +1130,7 @@ convert to string to support symbols
|
|
1134
1130
|
|
1135
1131
|
--
|
1136
1132
|
|
1137
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L196)
|
1138
1134
|
|
1139
1135
|
> def initialize
|
1140
1136
|
|
@@ -1146,7 +1142,7 @@ __Returns:__
|
|
1146
1142
|
|
1147
1143
|
--
|
1148
1144
|
|
1149
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L201)
|
1150
1146
|
|
1151
1147
|
> def reset
|
1152
1148
|
|
@@ -1154,7 +1150,7 @@ __Returns:__
|
|
1154
1150
|
|
1155
1151
|
--
|
1156
1152
|
|
1157
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1153
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L207)
|
1158
1154
|
|
1159
1155
|
> def result
|
1160
1156
|
|
@@ -1162,7 +1158,7 @@ __Returns:__
|
|
1162
1158
|
|
1163
1159
|
--
|
1164
1160
|
|
1165
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L223)
|
1166
1162
|
|
1167
1163
|
> def start_element(name, attrs = [])
|
1168
1164
|
|
@@ -1170,7 +1166,7 @@ __Returns:__
|
|
1170
1166
|
|
1171
1167
|
--
|
1172
1168
|
|
1173
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1169
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L232)
|
1174
1170
|
|
1175
1171
|
> def end_element(name)
|
1176
1172
|
|
@@ -1178,7 +1174,7 @@ __Returns:__
|
|
1178
1174
|
|
1179
1175
|
--
|
1180
1176
|
|
1181
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/helper.rb#L238)
|
1182
1178
|
|
1183
1179
|
> def characters(chars)
|
1184
1180
|
|
@@ -1186,7 +1182,7 @@ __Returns:__
|
|
1186
1182
|
|
1187
1183
|
--
|
1188
1184
|
|
1189
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1185
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/http_client.rb#L8)
|
1190
1186
|
|
1191
1187
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1192
1188
|
|
@@ -1194,7 +1190,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1194
1190
|
|
1195
1191
|
--
|
1196
1192
|
|
1197
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/multi_touch.rb#L51)
|
1198
1194
|
|
1199
1195
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1200
1196
|
|
@@ -1214,7 +1210,7 @@ __Parameters:__
|
|
1214
1210
|
|
1215
1211
|
--
|
1216
1212
|
|
1217
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/multi_touch.rb#L95)
|
1218
1214
|
|
1219
1215
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1220
1216
|
|
@@ -1234,7 +1230,7 @@ __Parameters:__
|
|
1234
1230
|
|
1235
1231
|
--
|
1236
1232
|
|
1237
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/multi_touch.rb#L216)
|
1238
1234
|
|
1239
1235
|
> def initialize(driver = $driver)
|
1240
1236
|
|
@@ -1246,7 +1242,7 @@ __Returns:__
|
|
1246
1242
|
|
1247
1243
|
--
|
1248
1244
|
|
1249
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/touch_actions.rb#L33)
|
1250
1246
|
|
1251
1247
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1252
1248
|
|
@@ -1254,7 +1250,7 @@ __Returns:__
|
|
1254
1250
|
|
1255
1251
|
--
|
1256
1252
|
|
1257
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1253
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/touch_actions.rb#L47)
|
1258
1254
|
|
1259
1255
|
> def initialize(driver = $driver)
|
1260
1256
|
|
@@ -1266,7 +1262,7 @@ __Returns:__
|
|
1266
1262
|
|
1267
1263
|
--
|
1268
1264
|
|
1269
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1265
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/common/touch_actions.rb#L51)
|
1270
1266
|
|
1271
1267
|
> def swipe(opts, ele = nil)
|
1272
1268
|
|
@@ -1274,7 +1270,7 @@ __Returns:__
|
|
1274
1270
|
|
1275
1271
|
--
|
1276
1272
|
|
1277
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1273
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/android.rb#L19) android
|
1278
1274
|
|
1279
1275
|
> def self.for(target)
|
1280
1276
|
|
@@ -1282,7 +1278,7 @@ __Returns:__
|
|
1282
1278
|
|
1283
1279
|
--
|
1284
1280
|
|
1285
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1281
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/text.rb#L4) android
|
1286
1282
|
|
1287
1283
|
> TextView = 'android.widget.TextView'.freeze
|
1288
1284
|
|
@@ -1290,7 +1286,7 @@ __Returns:__
|
|
1290
1286
|
|
1291
1287
|
--
|
1292
1288
|
|
1293
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [text](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/text.rb#L10) android
|
1294
1290
|
|
1295
1291
|
> def text(value)
|
1296
1292
|
|
@@ -1307,7 +1303,7 @@ __Returns:__
|
|
1307
1303
|
|
1308
1304
|
--
|
1309
1305
|
|
1310
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1306
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/text.rb#L19) android
|
1311
1307
|
|
1312
1308
|
> def texts(value = false)
|
1313
1309
|
|
@@ -1324,7 +1320,7 @@ __Returns:__
|
|
1324
1320
|
|
1325
1321
|
--
|
1326
1322
|
|
1327
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/text.rb#L26) android
|
1328
1324
|
|
1329
1325
|
> def first_text
|
1330
1326
|
|
@@ -1336,7 +1332,7 @@ __Returns:__
|
|
1336
1332
|
|
1337
1333
|
--
|
1338
1334
|
|
1339
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/text.rb#L32) android
|
1340
1336
|
|
1341
1337
|
> def last_text
|
1342
1338
|
|
@@ -1348,7 +1344,7 @@ __Returns:__
|
|
1348
1344
|
|
1349
1345
|
--
|
1350
1346
|
|
1351
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/text.rb#L39) android
|
1352
1348
|
|
1353
1349
|
> def text_exact(value)
|
1354
1350
|
|
@@ -1364,7 +1360,7 @@ __Returns:__
|
|
1364
1360
|
|
1365
1361
|
--
|
1366
1362
|
|
1367
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/text.rb#L46) android
|
1368
1364
|
|
1369
1365
|
> def texts_exact(value)
|
1370
1366
|
|
@@ -1380,7 +1376,7 @@ __Returns:__
|
|
1380
1376
|
|
1381
1377
|
--
|
1382
1378
|
|
1383
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [result](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L6) android
|
1384
1380
|
|
1385
1381
|
> def result
|
1386
1382
|
|
@@ -1388,7 +1384,7 @@ Returns the value of attribute result
|
|
1388
1384
|
|
1389
1385
|
--
|
1390
1386
|
|
1391
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1387
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L6) android
|
1392
1388
|
|
1393
1389
|
> def keys
|
1394
1390
|
|
@@ -1396,7 +1392,7 @@ Returns the value of attribute keys
|
|
1396
1392
|
|
1397
1393
|
--
|
1398
1394
|
|
1399
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L6) android
|
1400
1396
|
|
1401
1397
|
> def filter
|
1402
1398
|
|
@@ -1404,7 +1400,7 @@ Returns the value of attribute filter
|
|
1404
1400
|
|
1405
1401
|
--
|
1406
1402
|
|
1407
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1403
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L9) android
|
1408
1404
|
|
1409
1405
|
> def filter=(value)
|
1410
1406
|
|
@@ -1412,7 +1408,7 @@ convert to string to support symbols
|
|
1412
1408
|
|
1413
1409
|
--
|
1414
1410
|
|
1415
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1411
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L15) android
|
1416
1412
|
|
1417
1413
|
> def initialize
|
1418
1414
|
|
@@ -1424,7 +1420,7 @@ __Returns:__
|
|
1424
1420
|
|
1425
1421
|
--
|
1426
1422
|
|
1427
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1423
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L20) android
|
1428
1424
|
|
1429
1425
|
> def reset
|
1430
1426
|
|
@@ -1432,7 +1428,7 @@ __Returns:__
|
|
1432
1428
|
|
1433
1429
|
--
|
1434
1430
|
|
1435
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L26) android
|
1436
1432
|
|
1437
1433
|
> def start_element(name, attrs = [], driver = $driver)
|
1438
1434
|
|
@@ -1440,7 +1436,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1440
1436
|
|
1441
1437
|
--
|
1442
1438
|
|
1443
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L80) android
|
1444
1440
|
|
1445
1441
|
> def get_android_inspect(class_name = false)
|
1446
1442
|
|
@@ -1459,7 +1455,7 @@ __Returns:__
|
|
1459
1455
|
|
1460
1456
|
--
|
1461
1457
|
|
1462
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1458
|
+
##### [page](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L106) android
|
1463
1459
|
|
1464
1460
|
> def page(opts = {})
|
1465
1461
|
|
@@ -1478,7 +1474,7 @@ __Returns:__
|
|
1478
1474
|
|
1479
1475
|
--
|
1480
1476
|
|
1481
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1477
|
+
##### [id](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L115) android
|
1482
1478
|
|
1483
1479
|
> def id(id)
|
1484
1480
|
|
@@ -1494,7 +1490,7 @@ __Returns:__
|
|
1494
1490
|
|
1495
1491
|
--
|
1496
1492
|
|
1497
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L123) android
|
1498
1494
|
|
1499
1495
|
> def ids(id)
|
1500
1496
|
|
@@ -1510,7 +1506,7 @@ __Returns:__
|
|
1510
1506
|
|
1511
1507
|
--
|
1512
1508
|
|
1513
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L132) android
|
1514
1510
|
|
1515
1511
|
> def ele_index(class_name, index)
|
1516
1512
|
|
@@ -1528,7 +1524,7 @@ __Returns:__
|
|
1528
1524
|
|
1529
1525
|
--
|
1530
1526
|
|
1531
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1527
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L150) android
|
1532
1528
|
|
1533
1529
|
> def first_ele(class_name)
|
1534
1530
|
|
@@ -1544,7 +1540,7 @@ __Returns:__
|
|
1544
1540
|
|
1545
1541
|
--
|
1546
1542
|
|
1547
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L157) android
|
1548
1544
|
|
1549
1545
|
> def last_ele(class_name)
|
1550
1546
|
|
@@ -1560,7 +1556,7 @@ __Returns:__
|
|
1560
1556
|
|
1561
1557
|
--
|
1562
1558
|
|
1563
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L165) android
|
1564
1560
|
|
1565
1561
|
> def tag(class_name)
|
1566
1562
|
|
@@ -1576,7 +1572,7 @@ __Returns:__
|
|
1576
1572
|
|
1577
1573
|
--
|
1578
1574
|
|
1579
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1575
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L173) android
|
1580
1576
|
|
1581
1577
|
> def tags(class_name)
|
1582
1578
|
|
@@ -1592,7 +1588,7 @@ __Returns:__
|
|
1592
1588
|
|
1593
1589
|
--
|
1594
1590
|
|
1595
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1591
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L216) android
|
1596
1592
|
|
1597
1593
|
> def string_visible_contains_xpath(class_name, value)
|
1598
1594
|
|
@@ -1613,7 +1609,7 @@ __Returns:__
|
|
1613
1609
|
|
1614
1610
|
--
|
1615
1611
|
|
1616
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1612
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L236) android
|
1617
1613
|
|
1618
1614
|
> def string_visible_contains(class_name, value)
|
1619
1615
|
|
@@ -1634,7 +1630,7 @@ __Returns:__
|
|
1634
1630
|
|
1635
1631
|
--
|
1636
1632
|
|
1637
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1633
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L254) android
|
1638
1634
|
|
1639
1635
|
> def complex_find_contains(class_name, value)
|
1640
1636
|
|
@@ -1652,7 +1648,7 @@ __Returns:__
|
|
1652
1648
|
|
1653
1649
|
--
|
1654
1650
|
|
1655
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1651
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L262) android
|
1656
1652
|
|
1657
1653
|
> def complex_finds_contains(class_name, value)
|
1658
1654
|
|
@@ -1670,7 +1666,7 @@ __Returns:__
|
|
1670
1666
|
|
1671
1667
|
--
|
1672
1668
|
|
1673
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1669
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L306) android
|
1674
1670
|
|
1675
1671
|
> def complex_find_exact(class_name, value)
|
1676
1672
|
|
@@ -1688,7 +1684,7 @@ __Returns:__
|
|
1688
1684
|
|
1689
1685
|
--
|
1690
1686
|
|
1691
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1687
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/helper.rb#L314) android
|
1692
1688
|
|
1693
1689
|
> def complex_finds_exact(class_name, value)
|
1694
1690
|
|
@@ -1706,7 +1702,7 @@ __Returns:__
|
|
1706
1702
|
|
1707
1703
|
--
|
1708
1704
|
|
1709
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1705
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/alert.rb#L6) android
|
1710
1706
|
|
1711
1707
|
> def alert_click(value)
|
1712
1708
|
|
@@ -1722,7 +1718,7 @@ __Returns:__
|
|
1722
1718
|
|
1723
1719
|
--
|
1724
1720
|
|
1725
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1721
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/alert.rb#L13) android
|
1726
1722
|
|
1727
1723
|
> def alert_accept
|
1728
1724
|
|
@@ -1735,7 +1731,7 @@ __Returns:__
|
|
1735
1731
|
|
1736
1732
|
--
|
1737
1733
|
|
1738
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1734
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/alert.rb#L20) android
|
1739
1735
|
|
1740
1736
|
> def alert_accept_text
|
1741
1737
|
|
@@ -1748,7 +1744,7 @@ __Returns:__
|
|
1748
1744
|
|
1749
1745
|
--
|
1750
1746
|
|
1751
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1747
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/alert.rb#L27) android
|
1752
1748
|
|
1753
1749
|
> def alert_dismiss
|
1754
1750
|
|
@@ -1761,7 +1757,7 @@ __Returns:__
|
|
1761
1757
|
|
1762
1758
|
--
|
1763
1759
|
|
1764
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1760
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/alert.rb#L34) android
|
1765
1761
|
|
1766
1762
|
> def alert_dismiss_text
|
1767
1763
|
|
@@ -1774,7 +1770,7 @@ __Returns:__
|
|
1774
1770
|
|
1775
1771
|
--
|
1776
1772
|
|
1777
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1773
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L3) android
|
1778
1774
|
|
1779
1775
|
> Button = 'android.widget.Button'.freeze
|
1780
1776
|
|
@@ -1782,7 +1778,7 @@ __Returns:__
|
|
1782
1778
|
|
1783
1779
|
--
|
1784
1780
|
|
1785
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1781
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L4) android
|
1786
1782
|
|
1787
1783
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1788
1784
|
|
@@ -1790,7 +1786,7 @@ __Returns:__
|
|
1790
1786
|
|
1791
1787
|
--
|
1792
1788
|
|
1793
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1789
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L10) android
|
1794
1790
|
|
1795
1791
|
> def button(value)
|
1796
1792
|
|
@@ -1807,7 +1803,7 @@ __Returns:__
|
|
1807
1803
|
|
1808
1804
|
--
|
1809
1805
|
|
1810
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1806
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L27) android
|
1811
1807
|
|
1812
1808
|
> def buttons(value = false)
|
1813
1809
|
|
@@ -1824,7 +1820,7 @@ __Returns:__
|
|
1824
1820
|
|
1825
1821
|
--
|
1826
1822
|
|
1827
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1823
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L34) android
|
1828
1824
|
|
1829
1825
|
> def first_button
|
1830
1826
|
|
@@ -1836,7 +1832,7 @@ __Returns:__
|
|
1836
1832
|
|
1837
1833
|
--
|
1838
1834
|
|
1839
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1835
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L40) android
|
1840
1836
|
|
1841
1837
|
> def last_button
|
1842
1838
|
|
@@ -1848,7 +1844,7 @@ __Returns:__
|
|
1848
1844
|
|
1849
1845
|
--
|
1850
1846
|
|
1851
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1847
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L56) android
|
1852
1848
|
|
1853
1849
|
> def button_exact(value)
|
1854
1850
|
|
@@ -1864,7 +1860,7 @@ __Returns:__
|
|
1864
1860
|
|
1865
1861
|
--
|
1866
1862
|
|
1867
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1863
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/button.rb#L63) android
|
1868
1864
|
|
1869
1865
|
> def buttons_exact(value)
|
1870
1866
|
|
@@ -1880,7 +1876,7 @@ __Returns:__
|
|
1880
1876
|
|
1881
1877
|
--
|
1882
1878
|
|
1883
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1879
|
+
##### [find](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/generic.rb#L6) android
|
1884
1880
|
|
1885
1881
|
> def find(value)
|
1886
1882
|
|
@@ -1896,7 +1892,7 @@ __Returns:__
|
|
1896
1892
|
|
1897
1893
|
--
|
1898
1894
|
|
1899
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1895
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/generic.rb#L13) android
|
1900
1896
|
|
1901
1897
|
> def finds(value)
|
1902
1898
|
|
@@ -1912,7 +1908,7 @@ __Returns:__
|
|
1912
1908
|
|
1913
1909
|
--
|
1914
1910
|
|
1915
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1911
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/generic.rb#L20) android
|
1916
1912
|
|
1917
1913
|
> def find_exact(value)
|
1918
1914
|
|
@@ -1928,7 +1924,7 @@ __Returns:__
|
|
1928
1924
|
|
1929
1925
|
--
|
1930
1926
|
|
1931
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1927
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/generic.rb#L27) android
|
1932
1928
|
|
1933
1929
|
> def finds_exact(value)
|
1934
1930
|
|
@@ -1944,7 +1940,7 @@ __Returns:__
|
|
1944
1940
|
|
1945
1941
|
--
|
1946
1942
|
|
1947
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1943
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/generic.rb#L40) android
|
1948
1944
|
|
1949
1945
|
> def scroll_to(text, scrollable_index = 0)
|
1950
1946
|
|
@@ -1962,7 +1958,7 @@ __Returns:__
|
|
1962
1958
|
|
1963
1959
|
--
|
1964
1960
|
|
1965
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
1961
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/generic.rb#L58) android
|
1966
1962
|
|
1967
1963
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1968
1964
|
|
@@ -1980,7 +1976,7 @@ __Returns:__
|
|
1980
1976
|
|
1981
1977
|
--
|
1982
1978
|
|
1983
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1979
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
1984
1980
|
|
1985
1981
|
> def self.for(target)
|
1986
1982
|
|
@@ -1988,7 +1984,7 @@ __Returns:__
|
|
1988
1984
|
|
1989
1985
|
--
|
1990
1986
|
|
1991
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
1987
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/textfield.rb#L3) android
|
1992
1988
|
|
1993
1989
|
> EditText = 'android.widget.EditText'.freeze
|
1994
1990
|
|
@@ -1996,7 +1992,7 @@ __Returns:__
|
|
1996
1992
|
|
1997
1993
|
--
|
1998
1994
|
|
1999
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1995
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/textfield.rb#L9) android
|
2000
1996
|
|
2001
1997
|
> def textfield(value)
|
2002
1998
|
|
@@ -2013,7 +2009,7 @@ __Returns:__
|
|
2013
2009
|
|
2014
2010
|
--
|
2015
2011
|
|
2016
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2012
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/textfield.rb#L18) android
|
2017
2013
|
|
2018
2014
|
> def textfields(value = false)
|
2019
2015
|
|
@@ -2030,7 +2026,7 @@ __Returns:__
|
|
2030
2026
|
|
2031
2027
|
--
|
2032
2028
|
|
2033
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2029
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/textfield.rb#L25) android
|
2034
2030
|
|
2035
2031
|
> def first_textfield
|
2036
2032
|
|
@@ -2042,7 +2038,7 @@ __Returns:__
|
|
2042
2038
|
|
2043
2039
|
--
|
2044
2040
|
|
2045
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2041
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/textfield.rb#L31) android
|
2046
2042
|
|
2047
2043
|
> def last_textfield
|
2048
2044
|
|
@@ -2054,7 +2050,7 @@ __Returns:__
|
|
2054
2050
|
|
2055
2051
|
--
|
2056
2052
|
|
2057
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2053
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/textfield.rb#L38) android
|
2058
2054
|
|
2059
2055
|
> def textfield_exact(value)
|
2060
2056
|
|
@@ -2070,7 +2066,7 @@ __Returns:__
|
|
2070
2066
|
|
2071
2067
|
--
|
2072
2068
|
|
2073
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2069
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/element/textfield.rb#L45) android
|
2074
2070
|
|
2075
2071
|
> def textfields_exact(value)
|
2076
2072
|
|
@@ -2086,7 +2082,7 @@ __Returns:__
|
|
2086
2082
|
|
2087
2083
|
--
|
2088
2084
|
|
2089
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2085
|
+
##### [for](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2090
2086
|
|
2091
2087
|
> def self.for(target)
|
2092
2088
|
|
@@ -2094,7 +2090,7 @@ __Returns:__
|
|
2094
2090
|
|
2095
2091
|
--
|
2096
2092
|
|
2097
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2093
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2098
2094
|
|
2099
2095
|
> def string_visible_contains(class_name, value)
|
2100
2096
|
|
@@ -2115,7 +2111,7 @@ __Returns:__
|
|
2115
2111
|
|
2116
2112
|
--
|
2117
2113
|
|
2118
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2114
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2119
2115
|
|
2120
2116
|
> def complex_find_contains(class_name, value)
|
2121
2117
|
|
@@ -2133,7 +2129,7 @@ __Returns:__
|
|
2133
2129
|
|
2134
2130
|
--
|
2135
2131
|
|
2136
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2132
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2137
2133
|
|
2138
2134
|
> def complex_finds_contains(class_name, value)
|
2139
2135
|
|
@@ -2151,7 +2147,7 @@ __Returns:__
|
|
2151
2147
|
|
2152
2148
|
--
|
2153
2149
|
|
2154
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2150
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2155
2151
|
|
2156
2152
|
> def complex_find_exact(class_name, value)
|
2157
2153
|
|
@@ -2169,7 +2165,7 @@ __Returns:__
|
|
2169
2165
|
|
2170
2166
|
--
|
2171
2167
|
|
2172
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2168
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2173
2169
|
|
2174
2170
|
> def complex_finds_exact(class_name, value)
|
2175
2171
|
|
@@ -2187,7 +2183,7 @@ __Returns:__
|
|
2187
2183
|
|
2188
2184
|
--
|
2189
2185
|
|
2190
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2186
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/command/command.rb#L16) android
|
2191
2187
|
|
2192
2188
|
> def shell(command, arguments)
|
2193
2189
|
|
@@ -2202,7 +2198,7 @@ __Parameters:__
|
|
2202
2198
|
|
2203
2199
|
--
|
2204
2200
|
|
2205
|
-
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2201
|
+
##### [start_logs_broadcast](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/command/command.rb#L30) android
|
2206
2202
|
|
2207
2203
|
> def start_logs_broadcast(logcat_file = 'logcat.log')
|
2208
2204
|
|
@@ -2214,7 +2210,7 @@ __Parameters:__
|
|
2214
2210
|
|
2215
2211
|
--
|
2216
2212
|
|
2217
|
-
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/
|
2213
|
+
##### [stop_logs_broadcast](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/command/command.rb#L43) android
|
2218
2214
|
|
2219
2215
|
> def stop_logs_broadcast
|
2220
2216
|
|
@@ -2222,7 +2218,7 @@ Stop Android logcat broadcast websocket
|
|
2222
2218
|
|
2223
2219
|
--
|
2224
2220
|
|
2225
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
2221
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/command/ws_logcat.rb#L5) android
|
2226
2222
|
|
2227
2223
|
> def initialize(url:, output_file: 'logcat.log')
|
2228
2224
|
|
@@ -2234,7 +2230,7 @@ __Returns:__
|
|
2234
2230
|
|
2235
2231
|
--
|
2236
2232
|
|
2237
|
-
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/
|
2233
|
+
##### [handle_message_data](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/common/command/ws_logcat.rb#L10) android
|
2238
2234
|
|
2239
2235
|
> def handle_message_data(data)
|
2240
2236
|
|
@@ -2242,7 +2238,7 @@ __Returns:__
|
|
2242
2238
|
|
2243
2239
|
--
|
2244
2240
|
|
2245
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2241
|
+
##### [button](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2246
2242
|
|
2247
2243
|
> def button(value)
|
2248
2244
|
|
@@ -2259,7 +2255,7 @@ __Returns:__
|
|
2259
2255
|
|
2260
2256
|
--
|
2261
2257
|
|
2262
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2258
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2263
2259
|
|
2264
2260
|
> def buttons(value = false)
|
2265
2261
|
|
@@ -2276,7 +2272,7 @@ __Returns:__
|
|
2276
2272
|
|
2277
2273
|
--
|
2278
2274
|
|
2279
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2275
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2280
2276
|
|
2281
2277
|
> def first_button
|
2282
2278
|
|
@@ -2288,7 +2284,7 @@ __Returns:__
|
|
2288
2284
|
|
2289
2285
|
--
|
2290
2286
|
|
2291
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2287
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2292
2288
|
|
2293
2289
|
> def last_button
|
2294
2290
|
|
@@ -2300,7 +2296,7 @@ __Returns:__
|
|
2300
2296
|
|
2301
2297
|
--
|
2302
2298
|
|
2303
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2299
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2304
2300
|
|
2305
2301
|
> def button_exact(value)
|
2306
2302
|
|
@@ -2316,7 +2312,7 @@ __Returns:__
|
|
2316
2312
|
|
2317
2313
|
--
|
2318
2314
|
|
2319
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2315
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/ff7c083483d59ad47a686a1f9779274039151ce1/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2320
2316
|
|
2321
2317
|
> def buttons_exact(value)
|
2322
2318
|
|