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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ed6f336d902bb3148649e1b9773ed2aa0e6d261
|
4
|
+
data.tar.gz: 1438207afb4e0bc313b2d911bde8ec45025e6596
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db1079f5a2df95f79376778caccf640fa1bad5c2a437554f40e331b30ceae2ef556d0a6b1abb90ce866a64ab09557b3229e6fa404e6b6b6b4509398bf7e80e53
|
7
|
+
data.tar.gz: 92833cbc5696a945e0b31ed69a163ad4a53f29b88c04a7ce953738f5900973d6577cc50812fbf72f0ffb1a3f794fafe1fef5239201e8568283da4bab816c756e
|
data/docs/android_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
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L6) android
|
221
221
|
|
222
222
|
> def tag_name_to_android tag_name
|
223
223
|
|
@@ -233,7 +233,7 @@ __Returns:__
|
|
233
233
|
|
234
234
|
--
|
235
235
|
|
236
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
236
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L194) android
|
237
237
|
|
238
238
|
> def find_eles_attr tag_name, attribute=nil
|
239
239
|
|
@@ -254,7 +254,7 @@ __Returns:__
|
|
254
254
|
|
255
255
|
--
|
256
256
|
|
257
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
257
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L216) android
|
258
258
|
|
259
259
|
> def get_selendroid_inspect
|
260
260
|
|
@@ -267,7 +267,7 @@ __Returns:__
|
|
267
267
|
|
268
268
|
--
|
269
269
|
|
270
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
270
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L278) android
|
271
271
|
|
272
272
|
> def get_page_class
|
273
273
|
|
@@ -275,7 +275,7 @@ __Returns:__
|
|
275
275
|
|
276
276
|
--
|
277
277
|
|
278
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
278
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L305) android
|
279
279
|
|
280
280
|
> def page_class
|
281
281
|
|
@@ -284,7 +284,7 @@ Useful for appium_console.
|
|
284
284
|
|
285
285
|
--
|
286
286
|
|
287
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
287
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L314) android
|
288
288
|
|
289
289
|
> def get_android_inspect
|
290
290
|
|
@@ -298,7 +298,7 @@ __Returns:__
|
|
298
298
|
|
299
299
|
--
|
300
300
|
|
301
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
301
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L392) android
|
302
302
|
|
303
303
|
> def get_inspect
|
304
304
|
|
@@ -311,7 +311,7 @@ __Returns:__
|
|
311
311
|
|
312
312
|
--
|
313
313
|
|
314
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [page](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L398) android
|
315
315
|
|
316
316
|
> def page
|
317
317
|
|
@@ -320,7 +320,7 @@ Inspects and prints the current page.
|
|
320
320
|
|
321
321
|
--
|
322
322
|
|
323
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
323
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L411) android
|
324
324
|
|
325
325
|
> def fast_duration
|
326
326
|
|
@@ -335,7 +335,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
335
335
|
|
336
336
|
--
|
337
337
|
|
338
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
338
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L417) android
|
339
339
|
|
340
340
|
> def current_app
|
341
341
|
|
@@ -344,7 +344,7 @@ Works on local host only (not remote).
|
|
344
344
|
|
345
345
|
--
|
346
346
|
|
347
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
347
|
+
##### [id](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/helper.rb#L431) android
|
348
348
|
|
349
349
|
> def id id
|
350
350
|
|
@@ -360,7 +360,7 @@ __Returns:__
|
|
360
360
|
|
361
361
|
--
|
362
362
|
|
363
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
363
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/alert.rb#L6) android
|
364
364
|
|
365
365
|
> def alert_click value
|
366
366
|
|
@@ -376,7 +376,7 @@ __Returns:__
|
|
376
376
|
|
377
377
|
--
|
378
378
|
|
379
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
379
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/alert.rb#L13) android
|
380
380
|
|
381
381
|
> def alert_accept
|
382
382
|
|
@@ -389,7 +389,7 @@ __Returns:__
|
|
389
389
|
|
390
390
|
--
|
391
391
|
|
392
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
392
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/alert.rb#L20) android
|
393
393
|
|
394
394
|
> def alert_accept_text
|
395
395
|
|
@@ -402,7 +402,7 @@ __Returns:__
|
|
402
402
|
|
403
403
|
--
|
404
404
|
|
405
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
405
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/alert.rb#L27) android
|
406
406
|
|
407
407
|
> def alert_dismiss
|
408
408
|
|
@@ -415,7 +415,7 @@ __Returns:__
|
|
415
415
|
|
416
416
|
--
|
417
417
|
|
418
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
418
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/alert.rb#L34) android
|
419
419
|
|
420
420
|
> def alert_dismiss_text
|
421
421
|
|
@@ -428,7 +428,7 @@ __Returns:__
|
|
428
428
|
|
429
429
|
--
|
430
430
|
|
431
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
431
|
+
##### [find](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/generic.rb#L44) android
|
432
432
|
|
433
433
|
> def find val
|
434
434
|
|
@@ -445,7 +445,7 @@ __Returns:__
|
|
445
445
|
|
446
446
|
--
|
447
447
|
|
448
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
448
|
+
##### [text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/generic.rb#L70) android
|
449
449
|
|
450
450
|
> def text text
|
451
451
|
|
@@ -461,7 +461,7 @@ __Returns:__
|
|
461
461
|
|
462
462
|
--
|
463
463
|
|
464
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
464
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/generic.rb#L79) android
|
465
465
|
|
466
466
|
> def texts text
|
467
467
|
|
@@ -477,7 +477,7 @@ __Returns:__
|
|
477
477
|
|
478
478
|
--
|
479
479
|
|
480
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/generic.rb#L88) android
|
481
481
|
|
482
482
|
> def name name
|
483
483
|
|
@@ -495,7 +495,7 @@ __Returns:__
|
|
495
495
|
|
496
496
|
--
|
497
497
|
|
498
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
498
|
+
##### [names](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/generic.rb#L99) android
|
499
499
|
|
500
500
|
> def names name
|
501
501
|
|
@@ -513,7 +513,7 @@ __Returns:__
|
|
513
513
|
|
514
514
|
--
|
515
515
|
|
516
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
516
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/generic.rb#L108) android
|
517
517
|
|
518
518
|
> def scroll_to text
|
519
519
|
|
@@ -529,7 +529,7 @@ __Returns:__
|
|
529
529
|
|
530
530
|
--
|
531
531
|
|
532
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
532
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/textfield.rb#L7) android
|
533
533
|
|
534
534
|
> def textfields
|
535
535
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/textfield.rb#L13) android
|
545
545
|
|
546
546
|
> def e_textfields
|
547
547
|
|
@@ -553,7 +553,7 @@ __Returns:__
|
|
553
553
|
|
554
554
|
--
|
555
555
|
|
556
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
556
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/textfield.rb#L19) android
|
557
557
|
|
558
558
|
> def first_textfield
|
559
559
|
|
@@ -565,7 +565,7 @@ __Returns:__
|
|
565
565
|
|
566
566
|
--
|
567
567
|
|
568
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
568
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/textfield.rb#L25) android
|
569
569
|
|
570
570
|
> def last_textfield
|
571
571
|
|
@@ -577,7 +577,7 @@ __Returns:__
|
|
577
577
|
|
578
578
|
--
|
579
579
|
|
580
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
580
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/textfield.rb#L32) android
|
581
581
|
|
582
582
|
> def textfield text
|
583
583
|
|
@@ -593,7 +593,7 @@ __Returns:__
|
|
593
593
|
|
594
594
|
--
|
595
595
|
|
596
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/android/element/textfield.rb#L45) android
|
597
597
|
|
598
598
|
> def textfield_exact text
|
599
599
|
|
@@ -609,7 +609,7 @@ __Returns:__
|
|
609
609
|
|
610
610
|
--
|
611
611
|
|
612
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
612
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L33)
|
613
613
|
|
614
614
|
> def wait max_wait=30, interval=0.5, &block
|
615
615
|
|
@@ -636,7 +636,7 @@ __Returns:__
|
|
636
636
|
|
637
637
|
--
|
638
638
|
|
639
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
639
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L45)
|
640
640
|
|
641
641
|
> def ignore &block
|
642
642
|
|
@@ -644,7 +644,7 @@ Return block.call and ignore any exceptions.
|
|
644
644
|
|
645
645
|
--
|
646
646
|
|
647
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
647
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L55)
|
648
648
|
|
649
649
|
> def wait_true max_wait=30, interval=0.5, &block
|
650
650
|
|
@@ -665,7 +665,7 @@ __Returns:__
|
|
665
665
|
|
666
666
|
--
|
667
667
|
|
668
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
668
|
+
##### [back](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L68)
|
669
669
|
|
670
670
|
> def back
|
671
671
|
|
@@ -677,7 +677,7 @@ __Returns:__
|
|
677
677
|
|
678
678
|
--
|
679
679
|
|
680
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
680
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L73)
|
681
681
|
|
682
682
|
> def session_id
|
683
683
|
|
@@ -685,7 +685,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
685
685
|
|
686
686
|
--
|
687
687
|
|
688
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
688
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L81)
|
689
689
|
|
690
690
|
> def xpath xpath_str
|
691
691
|
|
@@ -701,7 +701,7 @@ __Returns:__
|
|
701
701
|
|
702
702
|
--
|
703
703
|
|
704
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
704
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L89)
|
705
705
|
|
706
706
|
> def xpaths xpath_str
|
707
707
|
|
@@ -717,7 +717,7 @@ __Returns:__
|
|
717
717
|
|
718
718
|
--
|
719
719
|
|
720
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
720
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L97)
|
721
721
|
|
722
722
|
> def ele_index tag_name, index
|
723
723
|
|
@@ -735,7 +735,7 @@ __Returns:__
|
|
735
735
|
|
736
736
|
--
|
737
737
|
|
738
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
738
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L105)
|
739
739
|
|
740
740
|
> def find_eles tag_name
|
741
741
|
|
@@ -751,7 +751,7 @@ __Returns:__
|
|
751
751
|
|
752
752
|
--
|
753
753
|
|
754
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
754
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L113)
|
755
755
|
|
756
756
|
> def find_ele_by_text tag, text
|
757
757
|
|
@@ -769,7 +769,7 @@ __Returns:__
|
|
769
769
|
|
770
770
|
--
|
771
771
|
|
772
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L121)
|
773
773
|
|
774
774
|
> def find_eles_by_text tag, text
|
775
775
|
|
@@ -787,7 +787,7 @@ __Returns:__
|
|
787
787
|
|
788
788
|
--
|
789
789
|
|
790
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
790
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L130)
|
791
791
|
|
792
792
|
> def find_ele_by_attr_include tag, attr, value
|
793
793
|
|
@@ -807,7 +807,7 @@ __Returns:__
|
|
807
807
|
|
808
808
|
--
|
809
809
|
|
810
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L139)
|
811
811
|
|
812
812
|
> def find_eles_by_attr_include tag, attr, value
|
813
813
|
|
@@ -827,7 +827,7 @@ __Returns:__
|
|
827
827
|
|
828
828
|
--
|
829
829
|
|
830
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L148)
|
831
831
|
|
832
832
|
> def find_ele_by_text_include tag, text
|
833
833
|
|
@@ -846,7 +846,7 @@ __Returns:__
|
|
846
846
|
|
847
847
|
--
|
848
848
|
|
849
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L157)
|
850
850
|
|
851
851
|
> def find_eles_by_text_include tag, text
|
852
852
|
|
@@ -865,7 +865,7 @@ __Returns:__
|
|
865
865
|
|
866
866
|
--
|
867
867
|
|
868
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L164)
|
869
869
|
|
870
870
|
> def first_ele tag_name
|
871
871
|
|
@@ -881,7 +881,7 @@ __Returns:__
|
|
881
881
|
|
882
882
|
--
|
883
883
|
|
884
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
884
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L172)
|
885
885
|
|
886
886
|
> def last_ele tag_name
|
887
887
|
|
@@ -897,7 +897,7 @@ __Returns:__
|
|
897
897
|
|
898
898
|
--
|
899
899
|
|
900
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [source](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L178)
|
901
901
|
|
902
902
|
> def source
|
903
903
|
|
@@ -909,7 +909,7 @@ __Returns:__
|
|
909
909
|
|
910
910
|
--
|
911
911
|
|
912
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
912
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L184)
|
913
913
|
|
914
914
|
> def get_source
|
915
915
|
|
@@ -921,7 +921,7 @@ __Returns:__
|
|
921
921
|
|
922
922
|
--
|
923
923
|
|
924
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
924
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L193)
|
925
925
|
|
926
926
|
> def find_name name
|
927
927
|
|
@@ -937,7 +937,7 @@ __Returns:__
|
|
937
937
|
|
938
938
|
--
|
939
939
|
|
940
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
940
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L201)
|
941
941
|
|
942
942
|
> def find_names name
|
943
943
|
|
@@ -953,7 +953,7 @@ __Returns:__
|
|
953
953
|
|
954
954
|
--
|
955
955
|
|
956
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
956
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L209)
|
957
957
|
|
958
958
|
> def tag tag_name
|
959
959
|
|
@@ -969,7 +969,7 @@ __Returns:__
|
|
969
969
|
|
970
970
|
--
|
971
971
|
|
972
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
972
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L219)
|
973
973
|
|
974
974
|
> def px_to_window_rel opts={}
|
975
975
|
|
@@ -981,7 +981,7 @@ px_to_window_rel x: 50, y: 150
|
|
981
981
|
|
982
982
|
--
|
983
983
|
|
984
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
984
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L229)
|
985
985
|
|
986
986
|
> def lazy_load_strings
|
987
987
|
|
@@ -989,7 +989,7 @@ px_to_window_rel x: 50, y: 150
|
|
989
989
|
|
990
990
|
--
|
991
991
|
|
992
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
992
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L236)
|
993
993
|
|
994
994
|
> def xml_keys target
|
995
995
|
|
@@ -1005,7 +1005,7 @@ __Returns:__
|
|
1005
1005
|
|
1006
1006
|
--
|
1007
1007
|
|
1008
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1008
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L244)
|
1009
1009
|
|
1010
1010
|
> def xml_values target
|
1011
1011
|
|
@@ -1021,7 +1021,7 @@ __Returns:__
|
|
1021
1021
|
|
1022
1022
|
--
|
1023
1023
|
|
1024
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L252)
|
1025
1025
|
|
1026
1026
|
> def resolve_id id
|
1027
1027
|
|
@@ -1037,7 +1037,7 @@ __Returns:__
|
|
1037
1037
|
|
1038
1038
|
--
|
1039
1039
|
|
1040
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/helper.rb#L258)
|
1041
1041
|
|
1042
1042
|
> def raise_no_element_error
|
1043
1043
|
|
@@ -1045,7 +1045,7 @@ Used to error when finding a single element fails.
|
|
1045
1045
|
|
1046
1046
|
--
|
1047
1047
|
|
1048
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1048
|
+
##### [value](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L32)
|
1049
1049
|
|
1050
1050
|
> def value
|
1051
1051
|
|
@@ -1055,7 +1055,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1055
1055
|
|
1056
1056
|
--
|
1057
1057
|
|
1058
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1058
|
+
##### [name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L39)
|
1059
1059
|
|
1060
1060
|
> def name
|
1061
1061
|
|
@@ -1065,7 +1065,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1065
1065
|
|
1066
1066
|
--
|
1067
1067
|
|
1068
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L46)
|
1069
1069
|
|
1070
1070
|
> def tag_name
|
1071
1071
|
|
@@ -1075,7 +1075,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1075
1075
|
|
1076
1076
|
--
|
1077
1077
|
|
1078
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1078
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/common/patch.rb#L58)
|
1079
1079
|
|
1080
1080
|
> def location_rel
|
1081
1081
|
|
@@ -1093,7 +1093,7 @@ __Returns:__
|
|
1093
1093
|
|
1094
1094
|
--
|
1095
1095
|
|
1096
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1096
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L16)
|
1097
1097
|
|
1098
1098
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1099
1099
|
|
@@ -1101,7 +1101,7 @@ __Returns:__
|
|
1101
1101
|
|
1102
1102
|
--
|
1103
1103
|
|
1104
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L18)
|
1105
1105
|
|
1106
1106
|
> def awesome_openstruct target
|
1107
1107
|
|
@@ -1109,7 +1109,7 @@ __Returns:__
|
|
1109
1109
|
|
1110
1110
|
--
|
1111
1111
|
|
1112
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1112
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L28)
|
1113
1113
|
|
1114
1114
|
> def load_appium_txt opts
|
1115
1115
|
|
@@ -1126,7 +1126,7 @@ __Returns:__
|
|
1126
1126
|
|
1127
1127
|
--
|
1128
1128
|
|
1129
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1129
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L165)
|
1130
1130
|
|
1131
1131
|
> def self.promote_appium_methods class_array
|
1132
1132
|
|
@@ -1144,7 +1144,7 @@ __Parameters:__
|
|
1144
1144
|
|
1145
1145
|
--
|
1146
1146
|
|
1147
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L494)
|
1148
1148
|
|
1149
1149
|
> def default_wait
|
1150
1150
|
|
@@ -1157,7 +1157,7 @@ __Returns:__
|
|
1157
1157
|
|
1158
1158
|
--
|
1159
1159
|
|
1160
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1160
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1161
1161
|
|
1162
1162
|
> def app_path
|
1163
1163
|
|
@@ -1165,7 +1165,7 @@ Returns the value of attribute app_path
|
|
1165
1165
|
|
1166
1166
|
--
|
1167
1167
|
|
1168
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1169
1169
|
|
1170
1170
|
> def app_name
|
1171
1171
|
|
@@ -1173,7 +1173,7 @@ Returns the value of attribute app_name
|
|
1173
1173
|
|
1174
1174
|
--
|
1175
1175
|
|
1176
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [device](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1177
1177
|
|
1178
1178
|
> def device
|
1179
1179
|
|
@@ -1181,7 +1181,7 @@ Returns the value of attribute device
|
|
1181
1181
|
|
1182
1182
|
--
|
1183
1183
|
|
1184
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1185
1185
|
|
1186
1186
|
> def app_package
|
1187
1187
|
|
@@ -1189,7 +1189,7 @@ Returns the value of attribute app_package
|
|
1189
1189
|
|
1190
1190
|
--
|
1191
1191
|
|
1192
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1193
1193
|
|
1194
1194
|
> def app_activity
|
1195
1195
|
|
@@ -1197,7 +1197,7 @@ Returns the value of attribute app_activity
|
|
1197
1197
|
|
1198
1198
|
--
|
1199
1199
|
|
1200
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1200
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1201
1201
|
|
1202
1202
|
> def app_wait_activity
|
1203
1203
|
|
@@ -1205,7 +1205,7 @@ Returns the value of attribute app_wait_activity
|
|
1205
1205
|
|
1206
1206
|
--
|
1207
1207
|
|
1208
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1208
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1209
1209
|
|
1210
1210
|
> def sauce_username
|
1211
1211
|
|
@@ -1213,7 +1213,7 @@ Returns the value of attribute sauce_username
|
|
1213
1213
|
|
1214
1214
|
--
|
1215
1215
|
|
1216
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1216
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1217
1217
|
|
1218
1218
|
> def sauce_access_key
|
1219
1219
|
|
@@ -1221,7 +1221,7 @@ Returns the value of attribute sauce_access_key
|
|
1221
1221
|
|
1222
1222
|
--
|
1223
1223
|
|
1224
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1224
|
+
##### [port](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1225
1225
|
|
1226
1226
|
> def port
|
1227
1227
|
|
@@ -1229,7 +1229,7 @@ Returns the value of attribute port
|
|
1229
1229
|
|
1230
1230
|
--
|
1231
1231
|
|
1232
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1232
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1233
1233
|
|
1234
1234
|
> def debug
|
1235
1235
|
|
@@ -1237,7 +1237,7 @@ Returns the value of attribute debug
|
|
1237
1237
|
|
1238
1238
|
--
|
1239
1239
|
|
1240
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1240
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1241
1241
|
|
1242
1242
|
> def export_session
|
1243
1243
|
|
@@ -1245,7 +1245,7 @@ Returns the value of attribute export_session
|
|
1245
1245
|
|
1246
1246
|
--
|
1247
1247
|
|
1248
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1249
1249
|
|
1250
1250
|
> def device_cap
|
1251
1251
|
|
@@ -1253,7 +1253,7 @@ Returns the value of attribute device_cap
|
|
1253
1253
|
|
1254
1254
|
--
|
1255
1255
|
|
1256
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1256
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1257
1257
|
|
1258
1258
|
> def compress_xml
|
1259
1259
|
|
@@ -1261,7 +1261,7 @@ Returns the value of attribute compress_xml
|
|
1261
1261
|
|
1262
1262
|
--
|
1263
1263
|
|
1264
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1264
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L194)
|
1265
1265
|
|
1266
1266
|
> def custom_url
|
1267
1267
|
|
@@ -1269,7 +1269,7 @@ Returns the value of attribute custom_url
|
|
1269
1269
|
|
1270
1270
|
--
|
1271
1271
|
|
1272
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L200)
|
1273
1273
|
|
1274
1274
|
> def global_webdriver_http_sleep
|
1275
1275
|
|
@@ -1277,7 +1277,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1277
1277
|
|
1278
1278
|
--
|
1279
1279
|
|
1280
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1280
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L200)
|
1281
1281
|
|
1282
1282
|
> def global_webdriver_http_sleep=(value)
|
1283
1283
|
|
@@ -1285,7 +1285,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1285
1285
|
|
1286
1286
|
--
|
1287
1287
|
|
1288
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1288
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L230)
|
1289
1289
|
|
1290
1290
|
> def initialize opts={}
|
1291
1291
|
|
@@ -1326,7 +1326,7 @@ __Returns:__
|
|
1326
1326
|
|
1327
1327
|
--
|
1328
1328
|
|
1329
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1329
|
+
##### [status](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L337)
|
1330
1330
|
|
1331
1331
|
> def status
|
1332
1332
|
|
@@ -1352,7 +1352,7 @@ __Returns:__
|
|
1352
1352
|
|
1353
1353
|
--
|
1354
1354
|
|
1355
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L343)
|
1356
1356
|
|
1357
1357
|
> def server_version
|
1358
1358
|
|
@@ -1364,7 +1364,7 @@ __Returns:__
|
|
1364
1364
|
|
1365
1365
|
--
|
1366
1366
|
|
1367
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1367
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L383)
|
1368
1368
|
|
1369
1369
|
> def absolute_app_path
|
1370
1370
|
|
@@ -1376,7 +1376,7 @@ __Returns:__
|
|
1376
1376
|
|
1377
1377
|
--
|
1378
1378
|
|
1379
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L403)
|
1380
1380
|
|
1381
1381
|
> def server_url
|
1382
1382
|
|
@@ -1388,7 +1388,7 @@ __Returns:__
|
|
1388
1388
|
|
1389
1389
|
--
|
1390
1390
|
|
1391
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L414)
|
1392
1392
|
|
1393
1393
|
> def restart
|
1394
1394
|
|
@@ -1400,7 +1400,7 @@ __Returns:__
|
|
1400
1400
|
|
1401
1401
|
--
|
1402
1402
|
|
1403
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1403
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L421)
|
1404
1404
|
|
1405
1405
|
> def driver
|
1406
1406
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L431)
|
1416
1416
|
|
1417
1417
|
> def screenshot png_save_path
|
1418
1418
|
|
@@ -1430,7 +1430,7 @@ __Returns:__
|
|
1430
1430
|
|
1431
1431
|
--
|
1432
1432
|
|
1433
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L438)
|
1434
1434
|
|
1435
1435
|
> def driver_quit
|
1436
1436
|
|
@@ -1442,7 +1442,7 @@ __Returns:__
|
|
1442
1442
|
|
1443
1443
|
--
|
1444
1444
|
|
1445
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1445
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L446)
|
1446
1446
|
|
1447
1447
|
> def start_driver
|
1448
1448
|
|
@@ -1454,7 +1454,7 @@ __Returns:__
|
|
1454
1454
|
|
1455
1455
|
--
|
1456
1456
|
|
1457
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1457
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L480)
|
1458
1458
|
|
1459
1459
|
> def no_wait
|
1460
1460
|
|
@@ -1462,7 +1462,7 @@ Set implicit wait to zero.
|
|
1462
1462
|
|
1463
1463
|
--
|
1464
1464
|
|
1465
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L487)
|
1466
1466
|
|
1467
1467
|
> def set_wait timeout=@default_wait
|
1468
1468
|
|
@@ -1478,7 +1478,7 @@ __Returns:__
|
|
1478
1478
|
|
1479
1479
|
--
|
1480
1480
|
|
1481
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L510)
|
1482
1482
|
|
1483
1483
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1484
1484
|
|
@@ -1504,7 +1504,7 @@ __Returns:__
|
|
1504
1504
|
|
1505
1505
|
--
|
1506
1506
|
|
1507
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L532)
|
1508
1508
|
|
1509
1509
|
> def execute_script script, *args
|
1510
1510
|
|
@@ -1522,7 +1522,7 @@ __Returns:__
|
|
1522
1522
|
|
1523
1523
|
--
|
1524
1524
|
|
1525
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L548)
|
1526
1526
|
|
1527
1527
|
> def mobile method, *args
|
1528
1528
|
|
@@ -1548,7 +1548,7 @@ __Returns:__
|
|
1548
1548
|
|
1549
1549
|
--
|
1550
1550
|
|
1551
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1551
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L559)
|
1552
1552
|
|
1553
1553
|
> def find_elements *args
|
1554
1554
|
|
@@ -1564,7 +1564,7 @@ __Returns:__
|
|
1564
1564
|
|
1565
1565
|
--
|
1566
1566
|
|
1567
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1567
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L567)
|
1568
1568
|
|
1569
1569
|
> def find_element *args
|
1570
1570
|
|
@@ -1580,7 +1580,7 @@ __Returns:__
|
|
1580
1580
|
|
1581
1581
|
--
|
1582
1582
|
|
1583
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1583
|
+
##### [x](https://github.com/appium/ruby_lib/blob/28f21615a435364246725e8f9adac62c0257dffa/lib/appium_lib/driver.rb#L574)
|
1584
1584
|
|
1585
1585
|
> def x
|
1586
1586
|
|