appium_lib 9.9.0 → 9.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -1
- data/docs/android_docs.md +174 -186
- data/docs/ios_docs.md +232 -244
- data/lib/appium_lib/driver.rb +6 -17
- data/lib/appium_lib/version.rb +2 -2
- data/release_notes.md +6 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 252d2059a41f2a88e600e09c8ebb9a962eb54ed2
|
4
|
+
data.tar.gz: 35b8bc13f03df27465189670ac03d3dbeb4749b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a73b8366ba6609721667832a285df2410f741356a060f6e1512bedb4ebc1c125293b38dd7fa7dfca36e2d2c9b7415e198143905ec1d0001509705e35904d4489
|
7
|
+
data.tar.gz: 84313e975c50e83e405b8843c447fc409850123bc8d6b613a3754e23d5a29b27b65838b41bcce7e544c75e6b5fe4c36705c4a94453a574035f0d5f7178bbf393
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,14 @@ Commit based release not is [release_notes.md](./release_notes.md)
|
|
3
3
|
|
4
4
|
Release tags are https://github.com/appium/ruby_lib/releases .
|
5
5
|
|
6
|
+
## v9.9.1
|
7
|
+
### 1. Enhancements
|
8
|
+
|
9
|
+
### 2. Bug fixes
|
10
|
+
- fix `Minitest`'s revert: [URL](http://docs.seattlerb.org/minitest/History_rdoc.html#label-5.11.2+-2F+2018-01-25)
|
11
|
+
|
12
|
+
### 3. Deprecations
|
13
|
+
|
6
14
|
## v9.9.0
|
7
15
|
### 1. Enhancements
|
8
16
|
- Bump the core library to 1.3.0
|
@@ -13,7 +21,6 @@ Release tags are https://github.com/appium/ruby_lib/releases .
|
|
13
21
|
|
14
22
|
### 3. Deprecations
|
15
23
|
|
16
|
-
|
17
24
|
## v9.8.5
|
18
25
|
### 1. Enhancements
|
19
26
|
|
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/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/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/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/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/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/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/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/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/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/appium.rb#L181)
|
102
102
|
|
103
103
|
> def promote_appium_methods(class_array, driver = $driver)
|
104
104
|
|
@@ -116,19 +116,7 @@ __Parameters:__
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [
|
120
|
-
|
121
|
-
> def self.left_greater_than_or_equal_to_right?(left, right)
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
__Returns:__
|
126
|
-
|
127
|
-
[Boolean]
|
128
|
-
|
129
|
-
--
|
130
|
-
|
131
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/42a3f9624a0bf48d8353140e4ee488334bd406eb/lib/appium_lib/driver.rb#L47)
|
119
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L36)
|
132
120
|
|
133
121
|
> def global_webdriver_http_sleep
|
134
122
|
|
@@ -136,7 +124,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
136
124
|
|
137
125
|
--
|
138
126
|
|
139
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L36)
|
140
128
|
|
141
129
|
> def global_webdriver_http_sleep=(value)
|
142
130
|
|
@@ -144,7 +132,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
144
132
|
|
145
133
|
--
|
146
134
|
|
147
|
-
##### [sauce](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [sauce](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L39)
|
148
136
|
|
149
137
|
> def sauce
|
150
138
|
|
@@ -152,7 +140,7 @@ SauceLab's settings
|
|
152
140
|
|
153
141
|
--
|
154
142
|
|
155
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L42)
|
156
144
|
|
157
145
|
> def sauce_username
|
158
146
|
|
@@ -161,7 +149,7 @@ same as @sauce.username
|
|
161
149
|
|
162
150
|
--
|
163
151
|
|
164
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L45)
|
165
153
|
|
166
154
|
> def sauce_access_key
|
167
155
|
|
@@ -170,7 +158,7 @@ same as @sauce.access_key
|
|
170
158
|
|
171
159
|
--
|
172
160
|
|
173
|
-
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/
|
161
|
+
##### [sauce_endpoint](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L48)
|
174
162
|
|
175
163
|
> def sauce_endpoint
|
176
164
|
|
@@ -179,7 +167,7 @@ same as @sauce.endpoint
|
|
179
167
|
|
180
168
|
--
|
181
169
|
|
182
|
-
##### [caps](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [caps](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L52)
|
183
171
|
|
184
172
|
> def caps
|
185
173
|
|
@@ -188,7 +176,7 @@ read http://www.rubydoc.info/github/appium/ruby_lib_core/Appium/Core/Driver
|
|
188
176
|
|
189
177
|
--
|
190
178
|
|
191
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L53)
|
192
180
|
|
193
181
|
> def custom_url
|
194
182
|
|
@@ -196,7 +184,7 @@ Returns the value of attribute custom_url
|
|
196
184
|
|
197
185
|
--
|
198
186
|
|
199
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
187
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L54)
|
200
188
|
|
201
189
|
> def export_session
|
202
190
|
|
@@ -204,7 +192,7 @@ Returns the value of attribute export_session
|
|
204
192
|
|
205
193
|
--
|
206
194
|
|
207
|
-
##### [export_session_path](https://github.com/appium/ruby_lib/blob/
|
195
|
+
##### [export_session_path](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L55)
|
208
196
|
|
209
197
|
> def export_session_path
|
210
198
|
|
@@ -212,7 +200,7 @@ Returns the value of attribute export_session_path
|
|
212
200
|
|
213
201
|
--
|
214
202
|
|
215
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
203
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L56)
|
216
204
|
|
217
205
|
> def default_wait
|
218
206
|
|
@@ -220,7 +208,7 @@ Returns the value of attribute default_wait
|
|
220
208
|
|
221
209
|
--
|
222
210
|
|
223
|
-
##### [appium_port](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [appium_port](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L57)
|
224
212
|
|
225
213
|
> def appium_port
|
226
214
|
|
@@ -228,7 +216,7 @@ Returns the value of attribute appium_port
|
|
228
216
|
|
229
217
|
--
|
230
218
|
|
231
|
-
##### [appium_device](https://github.com/appium/ruby_lib/blob/
|
219
|
+
##### [appium_device](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L58)
|
232
220
|
|
233
221
|
> def appium_device
|
234
222
|
|
@@ -236,7 +224,7 @@ Returns the value of attribute appium_device
|
|
236
224
|
|
237
225
|
--
|
238
226
|
|
239
|
-
##### [automation_name](https://github.com/appium/ruby_lib/blob/
|
227
|
+
##### [automation_name](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L59)
|
240
228
|
|
241
229
|
> def automation_name
|
242
230
|
|
@@ -244,7 +232,7 @@ Returns the value of attribute automation_name
|
|
244
232
|
|
245
233
|
--
|
246
234
|
|
247
|
-
##### [listener](https://github.com/appium/ruby_lib/blob/
|
235
|
+
##### [listener](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L60)
|
248
236
|
|
249
237
|
> def listener
|
250
238
|
|
@@ -252,7 +240,7 @@ Returns the value of attribute listener
|
|
252
240
|
|
253
241
|
--
|
254
242
|
|
255
|
-
##### [http_client](https://github.com/appium/ruby_lib/blob/
|
243
|
+
##### [http_client](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L61)
|
256
244
|
|
257
245
|
> def http_client
|
258
246
|
|
@@ -260,7 +248,7 @@ Returns the value of attribute http_client
|
|
260
248
|
|
261
249
|
--
|
262
250
|
|
263
|
-
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/
|
251
|
+
##### [appium_wait_timeout](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L62)
|
264
252
|
|
265
253
|
> def appium_wait_timeout
|
266
254
|
|
@@ -268,7 +256,7 @@ Returns the value of attribute appium_wait_timeout
|
|
268
256
|
|
269
257
|
--
|
270
258
|
|
271
|
-
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [appium_wait_interval](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L63)
|
272
260
|
|
273
261
|
> def appium_wait_interval
|
274
262
|
|
@@ -276,7 +264,7 @@ Returns the value of attribute appium_wait_interval
|
|
276
264
|
|
277
265
|
--
|
278
266
|
|
279
|
-
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/
|
267
|
+
##### [appium_server_status](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L66)
|
280
268
|
|
281
269
|
> def appium_server_status
|
282
270
|
|
@@ -284,7 +272,7 @@ Appium's server version
|
|
284
272
|
|
285
273
|
--
|
286
274
|
|
287
|
-
##### [appium_debug](https://github.com/appium/ruby_lib/blob/
|
275
|
+
##### [appium_debug](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L68)
|
288
276
|
|
289
277
|
> def appium_debug
|
290
278
|
|
@@ -292,7 +280,7 @@ Boolean debug mode for the Appium Ruby bindings
|
|
292
280
|
|
293
281
|
--
|
294
282
|
|
295
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
283
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L71)
|
296
284
|
|
297
285
|
> def driver
|
298
286
|
|
@@ -304,7 +292,7 @@ __Returns:__
|
|
304
292
|
|
305
293
|
--
|
306
294
|
|
307
|
-
##### [core](https://github.com/appium/ruby_lib/blob/
|
295
|
+
##### [core](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L73)
|
308
296
|
|
309
297
|
> def core
|
310
298
|
|
@@ -312,7 +300,7 @@ Instance of Appium::Core::Driver
|
|
312
300
|
|
313
301
|
--
|
314
302
|
|
315
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
303
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L137)
|
316
304
|
|
317
305
|
> def initialize(opts = {}, global_driver = nil)
|
318
306
|
|
@@ -331,7 +319,7 @@ __Returns:__
|
|
331
319
|
|
332
320
|
--
|
333
321
|
|
334
|
-
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [driver_attributes](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L247)
|
335
323
|
|
336
324
|
> def driver_attributes
|
337
325
|
|
@@ -339,7 +327,7 @@ Returns a hash of the driver attributes
|
|
339
327
|
|
340
328
|
--
|
341
329
|
|
342
|
-
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [device_is_android?](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L267)
|
343
331
|
|
344
332
|
> def device_is_android?
|
345
333
|
|
@@ -351,7 +339,7 @@ __Returns:__
|
|
351
339
|
|
352
340
|
--
|
353
341
|
|
354
|
-
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [device_is_ios?](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L271)
|
355
343
|
|
356
344
|
> def device_is_ios?
|
357
345
|
|
@@ -363,7 +351,7 @@ __Returns:__
|
|
363
351
|
|
364
352
|
--
|
365
353
|
|
366
|
-
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [device_is_windows?](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L275)
|
367
355
|
|
368
356
|
> def device_is_windows?
|
369
357
|
|
@@ -375,7 +363,7 @@ __Returns:__
|
|
375
363
|
|
376
364
|
--
|
377
365
|
|
378
|
-
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [automation_name_is_uiautomator2?](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L281)
|
379
367
|
|
380
368
|
> def automation_name_is_uiautomator2?
|
381
369
|
|
@@ -387,7 +375,7 @@ __Returns:__
|
|
387
375
|
|
388
376
|
--
|
389
377
|
|
390
|
-
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [automation_name_is_espresso?](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L287)
|
391
379
|
|
392
380
|
> def automation_name_is_espresso?
|
393
381
|
|
@@ -399,7 +387,7 @@ __Returns:__
|
|
399
387
|
|
400
388
|
--
|
401
389
|
|
402
|
-
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [automation_name_is_xcuitest?](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L293)
|
403
391
|
|
404
392
|
> def automation_name_is_xcuitest?
|
405
393
|
|
@@ -411,7 +399,7 @@ __Returns:__
|
|
411
399
|
|
412
400
|
--
|
413
401
|
|
414
|
-
##### [dialect](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [dialect](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L313)
|
415
403
|
|
416
404
|
> def dialect
|
417
405
|
|
@@ -433,7 +421,7 @@ __Returns:__
|
|
433
421
|
|
434
422
|
--
|
435
423
|
|
436
|
-
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [check_server_version_xcuitest](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L320)
|
437
425
|
|
438
426
|
> def check_server_version_xcuitest
|
439
427
|
|
@@ -446,7 +434,7 @@ __Returns:__
|
|
446
434
|
|
447
435
|
--
|
448
436
|
|
449
|
-
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [appium_server_version](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L341)
|
450
438
|
|
451
439
|
> def appium_server_version
|
452
440
|
|
@@ -458,7 +446,7 @@ __Returns:__
|
|
458
446
|
|
459
447
|
--
|
460
448
|
|
461
|
-
##### [remote_status](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [remote_status](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L348)
|
462
450
|
|
463
451
|
> def appium_server_version
|
464
452
|
|
@@ -470,7 +458,7 @@ __Returns:__
|
|
470
458
|
|
471
459
|
--
|
472
460
|
|
473
|
-
##### [platform_version](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [platform_version](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L352)
|
474
462
|
|
475
463
|
> def platform_version
|
476
464
|
|
@@ -482,7 +470,7 @@ __Returns:__
|
|
482
470
|
|
483
471
|
--
|
484
472
|
|
485
|
-
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [appium_client_version](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L365)
|
486
474
|
|
487
475
|
> def appium_client_version
|
488
476
|
|
@@ -494,7 +482,7 @@ __Returns:__
|
|
494
482
|
|
495
483
|
--
|
496
484
|
|
497
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
485
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L377)
|
498
486
|
|
499
487
|
> def self.absolute_app_path(opts)
|
500
488
|
|
@@ -511,7 +499,7 @@ __Returns:__
|
|
511
499
|
|
512
500
|
--
|
513
501
|
|
514
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
502
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L410)
|
515
503
|
|
516
504
|
> def server_url
|
517
505
|
|
@@ -523,7 +511,7 @@ __Returns:__
|
|
523
511
|
|
524
512
|
--
|
525
513
|
|
526
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
514
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L418)
|
527
515
|
|
528
516
|
> def restart
|
529
517
|
|
@@ -535,7 +523,7 @@ __Returns:__
|
|
535
523
|
|
536
524
|
--
|
537
525
|
|
538
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L431)
|
539
527
|
|
540
528
|
> def screenshot(png_save_path)
|
541
529
|
|
@@ -551,7 +539,7 @@ __Returns:__
|
|
551
539
|
|
552
540
|
--
|
553
541
|
|
554
|
-
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [element_screenshot](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L445)
|
555
543
|
|
556
544
|
> def element_screenshot(element, png_save_path)
|
557
545
|
|
@@ -569,7 +557,7 @@ __Returns:__
|
|
569
557
|
|
570
558
|
--
|
571
559
|
|
572
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L452)
|
573
561
|
|
574
562
|
> def driver_quit
|
575
563
|
|
@@ -581,7 +569,7 @@ __Returns:__
|
|
581
569
|
|
582
570
|
--
|
583
571
|
|
584
|
-
##### [quit_driver](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [quit_driver](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L455)
|
585
573
|
|
586
574
|
> def driver_quit
|
587
575
|
|
@@ -593,7 +581,7 @@ __Returns:__
|
|
593
581
|
|
594
582
|
--
|
595
583
|
|
596
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L466)
|
597
585
|
|
598
586
|
> def window_size
|
599
587
|
|
@@ -605,7 +593,7 @@ __Returns:__
|
|
605
593
|
|
606
594
|
--
|
607
595
|
|
608
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L498)
|
609
597
|
|
610
598
|
> def start_driver(http_client_ops =
|
611
599
|
|
@@ -625,7 +613,7 @@ __Returns:__
|
|
625
613
|
|
626
614
|
--
|
627
615
|
|
628
|
-
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [set_implicit_wait](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L520)
|
629
617
|
|
630
618
|
> def set_implicit_wait(wait)
|
631
619
|
|
@@ -633,7 +621,7 @@ To ignore error for Espresso Driver
|
|
633
621
|
|
634
622
|
--
|
635
623
|
|
636
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
624
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L530)
|
637
625
|
|
638
626
|
> def no_wait
|
639
627
|
|
@@ -641,7 +629,7 @@ Set implicit wait to zero.
|
|
641
629
|
|
642
630
|
--
|
643
631
|
|
644
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L544)
|
645
633
|
|
646
634
|
> def set_wait(timeout = nil)
|
647
635
|
|
@@ -657,7 +645,7 @@ __Returns:__
|
|
657
645
|
|
658
646
|
--
|
659
647
|
|
660
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
648
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L561)
|
661
649
|
|
662
650
|
> def exists(pre_check = 0, post_check = @core.default_wait)
|
663
651
|
|
@@ -681,7 +669,7 @@ __Returns:__
|
|
681
669
|
|
682
670
|
--
|
683
671
|
|
684
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L585)
|
685
673
|
|
686
674
|
> def execute_script(script, *args)
|
687
675
|
|
@@ -699,7 +687,7 @@ __Returns:__
|
|
699
687
|
|
700
688
|
--
|
701
689
|
|
702
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L607)
|
703
691
|
|
704
692
|
> def find_elements(*args)
|
705
693
|
|
@@ -719,7 +707,7 @@ __Returns:__
|
|
719
707
|
|
720
708
|
--
|
721
709
|
|
722
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L622)
|
723
711
|
|
724
712
|
> def find_element(*args)
|
725
713
|
|
@@ -737,7 +725,7 @@ __Returns:__
|
|
737
725
|
|
738
726
|
--
|
739
727
|
|
740
|
-
##### [set_location](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [set_location](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L635)
|
741
729
|
|
742
730
|
> def set_location(opts = {})
|
743
731
|
|
@@ -753,7 +741,7 @@ __Returns:__
|
|
753
741
|
|
754
742
|
--
|
755
743
|
|
756
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
744
|
+
##### [x](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/driver.rb#L645)
|
757
745
|
|
758
746
|
> def x
|
759
747
|
|
@@ -766,7 +754,7 @@ __Returns:__
|
|
766
754
|
|
767
755
|
--
|
768
756
|
|
769
|
-
##### [username](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [username](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/sauce_labs.rb#L4)
|
770
758
|
|
771
759
|
> def username
|
772
760
|
|
@@ -774,7 +762,7 @@ Username for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_US
|
|
774
762
|
|
775
763
|
--
|
776
764
|
|
777
|
-
##### [access_key](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [access_key](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/sauce_labs.rb#L6)
|
778
766
|
|
779
767
|
> def access_key
|
780
768
|
|
@@ -782,7 +770,7 @@ Access Key for use on Sauce Labs. Set `false` to disable Sauce, even when SAUCE_
|
|
782
770
|
|
783
771
|
--
|
784
772
|
|
785
|
-
##### [endpoint](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [endpoint](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/sauce_labs.rb#L8)
|
786
774
|
|
787
775
|
> def endpoint
|
788
776
|
|
@@ -790,7 +778,7 @@ Override the Sauce Appium endpoint to allow e.g. TestObject tests. Default is 'o
|
|
790
778
|
|
791
779
|
--
|
792
780
|
|
793
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/sauce_labs.rb#L33)
|
794
782
|
|
795
783
|
> def initialize(appium_lib_opts)
|
796
784
|
|
@@ -806,7 +794,7 @@ __Returns:__
|
|
806
794
|
|
807
795
|
--
|
808
796
|
|
809
|
-
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [sauce_server_url?](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/sauce_labs.rb#L53)
|
810
798
|
|
811
799
|
> def sauce_server_url?
|
812
800
|
|
@@ -818,7 +806,7 @@ __Returns:__
|
|
818
806
|
|
819
807
|
--
|
820
808
|
|
821
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/sauce_labs.rb#L66)
|
822
810
|
|
823
811
|
> def server_url
|
824
812
|
|
@@ -830,7 +818,7 @@ __Returns:__
|
|
830
818
|
|
831
819
|
--
|
832
820
|
|
833
|
-
##### [get_log](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [get_log](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/log.rb#L11)
|
834
822
|
|
835
823
|
> def get_log(type)
|
836
824
|
|
@@ -846,7 +834,7 @@ __Returns:__
|
|
846
834
|
|
847
835
|
--
|
848
836
|
|
849
|
-
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [get_available_log_types](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/log.rb#L23)
|
850
838
|
|
851
839
|
> def get_available_log_types
|
852
840
|
|
@@ -858,7 +846,7 @@ __Returns:__
|
|
858
846
|
|
859
847
|
--
|
860
848
|
|
861
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/wait.rb#L6)
|
862
850
|
|
863
851
|
> def initialize(opts = {})
|
864
852
|
|
@@ -870,7 +858,7 @@ __Returns:__
|
|
870
858
|
|
871
859
|
--
|
872
860
|
|
873
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
861
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/wait.rb#L26)
|
874
862
|
|
875
863
|
> def wait_true(opts = {})
|
876
864
|
|
@@ -890,7 +878,7 @@ __Parameters:__
|
|
890
878
|
|
891
879
|
--
|
892
880
|
|
893
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
881
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/wait.rb#L43)
|
894
882
|
|
895
883
|
> def wait(opts = {})
|
896
884
|
|
@@ -908,7 +896,7 @@ __Parameters:__
|
|
908
896
|
|
909
897
|
--
|
910
898
|
|
911
|
-
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [add_touch_actions](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/device.rb#L12)
|
912
900
|
|
913
901
|
> def add_touch_actions
|
914
902
|
|
@@ -916,7 +904,7 @@ __Parameters:__
|
|
916
904
|
|
917
905
|
--
|
918
906
|
|
919
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
907
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L16)
|
920
908
|
|
921
909
|
> def ignore
|
922
910
|
|
@@ -924,7 +912,7 @@ Return yield and ignore any exceptions.
|
|
924
912
|
|
925
913
|
--
|
926
914
|
|
927
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
915
|
+
##### [back](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L23)
|
928
916
|
|
929
917
|
> def back
|
930
918
|
|
@@ -936,7 +924,7 @@ __Returns:__
|
|
936
924
|
|
937
925
|
--
|
938
926
|
|
939
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
927
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L34)
|
940
928
|
|
941
929
|
> def session_id
|
942
930
|
|
@@ -948,7 +936,7 @@ __Returns:__
|
|
948
936
|
|
949
937
|
--
|
950
938
|
|
951
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L42)
|
952
940
|
|
953
941
|
> def xpath(xpath_str)
|
954
942
|
|
@@ -964,7 +952,7 @@ __Returns:__
|
|
964
952
|
|
965
953
|
--
|
966
954
|
|
967
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
955
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L50)
|
968
956
|
|
969
957
|
> def xpaths(xpath_str)
|
970
958
|
|
@@ -980,7 +968,7 @@ __Returns:__
|
|
980
968
|
|
981
969
|
--
|
982
970
|
|
983
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L60)
|
984
972
|
|
985
973
|
> def result
|
986
974
|
|
@@ -988,7 +976,7 @@ Returns the value of attribute result
|
|
988
976
|
|
989
977
|
--
|
990
978
|
|
991
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
979
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L62)
|
992
980
|
|
993
981
|
> def initialize
|
994
982
|
|
@@ -1000,7 +988,7 @@ __Returns:__
|
|
1000
988
|
|
1001
989
|
--
|
1002
990
|
|
1003
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L66)
|
1004
992
|
|
1005
993
|
> def reset
|
1006
994
|
|
@@ -1008,7 +996,7 @@ __Returns:__
|
|
1008
996
|
|
1009
997
|
--
|
1010
998
|
|
1011
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
999
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L71)
|
1012
1000
|
|
1013
1001
|
> def start_element(name, attrs = [], driver = $driver)
|
1014
1002
|
|
@@ -1016,7 +1004,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1016
1004
|
|
1017
1005
|
--
|
1018
1006
|
|
1019
|
-
##### [formatted_result](https://github.com/appium/ruby_lib/blob/
|
1007
|
+
##### [formatted_result](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L77)
|
1020
1008
|
|
1021
1009
|
> def formatted_result
|
1022
1010
|
|
@@ -1024,7 +1012,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1024
1012
|
|
1025
1013
|
--
|
1026
1014
|
|
1027
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L96)
|
1028
1016
|
|
1029
1017
|
> def get_page_class
|
1030
1018
|
|
@@ -1036,7 +1024,7 @@ __Returns:__
|
|
1036
1024
|
|
1037
1025
|
--
|
1038
1026
|
|
1039
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L121)
|
1040
1028
|
|
1041
1029
|
> def page_class
|
1042
1030
|
|
@@ -1049,7 +1037,7 @@ __Returns:__
|
|
1049
1037
|
|
1050
1038
|
--
|
1051
1039
|
|
1052
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [source](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L128)
|
1053
1041
|
|
1054
1042
|
> def source
|
1055
1043
|
|
@@ -1061,7 +1049,7 @@ __Returns:__
|
|
1061
1049
|
|
1062
1050
|
--
|
1063
1051
|
|
1064
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L135)
|
1065
1053
|
|
1066
1054
|
> def get_source
|
1067
1055
|
|
@@ -1074,7 +1062,7 @@ __Returns:__
|
|
1074
1062
|
|
1075
1063
|
--
|
1076
1064
|
|
1077
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1065
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L145)
|
1078
1066
|
|
1079
1067
|
> def px_to_window_rel(opts = {}, driver = $driver)
|
1080
1068
|
|
@@ -1082,7 +1070,7 @@ Converts pixel values to window relative values
|
|
1082
1070
|
|
1083
1071
|
--
|
1084
1072
|
|
1085
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1073
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L164)
|
1086
1074
|
|
1087
1075
|
> def xml_keys(target)
|
1088
1076
|
|
@@ -1098,7 +1086,7 @@ __Returns:__
|
|
1098
1086
|
|
1099
1087
|
--
|
1100
1088
|
|
1101
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L172)
|
1102
1090
|
|
1103
1091
|
> def xml_values(target)
|
1104
1092
|
|
@@ -1114,7 +1102,7 @@ __Returns:__
|
|
1114
1102
|
|
1115
1103
|
--
|
1116
1104
|
|
1117
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1105
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L180)
|
1118
1106
|
|
1119
1107
|
> def resolve_id(id)
|
1120
1108
|
|
@@ -1130,7 +1118,7 @@ __Returns:__
|
|
1130
1118
|
|
1131
1119
|
--
|
1132
1120
|
|
1133
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1121
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L187)
|
1134
1122
|
|
1135
1123
|
> def filter
|
1136
1124
|
|
@@ -1138,7 +1126,7 @@ Returns the value of attribute filter
|
|
1138
1126
|
|
1139
1127
|
--
|
1140
1128
|
|
1141
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1129
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L190)
|
1142
1130
|
|
1143
1131
|
> def filter=(value)
|
1144
1132
|
|
@@ -1146,7 +1134,7 @@ convert to string to support symbols
|
|
1146
1134
|
|
1147
1135
|
--
|
1148
1136
|
|
1149
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1137
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L196)
|
1150
1138
|
|
1151
1139
|
> def initialize
|
1152
1140
|
|
@@ -1158,7 +1146,7 @@ __Returns:__
|
|
1158
1146
|
|
1159
1147
|
--
|
1160
1148
|
|
1161
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L201)
|
1162
1150
|
|
1163
1151
|
> def reset
|
1164
1152
|
|
@@ -1166,7 +1154,7 @@ __Returns:__
|
|
1166
1154
|
|
1167
1155
|
--
|
1168
1156
|
|
1169
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L207)
|
1170
1158
|
|
1171
1159
|
> def result
|
1172
1160
|
|
@@ -1174,7 +1162,7 @@ __Returns:__
|
|
1174
1162
|
|
1175
1163
|
--
|
1176
1164
|
|
1177
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1165
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L223)
|
1178
1166
|
|
1179
1167
|
> def start_element(name, attrs = [])
|
1180
1168
|
|
@@ -1182,7 +1170,7 @@ __Returns:__
|
|
1182
1170
|
|
1183
1171
|
--
|
1184
1172
|
|
1185
|
-
##### [end_element](https://github.com/appium/ruby_lib/blob/
|
1173
|
+
##### [end_element](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L232)
|
1186
1174
|
|
1187
1175
|
> def end_element(name)
|
1188
1176
|
|
@@ -1190,7 +1178,7 @@ __Returns:__
|
|
1190
1178
|
|
1191
1179
|
--
|
1192
1180
|
|
1193
|
-
##### [characters](https://github.com/appium/ruby_lib/blob/
|
1181
|
+
##### [characters](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/helper.rb#L238)
|
1194
1182
|
|
1195
1183
|
> def characters(chars)
|
1196
1184
|
|
@@ -1198,7 +1186,7 @@ __Returns:__
|
|
1198
1186
|
|
1199
1187
|
--
|
1200
1188
|
|
1201
|
-
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [DEFAULT_HEADERS](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/http_client.rb#L8)
|
1202
1190
|
|
1203
1191
|
> DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }.freeze
|
1204
1192
|
|
@@ -1206,7 +1194,7 @@ Default HTTP client inherit Appium::Core::Base::Http::Default, but has different
|
|
1206
1194
|
|
1207
1195
|
--
|
1208
1196
|
|
1209
|
-
##### [pinch](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [pinch](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/multi_touch.rb#L51)
|
1210
1198
|
|
1211
1199
|
> def pinch(percentage = 25, auto_perform = true, driver = $driver)
|
1212
1200
|
|
@@ -1226,7 +1214,7 @@ __Parameters:__
|
|
1226
1214
|
|
1227
1215
|
--
|
1228
1216
|
|
1229
|
-
##### [zoom](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [zoom](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/multi_touch.rb#L95)
|
1230
1218
|
|
1231
1219
|
> def zoom(percentage = 200, auto_perform = true, driver = $driver)
|
1232
1220
|
|
@@ -1246,7 +1234,7 @@ __Parameters:__
|
|
1246
1234
|
|
1247
1235
|
--
|
1248
1236
|
|
1249
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/multi_touch.rb#L216)
|
1250
1238
|
|
1251
1239
|
> def initialize(driver = $driver)
|
1252
1240
|
|
@@ -1258,7 +1246,7 @@ __Returns:__
|
|
1258
1246
|
|
1259
1247
|
--
|
1260
1248
|
|
1261
|
-
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [COMPLEX_ACTIONS](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/touch_actions.rb#L33)
|
1262
1250
|
|
1263
1251
|
> COMPLEX_ACTIONS = ::Appium::Core::TouchAction::COMPLEX_ACTIONS
|
1264
1252
|
|
@@ -1266,7 +1254,7 @@ __Returns:__
|
|
1266
1254
|
|
1267
1255
|
--
|
1268
1256
|
|
1269
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/touch_actions.rb#L47)
|
1270
1258
|
|
1271
1259
|
> def initialize(driver = $driver)
|
1272
1260
|
|
@@ -1278,7 +1266,7 @@ __Returns:__
|
|
1278
1266
|
|
1279
1267
|
--
|
1280
1268
|
|
1281
|
-
##### [swipe](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [swipe](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/common/touch_actions.rb#L51)
|
1282
1270
|
|
1283
1271
|
> def swipe(opts, ele = nil)
|
1284
1272
|
|
@@ -1286,7 +1274,7 @@ __Returns:__
|
|
1286
1274
|
|
1287
1275
|
--
|
1288
1276
|
|
1289
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1277
|
+
##### [for](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/android.rb#L19) android
|
1290
1278
|
|
1291
1279
|
> def self.for(target)
|
1292
1280
|
|
@@ -1294,7 +1282,7 @@ __Returns:__
|
|
1294
1282
|
|
1295
1283
|
--
|
1296
1284
|
|
1297
|
-
##### [TextView](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [TextView](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/text.rb#L4) android
|
1298
1286
|
|
1299
1287
|
> TextView = 'android.widget.TextView'.freeze
|
1300
1288
|
|
@@ -1302,7 +1290,7 @@ __Returns:__
|
|
1302
1290
|
|
1303
1291
|
--
|
1304
1292
|
|
1305
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1293
|
+
##### [text](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/text.rb#L10) android
|
1306
1294
|
|
1307
1295
|
> def text(value)
|
1308
1296
|
|
@@ -1319,7 +1307,7 @@ __Returns:__
|
|
1319
1307
|
|
1320
1308
|
--
|
1321
1309
|
|
1322
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1310
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/text.rb#L19) android
|
1323
1311
|
|
1324
1312
|
> def texts(value = false)
|
1325
1313
|
|
@@ -1336,7 +1324,7 @@ __Returns:__
|
|
1336
1324
|
|
1337
1325
|
--
|
1338
1326
|
|
1339
|
-
##### [first_text](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [first_text](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/text.rb#L26) android
|
1340
1328
|
|
1341
1329
|
> def first_text
|
1342
1330
|
|
@@ -1348,7 +1336,7 @@ __Returns:__
|
|
1348
1336
|
|
1349
1337
|
--
|
1350
1338
|
|
1351
|
-
##### [last_text](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [last_text](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/text.rb#L32) android
|
1352
1340
|
|
1353
1341
|
> def last_text
|
1354
1342
|
|
@@ -1360,7 +1348,7 @@ __Returns:__
|
|
1360
1348
|
|
1361
1349
|
--
|
1362
1350
|
|
1363
|
-
##### [text_exact](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [text_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/text.rb#L39) android
|
1364
1352
|
|
1365
1353
|
> def text_exact(value)
|
1366
1354
|
|
@@ -1376,7 +1364,7 @@ __Returns:__
|
|
1376
1364
|
|
1377
1365
|
--
|
1378
1366
|
|
1379
|
-
##### [texts_exact](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [texts_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/text.rb#L46) android
|
1380
1368
|
|
1381
1369
|
> def texts_exact(value)
|
1382
1370
|
|
@@ -1392,7 +1380,7 @@ __Returns:__
|
|
1392
1380
|
|
1393
1381
|
--
|
1394
1382
|
|
1395
|
-
##### [result](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [result](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L6) android
|
1396
1384
|
|
1397
1385
|
> def result
|
1398
1386
|
|
@@ -1400,7 +1388,7 @@ Returns the value of attribute result
|
|
1400
1388
|
|
1401
1389
|
--
|
1402
1390
|
|
1403
|
-
##### [keys](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [keys](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L6) android
|
1404
1392
|
|
1405
1393
|
> def keys
|
1406
1394
|
|
@@ -1408,7 +1396,7 @@ Returns the value of attribute keys
|
|
1408
1396
|
|
1409
1397
|
--
|
1410
1398
|
|
1411
|
-
##### [filter](https://github.com/appium/ruby_lib/blob/
|
1399
|
+
##### [filter](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L6) android
|
1412
1400
|
|
1413
1401
|
> def filter
|
1414
1402
|
|
@@ -1416,7 +1404,7 @@ Returns the value of attribute filter
|
|
1416
1404
|
|
1417
1405
|
--
|
1418
1406
|
|
1419
|
-
##### [filter=](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [filter=](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L9) android
|
1420
1408
|
|
1421
1409
|
> def filter=(value)
|
1422
1410
|
|
@@ -1424,7 +1412,7 @@ convert to string to support symbols
|
|
1424
1412
|
|
1425
1413
|
--
|
1426
1414
|
|
1427
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L15) android
|
1428
1416
|
|
1429
1417
|
> def initialize
|
1430
1418
|
|
@@ -1436,7 +1424,7 @@ __Returns:__
|
|
1436
1424
|
|
1437
1425
|
--
|
1438
1426
|
|
1439
|
-
##### [reset](https://github.com/appium/ruby_lib/blob/
|
1427
|
+
##### [reset](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L20) android
|
1440
1428
|
|
1441
1429
|
> def reset
|
1442
1430
|
|
@@ -1444,7 +1432,7 @@ __Returns:__
|
|
1444
1432
|
|
1445
1433
|
--
|
1446
1434
|
|
1447
|
-
##### [start_element](https://github.com/appium/ruby_lib/blob/
|
1435
|
+
##### [start_element](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L26) android
|
1448
1436
|
|
1449
1437
|
> def start_element(name, attrs = [], driver = $driver)
|
1450
1438
|
|
@@ -1452,7 +1440,7 @@ http://nokogiri.org/Nokogiri/XML/SAX/Document.html
|
|
1452
1440
|
|
1453
1441
|
--
|
1454
1442
|
|
1455
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1443
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L80) android
|
1456
1444
|
|
1457
1445
|
> def get_android_inspect(class_name = false)
|
1458
1446
|
|
@@ -1471,7 +1459,7 @@ __Returns:__
|
|
1471
1459
|
|
1472
1460
|
--
|
1473
1461
|
|
1474
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1462
|
+
##### [page](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L106) android
|
1475
1463
|
|
1476
1464
|
> def page(opts = {})
|
1477
1465
|
|
@@ -1490,7 +1478,7 @@ __Returns:__
|
|
1490
1478
|
|
1491
1479
|
--
|
1492
1480
|
|
1493
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [id](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L115) android
|
1494
1482
|
|
1495
1483
|
> def id(id)
|
1496
1484
|
|
@@ -1506,7 +1494,7 @@ __Returns:__
|
|
1506
1494
|
|
1507
1495
|
--
|
1508
1496
|
|
1509
|
-
##### [ids](https://github.com/appium/ruby_lib/blob/
|
1497
|
+
##### [ids](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L123) android
|
1510
1498
|
|
1511
1499
|
> def ids(id)
|
1512
1500
|
|
@@ -1522,7 +1510,7 @@ __Returns:__
|
|
1522
1510
|
|
1523
1511
|
--
|
1524
1512
|
|
1525
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
1513
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L132) android
|
1526
1514
|
|
1527
1515
|
> def ele_index(class_name, index)
|
1528
1516
|
|
@@ -1540,7 +1528,7 @@ __Returns:__
|
|
1540
1528
|
|
1541
1529
|
--
|
1542
1530
|
|
1543
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1531
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L150) android
|
1544
1532
|
|
1545
1533
|
> def first_ele(class_name)
|
1546
1534
|
|
@@ -1556,7 +1544,7 @@ __Returns:__
|
|
1556
1544
|
|
1557
1545
|
--
|
1558
1546
|
|
1559
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L157) android
|
1560
1548
|
|
1561
1549
|
> def last_ele(class_name)
|
1562
1550
|
|
@@ -1572,7 +1560,7 @@ __Returns:__
|
|
1572
1560
|
|
1573
1561
|
--
|
1574
1562
|
|
1575
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1563
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L165) android
|
1576
1564
|
|
1577
1565
|
> def tag(class_name)
|
1578
1566
|
|
@@ -1588,7 +1576,7 @@ __Returns:__
|
|
1588
1576
|
|
1589
1577
|
--
|
1590
1578
|
|
1591
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L173) android
|
1592
1580
|
|
1593
1581
|
> def tags(class_name)
|
1594
1582
|
|
@@ -1604,7 +1592,7 @@ __Returns:__
|
|
1604
1592
|
|
1605
1593
|
--
|
1606
1594
|
|
1607
|
-
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/
|
1595
|
+
##### [string_visible_contains_xpath](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L216) android
|
1608
1596
|
|
1609
1597
|
> def string_visible_contains_xpath(class_name, value)
|
1610
1598
|
|
@@ -1625,7 +1613,7 @@ __Returns:__
|
|
1625
1613
|
|
1626
1614
|
--
|
1627
1615
|
|
1628
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
1616
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L236) android
|
1629
1617
|
|
1630
1618
|
> def string_visible_contains(class_name, value)
|
1631
1619
|
|
@@ -1646,7 +1634,7 @@ __Returns:__
|
|
1646
1634
|
|
1647
1635
|
--
|
1648
1636
|
|
1649
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
1637
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L254) android
|
1650
1638
|
|
1651
1639
|
> def complex_find_contains(class_name, value)
|
1652
1640
|
|
@@ -1664,7 +1652,7 @@ __Returns:__
|
|
1664
1652
|
|
1665
1653
|
--
|
1666
1654
|
|
1667
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
1655
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L262) android
|
1668
1656
|
|
1669
1657
|
> def complex_finds_contains(class_name, value)
|
1670
1658
|
|
@@ -1682,7 +1670,7 @@ __Returns:__
|
|
1682
1670
|
|
1683
1671
|
--
|
1684
1672
|
|
1685
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
1673
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L306) android
|
1686
1674
|
|
1687
1675
|
> def complex_find_exact(class_name, value)
|
1688
1676
|
|
@@ -1700,7 +1688,7 @@ __Returns:__
|
|
1700
1688
|
|
1701
1689
|
--
|
1702
1690
|
|
1703
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
1691
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/helper.rb#L314) android
|
1704
1692
|
|
1705
1693
|
> def complex_finds_exact(class_name, value)
|
1706
1694
|
|
@@ -1718,7 +1706,7 @@ __Returns:__
|
|
1718
1706
|
|
1719
1707
|
--
|
1720
1708
|
|
1721
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1709
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/alert.rb#L6) android
|
1722
1710
|
|
1723
1711
|
> def alert_click(value)
|
1724
1712
|
|
@@ -1734,7 +1722,7 @@ __Returns:__
|
|
1734
1722
|
|
1735
1723
|
--
|
1736
1724
|
|
1737
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1725
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/alert.rb#L13) android
|
1738
1726
|
|
1739
1727
|
> def alert_accept
|
1740
1728
|
|
@@ -1747,7 +1735,7 @@ __Returns:__
|
|
1747
1735
|
|
1748
1736
|
--
|
1749
1737
|
|
1750
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1738
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/alert.rb#L20) android
|
1751
1739
|
|
1752
1740
|
> def alert_accept_text
|
1753
1741
|
|
@@ -1760,7 +1748,7 @@ __Returns:__
|
|
1760
1748
|
|
1761
1749
|
--
|
1762
1750
|
|
1763
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1751
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/alert.rb#L27) android
|
1764
1752
|
|
1765
1753
|
> def alert_dismiss
|
1766
1754
|
|
@@ -1773,7 +1761,7 @@ __Returns:__
|
|
1773
1761
|
|
1774
1762
|
--
|
1775
1763
|
|
1776
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1764
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/alert.rb#L34) android
|
1777
1765
|
|
1778
1766
|
> def alert_dismiss_text
|
1779
1767
|
|
@@ -1786,7 +1774,7 @@ __Returns:__
|
|
1786
1774
|
|
1787
1775
|
--
|
1788
1776
|
|
1789
|
-
##### [Button](https://github.com/appium/ruby_lib/blob/
|
1777
|
+
##### [Button](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L3) android
|
1790
1778
|
|
1791
1779
|
> Button = 'android.widget.Button'.freeze
|
1792
1780
|
|
@@ -1794,7 +1782,7 @@ __Returns:__
|
|
1794
1782
|
|
1795
1783
|
--
|
1796
1784
|
|
1797
|
-
##### [ImageButton](https://github.com/appium/ruby_lib/blob/
|
1785
|
+
##### [ImageButton](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L4) android
|
1798
1786
|
|
1799
1787
|
> ImageButton = 'android.widget.ImageButton'.freeze
|
1800
1788
|
|
@@ -1802,7 +1790,7 @@ __Returns:__
|
|
1802
1790
|
|
1803
1791
|
--
|
1804
1792
|
|
1805
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
1793
|
+
##### [button](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L10) android
|
1806
1794
|
|
1807
1795
|
> def button(value)
|
1808
1796
|
|
@@ -1819,7 +1807,7 @@ __Returns:__
|
|
1819
1807
|
|
1820
1808
|
--
|
1821
1809
|
|
1822
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
1810
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L27) android
|
1823
1811
|
|
1824
1812
|
> def buttons(value = false)
|
1825
1813
|
|
@@ -1836,7 +1824,7 @@ __Returns:__
|
|
1836
1824
|
|
1837
1825
|
--
|
1838
1826
|
|
1839
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
1827
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L34) android
|
1840
1828
|
|
1841
1829
|
> def first_button
|
1842
1830
|
|
@@ -1848,7 +1836,7 @@ __Returns:__
|
|
1848
1836
|
|
1849
1837
|
--
|
1850
1838
|
|
1851
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
1839
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L40) android
|
1852
1840
|
|
1853
1841
|
> def last_button
|
1854
1842
|
|
@@ -1860,7 +1848,7 @@ __Returns:__
|
|
1860
1848
|
|
1861
1849
|
--
|
1862
1850
|
|
1863
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
1851
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L56) android
|
1864
1852
|
|
1865
1853
|
> def button_exact(value)
|
1866
1854
|
|
@@ -1876,7 +1864,7 @@ __Returns:__
|
|
1876
1864
|
|
1877
1865
|
--
|
1878
1866
|
|
1879
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
1867
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/button.rb#L63) android
|
1880
1868
|
|
1881
1869
|
> def buttons_exact(value)
|
1882
1870
|
|
@@ -1892,7 +1880,7 @@ __Returns:__
|
|
1892
1880
|
|
1893
1881
|
--
|
1894
1882
|
|
1895
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1883
|
+
##### [find](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/generic.rb#L6) android
|
1896
1884
|
|
1897
1885
|
> def find(value)
|
1898
1886
|
|
@@ -1908,7 +1896,7 @@ __Returns:__
|
|
1908
1896
|
|
1909
1897
|
--
|
1910
1898
|
|
1911
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1899
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/generic.rb#L13) android
|
1912
1900
|
|
1913
1901
|
> def finds(value)
|
1914
1902
|
|
@@ -1924,7 +1912,7 @@ __Returns:__
|
|
1924
1912
|
|
1925
1913
|
--
|
1926
1914
|
|
1927
|
-
##### [find_exact](https://github.com/appium/ruby_lib/blob/
|
1915
|
+
##### [find_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/generic.rb#L20) android
|
1928
1916
|
|
1929
1917
|
> def find_exact(value)
|
1930
1918
|
|
@@ -1940,7 +1928,7 @@ __Returns:__
|
|
1940
1928
|
|
1941
1929
|
--
|
1942
1930
|
|
1943
|
-
##### [finds_exact](https://github.com/appium/ruby_lib/blob/
|
1931
|
+
##### [finds_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/generic.rb#L27) android
|
1944
1932
|
|
1945
1933
|
> def finds_exact(value)
|
1946
1934
|
|
@@ -1956,7 +1944,7 @@ __Returns:__
|
|
1956
1944
|
|
1957
1945
|
--
|
1958
1946
|
|
1959
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1947
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/generic.rb#L40) android
|
1960
1948
|
|
1961
1949
|
> def scroll_to(text, scrollable_index = 0)
|
1962
1950
|
|
@@ -1974,7 +1962,7 @@ __Returns:__
|
|
1974
1962
|
|
1975
1963
|
--
|
1976
1964
|
|
1977
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
1965
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/generic.rb#L58) android
|
1978
1966
|
|
1979
1967
|
> def scroll_to_exact(text, scrollable_index = 0)
|
1980
1968
|
|
@@ -1992,7 +1980,7 @@ __Returns:__
|
|
1992
1980
|
|
1993
1981
|
--
|
1994
1982
|
|
1995
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
1983
|
+
##### [for](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/espresso/bridge.rb#L7) android
|
1996
1984
|
|
1997
1985
|
> def self.for(target)
|
1998
1986
|
|
@@ -2000,7 +1988,7 @@ __Returns:__
|
|
2000
1988
|
|
2001
1989
|
--
|
2002
1990
|
|
2003
|
-
##### [EditText](https://github.com/appium/ruby_lib/blob/
|
1991
|
+
##### [EditText](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/textfield.rb#L3) android
|
2004
1992
|
|
2005
1993
|
> EditText = 'android.widget.EditText'.freeze
|
2006
1994
|
|
@@ -2008,7 +1996,7 @@ __Returns:__
|
|
2008
1996
|
|
2009
1997
|
--
|
2010
1998
|
|
2011
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1999
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/textfield.rb#L9) android
|
2012
2000
|
|
2013
2001
|
> def textfield(value)
|
2014
2002
|
|
@@ -2025,7 +2013,7 @@ __Returns:__
|
|
2025
2013
|
|
2026
2014
|
--
|
2027
2015
|
|
2028
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
2016
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/textfield.rb#L18) android
|
2029
2017
|
|
2030
2018
|
> def textfields(value = false)
|
2031
2019
|
|
@@ -2042,7 +2030,7 @@ __Returns:__
|
|
2042
2030
|
|
2043
2031
|
--
|
2044
2032
|
|
2045
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
2033
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/textfield.rb#L25) android
|
2046
2034
|
|
2047
2035
|
> def first_textfield
|
2048
2036
|
|
@@ -2054,7 +2042,7 @@ __Returns:__
|
|
2054
2042
|
|
2055
2043
|
--
|
2056
2044
|
|
2057
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
2045
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/textfield.rb#L31) android
|
2058
2046
|
|
2059
2047
|
> def last_textfield
|
2060
2048
|
|
@@ -2066,7 +2054,7 @@ __Returns:__
|
|
2066
2054
|
|
2067
2055
|
--
|
2068
2056
|
|
2069
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
2057
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/textfield.rb#L38) android
|
2070
2058
|
|
2071
2059
|
> def textfield_exact(value)
|
2072
2060
|
|
@@ -2082,7 +2070,7 @@ __Returns:__
|
|
2082
2070
|
|
2083
2071
|
--
|
2084
2072
|
|
2085
|
-
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/
|
2073
|
+
##### [textfields_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/element/textfield.rb#L45) android
|
2086
2074
|
|
2087
2075
|
> def textfields_exact(value)
|
2088
2076
|
|
@@ -2098,7 +2086,7 @@ __Returns:__
|
|
2098
2086
|
|
2099
2087
|
--
|
2100
2088
|
|
2101
|
-
##### [for](https://github.com/appium/ruby_lib/blob/
|
2089
|
+
##### [for](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/bridge.rb#L7) android
|
2102
2090
|
|
2103
2091
|
> def self.for(target)
|
2104
2092
|
|
@@ -2106,7 +2094,7 @@ __Returns:__
|
|
2106
2094
|
|
2107
2095
|
--
|
2108
2096
|
|
2109
|
-
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/
|
2097
|
+
##### [string_visible_contains](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/helper.rb#L13) android
|
2110
2098
|
|
2111
2099
|
> def string_visible_contains(class_name, value)
|
2112
2100
|
|
@@ -2127,7 +2115,7 @@ __Returns:__
|
|
2127
2115
|
|
2128
2116
|
--
|
2129
2117
|
|
2130
|
-
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/
|
2118
|
+
##### [complex_find_contains](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/helper.rb#L31) android
|
2131
2119
|
|
2132
2120
|
> def complex_find_contains(class_name, value)
|
2133
2121
|
|
@@ -2145,7 +2133,7 @@ __Returns:__
|
|
2145
2133
|
|
2146
2134
|
--
|
2147
2135
|
|
2148
|
-
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/
|
2136
|
+
##### [complex_finds_contains](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/helper.rb#L41) android
|
2149
2137
|
|
2150
2138
|
> def complex_finds_contains(class_name, value)
|
2151
2139
|
|
@@ -2163,7 +2151,7 @@ __Returns:__
|
|
2163
2151
|
|
2164
2152
|
--
|
2165
2153
|
|
2166
|
-
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/
|
2154
|
+
##### [complex_find_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/helper.rb#L69) android
|
2167
2155
|
|
2168
2156
|
> def complex_find_exact(class_name, value)
|
2169
2157
|
|
@@ -2181,7 +2169,7 @@ __Returns:__
|
|
2181
2169
|
|
2182
2170
|
--
|
2183
2171
|
|
2184
|
-
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/
|
2172
|
+
##### [complex_finds_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/helper.rb#L79) android
|
2185
2173
|
|
2186
2174
|
> def complex_finds_exact(class_name, value)
|
2187
2175
|
|
@@ -2199,7 +2187,7 @@ __Returns:__
|
|
2199
2187
|
|
2200
2188
|
--
|
2201
2189
|
|
2202
|
-
##### [shell](https://github.com/appium/ruby_lib/blob/
|
2190
|
+
##### [shell](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/common/command/command.rb#L14) android
|
2203
2191
|
|
2204
2192
|
> def shell(command, arguments)
|
2205
2193
|
|
@@ -2214,7 +2202,7 @@ __Parameters:__
|
|
2214
2202
|
|
2215
2203
|
--
|
2216
2204
|
|
2217
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
2205
|
+
##### [button](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/element/button.rb#L9) android
|
2218
2206
|
|
2219
2207
|
> def button(value)
|
2220
2208
|
|
@@ -2231,7 +2219,7 @@ __Returns:__
|
|
2231
2219
|
|
2232
2220
|
--
|
2233
2221
|
|
2234
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
2222
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/element/button.rb#L29) android
|
2235
2223
|
|
2236
2224
|
> def buttons(value = false)
|
2237
2225
|
|
@@ -2248,7 +2236,7 @@ __Returns:__
|
|
2248
2236
|
|
2249
2237
|
--
|
2250
2238
|
|
2251
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
2239
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/element/button.rb#L36) android
|
2252
2240
|
|
2253
2241
|
> def first_button
|
2254
2242
|
|
@@ -2260,7 +2248,7 @@ __Returns:__
|
|
2260
2248
|
|
2261
2249
|
--
|
2262
2250
|
|
2263
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
2251
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/element/button.rb#L43) android
|
2264
2252
|
|
2265
2253
|
> def last_button
|
2266
2254
|
|
@@ -2272,7 +2260,7 @@ __Returns:__
|
|
2272
2260
|
|
2273
2261
|
--
|
2274
2262
|
|
2275
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
2263
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/element/button.rb#L60) android
|
2276
2264
|
|
2277
2265
|
> def button_exact(value)
|
2278
2266
|
|
@@ -2288,7 +2276,7 @@ __Returns:__
|
|
2288
2276
|
|
2289
2277
|
--
|
2290
2278
|
|
2291
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
2279
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/d5c1eab4db6ed8af9489c5abc533ef6cea0aa807/lib/appium_lib/android/uiautomator2/element/button.rb#L68) android
|
2292
2280
|
|
2293
2281
|
> def buttons_exact(value)
|
2294
2282
|
|