appium_lib 0.19.0 → 0.19.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/android_docs.md +121 -131
- data/docs/ios_docs.md +139 -133
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +25 -14
- data/release_notes.md +16 -0
- metadata +2 -2
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L10)
|
2
2
|
|
3
3
|
> def s_texts text=nil
|
4
4
|
|
@@ -15,7 +15,7 @@ __Returns:__
|
|
15
15
|
|
16
16
|
--
|
17
17
|
|
18
|
-
##### [s_texts_names](https://github.com/appium/ruby_lib/blob/
|
18
|
+
##### [s_texts_names](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L18)
|
19
19
|
|
20
20
|
> def s_texts_names
|
21
21
|
|
@@ -23,7 +23,7 @@ __Returns:__
|
|
23
23
|
|
24
24
|
--
|
25
25
|
|
26
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
26
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L24)
|
27
27
|
|
28
28
|
> def e_s_texts
|
29
29
|
|
@@ -35,7 +35,7 @@ __Returns:__
|
|
35
35
|
|
36
36
|
--
|
37
37
|
|
38
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
38
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L30)
|
39
39
|
|
40
40
|
> def first_s_text
|
41
41
|
|
@@ -47,7 +47,7 @@ __Returns:__
|
|
47
47
|
|
48
48
|
--
|
49
49
|
|
50
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
50
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L36)
|
51
51
|
|
52
52
|
> def last_s_text
|
53
53
|
|
@@ -59,7 +59,7 @@ __Returns:__
|
|
59
59
|
|
60
60
|
--
|
61
61
|
|
62
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
62
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L43)
|
63
63
|
|
64
64
|
> def s_text text
|
65
65
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L51)
|
79
79
|
|
80
80
|
> def s_text_exact text
|
81
81
|
|
@@ -91,7 +91,7 @@ __Returns:__
|
|
91
91
|
|
92
92
|
--
|
93
93
|
|
94
|
-
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/
|
94
|
+
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L58)
|
95
95
|
|
96
96
|
> def s_texts_exact text
|
97
97
|
|
@@ -107,7 +107,7 @@ __Returns:__
|
|
107
107
|
|
108
108
|
--
|
109
109
|
|
110
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
110
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/window.rb#L5)
|
111
111
|
|
112
112
|
> def window_size
|
113
113
|
|
@@ -115,7 +115,7 @@ Get the window's size
|
|
115
115
|
|
116
116
|
--
|
117
117
|
|
118
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
118
|
+
##### [button](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L8)
|
119
119
|
|
120
120
|
> def button text, number=0
|
121
121
|
|
@@ -133,7 +133,7 @@ __Returns:__
|
|
133
133
|
|
134
134
|
--
|
135
135
|
|
136
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
136
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L19)
|
137
137
|
|
138
138
|
> def buttons text=nil
|
139
139
|
|
@@ -149,7 +149,7 @@ __Returns:__
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L26)
|
153
153
|
|
154
154
|
> def first_button
|
155
155
|
|
@@ -161,7 +161,7 @@ __Returns:__
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L32)
|
165
165
|
|
166
166
|
> def last_button
|
167
167
|
|
@@ -173,7 +173,7 @@ __Returns:__
|
|
173
173
|
|
174
174
|
--
|
175
175
|
|
176
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
176
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L39)
|
177
177
|
|
178
178
|
> def button_exact text
|
179
179
|
|
@@ -189,7 +189,7 @@ __Returns:__
|
|
189
189
|
|
190
190
|
--
|
191
191
|
|
192
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
192
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L46)
|
193
193
|
|
194
194
|
> def buttons_exact text
|
195
195
|
|
@@ -205,7 +205,7 @@ __Returns:__
|
|
205
205
|
|
206
206
|
--
|
207
207
|
|
208
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
208
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L52)
|
209
209
|
|
210
210
|
> def e_buttons
|
211
211
|
|
@@ -217,7 +217,7 @@ __Returns:__
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L72)
|
221
221
|
|
222
222
|
> def button_num text, number=1
|
223
223
|
|
@@ -246,7 +246,7 @@ __Returns:__
|
|
246
246
|
|
247
247
|
--
|
248
248
|
|
249
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
249
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L8) ios
|
250
250
|
|
251
251
|
> def find_eles_attr tag_name, attribute
|
252
252
|
|
@@ -265,7 +265,7 @@ __Returns:__
|
|
265
265
|
|
266
266
|
--
|
267
267
|
|
268
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
268
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L29) ios
|
269
269
|
|
270
270
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
271
271
|
|
@@ -286,7 +286,7 @@ __Returns:__
|
|
286
286
|
|
287
287
|
--
|
288
288
|
|
289
|
-
##### [ios_password](https://github.com/appium/ruby_lib/blob/
|
289
|
+
##### [ios_password](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L50) ios
|
290
290
|
|
291
291
|
> def ios_password length=1
|
292
292
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
304
304
|
|
305
305
|
--
|
306
306
|
|
307
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L55) ios
|
308
308
|
|
309
309
|
> def get_page_class
|
310
310
|
|
@@ -312,7 +312,7 @@ Returns a string of class counts.
|
|
312
312
|
|
313
313
|
--
|
314
314
|
|
315
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
315
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L81) ios
|
316
316
|
|
317
317
|
> def page_class
|
318
318
|
|
@@ -320,7 +320,7 @@ Returns a string of class counts.
|
|
320
320
|
|
321
321
|
--
|
322
322
|
|
323
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L93) ios
|
324
324
|
|
325
325
|
> def get_page element=source_window(0)
|
326
326
|
|
@@ -339,7 +339,7 @@ __Returns:__
|
|
339
339
|
|
340
340
|
--
|
341
341
|
|
342
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
342
|
+
##### [page](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L161) ios
|
343
343
|
|
344
344
|
> def page window_number = -1
|
345
345
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L176) ios
|
355
355
|
|
356
356
|
> def source_window window_number=0
|
357
357
|
|
@@ -367,7 +367,7 @@ __Returns:__
|
|
367
367
|
|
368
368
|
--
|
369
369
|
|
370
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
370
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L183) ios
|
371
371
|
|
372
372
|
> def page_window window_number=0
|
373
373
|
|
@@ -380,7 +380,7 @@ __Parameters:__
|
|
380
380
|
|
381
381
|
--
|
382
382
|
|
383
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
383
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L190) ios
|
384
384
|
|
385
385
|
> def fast_duration
|
386
386
|
|
@@ -392,7 +392,7 @@ __Returns:__
|
|
392
392
|
|
393
393
|
--
|
394
394
|
|
395
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
395
|
+
##### [id](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L197) ios
|
396
396
|
|
397
397
|
> def id id
|
398
398
|
|
@@ -408,7 +408,7 @@ __Returns:__
|
|
408
408
|
|
409
409
|
--
|
410
410
|
|
411
|
-
##### [ios_version](https://github.com/appium/ruby_lib/blob/
|
411
|
+
##### [ios_version](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/helper.rb#L205) ios
|
412
412
|
|
413
413
|
> def ios_version
|
414
414
|
|
@@ -420,7 +420,7 @@ __Returns:__
|
|
420
420
|
|
421
421
|
--
|
422
422
|
|
423
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
423
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/alert.rb#L14) ios
|
424
424
|
|
425
425
|
> def alert_click value
|
426
426
|
|
@@ -443,7 +443,7 @@ __Returns:__
|
|
443
443
|
|
444
444
|
--
|
445
445
|
|
446
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
446
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/alert.rb#L21) ios
|
447
447
|
|
448
448
|
> def alert_text
|
449
449
|
|
@@ -455,7 +455,7 @@ __Returns:__
|
|
455
455
|
|
456
456
|
--
|
457
457
|
|
458
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
458
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/alert.rb#L30) ios
|
459
459
|
|
460
460
|
> def alert_accept
|
461
461
|
|
@@ -467,7 +467,7 @@ __Returns:__
|
|
467
467
|
|
468
468
|
--
|
469
469
|
|
470
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
470
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/alert.rb#L40) ios
|
471
471
|
|
472
472
|
> def alert_accept_text
|
473
473
|
|
@@ -481,7 +481,7 @@ __Returns:__
|
|
481
481
|
|
482
482
|
--
|
483
483
|
|
484
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
484
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/alert.rb#L64) ios
|
485
485
|
|
486
486
|
> def alert_dismiss
|
487
487
|
|
@@ -493,7 +493,7 @@ __Returns:__
|
|
493
493
|
|
494
494
|
--
|
495
495
|
|
496
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
496
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/alert.rb#L74) ios
|
497
497
|
|
498
498
|
> def alert_dismiss_text
|
499
499
|
|
@@ -507,7 +507,7 @@ __Returns:__
|
|
507
507
|
|
508
508
|
--
|
509
509
|
|
510
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
510
|
+
##### [find](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L61) ios
|
511
511
|
|
512
512
|
> def find text
|
513
513
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L84) ios
|
527
527
|
|
528
528
|
> def finds text
|
529
529
|
|
@@ -539,7 +539,7 @@ __Returns:__
|
|
539
539
|
|
540
540
|
--
|
541
541
|
|
542
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
542
|
+
##### [text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L99) ios
|
543
543
|
|
544
544
|
> def text text
|
545
545
|
|
@@ -555,7 +555,7 @@ __Returns:__
|
|
555
555
|
|
556
556
|
--
|
557
557
|
|
558
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
558
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L108) ios
|
559
559
|
|
560
560
|
> def texts text
|
561
561
|
|
@@ -571,7 +571,7 @@ __Returns:__
|
|
571
571
|
|
572
572
|
--
|
573
573
|
|
574
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
574
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L130) ios
|
575
575
|
|
576
576
|
> def name name
|
577
577
|
|
@@ -579,6 +579,14 @@ Return the first element matching name.
|
|
579
579
|
on Android name is content description
|
580
580
|
on iOS name is the accessibility label or the text.
|
581
581
|
|
582
|
+
```ruby
|
583
|
+
# find element with name or label containing example and access the name attribute.
|
584
|
+
name('example').name
|
585
|
+
|
586
|
+
# find element with name or label containing example and access the label attribute.
|
587
|
+
name('example').label
|
588
|
+
```
|
589
|
+
|
582
590
|
__Parameters:__
|
583
591
|
|
584
592
|
[String] name - the name to search for
|
@@ -589,7 +597,7 @@ __Returns:__
|
|
589
597
|
|
590
598
|
--
|
591
599
|
|
592
|
-
##### [name_exact](https://github.com/appium/ruby_lib/blob/
|
600
|
+
##### [name_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L135) ios
|
593
601
|
|
594
602
|
> def name_exact name
|
595
603
|
|
@@ -597,7 +605,7 @@ __Returns:__
|
|
597
605
|
|
598
606
|
--
|
599
607
|
|
600
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [names](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L154) ios
|
601
609
|
|
602
610
|
> def names name
|
603
611
|
|
@@ -615,7 +623,15 @@ __Returns:__
|
|
615
623
|
|
616
624
|
--
|
617
625
|
|
618
|
-
##### [
|
626
|
+
##### [escape_single_quote](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/generic.rb#L162) ios
|
627
|
+
|
628
|
+
> def escape_single_quote text_to_escape
|
629
|
+
|
630
|
+
|
631
|
+
|
632
|
+
--
|
633
|
+
|
634
|
+
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L8) ios
|
619
635
|
|
620
636
|
> def locate_single_textfield js
|
621
637
|
|
@@ -626,7 +642,7 @@ to match Android.
|
|
626
642
|
|
627
643
|
--
|
628
644
|
|
629
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
645
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
630
646
|
|
631
647
|
> def textfields
|
632
648
|
|
@@ -639,7 +655,7 @@ __Returns:__
|
|
639
655
|
|
640
656
|
--
|
641
657
|
|
642
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
658
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
643
659
|
|
644
660
|
> def e_textfields
|
645
661
|
|
@@ -651,7 +667,7 @@ __Returns:__
|
|
651
667
|
|
652
668
|
--
|
653
669
|
|
654
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L30) ios
|
655
671
|
|
656
672
|
> def first_textfield
|
657
673
|
|
@@ -663,7 +679,7 @@ __Returns:__
|
|
663
679
|
|
664
680
|
--
|
665
681
|
|
666
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L36) ios
|
667
683
|
|
668
684
|
> def last_textfield
|
669
685
|
|
@@ -675,7 +691,7 @@ __Returns:__
|
|
675
691
|
|
676
692
|
--
|
677
693
|
|
678
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
694
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
679
695
|
|
680
696
|
> def textfield text
|
681
697
|
|
@@ -691,7 +707,7 @@ __Returns:__
|
|
691
707
|
|
692
708
|
--
|
693
709
|
|
694
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
695
711
|
|
696
712
|
> def textfield_include text
|
697
713
|
|
@@ -707,7 +723,7 @@ __Returns:__
|
|
707
723
|
|
708
724
|
--
|
709
725
|
|
710
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
726
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
711
727
|
|
712
728
|
> def textfield_exact text
|
713
729
|
|
@@ -723,7 +739,7 @@ __Returns:__
|
|
723
739
|
|
724
740
|
--
|
725
741
|
|
726
|
-
##### [textfield_named](https://github.com/appium/ruby_lib/blob/
|
742
|
+
##### [textfield_named](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/ios/element/textfield.rb#L70) ios
|
727
743
|
|
728
744
|
> def textfield_named target_name
|
729
745
|
|
@@ -735,7 +751,7 @@ __Returns:__
|
|
735
751
|
|
736
752
|
--
|
737
753
|
|
738
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
754
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L33)
|
739
755
|
|
740
756
|
> def wait max_wait=30, interval=0.5, &block
|
741
757
|
|
@@ -762,7 +778,7 @@ __Returns:__
|
|
762
778
|
|
763
779
|
--
|
764
780
|
|
765
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L45)
|
766
782
|
|
767
783
|
> def ignore &block
|
768
784
|
|
@@ -770,7 +786,7 @@ Return block.call and ignore any exceptions.
|
|
770
786
|
|
771
787
|
--
|
772
788
|
|
773
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
789
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L55)
|
774
790
|
|
775
791
|
> def wait_true max_wait=30, interval=0.5, &block
|
776
792
|
|
@@ -791,7 +807,7 @@ __Returns:__
|
|
791
807
|
|
792
808
|
--
|
793
809
|
|
794
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [back](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L68)
|
795
811
|
|
796
812
|
> def back
|
797
813
|
|
@@ -803,7 +819,7 @@ __Returns:__
|
|
803
819
|
|
804
820
|
--
|
805
821
|
|
806
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L73)
|
807
823
|
|
808
824
|
> def session_id
|
809
825
|
|
@@ -811,7 +827,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
811
827
|
|
812
828
|
--
|
813
829
|
|
814
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L81)
|
815
831
|
|
816
832
|
> def xpath xpath_str
|
817
833
|
|
@@ -827,7 +843,7 @@ __Returns:__
|
|
827
843
|
|
828
844
|
--
|
829
845
|
|
830
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
846
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L89)
|
831
847
|
|
832
848
|
> def xpaths xpath_str
|
833
849
|
|
@@ -843,7 +859,7 @@ __Returns:__
|
|
843
859
|
|
844
860
|
--
|
845
861
|
|
846
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
862
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L97)
|
847
863
|
|
848
864
|
> def ele_index tag_name, index
|
849
865
|
|
@@ -861,7 +877,7 @@ __Returns:__
|
|
861
877
|
|
862
878
|
--
|
863
879
|
|
864
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L106)
|
865
881
|
|
866
882
|
> def find_eles tag_name
|
867
883
|
|
@@ -877,7 +893,7 @@ __Returns:__
|
|
877
893
|
|
878
894
|
--
|
879
895
|
|
880
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
896
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L114)
|
881
897
|
|
882
898
|
> def find_ele_by_text tag, text
|
883
899
|
|
@@ -895,7 +911,7 @@ __Returns:__
|
|
895
911
|
|
896
912
|
--
|
897
913
|
|
898
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
914
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L122)
|
899
915
|
|
900
916
|
> def find_eles_by_text tag, text
|
901
917
|
|
@@ -913,7 +929,7 @@ __Returns:__
|
|
913
929
|
|
914
930
|
--
|
915
931
|
|
916
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
932
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L131)
|
917
933
|
|
918
934
|
> def find_ele_by_attr_include tag, attr, value
|
919
935
|
|
@@ -933,7 +949,7 @@ __Returns:__
|
|
933
949
|
|
934
950
|
--
|
935
951
|
|
936
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
952
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L140)
|
937
953
|
|
938
954
|
> def find_eles_by_attr_include tag, attr, value
|
939
955
|
|
@@ -953,7 +969,7 @@ __Returns:__
|
|
953
969
|
|
954
970
|
--
|
955
971
|
|
956
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
972
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L149)
|
957
973
|
|
958
974
|
> def find_ele_by_text_include tag, text
|
959
975
|
|
@@ -972,7 +988,7 @@ __Returns:__
|
|
972
988
|
|
973
989
|
--
|
974
990
|
|
975
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L158)
|
976
992
|
|
977
993
|
> def find_eles_by_text_include tag, text
|
978
994
|
|
@@ -991,7 +1007,7 @@ __Returns:__
|
|
991
1007
|
|
992
1008
|
--
|
993
1009
|
|
994
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1010
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L165)
|
995
1011
|
|
996
1012
|
> def first_ele tag_name
|
997
1013
|
|
@@ -1007,7 +1023,7 @@ __Returns:__
|
|
1007
1023
|
|
1008
1024
|
--
|
1009
1025
|
|
1010
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1026
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L173)
|
1011
1027
|
|
1012
1028
|
> def last_ele tag_name
|
1013
1029
|
|
@@ -1023,7 +1039,7 @@ __Returns:__
|
|
1023
1039
|
|
1024
1040
|
--
|
1025
1041
|
|
1026
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1042
|
+
##### [source](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L179)
|
1027
1043
|
|
1028
1044
|
> def source
|
1029
1045
|
|
@@ -1035,7 +1051,7 @@ __Returns:__
|
|
1035
1051
|
|
1036
1052
|
--
|
1037
1053
|
|
1038
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1054
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L185)
|
1039
1055
|
|
1040
1056
|
> def get_source
|
1041
1057
|
|
@@ -1047,7 +1063,7 @@ __Returns:__
|
|
1047
1063
|
|
1048
1064
|
--
|
1049
1065
|
|
1050
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
1066
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L194)
|
1051
1067
|
|
1052
1068
|
> def find_name name
|
1053
1069
|
|
@@ -1063,7 +1079,7 @@ __Returns:__
|
|
1063
1079
|
|
1064
1080
|
--
|
1065
1081
|
|
1066
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1082
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L202)
|
1067
1083
|
|
1068
1084
|
> def find_names name
|
1069
1085
|
|
@@ -1079,7 +1095,7 @@ __Returns:__
|
|
1079
1095
|
|
1080
1096
|
--
|
1081
1097
|
|
1082
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L210)
|
1083
1099
|
|
1084
1100
|
> def tag tag_name
|
1085
1101
|
|
@@ -1095,7 +1111,7 @@ __Returns:__
|
|
1095
1111
|
|
1096
1112
|
--
|
1097
1113
|
|
1098
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1114
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L218)
|
1099
1115
|
|
1100
1116
|
> def tags tag_name
|
1101
1117
|
|
@@ -1111,7 +1127,7 @@ __Returns:__
|
|
1111
1127
|
|
1112
1128
|
--
|
1113
1129
|
|
1114
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1130
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L228)
|
1115
1131
|
|
1116
1132
|
> def px_to_window_rel opts={}
|
1117
1133
|
|
@@ -1123,7 +1139,7 @@ px_to_window_rel x: 50, y: 150
|
|
1123
1139
|
|
1124
1140
|
--
|
1125
1141
|
|
1126
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1142
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L238)
|
1127
1143
|
|
1128
1144
|
> def lazy_load_strings
|
1129
1145
|
|
@@ -1131,7 +1147,7 @@ px_to_window_rel x: 50, y: 150
|
|
1131
1147
|
|
1132
1148
|
--
|
1133
1149
|
|
1134
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1150
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L245)
|
1135
1151
|
|
1136
1152
|
> def xml_keys target
|
1137
1153
|
|
@@ -1147,7 +1163,7 @@ __Returns:__
|
|
1147
1163
|
|
1148
1164
|
--
|
1149
1165
|
|
1150
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1166
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L253)
|
1151
1167
|
|
1152
1168
|
> def xml_values target
|
1153
1169
|
|
@@ -1163,7 +1179,7 @@ __Returns:__
|
|
1163
1179
|
|
1164
1180
|
--
|
1165
1181
|
|
1166
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1182
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L261)
|
1167
1183
|
|
1168
1184
|
> def resolve_id id
|
1169
1185
|
|
@@ -1179,7 +1195,7 @@ __Returns:__
|
|
1179
1195
|
|
1180
1196
|
--
|
1181
1197
|
|
1182
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1198
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L267)
|
1183
1199
|
|
1184
1200
|
> def raise_no_element_error
|
1185
1201
|
|
@@ -1187,7 +1203,7 @@ Used to error when finding a single element fails.
|
|
1187
1203
|
|
1188
1204
|
--
|
1189
1205
|
|
1190
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1206
|
+
##### [value](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/patch.rb#L32)
|
1191
1207
|
|
1192
1208
|
> def value
|
1193
1209
|
|
@@ -1197,7 +1213,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1197
1213
|
|
1198
1214
|
--
|
1199
1215
|
|
1200
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1216
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/patch.rb#L39)
|
1201
1217
|
|
1202
1218
|
> def name
|
1203
1219
|
|
@@ -1207,17 +1223,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1207
1223
|
|
1208
1224
|
--
|
1209
1225
|
|
1210
|
-
##### [
|
1211
|
-
|
1212
|
-
> def tag_name
|
1213
|
-
|
1214
|
-
Returns the type attribute
|
1215
|
-
|
1216
|
-
Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
1217
|
-
|
1218
|
-
--
|
1219
|
-
|
1220
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/f7a2e26b623404b83b2bbd9065aa7b57ab0fd62d/lib/appium_lib/common/patch.rb#L58)
|
1226
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/patch.rb#L51)
|
1221
1227
|
|
1222
1228
|
> def location_rel
|
1223
1229
|
|
@@ -1235,7 +1241,7 @@ __Returns:__
|
|
1235
1241
|
|
1236
1242
|
--
|
1237
1243
|
|
1238
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L16)
|
1239
1245
|
|
1240
1246
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1241
1247
|
|
@@ -1243,7 +1249,7 @@ __Returns:__
|
|
1243
1249
|
|
1244
1250
|
--
|
1245
1251
|
|
1246
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L18)
|
1247
1253
|
|
1248
1254
|
> def awesome_openstruct target
|
1249
1255
|
|
@@ -1251,7 +1257,7 @@ __Returns:__
|
|
1251
1257
|
|
1252
1258
|
--
|
1253
1259
|
|
1254
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L27)
|
1255
1261
|
|
1256
1262
|
> def load_appium_txt opts
|
1257
1263
|
|
@@ -1268,7 +1274,7 @@ __Returns:__
|
|
1268
1274
|
|
1269
1275
|
--
|
1270
1276
|
|
1271
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1277
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L151)
|
1272
1278
|
|
1273
1279
|
> def self.promote_singleton_appium_methods main_module
|
1274
1280
|
|
@@ -1276,7 +1282,7 @@ __Returns:__
|
|
1276
1282
|
|
1277
1283
|
--
|
1278
1284
|
|
1279
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L181)
|
1280
1286
|
|
1281
1287
|
> def self.promote_appium_methods class_array
|
1282
1288
|
|
@@ -1294,7 +1300,7 @@ __Parameters:__
|
|
1294
1300
|
|
1295
1301
|
--
|
1296
1302
|
|
1297
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L557)
|
1298
1304
|
|
1299
1305
|
> def default_wait
|
1300
1306
|
|
@@ -1307,7 +1313,7 @@ __Returns:__
|
|
1307
1313
|
|
1308
1314
|
--
|
1309
1315
|
|
1310
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1311
1317
|
|
1312
1318
|
> def app_path
|
1313
1319
|
|
@@ -1315,7 +1321,7 @@ Returns the value of attribute app_path
|
|
1315
1321
|
|
1316
1322
|
--
|
1317
1323
|
|
1318
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1319
1325
|
|
1320
1326
|
> def app_name
|
1321
1327
|
|
@@ -1323,7 +1329,7 @@ Returns the value of attribute app_name
|
|
1323
1329
|
|
1324
1330
|
--
|
1325
1331
|
|
1326
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1332
|
+
##### [device](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1327
1333
|
|
1328
1334
|
> def device
|
1329
1335
|
|
@@ -1331,7 +1337,7 @@ Returns the value of attribute device
|
|
1331
1337
|
|
1332
1338
|
--
|
1333
1339
|
|
1334
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1335
1341
|
|
1336
1342
|
> def app_package
|
1337
1343
|
|
@@ -1339,7 +1345,7 @@ Returns the value of attribute app_package
|
|
1339
1345
|
|
1340
1346
|
--
|
1341
1347
|
|
1342
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1343
1349
|
|
1344
1350
|
> def app_activity
|
1345
1351
|
|
@@ -1347,7 +1353,7 @@ Returns the value of attribute app_activity
|
|
1347
1353
|
|
1348
1354
|
--
|
1349
1355
|
|
1350
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1356
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1351
1357
|
|
1352
1358
|
> def app_wait_activity
|
1353
1359
|
|
@@ -1355,7 +1361,7 @@ Returns the value of attribute app_wait_activity
|
|
1355
1361
|
|
1356
1362
|
--
|
1357
1363
|
|
1358
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1359
1365
|
|
1360
1366
|
> def sauce_username
|
1361
1367
|
|
@@ -1363,7 +1369,7 @@ Returns the value of attribute sauce_username
|
|
1363
1369
|
|
1364
1370
|
--
|
1365
1371
|
|
1366
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1367
1373
|
|
1368
1374
|
> def sauce_access_key
|
1369
1375
|
|
@@ -1371,7 +1377,7 @@ Returns the value of attribute sauce_access_key
|
|
1371
1377
|
|
1372
1378
|
--
|
1373
1379
|
|
1374
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1380
|
+
##### [port](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1375
1381
|
|
1376
1382
|
> def port
|
1377
1383
|
|
@@ -1379,7 +1385,7 @@ Returns the value of attribute port
|
|
1379
1385
|
|
1380
1386
|
--
|
1381
1387
|
|
1382
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1383
1389
|
|
1384
1390
|
> def debug
|
1385
1391
|
|
@@ -1387,7 +1393,7 @@ Returns the value of attribute debug
|
|
1387
1393
|
|
1388
1394
|
--
|
1389
1395
|
|
1390
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1391
1397
|
|
1392
1398
|
> def export_session
|
1393
1399
|
|
@@ -1395,7 +1401,7 @@ Returns the value of attribute export_session
|
|
1395
1401
|
|
1396
1402
|
--
|
1397
1403
|
|
1398
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1404
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1399
1405
|
|
1400
1406
|
> def device_cap
|
1401
1407
|
|
@@ -1403,7 +1409,7 @@ Returns the value of attribute device_cap
|
|
1403
1409
|
|
1404
1410
|
--
|
1405
1411
|
|
1406
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1412
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1407
1413
|
|
1408
1414
|
> def compress_xml
|
1409
1415
|
|
@@ -1411,7 +1417,7 @@ Returns the value of attribute compress_xml
|
|
1411
1417
|
|
1412
1418
|
--
|
1413
1419
|
|
1414
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1415
1421
|
|
1416
1422
|
> def custom_url
|
1417
1423
|
|
@@ -1419,7 +1425,7 @@ Returns the value of attribute custom_url
|
|
1419
1425
|
|
1420
1426
|
--
|
1421
1427
|
|
1422
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1428
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L216)
|
1423
1429
|
|
1424
1430
|
> def global_webdriver_http_sleep
|
1425
1431
|
|
@@ -1427,7 +1433,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1427
1433
|
|
1428
1434
|
--
|
1429
1435
|
|
1430
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1436
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L216)
|
1431
1437
|
|
1432
1438
|
> def global_webdriver_http_sleep=(value)
|
1433
1439
|
|
@@ -1435,7 +1441,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1435
1441
|
|
1436
1442
|
--
|
1437
1443
|
|
1438
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1444
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L246)
|
1439
1445
|
|
1440
1446
|
> def initialize opts={}
|
1441
1447
|
|
@@ -1476,7 +1482,7 @@ __Returns:__
|
|
1476
1482
|
|
1477
1483
|
--
|
1478
1484
|
|
1479
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1485
|
+
##### [status](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L373)
|
1480
1486
|
|
1481
1487
|
> def status
|
1482
1488
|
|
@@ -1502,7 +1508,7 @@ __Returns:__
|
|
1502
1508
|
|
1503
1509
|
--
|
1504
1510
|
|
1505
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1511
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L379)
|
1506
1512
|
|
1507
1513
|
> def server_version
|
1508
1514
|
|
@@ -1514,7 +1520,7 @@ __Returns:__
|
|
1514
1520
|
|
1515
1521
|
--
|
1516
1522
|
|
1517
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1523
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L423)
|
1518
1524
|
|
1519
1525
|
> def absolute_app_path
|
1520
1526
|
|
@@ -1526,7 +1532,7 @@ __Returns:__
|
|
1526
1532
|
|
1527
1533
|
--
|
1528
1534
|
|
1529
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1535
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L443)
|
1530
1536
|
|
1531
1537
|
> def server_url
|
1532
1538
|
|
@@ -1538,7 +1544,7 @@ __Returns:__
|
|
1538
1544
|
|
1539
1545
|
--
|
1540
1546
|
|
1541
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L454)
|
1542
1548
|
|
1543
1549
|
> def restart
|
1544
1550
|
|
@@ -1550,7 +1556,7 @@ __Returns:__
|
|
1550
1556
|
|
1551
1557
|
--
|
1552
1558
|
|
1553
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L461)
|
1554
1560
|
|
1555
1561
|
> def driver
|
1556
1562
|
|
@@ -1562,7 +1568,7 @@ __Returns:__
|
|
1562
1568
|
|
1563
1569
|
--
|
1564
1570
|
|
1565
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L471)
|
1566
1572
|
|
1567
1573
|
> def screenshot png_save_path
|
1568
1574
|
|
@@ -1580,7 +1586,7 @@ __Returns:__
|
|
1580
1586
|
|
1581
1587
|
--
|
1582
1588
|
|
1583
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1589
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L478)
|
1584
1590
|
|
1585
1591
|
> def driver_quit
|
1586
1592
|
|
@@ -1592,7 +1598,7 @@ __Returns:__
|
|
1592
1598
|
|
1593
1599
|
--
|
1594
1600
|
|
1595
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1601
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L486)
|
1596
1602
|
|
1597
1603
|
> def start_driver
|
1598
1604
|
|
@@ -1604,7 +1610,7 @@ __Returns:__
|
|
1604
1610
|
|
1605
1611
|
--
|
1606
1612
|
|
1607
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1613
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L520)
|
1608
1614
|
|
1609
1615
|
> def no_wait
|
1610
1616
|
|
@@ -1612,7 +1618,7 @@ Set implicit wait and default_wait to zero.
|
|
1612
1618
|
|
1613
1619
|
--
|
1614
1620
|
|
1615
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1621
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L539)
|
1616
1622
|
|
1617
1623
|
> def set_wait timeout=nil
|
1618
1624
|
|
@@ -1637,7 +1643,7 @@ __Returns:__
|
|
1637
1643
|
|
1638
1644
|
--
|
1639
1645
|
|
1640
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1646
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L573)
|
1641
1647
|
|
1642
1648
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1643
1649
|
|
@@ -1663,7 +1669,7 @@ __Returns:__
|
|
1663
1669
|
|
1664
1670
|
--
|
1665
1671
|
|
1666
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L597)
|
1667
1673
|
|
1668
1674
|
> def execute_script script, *args
|
1669
1675
|
|
@@ -1681,7 +1687,7 @@ __Returns:__
|
|
1681
1687
|
|
1682
1688
|
--
|
1683
1689
|
|
1684
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1690
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L613)
|
1685
1691
|
|
1686
1692
|
> def mobile method, *args
|
1687
1693
|
|
@@ -1707,7 +1713,7 @@ __Returns:__
|
|
1707
1713
|
|
1708
1714
|
--
|
1709
1715
|
|
1710
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L624)
|
1711
1717
|
|
1712
1718
|
> def find_elements *args
|
1713
1719
|
|
@@ -1723,7 +1729,7 @@ __Returns:__
|
|
1723
1729
|
|
1724
1730
|
--
|
1725
1731
|
|
1726
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1732
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L632)
|
1727
1733
|
|
1728
1734
|
> def find_element *args
|
1729
1735
|
|
@@ -1739,7 +1745,7 @@ __Returns:__
|
|
1739
1745
|
|
1740
1746
|
--
|
1741
1747
|
|
1742
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1748
|
+
##### [x](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L639)
|
1743
1749
|
|
1744
1750
|
> def x
|
1745
1751
|
|