appium_lib 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/docs/android_docs.md +92 -92
- data/docs/ios_docs.md +93 -93
- data/lib/appium_lib/common/patch.rb +20 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +11 -0
- data/lib/appium_lib/ios/element/generic.rb +9 -69
- data/release_notes.md +16 -0
- metadata +2 -2
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
2
2
|
|
3
3
|
> def app_path
|
4
4
|
|
@@ -6,7 +6,7 @@ Returns the value of attribute app_path
|
|
6
6
|
|
7
7
|
--
|
8
8
|
|
9
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
9
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
10
10
|
|
11
11
|
> def app_name
|
12
12
|
|
@@ -14,7 +14,7 @@ Returns the value of attribute app_name
|
|
14
14
|
|
15
15
|
--
|
16
16
|
|
17
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
17
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
18
18
|
|
19
19
|
> def app_package
|
20
20
|
|
@@ -22,7 +22,7 @@ Returns the value of attribute app_package
|
|
22
22
|
|
23
23
|
--
|
24
24
|
|
25
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
25
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
26
26
|
|
27
27
|
> def app_activity
|
28
28
|
|
@@ -30,7 +30,7 @@ Returns the value of attribute app_activity
|
|
30
30
|
|
31
31
|
--
|
32
32
|
|
33
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
33
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
34
34
|
|
35
35
|
> def app_wait_activity
|
36
36
|
|
@@ -38,7 +38,7 @@ Returns the value of attribute app_wait_activity
|
|
38
38
|
|
39
39
|
--
|
40
40
|
|
41
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
41
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
42
42
|
|
43
43
|
> def sauce_username
|
44
44
|
|
@@ -46,7 +46,7 @@ Returns the value of attribute sauce_username
|
|
46
46
|
|
47
47
|
--
|
48
48
|
|
49
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
49
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
50
50
|
|
51
51
|
> def sauce_access_key
|
52
52
|
|
@@ -54,7 +54,7 @@ Returns the value of attribute sauce_access_key
|
|
54
54
|
|
55
55
|
--
|
56
56
|
|
57
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
57
|
+
##### [port](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
58
58
|
|
59
59
|
> def port
|
60
60
|
|
@@ -62,7 +62,7 @@ Returns the value of attribute port
|
|
62
62
|
|
63
63
|
--
|
64
64
|
|
65
|
-
##### [os](https://github.com/appium/ruby_lib/blob/
|
65
|
+
##### [os](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
66
66
|
|
67
67
|
> def os
|
68
68
|
|
@@ -70,7 +70,7 @@ Returns the value of attribute os
|
|
70
70
|
|
71
71
|
--
|
72
72
|
|
73
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
73
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L38)
|
74
74
|
|
75
75
|
> def debug
|
76
76
|
|
@@ -78,7 +78,7 @@ Returns the value of attribute debug
|
|
78
78
|
|
79
79
|
--
|
80
80
|
|
81
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
81
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L68)
|
82
82
|
|
83
83
|
> def initialize options={}
|
84
84
|
|
@@ -117,7 +117,7 @@ __Returns:__
|
|
117
117
|
|
118
118
|
--
|
119
119
|
|
120
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
120
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L189)
|
121
121
|
|
122
122
|
> def absolute_app_path
|
123
123
|
|
@@ -129,7 +129,7 @@ __Returns:__
|
|
129
129
|
|
130
130
|
--
|
131
131
|
|
132
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
132
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L203)
|
133
133
|
|
134
134
|
> def server_url
|
135
135
|
|
@@ -141,7 +141,7 @@ __Returns:__
|
|
141
141
|
|
142
142
|
--
|
143
143
|
|
144
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
144
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L213)
|
145
145
|
|
146
146
|
> def restart
|
147
147
|
|
@@ -153,7 +153,7 @@ __Returns:__
|
|
153
153
|
|
154
154
|
--
|
155
155
|
|
156
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L220)
|
157
157
|
|
158
158
|
> def driver
|
159
159
|
|
@@ -165,7 +165,7 @@ __Returns:__
|
|
165
165
|
|
166
166
|
--
|
167
167
|
|
168
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
168
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L228)
|
169
169
|
|
170
170
|
> def screenshot png_save_path
|
171
171
|
|
@@ -181,7 +181,7 @@ __Returns:__
|
|
181
181
|
|
182
182
|
--
|
183
183
|
|
184
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
184
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L234)
|
185
185
|
|
186
186
|
> def driver_quit
|
187
187
|
|
@@ -193,7 +193,7 @@ __Returns:__
|
|
193
193
|
|
194
194
|
--
|
195
195
|
|
196
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L243)
|
197
197
|
|
198
198
|
> def start_driver wait=30
|
199
199
|
|
@@ -209,7 +209,7 @@ __Returns:__
|
|
209
209
|
|
210
210
|
--
|
211
211
|
|
212
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L269)
|
213
213
|
|
214
214
|
> def no_wait
|
215
215
|
|
@@ -217,7 +217,7 @@ Set implicit wait to zero.
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L276)
|
221
221
|
|
222
222
|
> def set_wait timeout=@default_wait
|
223
223
|
|
@@ -233,7 +233,7 @@ __Returns:__
|
|
233
233
|
|
234
234
|
--
|
235
235
|
|
236
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
236
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L283)
|
237
237
|
|
238
238
|
> def default_wait
|
239
239
|
|
@@ -246,7 +246,7 @@ __Returns:__
|
|
246
246
|
|
247
247
|
--
|
248
248
|
|
249
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
249
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L295)
|
250
250
|
|
251
251
|
> def exists &search_block
|
252
252
|
|
@@ -266,7 +266,7 @@ __Returns:__
|
|
266
266
|
|
267
267
|
--
|
268
268
|
|
269
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
269
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L320)
|
270
270
|
|
271
271
|
> def execute_script script, *args
|
272
272
|
|
@@ -284,7 +284,7 @@ __Returns:__
|
|
284
284
|
|
285
285
|
--
|
286
286
|
|
287
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
287
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L336)
|
288
288
|
|
289
289
|
> def mobile method, *args
|
290
290
|
|
@@ -310,7 +310,7 @@ __Returns:__
|
|
310
310
|
|
311
311
|
--
|
312
312
|
|
313
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
313
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L347)
|
314
314
|
|
315
315
|
> def find_elements *args
|
316
316
|
|
@@ -326,7 +326,7 @@ __Returns:__
|
|
326
326
|
|
327
327
|
--
|
328
328
|
|
329
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
329
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L355)
|
330
330
|
|
331
331
|
> def find_element *args
|
332
332
|
|
@@ -342,7 +342,7 @@ __Returns:__
|
|
342
342
|
|
343
343
|
--
|
344
344
|
|
345
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
345
|
+
##### [x](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/driver.rb#L362)
|
346
346
|
|
347
347
|
> def x
|
348
348
|
|
@@ -355,7 +355,7 @@ __Returns:__
|
|
355
355
|
|
356
356
|
--
|
357
357
|
|
358
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
358
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L32)
|
359
359
|
|
360
360
|
> def wait max_wait=30, interval=0.5, &block
|
361
361
|
|
@@ -381,7 +381,7 @@ __Returns:__
|
|
381
381
|
|
382
382
|
--
|
383
383
|
|
384
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
384
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L49)
|
385
385
|
|
386
386
|
> def wait_true max_wait=30, interval=0.5, &block
|
387
387
|
|
@@ -402,7 +402,7 @@ __Returns:__
|
|
402
402
|
|
403
403
|
--
|
404
404
|
|
405
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
405
|
+
##### [id](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L63)
|
406
406
|
|
407
407
|
> def id id
|
408
408
|
|
@@ -418,7 +418,7 @@ __Returns:__
|
|
418
418
|
|
419
419
|
--
|
420
420
|
|
421
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
421
|
+
##### [back](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L69)
|
422
422
|
|
423
423
|
> def back
|
424
424
|
|
@@ -430,7 +430,7 @@ __Returns:__
|
|
430
430
|
|
431
431
|
--
|
432
432
|
|
433
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
433
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L74)
|
434
434
|
|
435
435
|
> def session_id
|
436
436
|
|
@@ -438,7 +438,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
438
438
|
|
439
439
|
--
|
440
440
|
|
441
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
441
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L82)
|
442
442
|
|
443
443
|
> def xpath xpath_str
|
444
444
|
|
@@ -454,7 +454,7 @@ __Returns:__
|
|
454
454
|
|
455
455
|
--
|
456
456
|
|
457
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
457
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L90)
|
458
458
|
|
459
459
|
> def xpaths xpath_str
|
460
460
|
|
@@ -470,7 +470,7 @@ __Returns:__
|
|
470
470
|
|
471
471
|
--
|
472
472
|
|
473
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
473
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L98)
|
474
474
|
|
475
475
|
> def ele_index tag_name, index
|
476
476
|
|
@@ -488,7 +488,7 @@ __Returns:__
|
|
488
488
|
|
489
489
|
--
|
490
490
|
|
491
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
491
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L106)
|
492
492
|
|
493
493
|
> def find_eles tag_name
|
494
494
|
|
@@ -504,7 +504,7 @@ __Returns:__
|
|
504
504
|
|
505
505
|
--
|
506
506
|
|
507
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
507
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L114)
|
508
508
|
|
509
509
|
> def find_ele_by_text tag, text
|
510
510
|
|
@@ -522,7 +522,7 @@ __Returns:__
|
|
522
522
|
|
523
523
|
--
|
524
524
|
|
525
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
525
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L122)
|
526
526
|
|
527
527
|
> def find_eles_by_text tag, text
|
528
528
|
|
@@ -540,7 +540,7 @@ __Returns:__
|
|
540
540
|
|
541
541
|
--
|
542
542
|
|
543
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L131)
|
544
544
|
|
545
545
|
> def find_ele_by_attr_include tag, attr, value
|
546
546
|
|
@@ -560,7 +560,7 @@ __Returns:__
|
|
560
560
|
|
561
561
|
--
|
562
562
|
|
563
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
563
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L140)
|
564
564
|
|
565
565
|
> def find_eles_by_attr_include tag, attr, value
|
566
566
|
|
@@ -580,7 +580,7 @@ __Returns:__
|
|
580
580
|
|
581
581
|
--
|
582
582
|
|
583
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
583
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L149)
|
584
584
|
|
585
585
|
> def find_ele_by_text_include tag, text
|
586
586
|
|
@@ -599,7 +599,7 @@ __Returns:__
|
|
599
599
|
|
600
600
|
--
|
601
601
|
|
602
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
602
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L158)
|
603
603
|
|
604
604
|
> def find_eles_by_text_include tag, text
|
605
605
|
|
@@ -618,7 +618,7 @@ __Returns:__
|
|
618
618
|
|
619
619
|
--
|
620
620
|
|
621
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
621
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L165)
|
622
622
|
|
623
623
|
> def first_ele tag_name
|
624
624
|
|
@@ -634,7 +634,7 @@ __Returns:__
|
|
634
634
|
|
635
635
|
--
|
636
636
|
|
637
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
637
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L173)
|
638
638
|
|
639
639
|
> def last_ele tag_name
|
640
640
|
|
@@ -650,7 +650,7 @@ __Returns:__
|
|
650
650
|
|
651
651
|
--
|
652
652
|
|
653
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
653
|
+
##### [source](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L179)
|
654
654
|
|
655
655
|
> def source
|
656
656
|
|
@@ -662,7 +662,7 @@ __Returns:__
|
|
662
662
|
|
663
663
|
--
|
664
664
|
|
665
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
665
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L185)
|
666
666
|
|
667
667
|
> def get_source
|
668
668
|
|
@@ -674,7 +674,7 @@ __Returns:__
|
|
674
674
|
|
675
675
|
--
|
676
676
|
|
677
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
677
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L194)
|
678
678
|
|
679
679
|
> def find_name name
|
680
680
|
|
@@ -690,7 +690,7 @@ __Returns:__
|
|
690
690
|
|
691
691
|
--
|
692
692
|
|
693
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
693
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/helper.rb#L202)
|
694
694
|
|
695
695
|
> def find_names name
|
696
696
|
|
@@ -706,7 +706,7 @@ __Returns:__
|
|
706
706
|
|
707
707
|
--
|
708
708
|
|
709
|
-
##### [dynamic_code_to_string](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [dynamic_code_to_string](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/dynamic.rb#L38)
|
710
710
|
|
711
711
|
> def dynamic_code_to_string code, value=false
|
712
712
|
|
@@ -714,7 +714,7 @@ __Returns:__
|
|
714
714
|
|
715
715
|
--
|
716
716
|
|
717
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
717
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L8)
|
718
718
|
|
719
719
|
> def s_texts
|
720
720
|
|
@@ -726,7 +726,7 @@ __Returns:__
|
|
726
726
|
|
727
727
|
--
|
728
728
|
|
729
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L14)
|
730
730
|
|
731
731
|
> def e_s_texts
|
732
732
|
|
@@ -738,7 +738,7 @@ __Returns:__
|
|
738
738
|
|
739
739
|
--
|
740
740
|
|
741
|
-
##### [s_first_text](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [s_first_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L20)
|
742
742
|
|
743
743
|
> def s_first_text
|
744
744
|
|
@@ -750,7 +750,7 @@ __Returns:__
|
|
750
750
|
|
751
751
|
--
|
752
752
|
|
753
|
-
##### [s_last_text](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [s_last_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L26)
|
754
754
|
|
755
755
|
> def s_last_text
|
756
756
|
|
@@ -762,7 +762,7 @@ __Returns:__
|
|
762
762
|
|
763
763
|
--
|
764
764
|
|
765
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L33)
|
766
766
|
|
767
767
|
> def s_text text
|
768
768
|
|
@@ -778,7 +778,7 @@ __Returns:__
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/text.rb#L41)
|
782
782
|
|
783
783
|
> def s_text_exact text
|
784
784
|
|
@@ -794,7 +794,7 @@ __Returns:__
|
|
794
794
|
|
795
795
|
--
|
796
796
|
|
797
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
797
|
+
##### [button](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L8)
|
798
798
|
|
799
799
|
> def button text, number=0
|
800
800
|
|
@@ -812,7 +812,7 @@ __Returns:__
|
|
812
812
|
|
813
813
|
--
|
814
814
|
|
815
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
815
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L19)
|
816
816
|
|
817
817
|
> def buttons text=nil
|
818
818
|
|
@@ -828,7 +828,7 @@ __Returns:__
|
|
828
828
|
|
829
829
|
--
|
830
830
|
|
831
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L26)
|
832
832
|
|
833
833
|
> def first_button
|
834
834
|
|
@@ -840,7 +840,7 @@ __Returns:__
|
|
840
840
|
|
841
841
|
--
|
842
842
|
|
843
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L32)
|
844
844
|
|
845
845
|
> def last_button
|
846
846
|
|
@@ -852,7 +852,7 @@ __Returns:__
|
|
852
852
|
|
853
853
|
--
|
854
854
|
|
855
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
855
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L39)
|
856
856
|
|
857
857
|
> def button_exact text
|
858
858
|
|
@@ -868,7 +868,7 @@ __Returns:__
|
|
868
868
|
|
869
869
|
--
|
870
870
|
|
871
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
871
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L46)
|
872
872
|
|
873
873
|
> def buttons_exact text
|
874
874
|
|
@@ -884,7 +884,7 @@ __Returns:__
|
|
884
884
|
|
885
885
|
--
|
886
886
|
|
887
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L52)
|
888
888
|
|
889
889
|
> def e_buttons
|
890
890
|
|
@@ -896,7 +896,7 @@ __Returns:__
|
|
896
896
|
|
897
897
|
--
|
898
898
|
|
899
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/button.rb#L72)
|
900
900
|
|
901
901
|
> def button_num text, number=1
|
902
902
|
|
@@ -925,7 +925,7 @@ __Returns:__
|
|
925
925
|
|
926
926
|
--
|
927
927
|
|
928
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
928
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/element/window.rb#L5)
|
929
929
|
|
930
930
|
> def window_size
|
931
931
|
|
@@ -933,7 +933,7 @@ Get the window's size
|
|
933
933
|
|
934
934
|
--
|
935
935
|
|
936
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
936
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/helper.rb#L8) ios
|
937
937
|
|
938
938
|
> def find_eles_attr tag_name, attribute
|
939
939
|
|
@@ -952,7 +952,7 @@ __Returns:__
|
|
952
952
|
|
953
953
|
--
|
954
954
|
|
955
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
955
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/helper.rb#L29) ios
|
956
956
|
|
957
957
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
958
958
|
|
@@ -973,7 +973,7 @@ __Returns:__
|
|
973
973
|
|
974
974
|
--
|
975
975
|
|
976
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
976
|
+
##### [password](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/helper.rb#L50) ios
|
977
977
|
|
978
978
|
> def password length=1
|
979
979
|
|
@@ -991,7 +991,7 @@ __Returns:__
|
|
991
991
|
|
992
992
|
--
|
993
993
|
|
994
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
994
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/helper.rb#L58) ios
|
995
995
|
|
996
996
|
> def get_page element=get_source
|
997
997
|
|
@@ -1007,7 +1007,7 @@ __Returns:__
|
|
1007
1007
|
|
1008
1008
|
--
|
1009
1009
|
|
1010
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1010
|
+
##### [page](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/helper.rb#L103) ios
|
1011
1011
|
|
1012
1012
|
> def page
|
1013
1013
|
|
@@ -1019,7 +1019,7 @@ __Returns:__
|
|
1019
1019
|
|
1020
1020
|
--
|
1021
1021
|
|
1022
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1022
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/helper.rb#L110) ios
|
1023
1023
|
|
1024
1024
|
> def fast_duration
|
1025
1025
|
|
@@ -1031,7 +1031,7 @@ __Returns:__
|
|
1031
1031
|
|
1032
1032
|
--
|
1033
1033
|
|
1034
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1034
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/alert.rb#L14) ios
|
1035
1035
|
|
1036
1036
|
> def alert_click value
|
1037
1037
|
|
@@ -1054,7 +1054,7 @@ __Returns:__
|
|
1054
1054
|
|
1055
1055
|
--
|
1056
1056
|
|
1057
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/alert.rb#L21) ios
|
1058
1058
|
|
1059
1059
|
> def alert_text
|
1060
1060
|
|
@@ -1066,7 +1066,7 @@ __Returns:__
|
|
1066
1066
|
|
1067
1067
|
--
|
1068
1068
|
|
1069
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1069
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/alert.rb#L27) ios
|
1070
1070
|
|
1071
1071
|
> def alert_accept
|
1072
1072
|
|
@@ -1078,7 +1078,7 @@ __Returns:__
|
|
1078
1078
|
|
1079
1079
|
--
|
1080
1080
|
|
1081
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/alert.rb#L34) ios
|
1082
1082
|
|
1083
1083
|
> def alert_accept_text
|
1084
1084
|
|
@@ -1091,7 +1091,7 @@ __Returns:__
|
|
1091
1091
|
|
1092
1092
|
--
|
1093
1093
|
|
1094
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1094
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/alert.rb#L43) ios
|
1095
1095
|
|
1096
1096
|
> def alert_dismiss
|
1097
1097
|
|
@@ -1103,7 +1103,7 @@ __Returns:__
|
|
1103
1103
|
|
1104
1104
|
--
|
1105
1105
|
|
1106
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1106
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/alert.rb#L50) ios
|
1107
1107
|
|
1108
1108
|
> def alert_dismiss_text
|
1109
1109
|
|
@@ -1116,7 +1116,7 @@ __Returns:__
|
|
1116
1116
|
|
1117
1117
|
--
|
1118
1118
|
|
1119
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1119
|
+
##### [find](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/generic.rb#L61) ios
|
1120
1120
|
|
1121
1121
|
> def find text
|
1122
1122
|
|
@@ -1132,7 +1132,7 @@ __Returns:__
|
|
1132
1132
|
|
1133
1133
|
--
|
1134
1134
|
|
1135
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/generic.rb#L69) ios
|
1136
1136
|
|
1137
1137
|
> def finds text
|
1138
1138
|
|
@@ -1148,7 +1148,7 @@ __Returns:__
|
|
1148
1148
|
|
1149
1149
|
--
|
1150
1150
|
|
1151
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [text](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/generic.rb#L79) ios
|
1152
1152
|
|
1153
1153
|
> def text text
|
1154
1154
|
|
@@ -1164,7 +1164,7 @@ __Returns:__
|
|
1164
1164
|
|
1165
1165
|
--
|
1166
1166
|
|
1167
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1167
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/generic.rb#L87) ios
|
1168
1168
|
|
1169
1169
|
> def texts text
|
1170
1170
|
|
@@ -1180,7 +1180,7 @@ __Returns:__
|
|
1180
1180
|
|
1181
1181
|
--
|
1182
1182
|
|
1183
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/generic.rb#L99) ios
|
1184
1184
|
|
1185
1185
|
> def name name
|
1186
1186
|
|
@@ -1198,7 +1198,7 @@ __Returns:__
|
|
1198
1198
|
|
1199
1199
|
--
|
1200
1200
|
|
1201
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1201
|
+
##### [names](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/generic.rb#L108) ios
|
1202
1202
|
|
1203
1203
|
> def names name
|
1204
1204
|
|
@@ -1216,7 +1216,7 @@ __Returns:__
|
|
1216
1216
|
|
1217
1217
|
--
|
1218
1218
|
|
1219
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
1220
1220
|
|
1221
1221
|
> def textfields
|
1222
1222
|
|
@@ -1228,7 +1228,7 @@ __Returns:__
|
|
1228
1228
|
|
1229
1229
|
--
|
1230
1230
|
|
1231
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1231
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
1232
1232
|
|
1233
1233
|
> def e_textfields
|
1234
1234
|
|
@@ -1240,7 +1240,7 @@ __Returns:__
|
|
1240
1240
|
|
1241
1241
|
--
|
1242
1242
|
|
1243
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
1244
1244
|
|
1245
1245
|
> def first_textfield
|
1246
1246
|
|
@@ -1252,7 +1252,7 @@ __Returns:__
|
|
1252
1252
|
|
1253
1253
|
--
|
1254
1254
|
|
1255
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
1256
1256
|
|
1257
1257
|
> def last_textfield
|
1258
1258
|
|
@@ -1264,7 +1264,7 @@ __Returns:__
|
|
1264
1264
|
|
1265
1265
|
--
|
1266
1266
|
|
1267
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
1268
1268
|
|
1269
1269
|
> def textfield text
|
1270
1270
|
|
@@ -1280,7 +1280,7 @@ __Returns:__
|
|
1280
1280
|
|
1281
1281
|
--
|
1282
1282
|
|
1283
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
1284
1284
|
|
1285
1285
|
> def textfield_include text
|
1286
1286
|
|
@@ -1296,7 +1296,7 @@ __Returns:__
|
|
1296
1296
|
|
1297
1297
|
--
|
1298
1298
|
|
1299
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
1300
1300
|
|
1301
1301
|
> def textfield_exact text
|
1302
1302
|
|
@@ -1312,7 +1312,7 @@ __Returns:__
|
|
1312
1312
|
|
1313
1313
|
--
|
1314
1314
|
|
1315
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [value](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L10)
|
1316
1316
|
|
1317
1317
|
> def value
|
1318
1318
|
|
@@ -1322,7 +1322,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1322
1322
|
|
1323
1323
|
--
|
1324
1324
|
|
1325
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1325
|
+
##### [name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L17)
|
1326
1326
|
|
1327
1327
|
> def name
|
1328
1328
|
|
@@ -1332,7 +1332,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1332
1332
|
|
1333
1333
|
--
|
1334
1334
|
|
1335
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L24)
|
1336
1336
|
|
1337
1337
|
> def tag_name
|
1338
1338
|
|
@@ -1342,7 +1342,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1342
1342
|
|
1343
1343
|
--
|
1344
1344
|
|
1345
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1345
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/eb11923543a1e3e2fe8f19d2f09959cefd16fa05/lib/appium_lib/common/patch.rb#L36)
|
1346
1346
|
|
1347
1347
|
> def location_rel
|
1348
1348
|
|