appium_lib 0.9.0 → 0.9.1
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/docs/android_docs.md +114 -114
- data/docs/ios_docs.md +118 -117
- data/lib/appium_lib/common/helper.rb +3 -2
- data/lib/appium_lib/common/patch.rb +3 -1
- data/lib/appium_lib/common/version.rb +1 -1
- data/release_notes.md +6 -0
- metadata +1 -1
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/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/text.rb#L8)
|
2
2
|
|
3
3
|
> def s_texts
|
4
4
|
|
@@ -10,7 +10,7 @@ __Returns:__
|
|
10
10
|
|
11
11
|
--
|
12
12
|
|
13
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
13
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/text.rb#L14)
|
14
14
|
|
15
15
|
> def e_s_texts
|
16
16
|
|
@@ -22,7 +22,7 @@ __Returns:__
|
|
22
22
|
|
23
23
|
--
|
24
24
|
|
25
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
25
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/text.rb#L20)
|
26
26
|
|
27
27
|
> def first_s_text
|
28
28
|
|
@@ -34,7 +34,7 @@ __Returns:__
|
|
34
34
|
|
35
35
|
--
|
36
36
|
|
37
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
37
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/text.rb#L26)
|
38
38
|
|
39
39
|
> def last_s_text
|
40
40
|
|
@@ -46,7 +46,7 @@ __Returns:__
|
|
46
46
|
|
47
47
|
--
|
48
48
|
|
49
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
49
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/text.rb#L33)
|
50
50
|
|
51
51
|
> def s_text text
|
52
52
|
|
@@ -62,7 +62,7 @@ __Returns:__
|
|
62
62
|
|
63
63
|
--
|
64
64
|
|
65
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
65
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/text.rb#L41)
|
66
66
|
|
67
67
|
> def s_text_exact text
|
68
68
|
|
@@ -78,7 +78,7 @@ __Returns:__
|
|
78
78
|
|
79
79
|
--
|
80
80
|
|
81
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
81
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/window.rb#L5)
|
82
82
|
|
83
83
|
> def window_size
|
84
84
|
|
@@ -86,7 +86,7 @@ Get the window's size
|
|
86
86
|
|
87
87
|
--
|
88
88
|
|
89
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
89
|
+
##### [button](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L8)
|
90
90
|
|
91
91
|
> def button text, number=0
|
92
92
|
|
@@ -104,7 +104,7 @@ __Returns:__
|
|
104
104
|
|
105
105
|
--
|
106
106
|
|
107
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
107
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L19)
|
108
108
|
|
109
109
|
> def buttons text=nil
|
110
110
|
|
@@ -120,7 +120,7 @@ __Returns:__
|
|
120
120
|
|
121
121
|
--
|
122
122
|
|
123
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
123
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L26)
|
124
124
|
|
125
125
|
> def first_button
|
126
126
|
|
@@ -132,7 +132,7 @@ __Returns:__
|
|
132
132
|
|
133
133
|
--
|
134
134
|
|
135
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
135
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L32)
|
136
136
|
|
137
137
|
> def last_button
|
138
138
|
|
@@ -144,7 +144,7 @@ __Returns:__
|
|
144
144
|
|
145
145
|
--
|
146
146
|
|
147
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
147
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L39)
|
148
148
|
|
149
149
|
> def button_exact text
|
150
150
|
|
@@ -160,7 +160,7 @@ __Returns:__
|
|
160
160
|
|
161
161
|
--
|
162
162
|
|
163
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
163
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L46)
|
164
164
|
|
165
165
|
> def buttons_exact text
|
166
166
|
|
@@ -176,7 +176,7 @@ __Returns:__
|
|
176
176
|
|
177
177
|
--
|
178
178
|
|
179
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
179
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L52)
|
180
180
|
|
181
181
|
> def e_buttons
|
182
182
|
|
@@ -188,7 +188,7 @@ __Returns:__
|
|
188
188
|
|
189
189
|
--
|
190
190
|
|
191
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
191
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/element/button.rb#L72)
|
192
192
|
|
193
193
|
> def button_num text, number=1
|
194
194
|
|
@@ -217,7 +217,7 @@ __Returns:__
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L8) ios
|
221
221
|
|
222
222
|
> def find_eles_attr tag_name, attribute
|
223
223
|
|
@@ -236,7 +236,7 @@ __Returns:__
|
|
236
236
|
|
237
237
|
--
|
238
238
|
|
239
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
239
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L29) ios
|
240
240
|
|
241
241
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
242
242
|
|
@@ -257,7 +257,7 @@ __Returns:__
|
|
257
257
|
|
258
258
|
--
|
259
259
|
|
260
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
260
|
+
##### [password](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L50) ios
|
261
261
|
|
262
262
|
> def password length=1
|
263
263
|
|
@@ -275,7 +275,7 @@ __Returns:__
|
|
275
275
|
|
276
276
|
--
|
277
277
|
|
278
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
278
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L55) ios
|
279
279
|
|
280
280
|
> def get_page_class
|
281
281
|
|
@@ -283,7 +283,7 @@ Returns a string of class counts.
|
|
283
283
|
|
284
284
|
--
|
285
285
|
|
286
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L81) ios
|
287
287
|
|
288
288
|
> def page_class
|
289
289
|
|
@@ -291,7 +291,7 @@ Returns a string of class counts.
|
|
291
291
|
|
292
292
|
--
|
293
293
|
|
294
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L93) ios
|
295
295
|
|
296
296
|
> def get_page element=source_window(0)
|
297
297
|
|
@@ -310,7 +310,7 @@ __Returns:__
|
|
310
310
|
|
311
311
|
--
|
312
312
|
|
313
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
313
|
+
##### [page](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L154) ios
|
314
314
|
|
315
315
|
> def page
|
316
316
|
|
@@ -322,7 +322,7 @@ __Returns:__
|
|
322
322
|
|
323
323
|
--
|
324
324
|
|
325
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
325
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L162) ios
|
326
326
|
|
327
327
|
> def source_window window_number=0
|
328
328
|
|
@@ -338,7 +338,7 @@ __Returns:__
|
|
338
338
|
|
339
339
|
--
|
340
340
|
|
341
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
341
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L169) ios
|
342
342
|
|
343
343
|
> def page_window window_number=0
|
344
344
|
|
@@ -351,7 +351,7 @@ __Parameters:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L176) ios
|
355
355
|
|
356
356
|
> def fast_duration
|
357
357
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [id](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/helper.rb#L183) ios
|
367
367
|
|
368
368
|
> def id id
|
369
369
|
|
@@ -379,7 +379,7 @@ __Returns:__
|
|
379
379
|
|
380
380
|
--
|
381
381
|
|
382
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
382
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/alert.rb#L14) ios
|
383
383
|
|
384
384
|
> def alert_click value
|
385
385
|
|
@@ -402,7 +402,7 @@ __Returns:__
|
|
402
402
|
|
403
403
|
--
|
404
404
|
|
405
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
405
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/alert.rb#L21) ios
|
406
406
|
|
407
407
|
> def alert_text
|
408
408
|
|
@@ -414,7 +414,7 @@ __Returns:__
|
|
414
414
|
|
415
415
|
--
|
416
416
|
|
417
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
417
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/alert.rb#L30) ios
|
418
418
|
|
419
419
|
> def alert_accept
|
420
420
|
|
@@ -426,7 +426,7 @@ __Returns:__
|
|
426
426
|
|
427
427
|
--
|
428
428
|
|
429
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
429
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/alert.rb#L39) ios
|
430
430
|
|
431
431
|
> def alert_accept_text
|
432
432
|
|
@@ -439,7 +439,7 @@ __Returns:__
|
|
439
439
|
|
440
440
|
--
|
441
441
|
|
442
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
442
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/alert.rb#L48) ios
|
443
443
|
|
444
444
|
> def alert_dismiss
|
445
445
|
|
@@ -451,7 +451,7 @@ __Returns:__
|
|
451
451
|
|
452
452
|
--
|
453
453
|
|
454
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
454
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/alert.rb#L57) ios
|
455
455
|
|
456
456
|
> def alert_dismiss_text
|
457
457
|
|
@@ -464,7 +464,7 @@ __Returns:__
|
|
464
464
|
|
465
465
|
--
|
466
466
|
|
467
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
467
|
+
##### [find](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/generic.rb#L61) ios
|
468
468
|
|
469
469
|
> def find text
|
470
470
|
|
@@ -480,7 +480,7 @@ __Returns:__
|
|
480
480
|
|
481
481
|
--
|
482
482
|
|
483
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
483
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/generic.rb#L83) ios
|
484
484
|
|
485
485
|
> def finds text
|
486
486
|
|
@@ -496,7 +496,7 @@ __Returns:__
|
|
496
496
|
|
497
497
|
--
|
498
498
|
|
499
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
499
|
+
##### [text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/generic.rb#L97) ios
|
500
500
|
|
501
501
|
> def text text
|
502
502
|
|
@@ -512,7 +512,7 @@ __Returns:__
|
|
512
512
|
|
513
513
|
--
|
514
514
|
|
515
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
515
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/generic.rb#L105) ios
|
516
516
|
|
517
517
|
> def texts text
|
518
518
|
|
@@ -528,7 +528,7 @@ __Returns:__
|
|
528
528
|
|
529
529
|
--
|
530
530
|
|
531
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/generic.rb#L117) ios
|
532
532
|
|
533
533
|
> def name name
|
534
534
|
|
@@ -546,7 +546,7 @@ __Returns:__
|
|
546
546
|
|
547
547
|
--
|
548
548
|
|
549
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
549
|
+
##### [names](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/generic.rb#L126) ios
|
550
550
|
|
551
551
|
> def names name
|
552
552
|
|
@@ -564,7 +564,7 @@ __Returns:__
|
|
564
564
|
|
565
565
|
--
|
566
566
|
|
567
|
-
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/
|
567
|
+
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L8) ios
|
568
568
|
|
569
569
|
> def locate_single_textfield js
|
570
570
|
|
@@ -575,11 +575,12 @@ to match Android.
|
|
575
575
|
|
576
576
|
--
|
577
577
|
|
578
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
578
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
579
579
|
|
580
580
|
> def textfields
|
581
581
|
|
582
582
|
Get an array of textfield texts.
|
583
|
+
Does not respect implicit wait because we're using execute_script.
|
583
584
|
|
584
585
|
__Returns:__
|
585
586
|
|
@@ -587,7 +588,7 @@ __Returns:__
|
|
587
588
|
|
588
589
|
--
|
589
590
|
|
590
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
591
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
591
592
|
|
592
593
|
> def e_textfields
|
593
594
|
|
@@ -599,7 +600,7 @@ __Returns:__
|
|
599
600
|
|
600
601
|
--
|
601
602
|
|
602
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
603
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L30) ios
|
603
604
|
|
604
605
|
> def first_textfield
|
605
606
|
|
@@ -611,7 +612,7 @@ __Returns:__
|
|
611
612
|
|
612
613
|
--
|
613
614
|
|
614
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
615
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L36) ios
|
615
616
|
|
616
617
|
> def last_textfield
|
617
618
|
|
@@ -623,7 +624,7 @@ __Returns:__
|
|
623
624
|
|
624
625
|
--
|
625
626
|
|
626
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
627
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
627
628
|
|
628
629
|
> def textfield text
|
629
630
|
|
@@ -639,7 +640,7 @@ __Returns:__
|
|
639
640
|
|
640
641
|
--
|
641
642
|
|
642
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
643
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
643
644
|
|
644
645
|
> def textfield_include text
|
645
646
|
|
@@ -655,7 +656,7 @@ __Returns:__
|
|
655
656
|
|
656
657
|
--
|
657
658
|
|
658
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
659
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
659
660
|
|
660
661
|
> def textfield_exact text
|
661
662
|
|
@@ -671,7 +672,7 @@ __Returns:__
|
|
671
672
|
|
672
673
|
--
|
673
674
|
|
674
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
675
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L33)
|
675
676
|
|
676
677
|
> def wait max_wait=30, interval=0.5, &block
|
677
678
|
|
@@ -698,7 +699,7 @@ __Returns:__
|
|
698
699
|
|
699
700
|
--
|
700
701
|
|
701
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L45)
|
702
703
|
|
703
704
|
> def ignore &block
|
704
705
|
|
@@ -706,7 +707,7 @@ Return block.call and ignore any exceptions.
|
|
706
707
|
|
707
708
|
--
|
708
709
|
|
709
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L55)
|
710
711
|
|
711
712
|
> def wait_true max_wait=30, interval=0.5, &block
|
712
713
|
|
@@ -727,7 +728,7 @@ __Returns:__
|
|
727
728
|
|
728
729
|
--
|
729
730
|
|
730
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
731
|
+
##### [back](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L68)
|
731
732
|
|
732
733
|
> def back
|
733
734
|
|
@@ -739,7 +740,7 @@ __Returns:__
|
|
739
740
|
|
740
741
|
--
|
741
742
|
|
742
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
743
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L73)
|
743
744
|
|
744
745
|
> def session_id
|
745
746
|
|
@@ -747,7 +748,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
747
748
|
|
748
749
|
--
|
749
750
|
|
750
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
751
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L81)
|
751
752
|
|
752
753
|
> def xpath xpath_str
|
753
754
|
|
@@ -763,7 +764,7 @@ __Returns:__
|
|
763
764
|
|
764
765
|
--
|
765
766
|
|
766
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L89)
|
767
768
|
|
768
769
|
> def xpaths xpath_str
|
769
770
|
|
@@ -779,7 +780,7 @@ __Returns:__
|
|
779
780
|
|
780
781
|
--
|
781
782
|
|
782
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
783
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L97)
|
783
784
|
|
784
785
|
> def ele_index tag_name, index
|
785
786
|
|
@@ -797,7 +798,7 @@ __Returns:__
|
|
797
798
|
|
798
799
|
--
|
799
800
|
|
800
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
801
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L105)
|
801
802
|
|
802
803
|
> def find_eles tag_name
|
803
804
|
|
@@ -813,7 +814,7 @@ __Returns:__
|
|
813
814
|
|
814
815
|
--
|
815
816
|
|
816
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
817
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L113)
|
817
818
|
|
818
819
|
> def find_ele_by_text tag, text
|
819
820
|
|
@@ -831,7 +832,7 @@ __Returns:__
|
|
831
832
|
|
832
833
|
--
|
833
834
|
|
834
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
835
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L121)
|
835
836
|
|
836
837
|
> def find_eles_by_text tag, text
|
837
838
|
|
@@ -849,7 +850,7 @@ __Returns:__
|
|
849
850
|
|
850
851
|
--
|
851
852
|
|
852
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
853
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L130)
|
853
854
|
|
854
855
|
> def find_ele_by_attr_include tag, attr, value
|
855
856
|
|
@@ -869,7 +870,7 @@ __Returns:__
|
|
869
870
|
|
870
871
|
--
|
871
872
|
|
872
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L139)
|
873
874
|
|
874
875
|
> def find_eles_by_attr_include tag, attr, value
|
875
876
|
|
@@ -889,7 +890,7 @@ __Returns:__
|
|
889
890
|
|
890
891
|
--
|
891
892
|
|
892
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
893
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L148)
|
893
894
|
|
894
895
|
> def find_ele_by_text_include tag, text
|
895
896
|
|
@@ -908,7 +909,7 @@ __Returns:__
|
|
908
909
|
|
909
910
|
--
|
910
911
|
|
911
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
912
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L157)
|
912
913
|
|
913
914
|
> def find_eles_by_text_include tag, text
|
914
915
|
|
@@ -927,7 +928,7 @@ __Returns:__
|
|
927
928
|
|
928
929
|
--
|
929
930
|
|
930
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L164)
|
931
932
|
|
932
933
|
> def first_ele tag_name
|
933
934
|
|
@@ -943,7 +944,7 @@ __Returns:__
|
|
943
944
|
|
944
945
|
--
|
945
946
|
|
946
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L172)
|
947
948
|
|
948
949
|
> def last_ele tag_name
|
949
950
|
|
@@ -959,7 +960,7 @@ __Returns:__
|
|
959
960
|
|
960
961
|
--
|
961
962
|
|
962
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
963
|
+
##### [source](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L178)
|
963
964
|
|
964
965
|
> def source
|
965
966
|
|
@@ -971,7 +972,7 @@ __Returns:__
|
|
971
972
|
|
972
973
|
--
|
973
974
|
|
974
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L184)
|
975
976
|
|
976
977
|
> def get_source
|
977
978
|
|
@@ -983,7 +984,7 @@ __Returns:__
|
|
983
984
|
|
984
985
|
--
|
985
986
|
|
986
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
987
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L193)
|
987
988
|
|
988
989
|
> def find_name name
|
989
990
|
|
@@ -999,7 +1000,7 @@ __Returns:__
|
|
999
1000
|
|
1000
1001
|
--
|
1001
1002
|
|
1002
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L201)
|
1003
1004
|
|
1004
1005
|
> def find_names name
|
1005
1006
|
|
@@ -1015,7 +1016,7 @@ __Returns:__
|
|
1015
1016
|
|
1016
1017
|
--
|
1017
1018
|
|
1018
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1019
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L209)
|
1019
1020
|
|
1020
1021
|
> def tag tag_name
|
1021
1022
|
|
@@ -1031,7 +1032,7 @@ __Returns:__
|
|
1031
1032
|
|
1032
1033
|
--
|
1033
1034
|
|
1034
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L219)
|
1035
1036
|
|
1036
1037
|
> def px_to_window_rel opts={}
|
1037
1038
|
|
@@ -1043,7 +1044,7 @@ px_to_window_rel x: 50, y: 150
|
|
1043
1044
|
|
1044
1045
|
--
|
1045
1046
|
|
1046
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1047
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L229)
|
1047
1048
|
|
1048
1049
|
> def lazy_load_strings
|
1049
1050
|
|
@@ -1051,7 +1052,7 @@ px_to_window_rel x: 50, y: 150
|
|
1051
1052
|
|
1052
1053
|
--
|
1053
1054
|
|
1054
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1055
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L236)
|
1055
1056
|
|
1056
1057
|
> def xml_keys target
|
1057
1058
|
|
@@ -1067,7 +1068,7 @@ __Returns:__
|
|
1067
1068
|
|
1068
1069
|
--
|
1069
1070
|
|
1070
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L244)
|
1071
1072
|
|
1072
1073
|
> def xml_values target
|
1073
1074
|
|
@@ -1083,7 +1084,7 @@ __Returns:__
|
|
1083
1084
|
|
1084
1085
|
--
|
1085
1086
|
|
1086
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L252)
|
1087
1088
|
|
1088
1089
|
> def resolve_id id
|
1089
1090
|
|
@@ -1099,7 +1100,7 @@ __Returns:__
|
|
1099
1100
|
|
1100
1101
|
--
|
1101
1102
|
|
1102
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L258)
|
1103
1104
|
|
1104
1105
|
> def raise_no_element_error
|
1105
1106
|
|
@@ -1107,7 +1108,7 @@ Used to error when finding a single element fails.
|
|
1107
1108
|
|
1108
1109
|
--
|
1109
1110
|
|
1110
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [value](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L32)
|
1111
1112
|
|
1112
1113
|
> def value
|
1113
1114
|
|
@@ -1117,7 +1118,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1117
1118
|
|
1118
1119
|
--
|
1119
1120
|
|
1120
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1121
|
+
##### [name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L39)
|
1121
1122
|
|
1122
1123
|
> def name
|
1123
1124
|
|
@@ -1127,7 +1128,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1127
1128
|
|
1128
1129
|
--
|
1129
1130
|
|
1130
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L46)
|
1131
1132
|
|
1132
1133
|
> def tag_name
|
1133
1134
|
|
@@ -1137,7 +1138,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1137
1138
|
|
1138
1139
|
--
|
1139
1140
|
|
1140
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L58)
|
1141
1142
|
|
1142
1143
|
> def location_rel
|
1143
1144
|
|
@@ -1155,7 +1156,7 @@ __Returns:__
|
|
1155
1156
|
|
1156
1157
|
--
|
1157
1158
|
|
1158
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L16)
|
1159
1160
|
|
1160
1161
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1161
1162
|
|
@@ -1163,7 +1164,7 @@ __Returns:__
|
|
1163
1164
|
|
1164
1165
|
--
|
1165
1166
|
|
1166
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1167
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L18)
|
1167
1168
|
|
1168
1169
|
> def awesome_openstruct target
|
1169
1170
|
|
@@ -1171,7 +1172,7 @@ __Returns:__
|
|
1171
1172
|
|
1172
1173
|
--
|
1173
1174
|
|
1174
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L28)
|
1175
1176
|
|
1176
1177
|
> def load_appium_txt opts
|
1177
1178
|
|
@@ -1188,7 +1189,7 @@ __Returns:__
|
|
1188
1189
|
|
1189
1190
|
--
|
1190
1191
|
|
1191
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L165)
|
1192
1193
|
|
1193
1194
|
> def self.promote_appium_methods class_array
|
1194
1195
|
|
@@ -1206,7 +1207,7 @@ __Parameters:__
|
|
1206
1207
|
|
1207
1208
|
--
|
1208
1209
|
|
1209
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L494)
|
1210
1211
|
|
1211
1212
|
> def default_wait
|
1212
1213
|
|
@@ -1219,7 +1220,7 @@ __Returns:__
|
|
1219
1220
|
|
1220
1221
|
--
|
1221
1222
|
|
1222
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1223
1224
|
|
1224
1225
|
> def app_path
|
1225
1226
|
|
@@ -1227,7 +1228,7 @@ Returns the value of attribute app_path
|
|
1227
1228
|
|
1228
1229
|
--
|
1229
1230
|
|
1230
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1231
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1231
1232
|
|
1232
1233
|
> def app_name
|
1233
1234
|
|
@@ -1235,7 +1236,7 @@ Returns the value of attribute app_name
|
|
1235
1236
|
|
1236
1237
|
--
|
1237
1238
|
|
1238
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [device](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1239
1240
|
|
1240
1241
|
> def device
|
1241
1242
|
|
@@ -1243,7 +1244,7 @@ Returns the value of attribute device
|
|
1243
1244
|
|
1244
1245
|
--
|
1245
1246
|
|
1246
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1247
1248
|
|
1248
1249
|
> def app_package
|
1249
1250
|
|
@@ -1251,7 +1252,7 @@ Returns the value of attribute app_package
|
|
1251
1252
|
|
1252
1253
|
--
|
1253
1254
|
|
1254
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1255
1256
|
|
1256
1257
|
> def app_activity
|
1257
1258
|
|
@@ -1259,7 +1260,7 @@ Returns the value of attribute app_activity
|
|
1259
1260
|
|
1260
1261
|
--
|
1261
1262
|
|
1262
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1263
1264
|
|
1264
1265
|
> def app_wait_activity
|
1265
1266
|
|
@@ -1267,7 +1268,7 @@ Returns the value of attribute app_wait_activity
|
|
1267
1268
|
|
1268
1269
|
--
|
1269
1270
|
|
1270
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1271
1272
|
|
1272
1273
|
> def sauce_username
|
1273
1274
|
|
@@ -1275,7 +1276,7 @@ Returns the value of attribute sauce_username
|
|
1275
1276
|
|
1276
1277
|
--
|
1277
1278
|
|
1278
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1279
1280
|
|
1280
1281
|
> def sauce_access_key
|
1281
1282
|
|
@@ -1283,7 +1284,7 @@ Returns the value of attribute sauce_access_key
|
|
1283
1284
|
|
1284
1285
|
--
|
1285
1286
|
|
1286
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [port](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1287
1288
|
|
1288
1289
|
> def port
|
1289
1290
|
|
@@ -1291,7 +1292,7 @@ Returns the value of attribute port
|
|
1291
1292
|
|
1292
1293
|
--
|
1293
1294
|
|
1294
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1295
1296
|
|
1296
1297
|
> def debug
|
1297
1298
|
|
@@ -1299,7 +1300,7 @@ Returns the value of attribute debug
|
|
1299
1300
|
|
1300
1301
|
--
|
1301
1302
|
|
1302
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1303
1304
|
|
1304
1305
|
> def export_session
|
1305
1306
|
|
@@ -1307,7 +1308,7 @@ Returns the value of attribute export_session
|
|
1307
1308
|
|
1308
1309
|
--
|
1309
1310
|
|
1310
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1311
1312
|
|
1312
1313
|
> def device_cap
|
1313
1314
|
|
@@ -1315,7 +1316,7 @@ Returns the value of attribute device_cap
|
|
1315
1316
|
|
1316
1317
|
--
|
1317
1318
|
|
1318
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1319
1320
|
|
1320
1321
|
> def compress_xml
|
1321
1322
|
|
@@ -1323,7 +1324,7 @@ Returns the value of attribute compress_xml
|
|
1323
1324
|
|
1324
1325
|
--
|
1325
1326
|
|
1326
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1327
1328
|
|
1328
1329
|
> def custom_url
|
1329
1330
|
|
@@ -1331,7 +1332,7 @@ Returns the value of attribute custom_url
|
|
1331
1332
|
|
1332
1333
|
--
|
1333
1334
|
|
1334
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L200)
|
1335
1336
|
|
1336
1337
|
> def global_webdriver_http_sleep
|
1337
1338
|
|
@@ -1339,7 +1340,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1339
1340
|
|
1340
1341
|
--
|
1341
1342
|
|
1342
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L200)
|
1343
1344
|
|
1344
1345
|
> def global_webdriver_http_sleep=(value)
|
1345
1346
|
|
@@ -1347,7 +1348,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1347
1348
|
|
1348
1349
|
--
|
1349
1350
|
|
1350
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L230)
|
1351
1352
|
|
1352
1353
|
> def initialize opts={}
|
1353
1354
|
|
@@ -1388,7 +1389,7 @@ __Returns:__
|
|
1388
1389
|
|
1389
1390
|
--
|
1390
1391
|
|
1391
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1392
|
+
##### [status](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L337)
|
1392
1393
|
|
1393
1394
|
> def status
|
1394
1395
|
|
@@ -1414,7 +1415,7 @@ __Returns:__
|
|
1414
1415
|
|
1415
1416
|
--
|
1416
1417
|
|
1417
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1418
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L343)
|
1418
1419
|
|
1419
1420
|
> def server_version
|
1420
1421
|
|
@@ -1426,7 +1427,7 @@ __Returns:__
|
|
1426
1427
|
|
1427
1428
|
--
|
1428
1429
|
|
1429
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1430
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L383)
|
1430
1431
|
|
1431
1432
|
> def absolute_app_path
|
1432
1433
|
|
@@ -1438,7 +1439,7 @@ __Returns:__
|
|
1438
1439
|
|
1439
1440
|
--
|
1440
1441
|
|
1441
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1442
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L403)
|
1442
1443
|
|
1443
1444
|
> def server_url
|
1444
1445
|
|
@@ -1450,7 +1451,7 @@ __Returns:__
|
|
1450
1451
|
|
1451
1452
|
--
|
1452
1453
|
|
1453
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1454
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L414)
|
1454
1455
|
|
1455
1456
|
> def restart
|
1456
1457
|
|
@@ -1462,7 +1463,7 @@ __Returns:__
|
|
1462
1463
|
|
1463
1464
|
--
|
1464
1465
|
|
1465
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1466
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L421)
|
1466
1467
|
|
1467
1468
|
> def driver
|
1468
1469
|
|
@@ -1474,7 +1475,7 @@ __Returns:__
|
|
1474
1475
|
|
1475
1476
|
--
|
1476
1477
|
|
1477
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1478
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L431)
|
1478
1479
|
|
1479
1480
|
> def screenshot png_save_path
|
1480
1481
|
|
@@ -1492,7 +1493,7 @@ __Returns:__
|
|
1492
1493
|
|
1493
1494
|
--
|
1494
1495
|
|
1495
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1496
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L438)
|
1496
1497
|
|
1497
1498
|
> def driver_quit
|
1498
1499
|
|
@@ -1504,7 +1505,7 @@ __Returns:__
|
|
1504
1505
|
|
1505
1506
|
--
|
1506
1507
|
|
1507
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1508
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L446)
|
1508
1509
|
|
1509
1510
|
> def start_driver
|
1510
1511
|
|
@@ -1516,7 +1517,7 @@ __Returns:__
|
|
1516
1517
|
|
1517
1518
|
--
|
1518
1519
|
|
1519
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1520
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L480)
|
1520
1521
|
|
1521
1522
|
> def no_wait
|
1522
1523
|
|
@@ -1524,7 +1525,7 @@ Set implicit wait to zero.
|
|
1524
1525
|
|
1525
1526
|
--
|
1526
1527
|
|
1527
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1528
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L487)
|
1528
1529
|
|
1529
1530
|
> def set_wait timeout=@default_wait
|
1530
1531
|
|
@@ -1540,7 +1541,7 @@ __Returns:__
|
|
1540
1541
|
|
1541
1542
|
--
|
1542
1543
|
|
1543
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1544
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L510)
|
1544
1545
|
|
1545
1546
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1546
1547
|
|
@@ -1566,7 +1567,7 @@ __Returns:__
|
|
1566
1567
|
|
1567
1568
|
--
|
1568
1569
|
|
1569
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1570
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L532)
|
1570
1571
|
|
1571
1572
|
> def execute_script script, *args
|
1572
1573
|
|
@@ -1584,7 +1585,7 @@ __Returns:__
|
|
1584
1585
|
|
1585
1586
|
--
|
1586
1587
|
|
1587
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1588
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L548)
|
1588
1589
|
|
1589
1590
|
> def mobile method, *args
|
1590
1591
|
|
@@ -1610,7 +1611,7 @@ __Returns:__
|
|
1610
1611
|
|
1611
1612
|
--
|
1612
1613
|
|
1613
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1614
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L559)
|
1614
1615
|
|
1615
1616
|
> def find_elements *args
|
1616
1617
|
|
@@ -1626,7 +1627,7 @@ __Returns:__
|
|
1626
1627
|
|
1627
1628
|
--
|
1628
1629
|
|
1629
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1630
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L567)
|
1630
1631
|
|
1631
1632
|
> def find_element *args
|
1632
1633
|
|
@@ -1642,7 +1643,7 @@ __Returns:__
|
|
1642
1643
|
|
1643
1644
|
--
|
1644
1645
|
|
1645
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1646
|
+
##### [x](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L574)
|
1646
1647
|
|
1647
1648
|
> def x
|
1648
1649
|
|