appium_lib 0.10.0 → 0.11.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/docs/android_docs.md +123 -116
- data/docs/ios_docs.md +126 -118
- data/lib/appium_lib/android/helper.rb +8 -3
- data/lib/appium_lib/common/element/text.rb +14 -0
- data/lib/appium_lib/common/helper.rb +18 -2
- data/lib/appium_lib/common/version.rb +2 -2
- data/release_notes.md +11 -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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/helper.rb#L93) ios
|
295
295
|
|
296
296
|
> def get_page element=source_window(0)
|
297
297
|
|
@@ -310,9 +310,9 @@ __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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/helper.rb#L154) ios
|
314
314
|
|
315
|
-
> def page
|
315
|
+
> def page window_number = 0
|
316
316
|
|
317
317
|
Prints a string of interesting elements to the console.
|
318
318
|
|
@@ -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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L8) ios
|
568
568
|
|
569
569
|
> def locate_single_textfield js
|
570
570
|
|
@@ -575,7 +575,7 @@ 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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
579
579
|
|
580
580
|
> def textfields
|
581
581
|
|
@@ -588,7 +588,7 @@ __Returns:__
|
|
588
588
|
|
589
589
|
--
|
590
590
|
|
591
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
591
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
592
592
|
|
593
593
|
> def e_textfields
|
594
594
|
|
@@ -600,7 +600,7 @@ __Returns:__
|
|
600
600
|
|
601
601
|
--
|
602
602
|
|
603
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
603
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L30) ios
|
604
604
|
|
605
605
|
> def first_textfield
|
606
606
|
|
@@ -612,7 +612,7 @@ __Returns:__
|
|
612
612
|
|
613
613
|
--
|
614
614
|
|
615
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
615
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L36) ios
|
616
616
|
|
617
617
|
> def last_textfield
|
618
618
|
|
@@ -624,7 +624,7 @@ __Returns:__
|
|
624
624
|
|
625
625
|
--
|
626
626
|
|
627
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
627
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
628
628
|
|
629
629
|
> def textfield text
|
630
630
|
|
@@ -640,7 +640,7 @@ __Returns:__
|
|
640
640
|
|
641
641
|
--
|
642
642
|
|
643
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
643
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
644
644
|
|
645
645
|
> def textfield_include text
|
646
646
|
|
@@ -656,7 +656,7 @@ __Returns:__
|
|
656
656
|
|
657
657
|
--
|
658
658
|
|
659
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
659
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
660
660
|
|
661
661
|
> def textfield_exact text
|
662
662
|
|
@@ -672,7 +672,7 @@ __Returns:__
|
|
672
672
|
|
673
673
|
--
|
674
674
|
|
675
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
675
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L33)
|
676
676
|
|
677
677
|
> def wait max_wait=30, interval=0.5, &block
|
678
678
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L45)
|
703
703
|
|
704
704
|
> def ignore &block
|
705
705
|
|
@@ -707,7 +707,7 @@ Return block.call and ignore any exceptions.
|
|
707
707
|
|
708
708
|
--
|
709
709
|
|
710
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
710
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L55)
|
711
711
|
|
712
712
|
> def wait_true max_wait=30, interval=0.5, &block
|
713
713
|
|
@@ -728,7 +728,7 @@ __Returns:__
|
|
728
728
|
|
729
729
|
--
|
730
730
|
|
731
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
731
|
+
##### [back](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L68)
|
732
732
|
|
733
733
|
> def back
|
734
734
|
|
@@ -740,7 +740,7 @@ __Returns:__
|
|
740
740
|
|
741
741
|
--
|
742
742
|
|
743
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
743
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L73)
|
744
744
|
|
745
745
|
> def session_id
|
746
746
|
|
@@ -748,7 +748,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
748
748
|
|
749
749
|
--
|
750
750
|
|
751
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
751
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L81)
|
752
752
|
|
753
753
|
> def xpath xpath_str
|
754
754
|
|
@@ -764,7 +764,7 @@ __Returns:__
|
|
764
764
|
|
765
765
|
--
|
766
766
|
|
767
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
767
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L89)
|
768
768
|
|
769
769
|
> def xpaths xpath_str
|
770
770
|
|
@@ -780,7 +780,7 @@ __Returns:__
|
|
780
780
|
|
781
781
|
--
|
782
782
|
|
783
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
783
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L97)
|
784
784
|
|
785
785
|
> def ele_index tag_name, index
|
786
786
|
|
@@ -798,7 +798,7 @@ __Returns:__
|
|
798
798
|
|
799
799
|
--
|
800
800
|
|
801
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
801
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L106)
|
802
802
|
|
803
803
|
> def find_eles tag_name
|
804
804
|
|
@@ -814,7 +814,7 @@ __Returns:__
|
|
814
814
|
|
815
815
|
--
|
816
816
|
|
817
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
817
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L114)
|
818
818
|
|
819
819
|
> def find_ele_by_text tag, text
|
820
820
|
|
@@ -832,7 +832,7 @@ __Returns:__
|
|
832
832
|
|
833
833
|
--
|
834
834
|
|
835
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
835
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L122)
|
836
836
|
|
837
837
|
> def find_eles_by_text tag, text
|
838
838
|
|
@@ -850,7 +850,7 @@ __Returns:__
|
|
850
850
|
|
851
851
|
--
|
852
852
|
|
853
|
-
##### [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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L131)
|
854
854
|
|
855
855
|
> def find_ele_by_attr_include tag, attr, value
|
856
856
|
|
@@ -870,7 +870,7 @@ __Returns:__
|
|
870
870
|
|
871
871
|
--
|
872
872
|
|
873
|
-
##### [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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L140)
|
874
874
|
|
875
875
|
> def find_eles_by_attr_include tag, attr, value
|
876
876
|
|
@@ -890,7 +890,7 @@ __Returns:__
|
|
890
890
|
|
891
891
|
--
|
892
892
|
|
893
|
-
##### [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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L149)
|
894
894
|
|
895
895
|
> def find_ele_by_text_include tag, text
|
896
896
|
|
@@ -909,7 +909,7 @@ __Returns:__
|
|
909
909
|
|
910
910
|
--
|
911
911
|
|
912
|
-
##### [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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L158)
|
913
913
|
|
914
914
|
> def find_eles_by_text_include tag, text
|
915
915
|
|
@@ -928,7 +928,7 @@ __Returns:__
|
|
928
928
|
|
929
929
|
--
|
930
930
|
|
931
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L165)
|
932
932
|
|
933
933
|
> def first_ele tag_name
|
934
934
|
|
@@ -944,7 +944,7 @@ __Returns:__
|
|
944
944
|
|
945
945
|
--
|
946
946
|
|
947
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L173)
|
948
948
|
|
949
949
|
> def last_ele tag_name
|
950
950
|
|
@@ -960,7 +960,7 @@ __Returns:__
|
|
960
960
|
|
961
961
|
--
|
962
962
|
|
963
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
963
|
+
##### [source](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L179)
|
964
964
|
|
965
965
|
> def source
|
966
966
|
|
@@ -972,7 +972,7 @@ __Returns:__
|
|
972
972
|
|
973
973
|
--
|
974
974
|
|
975
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L185)
|
976
976
|
|
977
977
|
> def get_source
|
978
978
|
|
@@ -984,7 +984,7 @@ __Returns:__
|
|
984
984
|
|
985
985
|
--
|
986
986
|
|
987
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
987
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L194)
|
988
988
|
|
989
989
|
> def find_name name
|
990
990
|
|
@@ -1000,7 +1000,7 @@ __Returns:__
|
|
1000
1000
|
|
1001
1001
|
--
|
1002
1002
|
|
1003
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L202)
|
1004
1004
|
|
1005
1005
|
> def find_names name
|
1006
1006
|
|
@@ -1016,7 +1016,7 @@ __Returns:__
|
|
1016
1016
|
|
1017
1017
|
--
|
1018
1018
|
|
1019
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1019
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L210)
|
1020
1020
|
|
1021
1021
|
> def tag tag_name
|
1022
1022
|
|
@@ -1032,7 +1032,7 @@ __Returns:__
|
|
1032
1032
|
|
1033
1033
|
--
|
1034
1034
|
|
1035
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1035
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L220)
|
1036
1036
|
|
1037
1037
|
> def px_to_window_rel opts={}
|
1038
1038
|
|
@@ -1044,7 +1044,7 @@ px_to_window_rel x: 50, y: 150
|
|
1044
1044
|
|
1045
1045
|
--
|
1046
1046
|
|
1047
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1047
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L230)
|
1048
1048
|
|
1049
1049
|
> def lazy_load_strings
|
1050
1050
|
|
@@ -1052,7 +1052,7 @@ px_to_window_rel x: 50, y: 150
|
|
1052
1052
|
|
1053
1053
|
--
|
1054
1054
|
|
1055
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1055
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L237)
|
1056
1056
|
|
1057
1057
|
> def xml_keys target
|
1058
1058
|
|
@@ -1068,7 +1068,7 @@ __Returns:__
|
|
1068
1068
|
|
1069
1069
|
--
|
1070
1070
|
|
1071
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1071
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L245)
|
1072
1072
|
|
1073
1073
|
> def xml_values target
|
1074
1074
|
|
@@ -1084,7 +1084,7 @@ __Returns:__
|
|
1084
1084
|
|
1085
1085
|
--
|
1086
1086
|
|
1087
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L253)
|
1088
1088
|
|
1089
1089
|
> def resolve_id id
|
1090
1090
|
|
@@ -1100,7 +1100,7 @@ __Returns:__
|
|
1100
1100
|
|
1101
1101
|
--
|
1102
1102
|
|
1103
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L259)
|
1104
1104
|
|
1105
1105
|
> def raise_no_element_error
|
1106
1106
|
|
@@ -1108,7 +1108,7 @@ Used to error when finding a single element fails.
|
|
1108
1108
|
|
1109
1109
|
--
|
1110
1110
|
|
1111
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [value](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L32)
|
1112
1112
|
|
1113
1113
|
> def value
|
1114
1114
|
|
@@ -1118,7 +1118,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1118
1118
|
|
1119
1119
|
--
|
1120
1120
|
|
1121
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1121
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L39)
|
1122
1122
|
|
1123
1123
|
> def name
|
1124
1124
|
|
@@ -1128,7 +1128,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1128
1128
|
|
1129
1129
|
--
|
1130
1130
|
|
1131
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L46)
|
1132
1132
|
|
1133
1133
|
> def tag_name
|
1134
1134
|
|
@@ -1138,7 +1138,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1138
1138
|
|
1139
1139
|
--
|
1140
1140
|
|
1141
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L58)
|
1142
1142
|
|
1143
1143
|
> def location_rel
|
1144
1144
|
|
@@ -1156,7 +1156,7 @@ __Returns:__
|
|
1156
1156
|
|
1157
1157
|
--
|
1158
1158
|
|
1159
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1159
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L16)
|
1160
1160
|
|
1161
1161
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1162
1162
|
|
@@ -1164,7 +1164,7 @@ __Returns:__
|
|
1164
1164
|
|
1165
1165
|
--
|
1166
1166
|
|
1167
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1167
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L18)
|
1168
1168
|
|
1169
1169
|
> def awesome_openstruct target
|
1170
1170
|
|
@@ -1172,7 +1172,7 @@ __Returns:__
|
|
1172
1172
|
|
1173
1173
|
--
|
1174
1174
|
|
1175
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L28)
|
1176
1176
|
|
1177
1177
|
> def load_appium_txt opts
|
1178
1178
|
|
@@ -1189,7 +1189,15 @@ __Returns:__
|
|
1189
1189
|
|
1190
1190
|
--
|
1191
1191
|
|
1192
|
-
##### [
|
1192
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L154)
|
1193
|
+
|
1194
|
+
> def self.promote_singleton_appium_methods main_module
|
1195
|
+
|
1196
|
+
|
1197
|
+
|
1198
|
+
--
|
1199
|
+
|
1200
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L184)
|
1193
1201
|
|
1194
1202
|
> def self.promote_appium_methods class_array
|
1195
1203
|
|
@@ -1207,7 +1215,7 @@ __Parameters:__
|
|
1207
1215
|
|
1208
1216
|
--
|
1209
1217
|
|
1210
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1218
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L513)
|
1211
1219
|
|
1212
1220
|
> def default_wait
|
1213
1221
|
|
@@ -1220,7 +1228,7 @@ __Returns:__
|
|
1220
1228
|
|
1221
1229
|
--
|
1222
1230
|
|
1223
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1231
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1224
1232
|
|
1225
1233
|
> def app_path
|
1226
1234
|
|
@@ -1228,7 +1236,7 @@ Returns the value of attribute app_path
|
|
1228
1236
|
|
1229
1237
|
--
|
1230
1238
|
|
1231
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1232
1240
|
|
1233
1241
|
> def app_name
|
1234
1242
|
|
@@ -1236,7 +1244,7 @@ Returns the value of attribute app_name
|
|
1236
1244
|
|
1237
1245
|
--
|
1238
1246
|
|
1239
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [device](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1240
1248
|
|
1241
1249
|
> def device
|
1242
1250
|
|
@@ -1244,7 +1252,7 @@ Returns the value of attribute device
|
|
1244
1252
|
|
1245
1253
|
--
|
1246
1254
|
|
1247
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1248
1256
|
|
1249
1257
|
> def app_package
|
1250
1258
|
|
@@ -1252,7 +1260,7 @@ Returns the value of attribute app_package
|
|
1252
1260
|
|
1253
1261
|
--
|
1254
1262
|
|
1255
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1256
1264
|
|
1257
1265
|
> def app_activity
|
1258
1266
|
|
@@ -1260,7 +1268,7 @@ Returns the value of attribute app_activity
|
|
1260
1268
|
|
1261
1269
|
--
|
1262
1270
|
|
1263
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1264
1272
|
|
1265
1273
|
> def app_wait_activity
|
1266
1274
|
|
@@ -1268,7 +1276,7 @@ Returns the value of attribute app_wait_activity
|
|
1268
1276
|
|
1269
1277
|
--
|
1270
1278
|
|
1271
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1272
1280
|
|
1273
1281
|
> def sauce_username
|
1274
1282
|
|
@@ -1276,7 +1284,7 @@ Returns the value of attribute sauce_username
|
|
1276
1284
|
|
1277
1285
|
--
|
1278
1286
|
|
1279
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1280
1288
|
|
1281
1289
|
> def sauce_access_key
|
1282
1290
|
|
@@ -1284,7 +1292,7 @@ Returns the value of attribute sauce_access_key
|
|
1284
1292
|
|
1285
1293
|
--
|
1286
1294
|
|
1287
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [port](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1288
1296
|
|
1289
1297
|
> def port
|
1290
1298
|
|
@@ -1292,7 +1300,7 @@ Returns the value of attribute port
|
|
1292
1300
|
|
1293
1301
|
--
|
1294
1302
|
|
1295
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1296
1304
|
|
1297
1305
|
> def debug
|
1298
1306
|
|
@@ -1300,7 +1308,7 @@ Returns the value of attribute debug
|
|
1300
1308
|
|
1301
1309
|
--
|
1302
1310
|
|
1303
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1311
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1304
1312
|
|
1305
1313
|
> def export_session
|
1306
1314
|
|
@@ -1308,7 +1316,7 @@ Returns the value of attribute export_session
|
|
1308
1316
|
|
1309
1317
|
--
|
1310
1318
|
|
1311
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1312
1320
|
|
1313
1321
|
> def device_cap
|
1314
1322
|
|
@@ -1316,7 +1324,7 @@ Returns the value of attribute device_cap
|
|
1316
1324
|
|
1317
1325
|
--
|
1318
1326
|
|
1319
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1320
1328
|
|
1321
1329
|
> def compress_xml
|
1322
1330
|
|
@@ -1324,7 +1332,7 @@ Returns the value of attribute compress_xml
|
|
1324
1332
|
|
1325
1333
|
--
|
1326
1334
|
|
1327
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1328
1336
|
|
1329
1337
|
> def custom_url
|
1330
1338
|
|
@@ -1332,7 +1340,7 @@ Returns the value of attribute custom_url
|
|
1332
1340
|
|
1333
1341
|
--
|
1334
1342
|
|
1335
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1343
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L219)
|
1336
1344
|
|
1337
1345
|
> def global_webdriver_http_sleep
|
1338
1346
|
|
@@ -1340,7 +1348,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1340
1348
|
|
1341
1349
|
--
|
1342
1350
|
|
1343
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L219)
|
1344
1352
|
|
1345
1353
|
> def global_webdriver_http_sleep=(value)
|
1346
1354
|
|
@@ -1348,7 +1356,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1348
1356
|
|
1349
1357
|
--
|
1350
1358
|
|
1351
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L249)
|
1352
1360
|
|
1353
1361
|
> def initialize opts={}
|
1354
1362
|
|
@@ -1389,7 +1397,7 @@ __Returns:__
|
|
1389
1397
|
|
1390
1398
|
--
|
1391
1399
|
|
1392
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [status](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L356)
|
1393
1401
|
|
1394
1402
|
> def status
|
1395
1403
|
|
@@ -1415,7 +1423,7 @@ __Returns:__
|
|
1415
1423
|
|
1416
1424
|
--
|
1417
1425
|
|
1418
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1426
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L362)
|
1419
1427
|
|
1420
1428
|
> def server_version
|
1421
1429
|
|
@@ -1427,7 +1435,7 @@ __Returns:__
|
|
1427
1435
|
|
1428
1436
|
--
|
1429
1437
|
|
1430
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1438
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L402)
|
1431
1439
|
|
1432
1440
|
> def absolute_app_path
|
1433
1441
|
|
@@ -1439,7 +1447,7 @@ __Returns:__
|
|
1439
1447
|
|
1440
1448
|
--
|
1441
1449
|
|
1442
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1450
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L422)
|
1443
1451
|
|
1444
1452
|
> def server_url
|
1445
1453
|
|
@@ -1451,7 +1459,7 @@ __Returns:__
|
|
1451
1459
|
|
1452
1460
|
--
|
1453
1461
|
|
1454
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1462
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L433)
|
1455
1463
|
|
1456
1464
|
> def restart
|
1457
1465
|
|
@@ -1463,7 +1471,7 @@ __Returns:__
|
|
1463
1471
|
|
1464
1472
|
--
|
1465
1473
|
|
1466
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1474
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L440)
|
1467
1475
|
|
1468
1476
|
> def driver
|
1469
1477
|
|
@@ -1475,7 +1483,7 @@ __Returns:__
|
|
1475
1483
|
|
1476
1484
|
--
|
1477
1485
|
|
1478
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1486
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L450)
|
1479
1487
|
|
1480
1488
|
> def screenshot png_save_path
|
1481
1489
|
|
@@ -1493,7 +1501,7 @@ __Returns:__
|
|
1493
1501
|
|
1494
1502
|
--
|
1495
1503
|
|
1496
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1504
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L457)
|
1497
1505
|
|
1498
1506
|
> def driver_quit
|
1499
1507
|
|
@@ -1505,7 +1513,7 @@ __Returns:__
|
|
1505
1513
|
|
1506
1514
|
--
|
1507
1515
|
|
1508
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1516
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L465)
|
1509
1517
|
|
1510
1518
|
> def start_driver
|
1511
1519
|
|
@@ -1517,7 +1525,7 @@ __Returns:__
|
|
1517
1525
|
|
1518
1526
|
--
|
1519
1527
|
|
1520
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1528
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L499)
|
1521
1529
|
|
1522
1530
|
> def no_wait
|
1523
1531
|
|
@@ -1525,7 +1533,7 @@ Set implicit wait to zero.
|
|
1525
1533
|
|
1526
1534
|
--
|
1527
1535
|
|
1528
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1536
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L506)
|
1529
1537
|
|
1530
1538
|
> def set_wait timeout=@default_wait
|
1531
1539
|
|
@@ -1541,7 +1549,7 @@ __Returns:__
|
|
1541
1549
|
|
1542
1550
|
--
|
1543
1551
|
|
1544
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1552
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L529)
|
1545
1553
|
|
1546
1554
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1547
1555
|
|
@@ -1567,7 +1575,7 @@ __Returns:__
|
|
1567
1575
|
|
1568
1576
|
--
|
1569
1577
|
|
1570
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1578
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L551)
|
1571
1579
|
|
1572
1580
|
> def execute_script script, *args
|
1573
1581
|
|
@@ -1585,7 +1593,7 @@ __Returns:__
|
|
1585
1593
|
|
1586
1594
|
--
|
1587
1595
|
|
1588
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1596
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L567)
|
1589
1597
|
|
1590
1598
|
> def mobile method, *args
|
1591
1599
|
|
@@ -1611,7 +1619,7 @@ __Returns:__
|
|
1611
1619
|
|
1612
1620
|
--
|
1613
1621
|
|
1614
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1622
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L578)
|
1615
1623
|
|
1616
1624
|
> def find_elements *args
|
1617
1625
|
|
@@ -1627,7 +1635,7 @@ __Returns:__
|
|
1627
1635
|
|
1628
1636
|
--
|
1629
1637
|
|
1630
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1638
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L586)
|
1631
1639
|
|
1632
1640
|
> def find_element *args
|
1633
1641
|
|
@@ -1643,7 +1651,7 @@ __Returns:__
|
|
1643
1651
|
|
1644
1652
|
--
|
1645
1653
|
|
1646
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1654
|
+
##### [x](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L593)
|
1647
1655
|
|
1648
1656
|
> def x
|
1649
1657
|
|