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
data/docs/ios_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
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1044
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L8) ios
|
1033
1045
|
|
1034
1046
|
> def find_eles_attr tag_name, attribute
|
1035
1047
|
|
@@ -1048,7 +1060,7 @@ __Returns:__
|
|
1048
1060
|
|
1049
1061
|
--
|
1050
1062
|
|
1051
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1063
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L29) ios
|
1052
1064
|
|
1053
1065
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
1054
1066
|
|
@@ -1069,7 +1081,7 @@ __Returns:__
|
|
1069
1081
|
|
1070
1082
|
--
|
1071
1083
|
|
1072
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
1084
|
+
##### [password](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L50) ios
|
1073
1085
|
|
1074
1086
|
> def password length=1
|
1075
1087
|
|
@@ -1087,7 +1099,7 @@ __Returns:__
|
|
1087
1099
|
|
1088
1100
|
--
|
1089
1101
|
|
1090
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1102
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L55) ios
|
1091
1103
|
|
1092
1104
|
> def get_page_class
|
1093
1105
|
|
@@ -1095,7 +1107,7 @@ Returns a string of class counts.
|
|
1095
1107
|
|
1096
1108
|
--
|
1097
1109
|
|
1098
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1110
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L81) ios
|
1099
1111
|
|
1100
1112
|
> def page_class
|
1101
1113
|
|
@@ -1103,7 +1115,7 @@ Returns a string of class counts.
|
|
1103
1115
|
|
1104
1116
|
--
|
1105
1117
|
|
1106
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L90) ios
|
1107
1119
|
|
1108
1120
|
> def get_page element=get_source
|
1109
1121
|
|
@@ -1119,7 +1131,7 @@ __Returns:__
|
|
1119
1131
|
|
1120
1132
|
--
|
1121
1133
|
|
1122
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1134
|
+
##### [page](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L135) ios
|
1123
1135
|
|
1124
1136
|
> def page
|
1125
1137
|
|
@@ -1131,7 +1143,7 @@ __Returns:__
|
|
1131
1143
|
|
1132
1144
|
--
|
1133
1145
|
|
1134
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L143) ios
|
1135
1147
|
|
1136
1148
|
> def source_window window_number=0
|
1137
1149
|
|
@@ -1147,7 +1159,7 @@ __Returns:__
|
|
1147
1159
|
|
1148
1160
|
--
|
1149
1161
|
|
1150
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L150) ios
|
1151
1163
|
|
1152
1164
|
> def page_window window_number=0
|
1153
1165
|
|
@@ -1160,7 +1172,7 @@ __Parameters:__
|
|
1160
1172
|
|
1161
1173
|
--
|
1162
1174
|
|
1163
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/helper.rb#L157) ios
|
1164
1176
|
|
1165
1177
|
> def fast_duration
|
1166
1178
|
|
@@ -1172,7 +1184,7 @@ __Returns:__
|
|
1172
1184
|
|
1173
1185
|
--
|
1174
1186
|
|
1175
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1187
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/alert.rb#L14) ios
|
1176
1188
|
|
1177
1189
|
> def alert_click value
|
1178
1190
|
|
@@ -1195,7 +1207,7 @@ __Returns:__
|
|
1195
1207
|
|
1196
1208
|
--
|
1197
1209
|
|
1198
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/alert.rb#L21) ios
|
1199
1211
|
|
1200
1212
|
> def alert_text
|
1201
1213
|
|
@@ -1207,7 +1219,7 @@ __Returns:__
|
|
1207
1219
|
|
1208
1220
|
--
|
1209
1221
|
|
1210
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1222
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/alert.rb#L30) ios
|
1211
1223
|
|
1212
1224
|
> def alert_accept
|
1213
1225
|
|
@@ -1219,7 +1231,7 @@ __Returns:__
|
|
1219
1231
|
|
1220
1232
|
--
|
1221
1233
|
|
1222
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1234
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/alert.rb#L39) ios
|
1223
1235
|
|
1224
1236
|
> def alert_accept_text
|
1225
1237
|
|
@@ -1232,7 +1244,7 @@ __Returns:__
|
|
1232
1244
|
|
1233
1245
|
--
|
1234
1246
|
|
1235
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/alert.rb#L48) ios
|
1236
1248
|
|
1237
1249
|
> def alert_dismiss
|
1238
1250
|
|
@@ -1244,7 +1256,7 @@ __Returns:__
|
|
1244
1256
|
|
1245
1257
|
--
|
1246
1258
|
|
1247
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1259
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/alert.rb#L57) ios
|
1248
1260
|
|
1249
1261
|
> def alert_dismiss_text
|
1250
1262
|
|
@@ -1257,7 +1269,7 @@ __Returns:__
|
|
1257
1269
|
|
1258
1270
|
--
|
1259
1271
|
|
1260
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [find](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/generic.rb#L61) ios
|
1261
1273
|
|
1262
1274
|
> def find text
|
1263
1275
|
|
@@ -1273,7 +1285,7 @@ __Returns:__
|
|
1273
1285
|
|
1274
1286
|
--
|
1275
1287
|
|
1276
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1288
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/generic.rb#L83) ios
|
1277
1289
|
|
1278
1290
|
> def finds text
|
1279
1291
|
|
@@ -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/ios/element/generic.rb#L97) ios
|
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/ios/element/generic.rb#L105) ios
|
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/ios/element/generic.rb#L117) ios
|
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/ios/element/generic.rb#L126) ios
|
1343
1355
|
|
1344
1356
|
> def names name
|
1345
1357
|
|
@@ -1357,7 +1369,7 @@ __Returns:__
|
|
1357
1369
|
|
1358
1370
|
--
|
1359
1371
|
|
1360
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
1361
1373
|
|
1362
1374
|
> def textfields
|
1363
1375
|
|
@@ -1369,7 +1381,7 @@ __Returns:__
|
|
1369
1381
|
|
1370
1382
|
--
|
1371
1383
|
|
1372
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1384
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
1373
1385
|
|
1374
1386
|
> def e_textfields
|
1375
1387
|
|
@@ -1381,7 +1393,7 @@ __Returns:__
|
|
1381
1393
|
|
1382
1394
|
--
|
1383
1395
|
|
1384
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
1385
1397
|
|
1386
1398
|
> def first_textfield
|
1387
1399
|
|
@@ -1393,7 +1405,7 @@ __Returns:__
|
|
1393
1405
|
|
1394
1406
|
--
|
1395
1407
|
|
1396
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1408
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
1397
1409
|
|
1398
1410
|
> def last_textfield
|
1399
1411
|
|
@@ -1405,7 +1417,7 @@ __Returns:__
|
|
1405
1417
|
|
1406
1418
|
--
|
1407
1419
|
|
1408
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
1409
1421
|
|
1410
1422
|
> def textfield text
|
1411
1423
|
|
@@ -1421,7 +1433,7 @@ __Returns:__
|
|
1421
1433
|
|
1422
1434
|
--
|
1423
1435
|
|
1424
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
1436
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/509e7b81f02c6b0c4cdcb07aca034c9dad260ff4/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
1425
1437
|
|
1426
1438
|
> def textfield_include 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/ios/element/textfield.rb#L64) ios
|
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
|
|