appium_lib 0.6.2 → 0.6.3
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/Rakefile +1 -2
- data/docs/android_docs.md +115 -103
- data/docs/ios_docs.md +114 -102
- data/lib/appium_lib/common/version.rb +1 -1
- data/lib/appium_lib/driver.rb +20 -2
- data/release_notes.md +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29ff3f147e3a5c090a7d5aae06b535de32c0362e
|
4
|
+
data.tar.gz: 30114af7ee23bec89ede687fe548191845d058d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc6eb2f934621bbafcc105e0c46be5a14d36e05406986ec95eb748db07c386cc1e65e785bb419fda713596f50072d610e2ddb1b22e3a4ada864e8cc006061f47
|
7
|
+
data.tar.gz: b763acd05fba2695433638b293cf1f727e9425194d7fe37790afc42055b035c498390a2238917b0b9a63bda271e8462a7c9e3cf8b03fabf5decd9e31edb7e77b
|
data/Rakefile
CHANGED
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/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L12)
|
2
2
|
|
3
3
|
> def load_appium_txt opts
|
4
4
|
|
@@ -15,7 +15,7 @@ __Returns:__
|
|
15
15
|
|
16
16
|
--
|
17
17
|
|
18
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
18
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L129)
|
19
19
|
|
20
20
|
> def self.promote_appium_methods class_array
|
21
21
|
|
@@ -33,7 +33,7 @@ __Parameters:__
|
|
33
33
|
|
34
34
|
--
|
35
35
|
|
36
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
36
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L426)
|
37
37
|
|
38
38
|
> def default_wait
|
39
39
|
|
@@ -46,7 +46,7 @@ __Returns:__
|
|
46
46
|
|
47
47
|
--
|
48
48
|
|
49
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
49
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
50
50
|
|
51
51
|
> def app_path
|
52
52
|
|
@@ -54,7 +54,7 @@ Returns the value of attribute app_path
|
|
54
54
|
|
55
55
|
--
|
56
56
|
|
57
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
57
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
58
58
|
|
59
59
|
> def app_name
|
60
60
|
|
@@ -62,7 +62,7 @@ Returns the value of attribute app_name
|
|
62
62
|
|
63
63
|
--
|
64
64
|
|
65
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
65
|
+
##### [device](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
66
66
|
|
67
67
|
> def device
|
68
68
|
|
@@ -70,7 +70,7 @@ Returns the value of attribute device
|
|
70
70
|
|
71
71
|
--
|
72
72
|
|
73
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
73
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
74
74
|
|
75
75
|
> def app_package
|
76
76
|
|
@@ -78,7 +78,7 @@ Returns the value of attribute app_package
|
|
78
78
|
|
79
79
|
--
|
80
80
|
|
81
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
81
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
82
82
|
|
83
83
|
> def app_activity
|
84
84
|
|
@@ -86,7 +86,7 @@ Returns the value of attribute app_activity
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
90
90
|
|
91
91
|
> def app_wait_activity
|
92
92
|
|
@@ -94,7 +94,7 @@ Returns the value of attribute app_wait_activity
|
|
94
94
|
|
95
95
|
--
|
96
96
|
|
97
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
97
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
98
98
|
|
99
99
|
> def sauce_username
|
100
100
|
|
@@ -102,7 +102,7 @@ Returns the value of attribute sauce_username
|
|
102
102
|
|
103
103
|
--
|
104
104
|
|
105
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
105
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
106
106
|
|
107
107
|
> def sauce_access_key
|
108
108
|
|
@@ -110,7 +110,7 @@ Returns the value of attribute sauce_access_key
|
|
110
110
|
|
111
111
|
--
|
112
112
|
|
113
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
113
|
+
##### [port](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
114
114
|
|
115
115
|
> def port
|
116
116
|
|
@@ -118,7 +118,7 @@ Returns the value of attribute port
|
|
118
118
|
|
119
119
|
--
|
120
120
|
|
121
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
121
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L158)
|
122
122
|
|
123
123
|
> def debug
|
124
124
|
|
@@ -126,7 +126,7 @@ Returns the value of attribute debug
|
|
126
126
|
|
127
127
|
--
|
128
128
|
|
129
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
129
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L190)
|
130
130
|
|
131
131
|
> def initialize opts={}
|
132
132
|
|
@@ -167,7 +167,7 @@ __Returns:__
|
|
167
167
|
|
168
168
|
--
|
169
169
|
|
170
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
170
|
+
##### [status](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L284)
|
171
171
|
|
172
172
|
> def status
|
173
173
|
|
@@ -193,7 +193,7 @@ __Returns:__
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L290)
|
197
197
|
|
198
198
|
> def server_version
|
199
199
|
|
@@ -205,7 +205,7 @@ __Returns:__
|
|
205
205
|
|
206
206
|
--
|
207
207
|
|
208
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
208
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L331)
|
209
209
|
|
210
210
|
> def absolute_app_path
|
211
211
|
|
@@ -217,7 +217,7 @@ __Returns:__
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L347)
|
221
221
|
|
222
222
|
> def server_url
|
223
223
|
|
@@ -229,7 +229,7 @@ __Returns:__
|
|
229
229
|
|
230
230
|
--
|
231
231
|
|
232
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
232
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L357)
|
233
233
|
|
234
234
|
> def restart
|
235
235
|
|
@@ -241,7 +241,7 @@ __Returns:__
|
|
241
241
|
|
242
242
|
--
|
243
243
|
|
244
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
244
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L364)
|
245
245
|
|
246
246
|
> def driver
|
247
247
|
|
@@ -253,7 +253,7 @@ __Returns:__
|
|
253
253
|
|
254
254
|
--
|
255
255
|
|
256
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L374)
|
257
257
|
|
258
258
|
> def screenshot png_save_path
|
259
259
|
|
@@ -271,7 +271,7 @@ __Returns:__
|
|
271
271
|
|
272
272
|
--
|
273
273
|
|
274
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L380)
|
275
275
|
|
276
276
|
> def driver_quit
|
277
277
|
|
@@ -283,7 +283,7 @@ __Returns:__
|
|
283
283
|
|
284
284
|
--
|
285
285
|
|
286
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L388)
|
287
287
|
|
288
288
|
> def start_driver
|
289
289
|
|
@@ -295,7 +295,7 @@ __Returns:__
|
|
295
295
|
|
296
296
|
--
|
297
297
|
|
298
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L412)
|
299
299
|
|
300
300
|
> def no_wait
|
301
301
|
|
@@ -303,7 +303,7 @@ Set implicit wait to zero.
|
|
303
303
|
|
304
304
|
--
|
305
305
|
|
306
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L419)
|
307
307
|
|
308
308
|
> def set_wait timeout=@default_wait
|
309
309
|
|
@@ -319,7 +319,7 @@ __Returns:__
|
|
319
319
|
|
320
320
|
--
|
321
321
|
|
322
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L442)
|
323
323
|
|
324
324
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
325
325
|
|
@@ -345,7 +345,7 @@ __Returns:__
|
|
345
345
|
|
346
346
|
--
|
347
347
|
|
348
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
348
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L464)
|
349
349
|
|
350
350
|
> def execute_script script, *args
|
351
351
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L480)
|
367
367
|
|
368
368
|
> def mobile method, *args
|
369
369
|
|
@@ -389,7 +389,7 @@ __Returns:__
|
|
389
389
|
|
390
390
|
--
|
391
391
|
|
392
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
392
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L491)
|
393
393
|
|
394
394
|
> def find_elements *args
|
395
395
|
|
@@ -405,7 +405,7 @@ __Returns:__
|
|
405
405
|
|
406
406
|
--
|
407
407
|
|
408
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
408
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L499)
|
409
409
|
|
410
410
|
> def find_element *args
|
411
411
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [x](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/driver.rb#L506)
|
425
425
|
|
426
426
|
> def x
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L33)
|
438
438
|
|
439
439
|
> def wait max_wait=30, interval=0.5, &block
|
440
440
|
|
@@ -461,7 +461,7 @@ __Returns:__
|
|
461
461
|
|
462
462
|
--
|
463
463
|
|
464
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L45)
|
465
465
|
|
466
466
|
> def ignore &block
|
467
467
|
|
@@ -469,7 +469,7 @@ Return block.call and ignore any exceptions.
|
|
469
469
|
|
470
470
|
--
|
471
471
|
|
472
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
472
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L55)
|
473
473
|
|
474
474
|
> def wait_true max_wait=30, interval=0.5, &block
|
475
475
|
|
@@ -490,7 +490,7 @@ __Returns:__
|
|
490
490
|
|
491
491
|
--
|
492
492
|
|
493
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
493
|
+
##### [id](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L69)
|
494
494
|
|
495
495
|
> def id id
|
496
496
|
|
@@ -506,7 +506,7 @@ __Returns:__
|
|
506
506
|
|
507
507
|
--
|
508
508
|
|
509
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [back](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L75)
|
510
510
|
|
511
511
|
> def back
|
512
512
|
|
@@ -518,7 +518,7 @@ __Returns:__
|
|
518
518
|
|
519
519
|
--
|
520
520
|
|
521
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
521
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L80)
|
522
522
|
|
523
523
|
> def session_id
|
524
524
|
|
@@ -526,7 +526,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
526
526
|
|
527
527
|
--
|
528
528
|
|
529
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
529
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L88)
|
530
530
|
|
531
531
|
> def xpath xpath_str
|
532
532
|
|
@@ -542,7 +542,7 @@ __Returns:__
|
|
542
542
|
|
543
543
|
--
|
544
544
|
|
545
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
545
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L96)
|
546
546
|
|
547
547
|
> def xpaths xpath_str
|
548
548
|
|
@@ -558,7 +558,7 @@ __Returns:__
|
|
558
558
|
|
559
559
|
--
|
560
560
|
|
561
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
561
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L104)
|
562
562
|
|
563
563
|
> def ele_index tag_name, index
|
564
564
|
|
@@ -576,7 +576,7 @@ __Returns:__
|
|
576
576
|
|
577
577
|
--
|
578
578
|
|
579
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
579
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L112)
|
580
580
|
|
581
581
|
> def find_eles tag_name
|
582
582
|
|
@@ -592,7 +592,7 @@ __Returns:__
|
|
592
592
|
|
593
593
|
--
|
594
594
|
|
595
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
595
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L120)
|
596
596
|
|
597
597
|
> def find_ele_by_text tag, text
|
598
598
|
|
@@ -610,7 +610,7 @@ __Returns:__
|
|
610
610
|
|
611
611
|
--
|
612
612
|
|
613
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
613
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L128)
|
614
614
|
|
615
615
|
> def find_eles_by_text tag, text
|
616
616
|
|
@@ -628,7 +628,7 @@ __Returns:__
|
|
628
628
|
|
629
629
|
--
|
630
630
|
|
631
|
-
##### [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/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L137)
|
632
632
|
|
633
633
|
> def find_ele_by_attr_include tag, attr, value
|
634
634
|
|
@@ -648,7 +648,7 @@ __Returns:__
|
|
648
648
|
|
649
649
|
--
|
650
650
|
|
651
|
-
##### [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/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L146)
|
652
652
|
|
653
653
|
> def find_eles_by_attr_include tag, attr, value
|
654
654
|
|
@@ -668,7 +668,7 @@ __Returns:__
|
|
668
668
|
|
669
669
|
--
|
670
670
|
|
671
|
-
##### [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/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L155)
|
672
672
|
|
673
673
|
> def find_ele_by_text_include tag, text
|
674
674
|
|
@@ -687,7 +687,7 @@ __Returns:__
|
|
687
687
|
|
688
688
|
--
|
689
689
|
|
690
|
-
##### [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/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L164)
|
691
691
|
|
692
692
|
> def find_eles_by_text_include tag, text
|
693
693
|
|
@@ -706,7 +706,7 @@ __Returns:__
|
|
706
706
|
|
707
707
|
--
|
708
708
|
|
709
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L171)
|
710
710
|
|
711
711
|
> def first_ele tag_name
|
712
712
|
|
@@ -722,7 +722,7 @@ __Returns:__
|
|
722
722
|
|
723
723
|
--
|
724
724
|
|
725
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
725
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L179)
|
726
726
|
|
727
727
|
> def last_ele tag_name
|
728
728
|
|
@@ -738,7 +738,7 @@ __Returns:__
|
|
738
738
|
|
739
739
|
--
|
740
740
|
|
741
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [source](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L185)
|
742
742
|
|
743
743
|
> def source
|
744
744
|
|
@@ -750,7 +750,7 @@ __Returns:__
|
|
750
750
|
|
751
751
|
--
|
752
752
|
|
753
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L191)
|
754
754
|
|
755
755
|
> def get_source
|
756
756
|
|
@@ -762,7 +762,7 @@ __Returns:__
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L200)
|
766
766
|
|
767
767
|
> def find_name name
|
768
768
|
|
@@ -778,7 +778,7 @@ __Returns:__
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L208)
|
782
782
|
|
783
783
|
> def find_names name
|
784
784
|
|
@@ -794,7 +794,7 @@ __Returns:__
|
|
794
794
|
|
795
795
|
--
|
796
796
|
|
797
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L216)
|
798
798
|
|
799
799
|
> def tag tag_name
|
800
800
|
|
@@ -810,7 +810,19 @@ __Returns:__
|
|
810
810
|
|
811
811
|
--
|
812
812
|
|
813
|
-
##### [
|
813
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/helper.rb#L226)
|
814
|
+
|
815
|
+
> def px_to_window_rel opts={}
|
816
|
+
|
817
|
+
Converts pixel values to window relative values
|
818
|
+
|
819
|
+
```ruby
|
820
|
+
px_to_window_rel x: 50, y: 150
|
821
|
+
```
|
822
|
+
|
823
|
+
--
|
824
|
+
|
825
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/text.rb#L8)
|
814
826
|
|
815
827
|
> def s_texts
|
816
828
|
|
@@ -822,7 +834,7 @@ __Returns:__
|
|
822
834
|
|
823
835
|
--
|
824
836
|
|
825
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/text.rb#L14)
|
826
838
|
|
827
839
|
> def e_s_texts
|
828
840
|
|
@@ -834,7 +846,7 @@ __Returns:__
|
|
834
846
|
|
835
847
|
--
|
836
848
|
|
837
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/text.rb#L20)
|
838
850
|
|
839
851
|
> def first_s_text
|
840
852
|
|
@@ -846,7 +858,7 @@ __Returns:__
|
|
846
858
|
|
847
859
|
--
|
848
860
|
|
849
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
861
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/text.rb#L26)
|
850
862
|
|
851
863
|
> def last_s_text
|
852
864
|
|
@@ -858,7 +870,7 @@ __Returns:__
|
|
858
870
|
|
859
871
|
--
|
860
872
|
|
861
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/text.rb#L33)
|
862
874
|
|
863
875
|
> def s_text text
|
864
876
|
|
@@ -874,7 +886,7 @@ __Returns:__
|
|
874
886
|
|
875
887
|
--
|
876
888
|
|
877
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/text.rb#L41)
|
878
890
|
|
879
891
|
> def s_text_exact text
|
880
892
|
|
@@ -890,7 +902,7 @@ __Returns:__
|
|
890
902
|
|
891
903
|
--
|
892
904
|
|
893
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/window.rb#L5)
|
894
906
|
|
895
907
|
> def window_size
|
896
908
|
|
@@ -898,7 +910,7 @@ Get the window's size
|
|
898
910
|
|
899
911
|
--
|
900
912
|
|
901
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [button](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L8)
|
902
914
|
|
903
915
|
> def button text, number=0
|
904
916
|
|
@@ -916,7 +928,7 @@ __Returns:__
|
|
916
928
|
|
917
929
|
--
|
918
930
|
|
919
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L19)
|
920
932
|
|
921
933
|
> def buttons text=nil
|
922
934
|
|
@@ -932,7 +944,7 @@ __Returns:__
|
|
932
944
|
|
933
945
|
--
|
934
946
|
|
935
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L26)
|
936
948
|
|
937
949
|
> def first_button
|
938
950
|
|
@@ -944,7 +956,7 @@ __Returns:__
|
|
944
956
|
|
945
957
|
--
|
946
958
|
|
947
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L32)
|
948
960
|
|
949
961
|
> def last_button
|
950
962
|
|
@@ -956,7 +968,7 @@ __Returns:__
|
|
956
968
|
|
957
969
|
--
|
958
970
|
|
959
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L39)
|
960
972
|
|
961
973
|
> def button_exact text
|
962
974
|
|
@@ -972,7 +984,7 @@ __Returns:__
|
|
972
984
|
|
973
985
|
--
|
974
986
|
|
975
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
987
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L46)
|
976
988
|
|
977
989
|
> def buttons_exact text
|
978
990
|
|
@@ -988,7 +1000,7 @@ __Returns:__
|
|
988
1000
|
|
989
1001
|
--
|
990
1002
|
|
991
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L52)
|
992
1004
|
|
993
1005
|
> def e_buttons
|
994
1006
|
|
@@ -1000,7 +1012,7 @@ __Returns:__
|
|
1000
1012
|
|
1001
1013
|
--
|
1002
1014
|
|
1003
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/element/button.rb#L72)
|
1004
1016
|
|
1005
1017
|
> def button_num text, number=1
|
1006
1018
|
|
@@ -1029,7 +1041,7 @@ __Returns:__
|
|
1029
1041
|
|
1030
1042
|
--
|
1031
1043
|
|
1032
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
1044
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L6) android
|
1033
1045
|
|
1034
1046
|
> def tag_name_to_android tag_name
|
1035
1047
|
|
@@ -1045,7 +1057,7 @@ __Returns:__
|
|
1045
1057
|
|
1046
1058
|
--
|
1047
1059
|
|
1048
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L194) android
|
1049
1061
|
|
1050
1062
|
> def find_eles_attr tag_name, attribute=nil
|
1051
1063
|
|
@@ -1066,7 +1078,7 @@ __Returns:__
|
|
1066
1078
|
|
1067
1079
|
--
|
1068
1080
|
|
1069
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L216) android
|
1070
1082
|
|
1071
1083
|
> def get_selendroid_inspect
|
1072
1084
|
|
@@ -1079,7 +1091,7 @@ __Returns:__
|
|
1079
1091
|
|
1080
1092
|
--
|
1081
1093
|
|
1082
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1094
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L278) android
|
1083
1095
|
|
1084
1096
|
> def get_page_class
|
1085
1097
|
|
@@ -1087,7 +1099,7 @@ __Returns:__
|
|
1087
1099
|
|
1088
1100
|
--
|
1089
1101
|
|
1090
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1102
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L305) android
|
1091
1103
|
|
1092
1104
|
> def page_class
|
1093
1105
|
|
@@ -1096,7 +1108,7 @@ Useful for appium_console.
|
|
1096
1108
|
|
1097
1109
|
--
|
1098
1110
|
|
1099
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L314) android
|
1100
1112
|
|
1101
1113
|
> def get_android_inspect
|
1102
1114
|
|
@@ -1110,7 +1122,7 @@ __Returns:__
|
|
1110
1122
|
|
1111
1123
|
--
|
1112
1124
|
|
1113
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
1125
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L363) android
|
1114
1126
|
|
1115
1127
|
> def get_inspect
|
1116
1128
|
|
@@ -1123,7 +1135,7 @@ __Returns:__
|
|
1123
1135
|
|
1124
1136
|
--
|
1125
1137
|
|
1126
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1138
|
+
##### [page](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L369) android
|
1127
1139
|
|
1128
1140
|
> def page
|
1129
1141
|
|
@@ -1132,7 +1144,7 @@ Inspects and prints the current page.
|
|
1132
1144
|
|
1133
1145
|
--
|
1134
1146
|
|
1135
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L382) android
|
1136
1148
|
|
1137
1149
|
> def fast_duration
|
1138
1150
|
|
@@ -1147,7 +1159,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
1147
1159
|
|
1148
1160
|
--
|
1149
1161
|
|
1150
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L389) android
|
1151
1163
|
|
1152
1164
|
> def xml_keys target
|
1153
1165
|
|
@@ -1163,7 +1175,7 @@ __Returns:__
|
|
1163
1175
|
|
1164
1176
|
--
|
1165
1177
|
|
1166
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1178
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L396) android
|
1167
1179
|
|
1168
1180
|
> def xml_values target
|
1169
1181
|
|
@@ -1179,7 +1191,7 @@ __Returns:__
|
|
1179
1191
|
|
1180
1192
|
--
|
1181
1193
|
|
1182
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1194
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L403) android
|
1183
1195
|
|
1184
1196
|
> def resolve_id id
|
1185
1197
|
|
@@ -1195,7 +1207,7 @@ __Returns:__
|
|
1195
1207
|
|
1196
1208
|
--
|
1197
1209
|
|
1198
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/helper.rb#L409) android
|
1199
1211
|
|
1200
1212
|
> def current_app
|
1201
1213
|
|
@@ -1204,7 +1216,7 @@ Works on local host only (not remote).
|
|
1204
1216
|
|
1205
1217
|
--
|
1206
1218
|
|
1207
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/alert.rb#L6) android
|
1208
1220
|
|
1209
1221
|
> def alert_click value
|
1210
1222
|
|
@@ -1220,7 +1232,7 @@ __Returns:__
|
|
1220
1232
|
|
1221
1233
|
--
|
1222
1234
|
|
1223
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/alert.rb#L13) android
|
1224
1236
|
|
1225
1237
|
> def alert_accept
|
1226
1238
|
|
@@ -1233,7 +1245,7 @@ __Returns:__
|
|
1233
1245
|
|
1234
1246
|
--
|
1235
1247
|
|
1236
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/alert.rb#L20) android
|
1237
1249
|
|
1238
1250
|
> def alert_accept_text
|
1239
1251
|
|
@@ -1246,7 +1258,7 @@ __Returns:__
|
|
1246
1258
|
|
1247
1259
|
--
|
1248
1260
|
|
1249
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/alert.rb#L27) android
|
1250
1262
|
|
1251
1263
|
> def alert_dismiss
|
1252
1264
|
|
@@ -1259,7 +1271,7 @@ __Returns:__
|
|
1259
1271
|
|
1260
1272
|
--
|
1261
1273
|
|
1262
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1274
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/alert.rb#L34) android
|
1263
1275
|
|
1264
1276
|
> def alert_dismiss_text
|
1265
1277
|
|
@@ -1272,7 +1284,7 @@ __Returns:__
|
|
1272
1284
|
|
1273
1285
|
--
|
1274
1286
|
|
1275
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [find](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/generic.rb#L44) android
|
1276
1288
|
|
1277
1289
|
> def find val
|
1278
1290
|
|
@@ -1289,7 +1301,7 @@ __Returns:__
|
|
1289
1301
|
|
1290
1302
|
--
|
1291
1303
|
|
1292
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/generic.rb#L70) android
|
1293
1305
|
|
1294
1306
|
> def text text
|
1295
1307
|
|
@@ -1305,7 +1317,7 @@ __Returns:__
|
|
1305
1317
|
|
1306
1318
|
--
|
1307
1319
|
|
1308
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1320
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/generic.rb#L79) android
|
1309
1321
|
|
1310
1322
|
> def texts text
|
1311
1323
|
|
@@ -1321,7 +1333,7 @@ __Returns:__
|
|
1321
1333
|
|
1322
1334
|
--
|
1323
1335
|
|
1324
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1336
|
+
##### [name](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/generic.rb#L88) android
|
1325
1337
|
|
1326
1338
|
> def name name
|
1327
1339
|
|
@@ -1339,7 +1351,7 @@ __Returns:__
|
|
1339
1351
|
|
1340
1352
|
--
|
1341
1353
|
|
1342
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [names](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/generic.rb#L99) android
|
1343
1355
|
|
1344
1356
|
> def names name
|
1345
1357
|
|
@@ -1357,7 +1369,7 @@ __Returns:__
|
|
1357
1369
|
|
1358
1370
|
--
|
1359
1371
|
|
1360
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/generic.rb#L108) android
|
1361
1373
|
|
1362
1374
|
> def scroll_to text
|
1363
1375
|
|
@@ -1373,7 +1385,7 @@ __Returns:__
|
|
1373
1385
|
|
1374
1386
|
--
|
1375
1387
|
|
1376
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/textfield.rb#L7) android
|
1377
1389
|
|
1378
1390
|
> def textfields
|
1379
1391
|
|
@@ -1385,7 +1397,7 @@ __Returns:__
|
|
1385
1397
|
|
1386
1398
|
--
|
1387
1399
|
|
1388
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/textfield.rb#L13) android
|
1389
1401
|
|
1390
1402
|
> def e_textfields
|
1391
1403
|
|
@@ -1397,7 +1409,7 @@ __Returns:__
|
|
1397
1409
|
|
1398
1410
|
--
|
1399
1411
|
|
1400
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1412
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/textfield.rb#L19) android
|
1401
1413
|
|
1402
1414
|
> def first_textfield
|
1403
1415
|
|
@@ -1409,7 +1421,7 @@ __Returns:__
|
|
1409
1421
|
|
1410
1422
|
--
|
1411
1423
|
|
1412
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1424
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/textfield.rb#L25) android
|
1413
1425
|
|
1414
1426
|
> def last_textfield
|
1415
1427
|
|
@@ -1421,7 +1433,7 @@ __Returns:__
|
|
1421
1433
|
|
1422
1434
|
--
|
1423
1435
|
|
1424
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1436
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/textfield.rb#L32) android
|
1425
1437
|
|
1426
1438
|
> def textfield text
|
1427
1439
|
|
@@ -1437,7 +1449,7 @@ __Returns:__
|
|
1437
1449
|
|
1438
1450
|
--
|
1439
1451
|
|
1440
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1452
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/android/element/textfield.rb#L45) android
|
1441
1453
|
|
1442
1454
|
> def textfield_exact text
|
1443
1455
|
|
@@ -1453,7 +1465,7 @@ __Returns:__
|
|
1453
1465
|
|
1454
1466
|
--
|
1455
1467
|
|
1456
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1468
|
+
##### [value](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/patch.rb#L32)
|
1457
1469
|
|
1458
1470
|
> def value
|
1459
1471
|
|
@@ -1463,7 +1475,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1463
1475
|
|
1464
1476
|
--
|
1465
1477
|
|
1466
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1478
|
+
##### [name](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/patch.rb#L39)
|
1467
1479
|
|
1468
1480
|
> def name
|
1469
1481
|
|
@@ -1473,7 +1485,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1473
1485
|
|
1474
1486
|
--
|
1475
1487
|
|
1476
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/patch.rb#L46)
|
1477
1489
|
|
1478
1490
|
> def tag_name
|
1479
1491
|
|
@@ -1483,7 +1495,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1483
1495
|
|
1484
1496
|
--
|
1485
1497
|
|
1486
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1498
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/common/patch.rb#L58)
|
1487
1499
|
|
1488
1500
|
> def location_rel
|
1489
1501
|
|