appium_lib 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +7 -2
- data/docs/android_docs.md +119 -119
- data/docs/ios_docs.md +124 -124
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +4 -3
- data/readme.md +6 -2
- data/release_notes.md +6 -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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/generic.rb#L130) ios
|
575
575
|
|
576
576
|
> def name name
|
577
577
|
|
@@ -597,7 +597,7 @@ __Returns:__
|
|
597
597
|
|
598
598
|
--
|
599
599
|
|
600
|
-
##### [name_exact](https://github.com/appium/ruby_lib/blob/
|
600
|
+
##### [name_exact](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/generic.rb#L135) ios
|
601
601
|
|
602
602
|
> def name_exact name
|
603
603
|
|
@@ -605,7 +605,7 @@ __Returns:__
|
|
605
605
|
|
606
606
|
--
|
607
607
|
|
608
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [names](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/generic.rb#L154) ios
|
609
609
|
|
610
610
|
> def names name
|
611
611
|
|
@@ -623,7 +623,7 @@ __Returns:__
|
|
623
623
|
|
624
624
|
--
|
625
625
|
|
626
|
-
##### [escape_single_quote](https://github.com/appium/ruby_lib/blob/
|
626
|
+
##### [escape_single_quote](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/generic.rb#L162) ios
|
627
627
|
|
628
628
|
> def escape_single_quote text_to_escape
|
629
629
|
|
@@ -631,7 +631,7 @@ __Returns:__
|
|
631
631
|
|
632
632
|
--
|
633
633
|
|
634
|
-
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/
|
634
|
+
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L8) ios
|
635
635
|
|
636
636
|
> def locate_single_textfield js
|
637
637
|
|
@@ -642,7 +642,7 @@ to match Android.
|
|
642
642
|
|
643
643
|
--
|
644
644
|
|
645
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
645
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
646
646
|
|
647
647
|
> def textfields
|
648
648
|
|
@@ -655,7 +655,7 @@ __Returns:__
|
|
655
655
|
|
656
656
|
--
|
657
657
|
|
658
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
658
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
659
659
|
|
660
660
|
> def e_textfields
|
661
661
|
|
@@ -667,7 +667,7 @@ __Returns:__
|
|
667
667
|
|
668
668
|
--
|
669
669
|
|
670
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
670
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L30) ios
|
671
671
|
|
672
672
|
> def first_textfield
|
673
673
|
|
@@ -679,7 +679,7 @@ __Returns:__
|
|
679
679
|
|
680
680
|
--
|
681
681
|
|
682
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
682
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L36) ios
|
683
683
|
|
684
684
|
> def last_textfield
|
685
685
|
|
@@ -691,7 +691,7 @@ __Returns:__
|
|
691
691
|
|
692
692
|
--
|
693
693
|
|
694
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
694
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
695
695
|
|
696
696
|
> def textfield text
|
697
697
|
|
@@ -707,7 +707,7 @@ __Returns:__
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
711
711
|
|
712
712
|
> def textfield_include text
|
713
713
|
|
@@ -723,7 +723,7 @@ __Returns:__
|
|
723
723
|
|
724
724
|
--
|
725
725
|
|
726
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
726
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
727
727
|
|
728
728
|
> def textfield_exact text
|
729
729
|
|
@@ -739,7 +739,7 @@ __Returns:__
|
|
739
739
|
|
740
740
|
--
|
741
741
|
|
742
|
-
##### [textfield_named](https://github.com/appium/ruby_lib/blob/
|
742
|
+
##### [textfield_named](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/ios/element/textfield.rb#L70) ios
|
743
743
|
|
744
744
|
> def textfield_named target_name
|
745
745
|
|
@@ -751,7 +751,7 @@ __Returns:__
|
|
751
751
|
|
752
752
|
--
|
753
753
|
|
754
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
754
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L33)
|
755
755
|
|
756
756
|
> def wait max_wait=30, interval=0.5, &block
|
757
757
|
|
@@ -778,7 +778,7 @@ __Returns:__
|
|
778
778
|
|
779
779
|
--
|
780
780
|
|
781
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
781
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L45)
|
782
782
|
|
783
783
|
> def ignore &block
|
784
784
|
|
@@ -786,7 +786,7 @@ Return block.call and ignore any exceptions.
|
|
786
786
|
|
787
787
|
--
|
788
788
|
|
789
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
789
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L55)
|
790
790
|
|
791
791
|
> def wait_true max_wait=30, interval=0.5, &block
|
792
792
|
|
@@ -807,7 +807,7 @@ __Returns:__
|
|
807
807
|
|
808
808
|
--
|
809
809
|
|
810
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [back](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L68)
|
811
811
|
|
812
812
|
> def back
|
813
813
|
|
@@ -819,7 +819,7 @@ __Returns:__
|
|
819
819
|
|
820
820
|
--
|
821
821
|
|
822
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L73)
|
823
823
|
|
824
824
|
> def session_id
|
825
825
|
|
@@ -827,7 +827,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
827
827
|
|
828
828
|
--
|
829
829
|
|
830
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L81)
|
831
831
|
|
832
832
|
> def xpath xpath_str
|
833
833
|
|
@@ -843,7 +843,7 @@ __Returns:__
|
|
843
843
|
|
844
844
|
--
|
845
845
|
|
846
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
846
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L89)
|
847
847
|
|
848
848
|
> def xpaths xpath_str
|
849
849
|
|
@@ -859,7 +859,7 @@ __Returns:__
|
|
859
859
|
|
860
860
|
--
|
861
861
|
|
862
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
862
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L97)
|
863
863
|
|
864
864
|
> def ele_index tag_name, index
|
865
865
|
|
@@ -877,7 +877,7 @@ __Returns:__
|
|
877
877
|
|
878
878
|
--
|
879
879
|
|
880
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L106)
|
881
881
|
|
882
882
|
> def find_eles tag_name
|
883
883
|
|
@@ -893,7 +893,7 @@ __Returns:__
|
|
893
893
|
|
894
894
|
--
|
895
895
|
|
896
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
896
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L114)
|
897
897
|
|
898
898
|
> def find_ele_by_text tag, text
|
899
899
|
|
@@ -911,7 +911,7 @@ __Returns:__
|
|
911
911
|
|
912
912
|
--
|
913
913
|
|
914
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
914
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L122)
|
915
915
|
|
916
916
|
> def find_eles_by_text tag, text
|
917
917
|
|
@@ -929,7 +929,7 @@ __Returns:__
|
|
929
929
|
|
930
930
|
--
|
931
931
|
|
932
|
-
##### [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/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L131)
|
933
933
|
|
934
934
|
> def find_ele_by_attr_include tag, attr, value
|
935
935
|
|
@@ -949,7 +949,7 @@ __Returns:__
|
|
949
949
|
|
950
950
|
--
|
951
951
|
|
952
|
-
##### [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/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L140)
|
953
953
|
|
954
954
|
> def find_eles_by_attr_include tag, attr, value
|
955
955
|
|
@@ -969,7 +969,7 @@ __Returns:__
|
|
969
969
|
|
970
970
|
--
|
971
971
|
|
972
|
-
##### [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/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L149)
|
973
973
|
|
974
974
|
> def find_ele_by_text_include tag, text
|
975
975
|
|
@@ -988,7 +988,7 @@ __Returns:__
|
|
988
988
|
|
989
989
|
--
|
990
990
|
|
991
|
-
##### [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/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L158)
|
992
992
|
|
993
993
|
> def find_eles_by_text_include tag, text
|
994
994
|
|
@@ -1007,7 +1007,7 @@ __Returns:__
|
|
1007
1007
|
|
1008
1008
|
--
|
1009
1009
|
|
1010
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
1010
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L165)
|
1011
1011
|
|
1012
1012
|
> def first_ele tag_name
|
1013
1013
|
|
@@ -1023,7 +1023,7 @@ __Returns:__
|
|
1023
1023
|
|
1024
1024
|
--
|
1025
1025
|
|
1026
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
1026
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L173)
|
1027
1027
|
|
1028
1028
|
> def last_ele tag_name
|
1029
1029
|
|
@@ -1039,7 +1039,7 @@ __Returns:__
|
|
1039
1039
|
|
1040
1040
|
--
|
1041
1041
|
|
1042
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
1042
|
+
##### [source](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L179)
|
1043
1043
|
|
1044
1044
|
> def source
|
1045
1045
|
|
@@ -1051,7 +1051,7 @@ __Returns:__
|
|
1051
1051
|
|
1052
1052
|
--
|
1053
1053
|
|
1054
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1054
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L185)
|
1055
1055
|
|
1056
1056
|
> def get_source
|
1057
1057
|
|
@@ -1063,7 +1063,7 @@ __Returns:__
|
|
1063
1063
|
|
1064
1064
|
--
|
1065
1065
|
|
1066
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
1066
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L194)
|
1067
1067
|
|
1068
1068
|
> def find_name name
|
1069
1069
|
|
@@ -1079,7 +1079,7 @@ __Returns:__
|
|
1079
1079
|
|
1080
1080
|
--
|
1081
1081
|
|
1082
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1082
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L202)
|
1083
1083
|
|
1084
1084
|
> def find_names name
|
1085
1085
|
|
@@ -1095,7 +1095,7 @@ __Returns:__
|
|
1095
1095
|
|
1096
1096
|
--
|
1097
1097
|
|
1098
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L210)
|
1099
1099
|
|
1100
1100
|
> def tag tag_name
|
1101
1101
|
|
@@ -1111,7 +1111,7 @@ __Returns:__
|
|
1111
1111
|
|
1112
1112
|
--
|
1113
1113
|
|
1114
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1114
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L218)
|
1115
1115
|
|
1116
1116
|
> def tags tag_name
|
1117
1117
|
|
@@ -1127,7 +1127,7 @@ __Returns:__
|
|
1127
1127
|
|
1128
1128
|
--
|
1129
1129
|
|
1130
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1130
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L228)
|
1131
1131
|
|
1132
1132
|
> def px_to_window_rel opts={}
|
1133
1133
|
|
@@ -1139,7 +1139,7 @@ px_to_window_rel x: 50, y: 150
|
|
1139
1139
|
|
1140
1140
|
--
|
1141
1141
|
|
1142
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1142
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L238)
|
1143
1143
|
|
1144
1144
|
> def lazy_load_strings
|
1145
1145
|
|
@@ -1147,7 +1147,7 @@ px_to_window_rel x: 50, y: 150
|
|
1147
1147
|
|
1148
1148
|
--
|
1149
1149
|
|
1150
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1150
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L245)
|
1151
1151
|
|
1152
1152
|
> def xml_keys target
|
1153
1153
|
|
@@ -1163,7 +1163,7 @@ __Returns:__
|
|
1163
1163
|
|
1164
1164
|
--
|
1165
1165
|
|
1166
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1166
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L253)
|
1167
1167
|
|
1168
1168
|
> def xml_values target
|
1169
1169
|
|
@@ -1179,7 +1179,7 @@ __Returns:__
|
|
1179
1179
|
|
1180
1180
|
--
|
1181
1181
|
|
1182
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1182
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L261)
|
1183
1183
|
|
1184
1184
|
> def resolve_id id
|
1185
1185
|
|
@@ -1195,7 +1195,7 @@ __Returns:__
|
|
1195
1195
|
|
1196
1196
|
--
|
1197
1197
|
|
1198
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1198
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/helper.rb#L267)
|
1199
1199
|
|
1200
1200
|
> def raise_no_element_error
|
1201
1201
|
|
@@ -1203,7 +1203,7 @@ Used to error when finding a single element fails.
|
|
1203
1203
|
|
1204
1204
|
--
|
1205
1205
|
|
1206
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1206
|
+
##### [value](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/patch.rb#L32)
|
1207
1207
|
|
1208
1208
|
> def value
|
1209
1209
|
|
@@ -1213,7 +1213,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1213
1213
|
|
1214
1214
|
--
|
1215
1215
|
|
1216
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1216
|
+
##### [name](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/patch.rb#L39)
|
1217
1217
|
|
1218
1218
|
> def name
|
1219
1219
|
|
@@ -1223,7 +1223,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1223
1223
|
|
1224
1224
|
--
|
1225
1225
|
|
1226
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1226
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/patch.rb#L51)
|
1227
1227
|
|
1228
1228
|
> def location_rel
|
1229
1229
|
|
@@ -1241,7 +1241,7 @@ __Returns:__
|
|
1241
1241
|
|
1242
1242
|
--
|
1243
1243
|
|
1244
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L16)
|
1245
1245
|
|
1246
1246
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1247
1247
|
|
@@ -1249,7 +1249,7 @@ __Returns:__
|
|
1249
1249
|
|
1250
1250
|
--
|
1251
1251
|
|
1252
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L18)
|
1253
1253
|
|
1254
1254
|
> def awesome_openstruct target
|
1255
1255
|
|
@@ -1257,7 +1257,7 @@ __Returns:__
|
|
1257
1257
|
|
1258
1258
|
--
|
1259
1259
|
|
1260
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L27)
|
1261
1261
|
|
1262
1262
|
> def load_appium_txt opts
|
1263
1263
|
|
@@ -1274,7 +1274,7 @@ __Returns:__
|
|
1274
1274
|
|
1275
1275
|
--
|
1276
1276
|
|
1277
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1277
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L152)
|
1278
1278
|
|
1279
1279
|
> def self.promote_singleton_appium_methods main_module
|
1280
1280
|
|
@@ -1282,7 +1282,7 @@ __Returns:__
|
|
1282
1282
|
|
1283
1283
|
--
|
1284
1284
|
|
1285
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L182)
|
1286
1286
|
|
1287
1287
|
> def self.promote_appium_methods class_array
|
1288
1288
|
|
@@ -1300,7 +1300,7 @@ __Parameters:__
|
|
1300
1300
|
|
1301
1301
|
--
|
1302
1302
|
|
1303
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L565)
|
1304
1304
|
|
1305
1305
|
> def default_wait
|
1306
1306
|
|
@@ -1313,7 +1313,7 @@ __Returns:__
|
|
1313
1313
|
|
1314
1314
|
--
|
1315
1315
|
|
1316
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1317
1317
|
|
1318
1318
|
> def app_path
|
1319
1319
|
|
@@ -1321,7 +1321,7 @@ Returns the value of attribute app_path
|
|
1321
1321
|
|
1322
1322
|
--
|
1323
1323
|
|
1324
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1325
1325
|
|
1326
1326
|
> def app_name
|
1327
1327
|
|
@@ -1329,7 +1329,7 @@ Returns the value of attribute app_name
|
|
1329
1329
|
|
1330
1330
|
--
|
1331
1331
|
|
1332
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1332
|
+
##### [device](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1333
1333
|
|
1334
1334
|
> def device
|
1335
1335
|
|
@@ -1337,7 +1337,7 @@ Returns the value of attribute device
|
|
1337
1337
|
|
1338
1338
|
--
|
1339
1339
|
|
1340
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1341
1341
|
|
1342
1342
|
> def app_package
|
1343
1343
|
|
@@ -1345,7 +1345,7 @@ Returns the value of attribute app_package
|
|
1345
1345
|
|
1346
1346
|
--
|
1347
1347
|
|
1348
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1349
1349
|
|
1350
1350
|
> def app_activity
|
1351
1351
|
|
@@ -1353,7 +1353,7 @@ Returns the value of attribute app_activity
|
|
1353
1353
|
|
1354
1354
|
--
|
1355
1355
|
|
1356
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1356
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1357
1357
|
|
1358
1358
|
> def app_wait_activity
|
1359
1359
|
|
@@ -1361,7 +1361,7 @@ Returns the value of attribute app_wait_activity
|
|
1361
1361
|
|
1362
1362
|
--
|
1363
1363
|
|
1364
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1365
1365
|
|
1366
1366
|
> def sauce_username
|
1367
1367
|
|
@@ -1369,7 +1369,7 @@ Returns the value of attribute sauce_username
|
|
1369
1369
|
|
1370
1370
|
--
|
1371
1371
|
|
1372
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1373
1373
|
|
1374
1374
|
> def sauce_access_key
|
1375
1375
|
|
@@ -1377,7 +1377,7 @@ Returns the value of attribute sauce_access_key
|
|
1377
1377
|
|
1378
1378
|
--
|
1379
1379
|
|
1380
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1380
|
+
##### [port](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1381
1381
|
|
1382
1382
|
> def port
|
1383
1383
|
|
@@ -1385,7 +1385,7 @@ Returns the value of attribute port
|
|
1385
1385
|
|
1386
1386
|
--
|
1387
1387
|
|
1388
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1389
1389
|
|
1390
1390
|
> def debug
|
1391
1391
|
|
@@ -1393,7 +1393,7 @@ Returns the value of attribute debug
|
|
1393
1393
|
|
1394
1394
|
--
|
1395
1395
|
|
1396
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1397
1397
|
|
1398
1398
|
> def export_session
|
1399
1399
|
|
@@ -1401,7 +1401,7 @@ Returns the value of attribute export_session
|
|
1401
1401
|
|
1402
1402
|
--
|
1403
1403
|
|
1404
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1404
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1405
1405
|
|
1406
1406
|
> def device_cap
|
1407
1407
|
|
@@ -1409,7 +1409,7 @@ Returns the value of attribute device_cap
|
|
1409
1409
|
|
1410
1410
|
--
|
1411
1411
|
|
1412
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1412
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1413
1413
|
|
1414
1414
|
> def compress_xml
|
1415
1415
|
|
@@ -1417,7 +1417,7 @@ Returns the value of attribute compress_xml
|
|
1417
1417
|
|
1418
1418
|
--
|
1419
1419
|
|
1420
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1421
1421
|
|
1422
1422
|
> def custom_url
|
1423
1423
|
|
@@ -1425,7 +1425,7 @@ Returns the value of attribute custom_url
|
|
1425
1425
|
|
1426
1426
|
--
|
1427
1427
|
|
1428
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1428
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L217)
|
1429
1429
|
|
1430
1430
|
> def global_webdriver_http_sleep
|
1431
1431
|
|
@@ -1433,7 +1433,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1433
1433
|
|
1434
1434
|
--
|
1435
1435
|
|
1436
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1436
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L217)
|
1437
1437
|
|
1438
1438
|
> def global_webdriver_http_sleep=(value)
|
1439
1439
|
|
@@ -1441,7 +1441,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1441
1441
|
|
1442
1442
|
--
|
1443
1443
|
|
1444
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1444
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L247)
|
1445
1445
|
|
1446
1446
|
> def initialize opts={}
|
1447
1447
|
|
@@ -1482,7 +1482,7 @@ __Returns:__
|
|
1482
1482
|
|
1483
1483
|
--
|
1484
1484
|
|
1485
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1485
|
+
##### [status](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L378)
|
1486
1486
|
|
1487
1487
|
> def status
|
1488
1488
|
|
@@ -1508,7 +1508,7 @@ __Returns:__
|
|
1508
1508
|
|
1509
1509
|
--
|
1510
1510
|
|
1511
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1511
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L384)
|
1512
1512
|
|
1513
1513
|
> def server_version
|
1514
1514
|
|
@@ -1520,7 +1520,7 @@ __Returns:__
|
|
1520
1520
|
|
1521
1521
|
--
|
1522
1522
|
|
1523
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1523
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L427)
|
1524
1524
|
|
1525
1525
|
> def self.absolute_app_path app_path
|
1526
1526
|
|
@@ -1532,7 +1532,7 @@ __Returns:__
|
|
1532
1532
|
|
1533
1533
|
--
|
1534
1534
|
|
1535
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1535
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L451)
|
1536
1536
|
|
1537
1537
|
> def server_url
|
1538
1538
|
|
@@ -1544,7 +1544,7 @@ __Returns:__
|
|
1544
1544
|
|
1545
1545
|
--
|
1546
1546
|
|
1547
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L462)
|
1548
1548
|
|
1549
1549
|
> def restart
|
1550
1550
|
|
@@ -1556,7 +1556,7 @@ __Returns:__
|
|
1556
1556
|
|
1557
1557
|
--
|
1558
1558
|
|
1559
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L469)
|
1560
1560
|
|
1561
1561
|
> def driver
|
1562
1562
|
|
@@ -1568,7 +1568,7 @@ __Returns:__
|
|
1568
1568
|
|
1569
1569
|
--
|
1570
1570
|
|
1571
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L479)
|
1572
1572
|
|
1573
1573
|
> def screenshot png_save_path
|
1574
1574
|
|
@@ -1586,7 +1586,7 @@ __Returns:__
|
|
1586
1586
|
|
1587
1587
|
--
|
1588
1588
|
|
1589
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1589
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L486)
|
1590
1590
|
|
1591
1591
|
> def driver_quit
|
1592
1592
|
|
@@ -1598,7 +1598,7 @@ __Returns:__
|
|
1598
1598
|
|
1599
1599
|
--
|
1600
1600
|
|
1601
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1601
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L494)
|
1602
1602
|
|
1603
1603
|
> def start_driver
|
1604
1604
|
|
@@ -1610,7 +1610,7 @@ __Returns:__
|
|
1610
1610
|
|
1611
1611
|
--
|
1612
1612
|
|
1613
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1613
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L528)
|
1614
1614
|
|
1615
1615
|
> def no_wait
|
1616
1616
|
|
@@ -1618,7 +1618,7 @@ Set implicit wait and default_wait to zero.
|
|
1618
1618
|
|
1619
1619
|
--
|
1620
1620
|
|
1621
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1621
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L547)
|
1622
1622
|
|
1623
1623
|
> def set_wait timeout=nil
|
1624
1624
|
|
@@ -1643,7 +1643,7 @@ __Returns:__
|
|
1643
1643
|
|
1644
1644
|
--
|
1645
1645
|
|
1646
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1646
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L581)
|
1647
1647
|
|
1648
1648
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1649
1649
|
|
@@ -1669,7 +1669,7 @@ __Returns:__
|
|
1669
1669
|
|
1670
1670
|
--
|
1671
1671
|
|
1672
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1672
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L605)
|
1673
1673
|
|
1674
1674
|
> def execute_script script, *args
|
1675
1675
|
|
@@ -1687,7 +1687,7 @@ __Returns:__
|
|
1687
1687
|
|
1688
1688
|
--
|
1689
1689
|
|
1690
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1690
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L621)
|
1691
1691
|
|
1692
1692
|
> def mobile method, *args
|
1693
1693
|
|
@@ -1713,7 +1713,7 @@ __Returns:__
|
|
1713
1713
|
|
1714
1714
|
--
|
1715
1715
|
|
1716
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1716
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L632)
|
1717
1717
|
|
1718
1718
|
> def find_elements *args
|
1719
1719
|
|
@@ -1729,7 +1729,7 @@ __Returns:__
|
|
1729
1729
|
|
1730
1730
|
--
|
1731
1731
|
|
1732
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1732
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L640)
|
1733
1733
|
|
1734
1734
|
> def find_element *args
|
1735
1735
|
|
@@ -1745,7 +1745,7 @@ __Returns:__
|
|
1745
1745
|
|
1746
1746
|
--
|
1747
1747
|
|
1748
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1748
|
+
##### [x](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L647)
|
1749
1749
|
|
1750
1750
|
> def x
|
1751
1751
|
|