appium_lib 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/android_docs.md +120 -102
- data/docs/ios_docs.md +119 -101
- data/lib/appium_lib/common/helper.rb +16 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +3 -4
- data/readme.md +3 -0
- 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: db54c94330a0aeeaca1843d69cea79776b27133a
|
4
|
+
data.tar.gz: 9c7d2e10ed73c567ecec8fe2a525711963f9ca98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 204d0285130f23a5ce32636dddc2e9d3de9bb810b0858d5c07bd35e51bd3f3dc3be8e6043739f6b63a37b3b67eacce4ec6246afbf2c64bad1453b157c3439cb4
|
7
|
+
data.tar.gz: 0da094f765d62bb8ef8f7e8350817f2605799268031eb6ebc55e9feb0bdabd1d50f5e2d121a78b943015367b68b84d579777de645eeee5f815ea72c947d6268c
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L12)
|
2
2
|
|
3
3
|
> def load_appium_txt opts
|
4
4
|
|
@@ -15,7 +15,25 @@ __Returns:__
|
|
15
15
|
|
16
16
|
--
|
17
17
|
|
18
|
-
##### [
|
18
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L129)
|
19
|
+
|
20
|
+
> def self.promote_appium_methods class_array
|
21
|
+
|
22
|
+
Promote appium methods to class instance methods
|
23
|
+
|
24
|
+
To promote methods to all classes:
|
25
|
+
|
26
|
+
```ruby
|
27
|
+
Appium.promote_appium_methods Object
|
28
|
+
```
|
29
|
+
|
30
|
+
__Parameters:__
|
31
|
+
|
32
|
+
[Array<Class>] class_array - An array of classes
|
33
|
+
|
34
|
+
--
|
35
|
+
|
36
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L427)
|
19
37
|
|
20
38
|
> def default_wait
|
21
39
|
|
@@ -28,7 +46,7 @@ __Returns:__
|
|
28
46
|
|
29
47
|
--
|
30
48
|
|
31
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
49
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
32
50
|
|
33
51
|
> def app_path
|
34
52
|
|
@@ -36,7 +54,7 @@ Returns the value of attribute app_path
|
|
36
54
|
|
37
55
|
--
|
38
56
|
|
39
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
57
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
40
58
|
|
41
59
|
> def app_name
|
42
60
|
|
@@ -44,7 +62,7 @@ Returns the value of attribute app_name
|
|
44
62
|
|
45
63
|
--
|
46
64
|
|
47
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
65
|
+
##### [device](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
48
66
|
|
49
67
|
> def device
|
50
68
|
|
@@ -52,7 +70,7 @@ Returns the value of attribute device
|
|
52
70
|
|
53
71
|
--
|
54
72
|
|
55
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
73
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
56
74
|
|
57
75
|
> def app_package
|
58
76
|
|
@@ -60,7 +78,7 @@ Returns the value of attribute app_package
|
|
60
78
|
|
61
79
|
--
|
62
80
|
|
63
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
81
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
64
82
|
|
65
83
|
> def app_activity
|
66
84
|
|
@@ -68,7 +86,7 @@ Returns the value of attribute app_activity
|
|
68
86
|
|
69
87
|
--
|
70
88
|
|
71
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
72
90
|
|
73
91
|
> def app_wait_activity
|
74
92
|
|
@@ -76,7 +94,7 @@ Returns the value of attribute app_wait_activity
|
|
76
94
|
|
77
95
|
--
|
78
96
|
|
79
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
97
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
80
98
|
|
81
99
|
> def sauce_username
|
82
100
|
|
@@ -84,7 +102,7 @@ Returns the value of attribute sauce_username
|
|
84
102
|
|
85
103
|
--
|
86
104
|
|
87
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
105
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
88
106
|
|
89
107
|
> def sauce_access_key
|
90
108
|
|
@@ -92,7 +110,7 @@ Returns the value of attribute sauce_access_key
|
|
92
110
|
|
93
111
|
--
|
94
112
|
|
95
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
113
|
+
##### [port](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
96
114
|
|
97
115
|
> def port
|
98
116
|
|
@@ -100,7 +118,7 @@ Returns the value of attribute port
|
|
100
118
|
|
101
119
|
--
|
102
120
|
|
103
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
121
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L159)
|
104
122
|
|
105
123
|
> def debug
|
106
124
|
|
@@ -108,7 +126,7 @@ Returns the value of attribute debug
|
|
108
126
|
|
109
127
|
--
|
110
128
|
|
111
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
129
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L191)
|
112
130
|
|
113
131
|
> def initialize opts={}
|
114
132
|
|
@@ -149,7 +167,7 @@ __Returns:__
|
|
149
167
|
|
150
168
|
--
|
151
169
|
|
152
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [status](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L285)
|
153
171
|
|
154
172
|
> def status
|
155
173
|
|
@@ -175,7 +193,7 @@ __Returns:__
|
|
175
193
|
|
176
194
|
--
|
177
195
|
|
178
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L291)
|
179
197
|
|
180
198
|
> def server_version
|
181
199
|
|
@@ -187,7 +205,7 @@ __Returns:__
|
|
187
205
|
|
188
206
|
--
|
189
207
|
|
190
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
208
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L332)
|
191
209
|
|
192
210
|
> def absolute_app_path
|
193
211
|
|
@@ -199,7 +217,7 @@ __Returns:__
|
|
199
217
|
|
200
218
|
--
|
201
219
|
|
202
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L348)
|
203
221
|
|
204
222
|
> def server_url
|
205
223
|
|
@@ -211,7 +229,7 @@ __Returns:__
|
|
211
229
|
|
212
230
|
--
|
213
231
|
|
214
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
232
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L358)
|
215
233
|
|
216
234
|
> def restart
|
217
235
|
|
@@ -223,7 +241,7 @@ __Returns:__
|
|
223
241
|
|
224
242
|
--
|
225
243
|
|
226
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
244
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L365)
|
227
245
|
|
228
246
|
> def driver
|
229
247
|
|
@@ -235,7 +253,7 @@ __Returns:__
|
|
235
253
|
|
236
254
|
--
|
237
255
|
|
238
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L375)
|
239
257
|
|
240
258
|
> def screenshot png_save_path
|
241
259
|
|
@@ -253,7 +271,7 @@ __Returns:__
|
|
253
271
|
|
254
272
|
--
|
255
273
|
|
256
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L381)
|
257
275
|
|
258
276
|
> def driver_quit
|
259
277
|
|
@@ -265,7 +283,7 @@ __Returns:__
|
|
265
283
|
|
266
284
|
--
|
267
285
|
|
268
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L389)
|
269
287
|
|
270
288
|
> def start_driver
|
271
289
|
|
@@ -277,7 +295,7 @@ __Returns:__
|
|
277
295
|
|
278
296
|
--
|
279
297
|
|
280
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L413)
|
281
299
|
|
282
300
|
> def no_wait
|
283
301
|
|
@@ -285,7 +303,7 @@ Set implicit wait to zero.
|
|
285
303
|
|
286
304
|
--
|
287
305
|
|
288
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L420)
|
289
307
|
|
290
308
|
> def set_wait timeout=@default_wait
|
291
309
|
|
@@ -301,7 +319,7 @@ __Returns:__
|
|
301
319
|
|
302
320
|
--
|
303
321
|
|
304
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L443)
|
305
323
|
|
306
324
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
307
325
|
|
@@ -327,7 +345,7 @@ __Returns:__
|
|
327
345
|
|
328
346
|
--
|
329
347
|
|
330
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
348
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L465)
|
331
349
|
|
332
350
|
> def execute_script script, *args
|
333
351
|
|
@@ -345,7 +363,7 @@ __Returns:__
|
|
345
363
|
|
346
364
|
--
|
347
365
|
|
348
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L481)
|
349
367
|
|
350
368
|
> def mobile method, *args
|
351
369
|
|
@@ -371,7 +389,7 @@ __Returns:__
|
|
371
389
|
|
372
390
|
--
|
373
391
|
|
374
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
392
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L492)
|
375
393
|
|
376
394
|
> def find_elements *args
|
377
395
|
|
@@ -387,7 +405,7 @@ __Returns:__
|
|
387
405
|
|
388
406
|
--
|
389
407
|
|
390
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
408
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L500)
|
391
409
|
|
392
410
|
> def find_element *args
|
393
411
|
|
@@ -403,7 +421,7 @@ __Returns:__
|
|
403
421
|
|
404
422
|
--
|
405
423
|
|
406
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [x](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/driver.rb#L507)
|
407
425
|
|
408
426
|
> def x
|
409
427
|
|
@@ -416,7 +434,7 @@ __Returns:__
|
|
416
434
|
|
417
435
|
--
|
418
436
|
|
419
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L33)
|
420
438
|
|
421
439
|
> def wait max_wait=30, interval=0.5, &block
|
422
440
|
|
@@ -443,7 +461,7 @@ __Returns:__
|
|
443
461
|
|
444
462
|
--
|
445
463
|
|
446
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L45)
|
447
465
|
|
448
466
|
> def ignore &block
|
449
467
|
|
@@ -451,7 +469,7 @@ Return block.call and ignore any exceptions.
|
|
451
469
|
|
452
470
|
--
|
453
471
|
|
454
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
472
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L55)
|
455
473
|
|
456
474
|
> def wait_true max_wait=30, interval=0.5, &block
|
457
475
|
|
@@ -472,7 +490,7 @@ __Returns:__
|
|
472
490
|
|
473
491
|
--
|
474
492
|
|
475
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
493
|
+
##### [id](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L69)
|
476
494
|
|
477
495
|
> def id id
|
478
496
|
|
@@ -488,7 +506,7 @@ __Returns:__
|
|
488
506
|
|
489
507
|
--
|
490
508
|
|
491
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [back](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L75)
|
492
510
|
|
493
511
|
> def back
|
494
512
|
|
@@ -500,7 +518,7 @@ __Returns:__
|
|
500
518
|
|
501
519
|
--
|
502
520
|
|
503
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
521
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L80)
|
504
522
|
|
505
523
|
> def session_id
|
506
524
|
|
@@ -508,7 +526,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
508
526
|
|
509
527
|
--
|
510
528
|
|
511
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
529
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L88)
|
512
530
|
|
513
531
|
> def xpath xpath_str
|
514
532
|
|
@@ -524,7 +542,7 @@ __Returns:__
|
|
524
542
|
|
525
543
|
--
|
526
544
|
|
527
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
545
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L96)
|
528
546
|
|
529
547
|
> def xpaths xpath_str
|
530
548
|
|
@@ -540,7 +558,7 @@ __Returns:__
|
|
540
558
|
|
541
559
|
--
|
542
560
|
|
543
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
561
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L104)
|
544
562
|
|
545
563
|
> def ele_index tag_name, index
|
546
564
|
|
@@ -558,7 +576,7 @@ __Returns:__
|
|
558
576
|
|
559
577
|
--
|
560
578
|
|
561
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
579
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L112)
|
562
580
|
|
563
581
|
> def find_eles tag_name
|
564
582
|
|
@@ -574,7 +592,7 @@ __Returns:__
|
|
574
592
|
|
575
593
|
--
|
576
594
|
|
577
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
595
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L120)
|
578
596
|
|
579
597
|
> def find_ele_by_text tag, text
|
580
598
|
|
@@ -592,7 +610,7 @@ __Returns:__
|
|
592
610
|
|
593
611
|
--
|
594
612
|
|
595
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
613
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L128)
|
596
614
|
|
597
615
|
> def find_eles_by_text tag, text
|
598
616
|
|
@@ -610,7 +628,7 @@ __Returns:__
|
|
610
628
|
|
611
629
|
--
|
612
630
|
|
613
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
631
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L137)
|
614
632
|
|
615
633
|
> def find_ele_by_attr_include tag, attr, value
|
616
634
|
|
@@ -630,7 +648,7 @@ __Returns:__
|
|
630
648
|
|
631
649
|
--
|
632
650
|
|
633
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
651
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L146)
|
634
652
|
|
635
653
|
> def find_eles_by_attr_include tag, attr, value
|
636
654
|
|
@@ -650,7 +668,7 @@ __Returns:__
|
|
650
668
|
|
651
669
|
--
|
652
670
|
|
653
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
671
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L155)
|
654
672
|
|
655
673
|
> def find_ele_by_text_include tag, text
|
656
674
|
|
@@ -669,7 +687,7 @@ __Returns:__
|
|
669
687
|
|
670
688
|
--
|
671
689
|
|
672
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
690
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L164)
|
673
691
|
|
674
692
|
> def find_eles_by_text_include tag, text
|
675
693
|
|
@@ -688,7 +706,7 @@ __Returns:__
|
|
688
706
|
|
689
707
|
--
|
690
708
|
|
691
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L171)
|
692
710
|
|
693
711
|
> def first_ele tag_name
|
694
712
|
|
@@ -704,7 +722,7 @@ __Returns:__
|
|
704
722
|
|
705
723
|
--
|
706
724
|
|
707
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L179)
|
708
726
|
|
709
727
|
> def last_ele tag_name
|
710
728
|
|
@@ -720,7 +738,7 @@ __Returns:__
|
|
720
738
|
|
721
739
|
--
|
722
740
|
|
723
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [source](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L185)
|
724
742
|
|
725
743
|
> def source
|
726
744
|
|
@@ -732,7 +750,7 @@ __Returns:__
|
|
732
750
|
|
733
751
|
--
|
734
752
|
|
735
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L191)
|
736
754
|
|
737
755
|
> def get_source
|
738
756
|
|
@@ -744,7 +762,7 @@ __Returns:__
|
|
744
762
|
|
745
763
|
--
|
746
764
|
|
747
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L200)
|
748
766
|
|
749
767
|
> def find_name name
|
750
768
|
|
@@ -760,7 +778,7 @@ __Returns:__
|
|
760
778
|
|
761
779
|
--
|
762
780
|
|
763
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L208)
|
764
782
|
|
765
783
|
> def find_names name
|
766
784
|
|
@@ -776,7 +794,7 @@ __Returns:__
|
|
776
794
|
|
777
795
|
--
|
778
796
|
|
779
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/helper.rb#L216)
|
780
798
|
|
781
799
|
> def tag tag_name
|
782
800
|
|
@@ -792,7 +810,7 @@ __Returns:__
|
|
792
810
|
|
793
811
|
--
|
794
812
|
|
795
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
813
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/text.rb#L8)
|
796
814
|
|
797
815
|
> def s_texts
|
798
816
|
|
@@ -804,7 +822,7 @@ __Returns:__
|
|
804
822
|
|
805
823
|
--
|
806
824
|
|
807
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
825
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/text.rb#L14)
|
808
826
|
|
809
827
|
> def e_s_texts
|
810
828
|
|
@@ -816,7 +834,7 @@ __Returns:__
|
|
816
834
|
|
817
835
|
--
|
818
836
|
|
819
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/text.rb#L20)
|
820
838
|
|
821
839
|
> def first_s_text
|
822
840
|
|
@@ -828,7 +846,7 @@ __Returns:__
|
|
828
846
|
|
829
847
|
--
|
830
848
|
|
831
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/text.rb#L26)
|
832
850
|
|
833
851
|
> def last_s_text
|
834
852
|
|
@@ -840,7 +858,7 @@ __Returns:__
|
|
840
858
|
|
841
859
|
--
|
842
860
|
|
843
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
861
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/text.rb#L33)
|
844
862
|
|
845
863
|
> def s_text text
|
846
864
|
|
@@ -856,7 +874,7 @@ __Returns:__
|
|
856
874
|
|
857
875
|
--
|
858
876
|
|
859
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
877
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/text.rb#L41)
|
860
878
|
|
861
879
|
> def s_text_exact text
|
862
880
|
|
@@ -872,7 +890,7 @@ __Returns:__
|
|
872
890
|
|
873
891
|
--
|
874
892
|
|
875
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
893
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/window.rb#L5)
|
876
894
|
|
877
895
|
> def window_size
|
878
896
|
|
@@ -880,7 +898,7 @@ Get the window's size
|
|
880
898
|
|
881
899
|
--
|
882
900
|
|
883
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
901
|
+
##### [button](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L8)
|
884
902
|
|
885
903
|
> def button text, number=0
|
886
904
|
|
@@ -898,7 +916,7 @@ __Returns:__
|
|
898
916
|
|
899
917
|
--
|
900
918
|
|
901
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L19)
|
902
920
|
|
903
921
|
> def buttons text=nil
|
904
922
|
|
@@ -914,7 +932,7 @@ __Returns:__
|
|
914
932
|
|
915
933
|
--
|
916
934
|
|
917
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L26)
|
918
936
|
|
919
937
|
> def first_button
|
920
938
|
|
@@ -926,7 +944,7 @@ __Returns:__
|
|
926
944
|
|
927
945
|
--
|
928
946
|
|
929
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L32)
|
930
948
|
|
931
949
|
> def last_button
|
932
950
|
|
@@ -938,7 +956,7 @@ __Returns:__
|
|
938
956
|
|
939
957
|
--
|
940
958
|
|
941
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L39)
|
942
960
|
|
943
961
|
> def button_exact text
|
944
962
|
|
@@ -954,7 +972,7 @@ __Returns:__
|
|
954
972
|
|
955
973
|
--
|
956
974
|
|
957
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L46)
|
958
976
|
|
959
977
|
> def buttons_exact text
|
960
978
|
|
@@ -970,7 +988,7 @@ __Returns:__
|
|
970
988
|
|
971
989
|
--
|
972
990
|
|
973
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L52)
|
974
992
|
|
975
993
|
> def e_buttons
|
976
994
|
|
@@ -982,7 +1000,7 @@ __Returns:__
|
|
982
1000
|
|
983
1001
|
--
|
984
1002
|
|
985
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/element/button.rb#L72)
|
986
1004
|
|
987
1005
|
> def button_num text, number=1
|
988
1006
|
|
@@ -1011,7 +1029,7 @@ __Returns:__
|
|
1011
1029
|
|
1012
1030
|
--
|
1013
1031
|
|
1014
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L6) android
|
1015
1033
|
|
1016
1034
|
> def tag_name_to_android tag_name
|
1017
1035
|
|
@@ -1027,7 +1045,7 @@ __Returns:__
|
|
1027
1045
|
|
1028
1046
|
--
|
1029
1047
|
|
1030
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L194) android
|
1031
1049
|
|
1032
1050
|
> def find_eles_attr tag_name, attribute=nil
|
1033
1051
|
|
@@ -1048,7 +1066,7 @@ __Returns:__
|
|
1048
1066
|
|
1049
1067
|
--
|
1050
1068
|
|
1051
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
1069
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L216) android
|
1052
1070
|
|
1053
1071
|
> def get_selendroid_inspect
|
1054
1072
|
|
@@ -1061,7 +1079,7 @@ __Returns:__
|
|
1061
1079
|
|
1062
1080
|
--
|
1063
1081
|
|
1064
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1082
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L278) android
|
1065
1083
|
|
1066
1084
|
> def get_page_class
|
1067
1085
|
|
@@ -1069,7 +1087,7 @@ __Returns:__
|
|
1069
1087
|
|
1070
1088
|
--
|
1071
1089
|
|
1072
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1090
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L305) android
|
1073
1091
|
|
1074
1092
|
> def page_class
|
1075
1093
|
|
@@ -1078,7 +1096,7 @@ Useful for appium_console.
|
|
1078
1096
|
|
1079
1097
|
--
|
1080
1098
|
|
1081
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1099
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L314) android
|
1082
1100
|
|
1083
1101
|
> def get_android_inspect
|
1084
1102
|
|
@@ -1092,7 +1110,7 @@ __Returns:__
|
|
1092
1110
|
|
1093
1111
|
--
|
1094
1112
|
|
1095
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
1113
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L363) android
|
1096
1114
|
|
1097
1115
|
> def get_inspect
|
1098
1116
|
|
@@ -1105,7 +1123,7 @@ __Returns:__
|
|
1105
1123
|
|
1106
1124
|
--
|
1107
1125
|
|
1108
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [page](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L369) android
|
1109
1127
|
|
1110
1128
|
> def page
|
1111
1129
|
|
@@ -1114,7 +1132,7 @@ Inspects and prints the current page.
|
|
1114
1132
|
|
1115
1133
|
--
|
1116
1134
|
|
1117
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L382) android
|
1118
1136
|
|
1119
1137
|
> def fast_duration
|
1120
1138
|
|
@@ -1129,7 +1147,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
1129
1147
|
|
1130
1148
|
--
|
1131
1149
|
|
1132
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1150
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L389) android
|
1133
1151
|
|
1134
1152
|
> def xml_keys target
|
1135
1153
|
|
@@ -1145,7 +1163,7 @@ __Returns:__
|
|
1145
1163
|
|
1146
1164
|
--
|
1147
1165
|
|
1148
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1166
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L396) android
|
1149
1167
|
|
1150
1168
|
> def xml_values target
|
1151
1169
|
|
@@ -1161,7 +1179,7 @@ __Returns:__
|
|
1161
1179
|
|
1162
1180
|
--
|
1163
1181
|
|
1164
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1182
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L403) android
|
1165
1183
|
|
1166
1184
|
> def resolve_id id
|
1167
1185
|
|
@@ -1177,7 +1195,7 @@ __Returns:__
|
|
1177
1195
|
|
1178
1196
|
--
|
1179
1197
|
|
1180
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1198
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/helper.rb#L409) android
|
1181
1199
|
|
1182
1200
|
> def current_app
|
1183
1201
|
|
@@ -1186,7 +1204,7 @@ Works on local host only (not remote).
|
|
1186
1204
|
|
1187
1205
|
--
|
1188
1206
|
|
1189
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/alert.rb#L6) android
|
1190
1208
|
|
1191
1209
|
> def alert_click value
|
1192
1210
|
|
@@ -1202,7 +1220,7 @@ __Returns:__
|
|
1202
1220
|
|
1203
1221
|
--
|
1204
1222
|
|
1205
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/alert.rb#L13) android
|
1206
1224
|
|
1207
1225
|
> def alert_accept
|
1208
1226
|
|
@@ -1215,7 +1233,7 @@ __Returns:__
|
|
1215
1233
|
|
1216
1234
|
--
|
1217
1235
|
|
1218
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1236
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/alert.rb#L20) android
|
1219
1237
|
|
1220
1238
|
> def alert_accept_text
|
1221
1239
|
|
@@ -1228,7 +1246,7 @@ __Returns:__
|
|
1228
1246
|
|
1229
1247
|
--
|
1230
1248
|
|
1231
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1249
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/alert.rb#L27) android
|
1232
1250
|
|
1233
1251
|
> def alert_dismiss
|
1234
1252
|
|
@@ -1241,7 +1259,7 @@ __Returns:__
|
|
1241
1259
|
|
1242
1260
|
--
|
1243
1261
|
|
1244
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1262
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/alert.rb#L34) android
|
1245
1263
|
|
1246
1264
|
> def alert_dismiss_text
|
1247
1265
|
|
@@ -1254,7 +1272,7 @@ __Returns:__
|
|
1254
1272
|
|
1255
1273
|
--
|
1256
1274
|
|
1257
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [find](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/generic.rb#L44) android
|
1258
1276
|
|
1259
1277
|
> def find val
|
1260
1278
|
|
@@ -1271,7 +1289,7 @@ __Returns:__
|
|
1271
1289
|
|
1272
1290
|
--
|
1273
1291
|
|
1274
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [text](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/generic.rb#L70) android
|
1275
1293
|
|
1276
1294
|
> def text text
|
1277
1295
|
|
@@ -1287,7 +1305,7 @@ __Returns:__
|
|
1287
1305
|
|
1288
1306
|
--
|
1289
1307
|
|
1290
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1308
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/generic.rb#L79) android
|
1291
1309
|
|
1292
1310
|
> def texts text
|
1293
1311
|
|
@@ -1303,7 +1321,7 @@ __Returns:__
|
|
1303
1321
|
|
1304
1322
|
--
|
1305
1323
|
|
1306
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [name](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/generic.rb#L88) android
|
1307
1325
|
|
1308
1326
|
> def name name
|
1309
1327
|
|
@@ -1321,7 +1339,7 @@ __Returns:__
|
|
1321
1339
|
|
1322
1340
|
--
|
1323
1341
|
|
1324
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1342
|
+
##### [names](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/generic.rb#L99) android
|
1325
1343
|
|
1326
1344
|
> def names name
|
1327
1345
|
|
@@ -1339,7 +1357,7 @@ __Returns:__
|
|
1339
1357
|
|
1340
1358
|
--
|
1341
1359
|
|
1342
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/generic.rb#L108) android
|
1343
1361
|
|
1344
1362
|
> def scroll_to text
|
1345
1363
|
|
@@ -1355,7 +1373,7 @@ __Returns:__
|
|
1355
1373
|
|
1356
1374
|
--
|
1357
1375
|
|
1358
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/textfield.rb#L7) android
|
1359
1377
|
|
1360
1378
|
> def textfields
|
1361
1379
|
|
@@ -1367,7 +1385,7 @@ __Returns:__
|
|
1367
1385
|
|
1368
1386
|
--
|
1369
1387
|
|
1370
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/textfield.rb#L13) android
|
1371
1389
|
|
1372
1390
|
> def e_textfields
|
1373
1391
|
|
@@ -1379,7 +1397,7 @@ __Returns:__
|
|
1379
1397
|
|
1380
1398
|
--
|
1381
1399
|
|
1382
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/textfield.rb#L19) android
|
1383
1401
|
|
1384
1402
|
> def first_textfield
|
1385
1403
|
|
@@ -1391,7 +1409,7 @@ __Returns:__
|
|
1391
1409
|
|
1392
1410
|
--
|
1393
1411
|
|
1394
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1412
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/textfield.rb#L25) android
|
1395
1413
|
|
1396
1414
|
> def last_textfield
|
1397
1415
|
|
@@ -1403,7 +1421,7 @@ __Returns:__
|
|
1403
1421
|
|
1404
1422
|
--
|
1405
1423
|
|
1406
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1424
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/textfield.rb#L32) android
|
1407
1425
|
|
1408
1426
|
> def textfield text
|
1409
1427
|
|
@@ -1419,7 +1437,7 @@ __Returns:__
|
|
1419
1437
|
|
1420
1438
|
--
|
1421
1439
|
|
1422
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1440
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/android/element/textfield.rb#L45) android
|
1423
1441
|
|
1424
1442
|
> def textfield_exact text
|
1425
1443
|
|
@@ -1435,7 +1453,7 @@ __Returns:__
|
|
1435
1453
|
|
1436
1454
|
--
|
1437
1455
|
|
1438
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1456
|
+
##### [value](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/patch.rb#L32)
|
1439
1457
|
|
1440
1458
|
> def value
|
1441
1459
|
|
@@ -1445,7 +1463,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1445
1463
|
|
1446
1464
|
--
|
1447
1465
|
|
1448
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1466
|
+
##### [name](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/patch.rb#L39)
|
1449
1467
|
|
1450
1468
|
> def name
|
1451
1469
|
|
@@ -1455,7 +1473,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1455
1473
|
|
1456
1474
|
--
|
1457
1475
|
|
1458
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1476
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/patch.rb#L46)
|
1459
1477
|
|
1460
1478
|
> def tag_name
|
1461
1479
|
|
@@ -1465,7 +1483,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1465
1483
|
|
1466
1484
|
--
|
1467
1485
|
|
1468
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1486
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/44b4b29596b59b1d8a7a7ab7485f176a84143ac3/lib/appium_lib/common/patch.rb#L58)
|
1469
1487
|
|
1470
1488
|
> def location_rel
|
1471
1489
|
|