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