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/docs.md
CHANGED
@@ -39,6 +39,7 @@ text | UIAStaticText
|
|
39
39
|
|
40
40
|
- `source` Prints a JSON view of the current page.
|
41
41
|
- `page` Prints the content descriptions and text values on the current page.
|
42
|
+
- `page_class` Prints the classes found on the current page.
|
42
43
|
- `(Element) find(value)` Returns the first element that contains value.
|
43
44
|
- `(Element) finds(value)` Returns all elements containing value (iOS only for now).
|
44
45
|
- `(Element) name(name)` Returns the first element containing name. Android name is the content description.
|
@@ -232,3 +233,12 @@ at_exit do
|
|
232
233
|
end
|
233
234
|
end
|
234
235
|
```
|
236
|
+
|
237
|
+
#### Set iOS version
|
238
|
+
|
239
|
+
```bash
|
240
|
+
export V=`git rev-parse --verify HEAD`
|
241
|
+
/usr/libexec/PlistBuddy -c "Set :CFBundleVersion $V" Info.plist
|
242
|
+
/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString $V" Info.plist
|
243
|
+
/usr/bin/plutil -convert binary1 Info.plist
|
244
|
+
```
|
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/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
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L8) ios
|
1012
1003
|
|
1013
1004
|
> def find_eles_attr tag_name, attribute
|
1014
1005
|
|
@@ -1027,7 +1018,7 @@ __Returns:__
|
|
1027
1018
|
|
1028
1019
|
--
|
1029
1020
|
|
1030
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1021
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L29) ios
|
1031
1022
|
|
1032
1023
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
1033
1024
|
|
@@ -1048,7 +1039,7 @@ __Returns:__
|
|
1048
1039
|
|
1049
1040
|
--
|
1050
1041
|
|
1051
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
1042
|
+
##### [password](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L50) ios
|
1052
1043
|
|
1053
1044
|
> def password length=1
|
1054
1045
|
|
@@ -1066,7 +1057,7 @@ __Returns:__
|
|
1066
1057
|
|
1067
1058
|
--
|
1068
1059
|
|
1069
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L55) ios
|
1070
1061
|
|
1071
1062
|
> def get_page_class
|
1072
1063
|
|
@@ -1074,7 +1065,7 @@ Returns a string of class counts.
|
|
1074
1065
|
|
1075
1066
|
--
|
1076
1067
|
|
1077
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L81) ios
|
1078
1069
|
|
1079
1070
|
> def page_class
|
1080
1071
|
|
@@ -1082,7 +1073,7 @@ Returns a string of class counts.
|
|
1082
1073
|
|
1083
1074
|
--
|
1084
1075
|
|
1085
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L90) ios
|
1086
1077
|
|
1087
1078
|
> def get_page element=get_source
|
1088
1079
|
|
@@ -1098,7 +1089,7 @@ __Returns:__
|
|
1098
1089
|
|
1099
1090
|
--
|
1100
1091
|
|
1101
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [page](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L135) ios
|
1102
1093
|
|
1103
1094
|
> def page
|
1104
1095
|
|
@@ -1110,7 +1101,7 @@ __Returns:__
|
|
1110
1101
|
|
1111
1102
|
--
|
1112
1103
|
|
1113
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L143) ios
|
1114
1105
|
|
1115
1106
|
> def source_window window_number=0
|
1116
1107
|
|
@@ -1126,7 +1117,7 @@ __Returns:__
|
|
1126
1117
|
|
1127
1118
|
--
|
1128
1119
|
|
1129
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L150) ios
|
1130
1121
|
|
1131
1122
|
> def page_window window_number=0
|
1132
1123
|
|
@@ -1139,7 +1130,7 @@ __Parameters:__
|
|
1139
1130
|
|
1140
1131
|
--
|
1141
1132
|
|
1142
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1133
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/helper.rb#L157) ios
|
1143
1134
|
|
1144
1135
|
> def fast_duration
|
1145
1136
|
|
@@ -1151,7 +1142,7 @@ __Returns:__
|
|
1151
1142
|
|
1152
1143
|
--
|
1153
1144
|
|
1154
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/alert.rb#L14) ios
|
1155
1146
|
|
1156
1147
|
> def alert_click value
|
1157
1148
|
|
@@ -1174,7 +1165,7 @@ __Returns:__
|
|
1174
1165
|
|
1175
1166
|
--
|
1176
1167
|
|
1177
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/alert.rb#L21) ios
|
1178
1169
|
|
1179
1170
|
> def alert_text
|
1180
1171
|
|
@@ -1186,7 +1177,7 @@ __Returns:__
|
|
1186
1177
|
|
1187
1178
|
--
|
1188
1179
|
|
1189
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/alert.rb#L30) ios
|
1190
1181
|
|
1191
1182
|
> def alert_accept
|
1192
1183
|
|
@@ -1198,7 +1189,7 @@ __Returns:__
|
|
1198
1189
|
|
1199
1190
|
--
|
1200
1191
|
|
1201
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/alert.rb#L39) ios
|
1202
1193
|
|
1203
1194
|
> def alert_accept_text
|
1204
1195
|
|
@@ -1211,7 +1202,7 @@ __Returns:__
|
|
1211
1202
|
|
1212
1203
|
--
|
1213
1204
|
|
1214
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/alert.rb#L48) ios
|
1215
1206
|
|
1216
1207
|
> def alert_dismiss
|
1217
1208
|
|
@@ -1223,7 +1214,7 @@ __Returns:__
|
|
1223
1214
|
|
1224
1215
|
--
|
1225
1216
|
|
1226
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/alert.rb#L57) ios
|
1227
1218
|
|
1228
1219
|
> def alert_dismiss_text
|
1229
1220
|
|
@@ -1236,7 +1227,7 @@ __Returns:__
|
|
1236
1227
|
|
1237
1228
|
--
|
1238
1229
|
|
1239
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1230
|
+
##### [find](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/generic.rb#L61) ios
|
1240
1231
|
|
1241
1232
|
> def find text
|
1242
1233
|
|
@@ -1252,7 +1243,7 @@ __Returns:__
|
|
1252
1243
|
|
1253
1244
|
--
|
1254
1245
|
|
1255
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1246
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/generic.rb#L83) ios
|
1256
1247
|
|
1257
1248
|
> def finds text
|
1258
1249
|
|
@@ -1268,7 +1259,7 @@ __Returns:__
|
|
1268
1259
|
|
1269
1260
|
--
|
1270
1261
|
|
1271
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1262
|
+
##### [text](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/generic.rb#L97) ios
|
1272
1263
|
|
1273
1264
|
> def text text
|
1274
1265
|
|
@@ -1284,7 +1275,7 @@ __Returns:__
|
|
1284
1275
|
|
1285
1276
|
--
|
1286
1277
|
|
1287
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1278
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/generic.rb#L105) ios
|
1288
1279
|
|
1289
1280
|
> def texts text
|
1290
1281
|
|
@@ -1300,7 +1291,7 @@ __Returns:__
|
|
1300
1291
|
|
1301
1292
|
--
|
1302
1293
|
|
1303
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1294
|
+
##### [name](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/generic.rb#L117) ios
|
1304
1295
|
|
1305
1296
|
> def name name
|
1306
1297
|
|
@@ -1318,7 +1309,7 @@ __Returns:__
|
|
1318
1309
|
|
1319
1310
|
--
|
1320
1311
|
|
1321
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1312
|
+
##### [names](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/generic.rb#L126) ios
|
1322
1313
|
|
1323
1314
|
> def names name
|
1324
1315
|
|
@@ -1336,7 +1327,7 @@ __Returns:__
|
|
1336
1327
|
|
1337
1328
|
--
|
1338
1329
|
|
1339
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
1340
1331
|
|
1341
1332
|
> def textfields
|
1342
1333
|
|
@@ -1348,7 +1339,7 @@ __Returns:__
|
|
1348
1339
|
|
1349
1340
|
--
|
1350
1341
|
|
1351
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1342
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
1352
1343
|
|
1353
1344
|
> def e_textfields
|
1354
1345
|
|
@@ -1360,7 +1351,7 @@ __Returns:__
|
|
1360
1351
|
|
1361
1352
|
--
|
1362
1353
|
|
1363
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
1364
1355
|
|
1365
1356
|
> def first_textfield
|
1366
1357
|
|
@@ -1372,7 +1363,7 @@ __Returns:__
|
|
1372
1363
|
|
1373
1364
|
--
|
1374
1365
|
|
1375
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1366
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
1376
1367
|
|
1377
1368
|
> def last_textfield
|
1378
1369
|
|
@@ -1384,7 +1375,7 @@ __Returns:__
|
|
1384
1375
|
|
1385
1376
|
--
|
1386
1377
|
|
1387
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1378
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
1388
1379
|
|
1389
1380
|
> def textfield text
|
1390
1381
|
|
@@ -1400,7 +1391,7 @@ __Returns:__
|
|
1400
1391
|
|
1401
1392
|
--
|
1402
1393
|
|
1403
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
1404
1395
|
|
1405
1396
|
> def textfield_include text
|
1406
1397
|
|
@@ -1416,7 +1407,7 @@ __Returns:__
|
|
1416
1407
|
|
1417
1408
|
--
|
1418
1409
|
|
1419
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1410
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/521f79b11497c0c963b7059347e02d81a08f665a/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
1420
1411
|
|
1421
1412
|
> def textfield_exact text
|
1422
1413
|
|
@@ -1432,7 +1423,7 @@ __Returns:__
|
|
1432
1423
|
|
1433
1424
|
--
|
1434
1425
|
|
1435
|
-
##### [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)
|
1436
1427
|
|
1437
1428
|
> def value
|
1438
1429
|
|
@@ -1442,7 +1433,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1442
1433
|
|
1443
1434
|
--
|
1444
1435
|
|
1445
|
-
##### [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)
|
1446
1437
|
|
1447
1438
|
> def name
|
1448
1439
|
|
@@ -1452,7 +1443,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1452
1443
|
|
1453
1444
|
--
|
1454
1445
|
|
1455
|
-
##### [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)
|
1456
1447
|
|
1457
1448
|
> def tag_name
|
1458
1449
|
|
@@ -1462,7 +1453,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1462
1453
|
|
1463
1454
|
--
|
1464
1455
|
|
1465
|
-
##### [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)
|
1466
1457
|
|
1467
1458
|
> def location_rel
|
1468
1459
|
|