appium_lib 0.5.14 → 0.5.15
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.
- data/docs/android_docs.md +111 -111
- data/docs/docs.md +10 -0
- data/docs/ios_docs.md +102 -111
- data/lib/appium_lib.rb +2 -1
- data/lib/appium_lib/common/version.rb +1 -1
- data/lib/appium_lib/driver.rb +6 -5
- data/readme.md +3 -0
- data/release_notes.md +12 -0
- metadata +2 -2
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/521f79b11497c0c963b7059347e02d81a08f665a/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
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
18
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L353)
|
19
19
|
|
20
20
|
> def default_wait
|
21
21
|
|
@@ -28,7 +28,7 @@ __Returns:__
|
|
28
28
|
|
29
29
|
--
|
30
30
|
|
31
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
31
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
32
32
|
|
33
33
|
> def app_path
|
34
34
|
|
@@ -36,7 +36,7 @@ Returns the value of attribute app_path
|
|
36
36
|
|
37
37
|
--
|
38
38
|
|
39
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
39
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
40
40
|
|
41
41
|
> def app_name
|
42
42
|
|
@@ -44,7 +44,7 @@ Returns the value of attribute app_name
|
|
44
44
|
|
45
45
|
--
|
46
46
|
|
47
|
-
##### [selendroid](https://github.com/appium/ruby_lib/blob/
|
47
|
+
##### [selendroid](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
48
48
|
|
49
49
|
> def selendroid
|
50
50
|
|
@@ -52,7 +52,7 @@ Returns the value of attribute selendroid
|
|
52
52
|
|
53
53
|
--
|
54
54
|
|
55
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
55
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
56
56
|
|
57
57
|
> def app_package
|
58
58
|
|
@@ -60,7 +60,7 @@ Returns the value of attribute app_package
|
|
60
60
|
|
61
61
|
--
|
62
62
|
|
63
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
63
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
64
64
|
|
65
65
|
> def app_activity
|
66
66
|
|
@@ -68,7 +68,7 @@ Returns the value of attribute app_activity
|
|
68
68
|
|
69
69
|
--
|
70
70
|
|
71
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
71
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
72
72
|
|
73
73
|
> def app_wait_activity
|
74
74
|
|
@@ -76,7 +76,7 @@ Returns the value of attribute app_wait_activity
|
|
76
76
|
|
77
77
|
--
|
78
78
|
|
79
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
79
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
80
80
|
|
81
81
|
> def sauce_username
|
82
82
|
|
@@ -84,7 +84,7 @@ Returns the value of attribute sauce_username
|
|
84
84
|
|
85
85
|
--
|
86
86
|
|
87
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
87
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
88
88
|
|
89
89
|
> def sauce_access_key
|
90
90
|
|
@@ -92,7 +92,7 @@ Returns the value of attribute sauce_access_key
|
|
92
92
|
|
93
93
|
--
|
94
94
|
|
95
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
95
|
+
##### [port](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
96
96
|
|
97
97
|
> def port
|
98
98
|
|
@@ -100,7 +100,7 @@ Returns the value of attribute port
|
|
100
100
|
|
101
101
|
--
|
102
102
|
|
103
|
-
##### [os](https://github.com/appium/ruby_lib/blob/
|
103
|
+
##### [os](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
104
104
|
|
105
105
|
> def os
|
106
106
|
|
@@ -108,7 +108,7 @@ Returns the value of attribute os
|
|
108
108
|
|
109
109
|
--
|
110
110
|
|
111
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
111
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L87)
|
112
112
|
|
113
113
|
> def debug
|
114
114
|
|
@@ -116,7 +116,7 @@ Returns the value of attribute debug
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L117)
|
120
120
|
|
121
121
|
> def initialize opts={}
|
122
122
|
|
@@ -155,7 +155,7 @@ __Returns:__
|
|
155
155
|
|
156
156
|
--
|
157
157
|
|
158
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
158
|
+
##### [status](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L211)
|
159
159
|
|
160
160
|
> def status
|
161
161
|
|
@@ -163,7 +163,7 @@ Returns the status payload
|
|
163
163
|
|
164
164
|
--
|
165
165
|
|
166
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
166
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L217)
|
167
167
|
|
168
168
|
> def server_version
|
169
169
|
|
@@ -175,7 +175,7 @@ __Returns:__
|
|
175
175
|
|
176
176
|
--
|
177
177
|
|
178
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
178
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L258)
|
179
179
|
|
180
180
|
> def absolute_app_path
|
181
181
|
|
@@ -187,7 +187,7 @@ __Returns:__
|
|
187
187
|
|
188
188
|
--
|
189
189
|
|
190
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
190
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L274)
|
191
191
|
|
192
192
|
> def server_url
|
193
193
|
|
@@ -199,7 +199,7 @@ __Returns:__
|
|
199
199
|
|
200
200
|
--
|
201
201
|
|
202
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
202
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L284)
|
203
203
|
|
204
204
|
> def restart
|
205
205
|
|
@@ -211,7 +211,7 @@ __Returns:__
|
|
211
211
|
|
212
212
|
--
|
213
213
|
|
214
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
214
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L291)
|
215
215
|
|
216
216
|
> def driver
|
217
217
|
|
@@ -223,7 +223,7 @@ __Returns:__
|
|
223
223
|
|
224
224
|
--
|
225
225
|
|
226
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L301)
|
227
227
|
|
228
228
|
> def screenshot png_save_path
|
229
229
|
|
@@ -241,7 +241,7 @@ __Returns:__
|
|
241
241
|
|
242
242
|
--
|
243
243
|
|
244
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
244
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L307)
|
245
245
|
|
246
246
|
> def driver_quit
|
247
247
|
|
@@ -253,7 +253,7 @@ __Returns:__
|
|
253
253
|
|
254
254
|
--
|
255
255
|
|
256
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L315)
|
257
257
|
|
258
258
|
> def start_driver
|
259
259
|
|
@@ -265,7 +265,7 @@ __Returns:__
|
|
265
265
|
|
266
266
|
--
|
267
267
|
|
268
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
268
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L339)
|
269
269
|
|
270
270
|
> def no_wait
|
271
271
|
|
@@ -273,7 +273,7 @@ Set implicit wait to zero.
|
|
273
273
|
|
274
274
|
--
|
275
275
|
|
276
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
276
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L346)
|
277
277
|
|
278
278
|
> def set_wait timeout=@default_wait
|
279
279
|
|
@@ -289,7 +289,7 @@ __Returns:__
|
|
289
289
|
|
290
290
|
--
|
291
291
|
|
292
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
292
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L369)
|
293
293
|
|
294
294
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
295
295
|
|
@@ -315,7 +315,7 @@ __Returns:__
|
|
315
315
|
|
316
316
|
--
|
317
317
|
|
318
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
318
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L391)
|
319
319
|
|
320
320
|
> def execute_script script, *args
|
321
321
|
|
@@ -333,7 +333,7 @@ __Returns:__
|
|
333
333
|
|
334
334
|
--
|
335
335
|
|
336
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
336
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L407)
|
337
337
|
|
338
338
|
> def mobile method, *args
|
339
339
|
|
@@ -359,7 +359,7 @@ __Returns:__
|
|
359
359
|
|
360
360
|
--
|
361
361
|
|
362
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L418)
|
363
363
|
|
364
364
|
> def find_elements *args
|
365
365
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L426)
|
379
379
|
|
380
380
|
> def find_element *args
|
381
381
|
|
@@ -391,7 +391,7 @@ __Returns:__
|
|
391
391
|
|
392
392
|
--
|
393
393
|
|
394
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
394
|
+
##### [x](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/driver.rb#L433)
|
395
395
|
|
396
396
|
> def x
|
397
397
|
|
@@ -404,7 +404,7 @@ __Returns:__
|
|
404
404
|
|
405
405
|
--
|
406
406
|
|
407
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
407
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L33)
|
408
408
|
|
409
409
|
> def wait max_wait=30, interval=0.5, &block
|
410
410
|
|
@@ -431,7 +431,7 @@ __Returns:__
|
|
431
431
|
|
432
432
|
--
|
433
433
|
|
434
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
434
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L45)
|
435
435
|
|
436
436
|
> def ignore &block
|
437
437
|
|
@@ -439,7 +439,7 @@ Return block.call and ignore any exceptions.
|
|
439
439
|
|
440
440
|
--
|
441
441
|
|
442
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
442
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L55)
|
443
443
|
|
444
444
|
> def wait_true max_wait=30, interval=0.5, &block
|
445
445
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [id](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L69)
|
464
464
|
|
465
465
|
> def id id
|
466
466
|
|
@@ -476,7 +476,7 @@ __Returns:__
|
|
476
476
|
|
477
477
|
--
|
478
478
|
|
479
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
479
|
+
##### [back](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L75)
|
480
480
|
|
481
481
|
> def back
|
482
482
|
|
@@ -488,7 +488,7 @@ __Returns:__
|
|
488
488
|
|
489
489
|
--
|
490
490
|
|
491
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
491
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L80)
|
492
492
|
|
493
493
|
> def session_id
|
494
494
|
|
@@ -496,7 +496,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
496
496
|
|
497
497
|
--
|
498
498
|
|
499
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
499
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L88)
|
500
500
|
|
501
501
|
> def xpath xpath_str
|
502
502
|
|
@@ -512,7 +512,7 @@ __Returns:__
|
|
512
512
|
|
513
513
|
--
|
514
514
|
|
515
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
515
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L96)
|
516
516
|
|
517
517
|
> def xpaths xpath_str
|
518
518
|
|
@@ -528,7 +528,7 @@ __Returns:__
|
|
528
528
|
|
529
529
|
--
|
530
530
|
|
531
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L104)
|
532
532
|
|
533
533
|
> def ele_index tag_name, index
|
534
534
|
|
@@ -546,7 +546,7 @@ __Returns:__
|
|
546
546
|
|
547
547
|
--
|
548
548
|
|
549
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
549
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L112)
|
550
550
|
|
551
551
|
> def find_eles tag_name
|
552
552
|
|
@@ -562,7 +562,7 @@ __Returns:__
|
|
562
562
|
|
563
563
|
--
|
564
564
|
|
565
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
565
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L120)
|
566
566
|
|
567
567
|
> def find_ele_by_text tag, text
|
568
568
|
|
@@ -580,7 +580,7 @@ __Returns:__
|
|
580
580
|
|
581
581
|
--
|
582
582
|
|
583
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
583
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L128)
|
584
584
|
|
585
585
|
> def find_eles_by_text tag, text
|
586
586
|
|
@@ -598,7 +598,7 @@ __Returns:__
|
|
598
598
|
|
599
599
|
--
|
600
600
|
|
601
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
601
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L137)
|
602
602
|
|
603
603
|
> def find_ele_by_attr_include tag, attr, value
|
604
604
|
|
@@ -618,7 +618,7 @@ __Returns:__
|
|
618
618
|
|
619
619
|
--
|
620
620
|
|
621
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
621
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L146)
|
622
622
|
|
623
623
|
> def find_eles_by_attr_include tag, attr, value
|
624
624
|
|
@@ -638,7 +638,7 @@ __Returns:__
|
|
638
638
|
|
639
639
|
--
|
640
640
|
|
641
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
641
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L155)
|
642
642
|
|
643
643
|
> def find_ele_by_text_include tag, text
|
644
644
|
|
@@ -657,7 +657,7 @@ __Returns:__
|
|
657
657
|
|
658
658
|
--
|
659
659
|
|
660
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
660
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L164)
|
661
661
|
|
662
662
|
> def find_eles_by_text_include tag, text
|
663
663
|
|
@@ -676,7 +676,7 @@ __Returns:__
|
|
676
676
|
|
677
677
|
--
|
678
678
|
|
679
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
679
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L171)
|
680
680
|
|
681
681
|
> def first_ele tag_name
|
682
682
|
|
@@ -692,7 +692,7 @@ __Returns:__
|
|
692
692
|
|
693
693
|
--
|
694
694
|
|
695
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
695
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L179)
|
696
696
|
|
697
697
|
> def last_ele tag_name
|
698
698
|
|
@@ -708,7 +708,7 @@ __Returns:__
|
|
708
708
|
|
709
709
|
--
|
710
710
|
|
711
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
711
|
+
##### [source](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L185)
|
712
712
|
|
713
713
|
> def source
|
714
714
|
|
@@ -720,7 +720,7 @@ __Returns:__
|
|
720
720
|
|
721
721
|
--
|
722
722
|
|
723
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
723
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L191)
|
724
724
|
|
725
725
|
> def get_source
|
726
726
|
|
@@ -732,7 +732,7 @@ __Returns:__
|
|
732
732
|
|
733
733
|
--
|
734
734
|
|
735
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
735
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L200)
|
736
736
|
|
737
737
|
> def find_name name
|
738
738
|
|
@@ -748,7 +748,7 @@ __Returns:__
|
|
748
748
|
|
749
749
|
--
|
750
750
|
|
751
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
751
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L208)
|
752
752
|
|
753
753
|
> def find_names name
|
754
754
|
|
@@ -764,7 +764,7 @@ __Returns:__
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/helper.rb#L216)
|
768
768
|
|
769
769
|
> def tag tag_name
|
770
770
|
|
@@ -780,16 +780,7 @@ __Returns:__
|
|
780
780
|
|
781
781
|
--
|
782
782
|
|
783
|
-
##### [
|
784
|
-
|
785
|
-
> def current_app
|
786
|
-
|
787
|
-
Lists package, activity, and adb shell am start -n value for current app.
|
788
|
-
Works on local host only (not remote).
|
789
|
-
|
790
|
-
--
|
791
|
-
|
792
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/146e19a1b322d1bb625c6bb3ce1b80e67a7e80fa/lib/appium_lib/common/element/text.rb#L8)
|
783
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/text.rb#L8)
|
793
784
|
|
794
785
|
> def s_texts
|
795
786
|
|
@@ -801,7 +792,7 @@ __Returns:__
|
|
801
792
|
|
802
793
|
--
|
803
794
|
|
804
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
795
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/text.rb#L14)
|
805
796
|
|
806
797
|
> def e_s_texts
|
807
798
|
|
@@ -813,7 +804,7 @@ __Returns:__
|
|
813
804
|
|
814
805
|
--
|
815
806
|
|
816
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/text.rb#L20)
|
817
808
|
|
818
809
|
> def first_s_text
|
819
810
|
|
@@ -825,7 +816,7 @@ __Returns:__
|
|
825
816
|
|
826
817
|
--
|
827
818
|
|
828
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
819
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/text.rb#L26)
|
829
820
|
|
830
821
|
> def last_s_text
|
831
822
|
|
@@ -837,7 +828,7 @@ __Returns:__
|
|
837
828
|
|
838
829
|
--
|
839
830
|
|
840
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/text.rb#L33)
|
841
832
|
|
842
833
|
> def s_text text
|
843
834
|
|
@@ -853,7 +844,7 @@ __Returns:__
|
|
853
844
|
|
854
845
|
--
|
855
846
|
|
856
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
847
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/text.rb#L41)
|
857
848
|
|
858
849
|
> def s_text_exact text
|
859
850
|
|
@@ -869,7 +860,7 @@ __Returns:__
|
|
869
860
|
|
870
861
|
--
|
871
862
|
|
872
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
863
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/window.rb#L5)
|
873
864
|
|
874
865
|
> def window_size
|
875
866
|
|
@@ -877,7 +868,7 @@ Get the window's size
|
|
877
868
|
|
878
869
|
--
|
879
870
|
|
880
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [button](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L8)
|
881
872
|
|
882
873
|
> def button text, number=0
|
883
874
|
|
@@ -895,7 +886,7 @@ __Returns:__
|
|
895
886
|
|
896
887
|
--
|
897
888
|
|
898
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L19)
|
899
890
|
|
900
891
|
> def buttons text=nil
|
901
892
|
|
@@ -911,7 +902,7 @@ __Returns:__
|
|
911
902
|
|
912
903
|
--
|
913
904
|
|
914
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L26)
|
915
906
|
|
916
907
|
> def first_button
|
917
908
|
|
@@ -923,7 +914,7 @@ __Returns:__
|
|
923
914
|
|
924
915
|
--
|
925
916
|
|
926
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
917
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L32)
|
927
918
|
|
928
919
|
> def last_button
|
929
920
|
|
@@ -935,7 +926,7 @@ __Returns:__
|
|
935
926
|
|
936
927
|
--
|
937
928
|
|
938
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
929
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L39)
|
939
930
|
|
940
931
|
> def button_exact text
|
941
932
|
|
@@ -951,7 +942,7 @@ __Returns:__
|
|
951
942
|
|
952
943
|
--
|
953
944
|
|
954
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
945
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L46)
|
955
946
|
|
956
947
|
> def buttons_exact text
|
957
948
|
|
@@ -967,7 +958,7 @@ __Returns:__
|
|
967
958
|
|
968
959
|
--
|
969
960
|
|
970
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
961
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L52)
|
971
962
|
|
972
963
|
> def e_buttons
|
973
964
|
|
@@ -979,7 +970,7 @@ __Returns:__
|
|
979
970
|
|
980
971
|
--
|
981
972
|
|
982
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/element/button.rb#L72)
|
983
974
|
|
984
975
|
> def button_num text, number=1
|
985
976
|
|
@@ -1008,7 +999,7 @@ __Returns:__
|
|
1008
999
|
|
1009
1000
|
--
|
1010
1001
|
|
1011
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L6) android
|
1012
1003
|
|
1013
1004
|
> def tag_name_to_android tag_name
|
1014
1005
|
|
@@ -1024,7 +1015,7 @@ __Returns:__
|
|
1024
1015
|
|
1025
1016
|
--
|
1026
1017
|
|
1027
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1018
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L194) android
|
1028
1019
|
|
1029
1020
|
> def find_eles_attr tag_name, attribute=nil
|
1030
1021
|
|
@@ -1045,7 +1036,7 @@ __Returns:__
|
|
1045
1036
|
|
1046
1037
|
--
|
1047
1038
|
|
1048
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
1039
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L216) android
|
1049
1040
|
|
1050
1041
|
> def get_selendroid_inspect
|
1051
1042
|
|
@@ -1058,7 +1049,7 @@ __Returns:__
|
|
1058
1049
|
|
1059
1050
|
--
|
1060
1051
|
|
1061
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L278) android
|
1062
1053
|
|
1063
1054
|
> def get_page_class
|
1064
1055
|
|
@@ -1066,7 +1057,7 @@ __Returns:__
|
|
1066
1057
|
|
1067
1058
|
--
|
1068
1059
|
|
1069
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L305) android
|
1070
1061
|
|
1071
1062
|
> def page_class
|
1072
1063
|
|
@@ -1075,7 +1066,7 @@ Useful for appium_console.
|
|
1075
1066
|
|
1076
1067
|
--
|
1077
1068
|
|
1078
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1069
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L314) android
|
1079
1070
|
|
1080
1071
|
> def get_android_inspect
|
1081
1072
|
|
@@ -1089,7 +1080,7 @@ __Returns:__
|
|
1089
1080
|
|
1090
1081
|
--
|
1091
1082
|
|
1092
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
1083
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L363) android
|
1093
1084
|
|
1094
1085
|
> def get_inspect
|
1095
1086
|
|
@@ -1102,7 +1093,7 @@ __Returns:__
|
|
1102
1093
|
|
1103
1094
|
--
|
1104
1095
|
|
1105
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1096
|
+
##### [page](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L369) android
|
1106
1097
|
|
1107
1098
|
> def page
|
1108
1099
|
|
@@ -1111,7 +1102,7 @@ Inspects and prints the current page.
|
|
1111
1102
|
|
1112
1103
|
--
|
1113
1104
|
|
1114
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1105
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L382) android
|
1115
1106
|
|
1116
1107
|
> def fast_duration
|
1117
1108
|
|
@@ -1126,7 +1117,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
1126
1117
|
|
1127
1118
|
--
|
1128
1119
|
|
1129
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L389) android
|
1130
1121
|
|
1131
1122
|
> def xml_keys target
|
1132
1123
|
|
@@ -1142,7 +1133,7 @@ __Returns:__
|
|
1142
1133
|
|
1143
1134
|
--
|
1144
1135
|
|
1145
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1136
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L396) android
|
1146
1137
|
|
1147
1138
|
> def xml_values target
|
1148
1139
|
|
@@ -1158,7 +1149,7 @@ __Returns:__
|
|
1158
1149
|
|
1159
1150
|
--
|
1160
1151
|
|
1161
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1152
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L403) android
|
1162
1153
|
|
1163
1154
|
> def resolve_id id
|
1164
1155
|
|
@@ -1174,7 +1165,16 @@ __Returns:__
|
|
1174
1165
|
|
1175
1166
|
--
|
1176
1167
|
|
1177
|
-
##### [
|
1168
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/helper.rb#L409) android
|
1169
|
+
|
1170
|
+
> def current_app
|
1171
|
+
|
1172
|
+
Lists package, activity, and adb shell am start -n value for current app.
|
1173
|
+
Works on local host only (not remote).
|
1174
|
+
|
1175
|
+
--
|
1176
|
+
|
1177
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/alert.rb#L6) android
|
1178
1178
|
|
1179
1179
|
> def alert_click value
|
1180
1180
|
|
@@ -1190,7 +1190,7 @@ __Returns:__
|
|
1190
1190
|
|
1191
1191
|
--
|
1192
1192
|
|
1193
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1193
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/alert.rb#L13) android
|
1194
1194
|
|
1195
1195
|
> def alert_accept
|
1196
1196
|
|
@@ -1203,7 +1203,7 @@ __Returns:__
|
|
1203
1203
|
|
1204
1204
|
--
|
1205
1205
|
|
1206
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1206
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/alert.rb#L20) android
|
1207
1207
|
|
1208
1208
|
> def alert_accept_text
|
1209
1209
|
|
@@ -1216,7 +1216,7 @@ __Returns:__
|
|
1216
1216
|
|
1217
1217
|
--
|
1218
1218
|
|
1219
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/alert.rb#L27) android
|
1220
1220
|
|
1221
1221
|
> def alert_dismiss
|
1222
1222
|
|
@@ -1229,7 +1229,7 @@ __Returns:__
|
|
1229
1229
|
|
1230
1230
|
--
|
1231
1231
|
|
1232
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1232
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/alert.rb#L34) android
|
1233
1233
|
|
1234
1234
|
> def alert_dismiss_text
|
1235
1235
|
|
@@ -1242,7 +1242,7 @@ __Returns:__
|
|
1242
1242
|
|
1243
1243
|
--
|
1244
1244
|
|
1245
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [find](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/generic.rb#L44) android
|
1246
1246
|
|
1247
1247
|
> def find val
|
1248
1248
|
|
@@ -1259,7 +1259,7 @@ __Returns:__
|
|
1259
1259
|
|
1260
1260
|
--
|
1261
1261
|
|
1262
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1262
|
+
##### [text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/generic.rb#L70) android
|
1263
1263
|
|
1264
1264
|
> def text text
|
1265
1265
|
|
@@ -1275,7 +1275,7 @@ __Returns:__
|
|
1275
1275
|
|
1276
1276
|
--
|
1277
1277
|
|
1278
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1278
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/generic.rb#L79) android
|
1279
1279
|
|
1280
1280
|
> def texts text
|
1281
1281
|
|
@@ -1291,7 +1291,7 @@ __Returns:__
|
|
1291
1291
|
|
1292
1292
|
--
|
1293
1293
|
|
1294
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1294
|
+
##### [name](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/generic.rb#L88) android
|
1295
1295
|
|
1296
1296
|
> def name name
|
1297
1297
|
|
@@ -1309,7 +1309,7 @@ __Returns:__
|
|
1309
1309
|
|
1310
1310
|
--
|
1311
1311
|
|
1312
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1312
|
+
##### [names](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/generic.rb#L99) android
|
1313
1313
|
|
1314
1314
|
> def names name
|
1315
1315
|
|
@@ -1327,7 +1327,7 @@ __Returns:__
|
|
1327
1327
|
|
1328
1328
|
--
|
1329
1329
|
|
1330
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/generic.rb#L108) android
|
1331
1331
|
|
1332
1332
|
> def scroll_to text
|
1333
1333
|
|
@@ -1343,7 +1343,7 @@ __Returns:__
|
|
1343
1343
|
|
1344
1344
|
--
|
1345
1345
|
|
1346
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1346
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/textfield.rb#L7) android
|
1347
1347
|
|
1348
1348
|
> def textfields
|
1349
1349
|
|
@@ -1355,7 +1355,7 @@ __Returns:__
|
|
1355
1355
|
|
1356
1356
|
--
|
1357
1357
|
|
1358
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1358
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/textfield.rb#L13) android
|
1359
1359
|
|
1360
1360
|
> def e_textfields
|
1361
1361
|
|
@@ -1367,7 +1367,7 @@ __Returns:__
|
|
1367
1367
|
|
1368
1368
|
--
|
1369
1369
|
|
1370
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1370
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/textfield.rb#L19) android
|
1371
1371
|
|
1372
1372
|
> def first_textfield
|
1373
1373
|
|
@@ -1379,7 +1379,7 @@ __Returns:__
|
|
1379
1379
|
|
1380
1380
|
--
|
1381
1381
|
|
1382
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1382
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/textfield.rb#L25) android
|
1383
1383
|
|
1384
1384
|
> def last_textfield
|
1385
1385
|
|
@@ -1391,7 +1391,7 @@ __Returns:__
|
|
1391
1391
|
|
1392
1392
|
--
|
1393
1393
|
|
1394
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/textfield.rb#L32) android
|
1395
1395
|
|
1396
1396
|
> def textfield text
|
1397
1397
|
|
@@ -1407,7 +1407,7 @@ __Returns:__
|
|
1407
1407
|
|
1408
1408
|
--
|
1409
1409
|
|
1410
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1410
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/android/element/textfield.rb#L45) android
|
1411
1411
|
|
1412
1412
|
> def textfield_exact text
|
1413
1413
|
|
@@ -1423,7 +1423,7 @@ __Returns:__
|
|
1423
1423
|
|
1424
1424
|
--
|
1425
1425
|
|
1426
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [value](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/patch.rb#L32)
|
1427
1427
|
|
1428
1428
|
> def value
|
1429
1429
|
|
@@ -1433,7 +1433,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1433
1433
|
|
1434
1434
|
--
|
1435
1435
|
|
1436
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1436
|
+
##### [name](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/patch.rb#L39)
|
1437
1437
|
|
1438
1438
|
> def name
|
1439
1439
|
|
@@ -1443,7 +1443,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1443
1443
|
|
1444
1444
|
--
|
1445
1445
|
|
1446
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1446
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/patch.rb#L46)
|
1447
1447
|
|
1448
1448
|
> def tag_name
|
1449
1449
|
|
@@ -1453,7 +1453,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1453
1453
|
|
1454
1454
|
--
|
1455
1455
|
|
1456
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1456
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/common/patch.rb#L58)
|
1457
1457
|
|
1458
1458
|
> def location_rel
|
1459
1459
|
|