appium_lib 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/android_docs.md +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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd96ebf4e31ac1acec8e7d6804ec5e91eb370a82
|
4
|
+
data.tar.gz: 0424b4e6d746d9db59e9d2f2a9eaeb58a7f2d7f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2a4c912271dbb16fb90144bc641da19e8a36ce5db2da85ddd8f6d24a20febdc7d76cd2d06f3933ef7e1f70c3ce3cc43474085fcba2a75871c254defc4b83c02
|
7
|
+
data.tar.gz: baeac4de8cd4b3a4323db47a428ad33fccd49798702d9629ad09684bdd8e0e24d3344ab1e8e5a0aed8a25500a6a9e2efde45840b9ca1099e5a91ddd037b71e35
|
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/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
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/helper.rb#L398) android
|
315
315
|
|
316
316
|
> def page
|
317
317
|
|
@@ -320,22 +320,21 @@ 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/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/helper.rb#L410) android
|
324
324
|
|
325
325
|
> def fast_duration
|
326
326
|
|
327
327
|
JavaScript code from https://github.com/appium/appium/blob/master/app/android.js
|
328
328
|
|
329
329
|
```javascript
|
330
|
-
Math.round(
|
331
|
-
(.20 * 1000) / 200 = 1
|
330
|
+
Math.round(1.0/28.0 * 28) = 1
|
332
331
|
```
|
333
332
|
|
334
333
|
We want steps to be exactly 1. If it's zero then a tap is used instead of a swipe.
|
335
334
|
|
336
335
|
--
|
337
336
|
|
338
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
337
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/helper.rb#L416) android
|
339
338
|
|
340
339
|
> def current_app
|
341
340
|
|
@@ -344,7 +343,7 @@ Works on local host only (not remote).
|
|
344
343
|
|
345
344
|
--
|
346
345
|
|
347
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
346
|
+
##### [id](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/helper.rb#L430) android
|
348
347
|
|
349
348
|
> def id id
|
350
349
|
|
@@ -360,7 +359,7 @@ __Returns:__
|
|
360
359
|
|
361
360
|
--
|
362
361
|
|
363
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/alert.rb#L6) android
|
364
363
|
|
365
364
|
> def alert_click value
|
366
365
|
|
@@ -376,7 +375,7 @@ __Returns:__
|
|
376
375
|
|
377
376
|
--
|
378
377
|
|
379
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/alert.rb#L13) android
|
380
379
|
|
381
380
|
> def alert_accept
|
382
381
|
|
@@ -389,7 +388,7 @@ __Returns:__
|
|
389
388
|
|
390
389
|
--
|
391
390
|
|
392
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
391
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/alert.rb#L20) android
|
393
392
|
|
394
393
|
> def alert_accept_text
|
395
394
|
|
@@ -402,7 +401,7 @@ __Returns:__
|
|
402
401
|
|
403
402
|
--
|
404
403
|
|
405
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
404
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/alert.rb#L27) android
|
406
405
|
|
407
406
|
> def alert_dismiss
|
408
407
|
|
@@ -415,7 +414,7 @@ __Returns:__
|
|
415
414
|
|
416
415
|
--
|
417
416
|
|
418
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
417
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/alert.rb#L34) android
|
419
418
|
|
420
419
|
> def alert_dismiss_text
|
421
420
|
|
@@ -428,7 +427,7 @@ __Returns:__
|
|
428
427
|
|
429
428
|
--
|
430
429
|
|
431
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
430
|
+
##### [find](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/generic.rb#L44) android
|
432
431
|
|
433
432
|
> def find val
|
434
433
|
|
@@ -445,7 +444,7 @@ __Returns:__
|
|
445
444
|
|
446
445
|
--
|
447
446
|
|
448
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
447
|
+
##### [text](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/generic.rb#L70) android
|
449
448
|
|
450
449
|
> def text text
|
451
450
|
|
@@ -461,7 +460,7 @@ __Returns:__
|
|
461
460
|
|
462
461
|
--
|
463
462
|
|
464
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/generic.rb#L79) android
|
465
464
|
|
466
465
|
> def texts text
|
467
466
|
|
@@ -477,7 +476,7 @@ __Returns:__
|
|
477
476
|
|
478
477
|
--
|
479
478
|
|
480
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
479
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/generic.rb#L88) android
|
481
480
|
|
482
481
|
> def name name
|
483
482
|
|
@@ -495,7 +494,7 @@ __Returns:__
|
|
495
494
|
|
496
495
|
--
|
497
496
|
|
498
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
497
|
+
##### [names](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/generic.rb#L99) android
|
499
498
|
|
500
499
|
> def names name
|
501
500
|
|
@@ -513,7 +512,7 @@ __Returns:__
|
|
513
512
|
|
514
513
|
--
|
515
514
|
|
516
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
515
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/generic.rb#L108) android
|
517
516
|
|
518
517
|
> def scroll_to text
|
519
518
|
|
@@ -529,7 +528,7 @@ __Returns:__
|
|
529
528
|
|
530
529
|
--
|
531
530
|
|
532
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
531
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/textfield.rb#L7) android
|
533
532
|
|
534
533
|
> def textfields
|
535
534
|
|
@@ -541,7 +540,7 @@ __Returns:__
|
|
541
540
|
|
542
541
|
--
|
543
542
|
|
544
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/textfield.rb#L13) android
|
545
544
|
|
546
545
|
> def e_textfields
|
547
546
|
|
@@ -553,7 +552,7 @@ __Returns:__
|
|
553
552
|
|
554
553
|
--
|
555
554
|
|
556
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
555
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/textfield.rb#L19) android
|
557
556
|
|
558
557
|
> def first_textfield
|
559
558
|
|
@@ -565,7 +564,7 @@ __Returns:__
|
|
565
564
|
|
566
565
|
--
|
567
566
|
|
568
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
567
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/textfield.rb#L25) android
|
569
568
|
|
570
569
|
> def last_textfield
|
571
570
|
|
@@ -577,7 +576,7 @@ __Returns:__
|
|
577
576
|
|
578
577
|
--
|
579
578
|
|
580
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
579
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/textfield.rb#L32) android
|
581
580
|
|
582
581
|
> def textfield text
|
583
582
|
|
@@ -593,7 +592,7 @@ __Returns:__
|
|
593
592
|
|
594
593
|
--
|
595
594
|
|
596
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
595
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/android/element/textfield.rb#L45) android
|
597
596
|
|
598
597
|
> def textfield_exact text
|
599
598
|
|
@@ -609,7 +608,7 @@ __Returns:__
|
|
609
608
|
|
610
609
|
--
|
611
610
|
|
612
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
611
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L33)
|
613
612
|
|
614
613
|
> def wait max_wait=30, interval=0.5, &block
|
615
614
|
|
@@ -636,7 +635,7 @@ __Returns:__
|
|
636
635
|
|
637
636
|
--
|
638
637
|
|
639
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
638
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L45)
|
640
639
|
|
641
640
|
> def ignore &block
|
642
641
|
|
@@ -644,7 +643,7 @@ Return block.call and ignore any exceptions.
|
|
644
643
|
|
645
644
|
--
|
646
645
|
|
647
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
646
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L55)
|
648
647
|
|
649
648
|
> def wait_true max_wait=30, interval=0.5, &block
|
650
649
|
|
@@ -665,7 +664,7 @@ __Returns:__
|
|
665
664
|
|
666
665
|
--
|
667
666
|
|
668
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
667
|
+
##### [back](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L68)
|
669
668
|
|
670
669
|
> def back
|
671
670
|
|
@@ -677,7 +676,7 @@ __Returns:__
|
|
677
676
|
|
678
677
|
--
|
679
678
|
|
680
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
679
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L73)
|
681
680
|
|
682
681
|
> def session_id
|
683
682
|
|
@@ -685,7 +684,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
685
684
|
|
686
685
|
--
|
687
686
|
|
688
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
687
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L81)
|
689
688
|
|
690
689
|
> def xpath xpath_str
|
691
690
|
|
@@ -701,7 +700,7 @@ __Returns:__
|
|
701
700
|
|
702
701
|
--
|
703
702
|
|
704
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
703
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L89)
|
705
704
|
|
706
705
|
> def xpaths xpath_str
|
707
706
|
|
@@ -717,7 +716,7 @@ __Returns:__
|
|
717
716
|
|
718
717
|
--
|
719
718
|
|
720
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
719
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L97)
|
721
720
|
|
722
721
|
> def ele_index tag_name, index
|
723
722
|
|
@@ -735,7 +734,7 @@ __Returns:__
|
|
735
734
|
|
736
735
|
--
|
737
736
|
|
738
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
737
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L106)
|
739
738
|
|
740
739
|
> def find_eles tag_name
|
741
740
|
|
@@ -751,7 +750,7 @@ __Returns:__
|
|
751
750
|
|
752
751
|
--
|
753
752
|
|
754
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L114)
|
755
754
|
|
756
755
|
> def find_ele_by_text tag, text
|
757
756
|
|
@@ -769,7 +768,7 @@ __Returns:__
|
|
769
768
|
|
770
769
|
--
|
771
770
|
|
772
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L122)
|
773
772
|
|
774
773
|
> def find_eles_by_text tag, text
|
775
774
|
|
@@ -787,7 +786,7 @@ __Returns:__
|
|
787
786
|
|
788
787
|
--
|
789
788
|
|
790
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
789
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L131)
|
791
790
|
|
792
791
|
> def find_ele_by_attr_include tag, attr, value
|
793
792
|
|
@@ -807,7 +806,7 @@ __Returns:__
|
|
807
806
|
|
808
807
|
--
|
809
808
|
|
810
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L140)
|
811
810
|
|
812
811
|
> def find_eles_by_attr_include tag, attr, value
|
813
812
|
|
@@ -827,7 +826,7 @@ __Returns:__
|
|
827
826
|
|
828
827
|
--
|
829
828
|
|
830
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
829
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L149)
|
831
830
|
|
832
831
|
> def find_ele_by_text_include tag, text
|
833
832
|
|
@@ -846,7 +845,7 @@ __Returns:__
|
|
846
845
|
|
847
846
|
--
|
848
847
|
|
849
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
848
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L158)
|
850
849
|
|
851
850
|
> def find_eles_by_text_include tag, text
|
852
851
|
|
@@ -865,7 +864,7 @@ __Returns:__
|
|
865
864
|
|
866
865
|
--
|
867
866
|
|
868
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
867
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L165)
|
869
868
|
|
870
869
|
> def first_ele tag_name
|
871
870
|
|
@@ -881,7 +880,7 @@ __Returns:__
|
|
881
880
|
|
882
881
|
--
|
883
882
|
|
884
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
883
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L173)
|
885
884
|
|
886
885
|
> def last_ele tag_name
|
887
886
|
|
@@ -897,7 +896,7 @@ __Returns:__
|
|
897
896
|
|
898
897
|
--
|
899
898
|
|
900
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [source](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L179)
|
901
900
|
|
902
901
|
> def source
|
903
902
|
|
@@ -909,7 +908,7 @@ __Returns:__
|
|
909
908
|
|
910
909
|
--
|
911
910
|
|
912
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
911
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L185)
|
913
912
|
|
914
913
|
> def get_source
|
915
914
|
|
@@ -921,7 +920,7 @@ __Returns:__
|
|
921
920
|
|
922
921
|
--
|
923
922
|
|
924
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
923
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L194)
|
925
924
|
|
926
925
|
> def find_name name
|
927
926
|
|
@@ -937,7 +936,7 @@ __Returns:__
|
|
937
936
|
|
938
937
|
--
|
939
938
|
|
940
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L202)
|
941
940
|
|
942
941
|
> def find_names name
|
943
942
|
|
@@ -953,7 +952,7 @@ __Returns:__
|
|
953
952
|
|
954
953
|
--
|
955
954
|
|
956
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
955
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L210)
|
957
956
|
|
958
957
|
> def tag tag_name
|
959
958
|
|
@@ -969,7 +968,7 @@ __Returns:__
|
|
969
968
|
|
970
969
|
--
|
971
970
|
|
972
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
971
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L220)
|
973
972
|
|
974
973
|
> def px_to_window_rel opts={}
|
975
974
|
|
@@ -981,7 +980,7 @@ px_to_window_rel x: 50, y: 150
|
|
981
980
|
|
982
981
|
--
|
983
982
|
|
984
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
983
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L230)
|
985
984
|
|
986
985
|
> def lazy_load_strings
|
987
986
|
|
@@ -989,7 +988,7 @@ px_to_window_rel x: 50, y: 150
|
|
989
988
|
|
990
989
|
--
|
991
990
|
|
992
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L237)
|
993
992
|
|
994
993
|
> def xml_keys target
|
995
994
|
|
@@ -1005,7 +1004,7 @@ __Returns:__
|
|
1005
1004
|
|
1006
1005
|
--
|
1007
1006
|
|
1008
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1007
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L245)
|
1009
1008
|
|
1010
1009
|
> def xml_values target
|
1011
1010
|
|
@@ -1021,7 +1020,7 @@ __Returns:__
|
|
1021
1020
|
|
1022
1021
|
--
|
1023
1022
|
|
1024
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1023
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L253)
|
1025
1024
|
|
1026
1025
|
> def resolve_id id
|
1027
1026
|
|
@@ -1037,7 +1036,7 @@ __Returns:__
|
|
1037
1036
|
|
1038
1037
|
--
|
1039
1038
|
|
1040
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1039
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/helper.rb#L259)
|
1041
1040
|
|
1042
1041
|
> def raise_no_element_error
|
1043
1042
|
|
@@ -1045,7 +1044,7 @@ Used to error when finding a single element fails.
|
|
1045
1044
|
|
1046
1045
|
--
|
1047
1046
|
|
1048
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1047
|
+
##### [value](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L32)
|
1049
1048
|
|
1050
1049
|
> def value
|
1051
1050
|
|
@@ -1055,7 +1054,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1055
1054
|
|
1056
1055
|
--
|
1057
1056
|
|
1058
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L39)
|
1059
1058
|
|
1060
1059
|
> def name
|
1061
1060
|
|
@@ -1065,7 +1064,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1065
1064
|
|
1066
1065
|
--
|
1067
1066
|
|
1068
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1067
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L46)
|
1069
1068
|
|
1070
1069
|
> def tag_name
|
1071
1070
|
|
@@ -1075,7 +1074,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1075
1074
|
|
1076
1075
|
--
|
1077
1076
|
|
1078
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1077
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/common/patch.rb#L58)
|
1079
1078
|
|
1080
1079
|
> def location_rel
|
1081
1080
|
|
@@ -1093,7 +1092,7 @@ __Returns:__
|
|
1093
1092
|
|
1094
1093
|
--
|
1095
1094
|
|
1096
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1095
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L16)
|
1097
1096
|
|
1098
1097
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1099
1098
|
|
@@ -1101,7 +1100,7 @@ __Returns:__
|
|
1101
1100
|
|
1102
1101
|
--
|
1103
1102
|
|
1104
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1103
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L18)
|
1105
1104
|
|
1106
1105
|
> def awesome_openstruct target
|
1107
1106
|
|
@@ -1109,7 +1108,7 @@ __Returns:__
|
|
1109
1108
|
|
1110
1109
|
--
|
1111
1110
|
|
1112
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1111
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L28)
|
1113
1112
|
|
1114
1113
|
> def load_appium_txt opts
|
1115
1114
|
|
@@ -1126,7 +1125,15 @@ __Returns:__
|
|
1126
1125
|
|
1127
1126
|
--
|
1128
1127
|
|
1129
|
-
##### [
|
1128
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L154)
|
1129
|
+
|
1130
|
+
> def self.promote_singleton_appium_methods main_module
|
1131
|
+
|
1132
|
+
|
1133
|
+
|
1134
|
+
--
|
1135
|
+
|
1136
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L184)
|
1130
1137
|
|
1131
1138
|
> def self.promote_appium_methods class_array
|
1132
1139
|
|
@@ -1144,7 +1151,7 @@ __Parameters:__
|
|
1144
1151
|
|
1145
1152
|
--
|
1146
1153
|
|
1147
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L513)
|
1148
1155
|
|
1149
1156
|
> def default_wait
|
1150
1157
|
|
@@ -1157,7 +1164,7 @@ __Returns:__
|
|
1157
1164
|
|
1158
1165
|
--
|
1159
1166
|
|
1160
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1167
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1161
1168
|
|
1162
1169
|
> def app_path
|
1163
1170
|
|
@@ -1165,7 +1172,7 @@ Returns the value of attribute app_path
|
|
1165
1172
|
|
1166
1173
|
--
|
1167
1174
|
|
1168
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1169
1176
|
|
1170
1177
|
> def app_name
|
1171
1178
|
|
@@ -1173,7 +1180,7 @@ Returns the value of attribute app_name
|
|
1173
1180
|
|
1174
1181
|
--
|
1175
1182
|
|
1176
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [device](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1177
1184
|
|
1178
1185
|
> def device
|
1179
1186
|
|
@@ -1181,7 +1188,7 @@ Returns the value of attribute device
|
|
1181
1188
|
|
1182
1189
|
--
|
1183
1190
|
|
1184
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1191
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1185
1192
|
|
1186
1193
|
> def app_package
|
1187
1194
|
|
@@ -1189,7 +1196,7 @@ Returns the value of attribute app_package
|
|
1189
1196
|
|
1190
1197
|
--
|
1191
1198
|
|
1192
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1199
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1193
1200
|
|
1194
1201
|
> def app_activity
|
1195
1202
|
|
@@ -1197,7 +1204,7 @@ Returns the value of attribute app_activity
|
|
1197
1204
|
|
1198
1205
|
--
|
1199
1206
|
|
1200
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1201
1208
|
|
1202
1209
|
> def app_wait_activity
|
1203
1210
|
|
@@ -1205,7 +1212,7 @@ Returns the value of attribute app_wait_activity
|
|
1205
1212
|
|
1206
1213
|
--
|
1207
1214
|
|
1208
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1215
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1209
1216
|
|
1210
1217
|
> def sauce_username
|
1211
1218
|
|
@@ -1213,7 +1220,7 @@ Returns the value of attribute sauce_username
|
|
1213
1220
|
|
1214
1221
|
--
|
1215
1222
|
|
1216
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1217
1224
|
|
1218
1225
|
> def sauce_access_key
|
1219
1226
|
|
@@ -1221,7 +1228,7 @@ Returns the value of attribute sauce_access_key
|
|
1221
1228
|
|
1222
1229
|
--
|
1223
1230
|
|
1224
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1231
|
+
##### [port](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1225
1232
|
|
1226
1233
|
> def port
|
1227
1234
|
|
@@ -1229,7 +1236,7 @@ Returns the value of attribute port
|
|
1229
1236
|
|
1230
1237
|
--
|
1231
1238
|
|
1232
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1233
1240
|
|
1234
1241
|
> def debug
|
1235
1242
|
|
@@ -1237,7 +1244,7 @@ Returns the value of attribute debug
|
|
1237
1244
|
|
1238
1245
|
--
|
1239
1246
|
|
1240
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1247
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1241
1248
|
|
1242
1249
|
> def export_session
|
1243
1250
|
|
@@ -1245,7 +1252,7 @@ Returns the value of attribute export_session
|
|
1245
1252
|
|
1246
1253
|
--
|
1247
1254
|
|
1248
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1255
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1249
1256
|
|
1250
1257
|
> def device_cap
|
1251
1258
|
|
@@ -1253,7 +1260,7 @@ Returns the value of attribute device_cap
|
|
1253
1260
|
|
1254
1261
|
--
|
1255
1262
|
|
1256
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1257
1264
|
|
1258
1265
|
> def compress_xml
|
1259
1266
|
|
@@ -1261,7 +1268,7 @@ Returns the value of attribute compress_xml
|
|
1261
1268
|
|
1262
1269
|
--
|
1263
1270
|
|
1264
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1271
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L213)
|
1265
1272
|
|
1266
1273
|
> def custom_url
|
1267
1274
|
|
@@ -1269,7 +1276,7 @@ Returns the value of attribute custom_url
|
|
1269
1276
|
|
1270
1277
|
--
|
1271
1278
|
|
1272
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1279
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L219)
|
1273
1280
|
|
1274
1281
|
> def global_webdriver_http_sleep
|
1275
1282
|
|
@@ -1277,7 +1284,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1277
1284
|
|
1278
1285
|
--
|
1279
1286
|
|
1280
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L219)
|
1281
1288
|
|
1282
1289
|
> def global_webdriver_http_sleep=(value)
|
1283
1290
|
|
@@ -1285,7 +1292,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1285
1292
|
|
1286
1293
|
--
|
1287
1294
|
|
1288
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1295
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L249)
|
1289
1296
|
|
1290
1297
|
> def initialize opts={}
|
1291
1298
|
|
@@ -1326,7 +1333,7 @@ __Returns:__
|
|
1326
1333
|
|
1327
1334
|
--
|
1328
1335
|
|
1329
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1336
|
+
##### [status](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L356)
|
1330
1337
|
|
1331
1338
|
> def status
|
1332
1339
|
|
@@ -1352,7 +1359,7 @@ __Returns:__
|
|
1352
1359
|
|
1353
1360
|
--
|
1354
1361
|
|
1355
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1362
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L362)
|
1356
1363
|
|
1357
1364
|
> def server_version
|
1358
1365
|
|
@@ -1364,7 +1371,7 @@ __Returns:__
|
|
1364
1371
|
|
1365
1372
|
--
|
1366
1373
|
|
1367
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L402)
|
1368
1375
|
|
1369
1376
|
> def absolute_app_path
|
1370
1377
|
|
@@ -1376,7 +1383,7 @@ __Returns:__
|
|
1376
1383
|
|
1377
1384
|
--
|
1378
1385
|
|
1379
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1386
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L422)
|
1380
1387
|
|
1381
1388
|
> def server_url
|
1382
1389
|
|
@@ -1388,7 +1395,7 @@ __Returns:__
|
|
1388
1395
|
|
1389
1396
|
--
|
1390
1397
|
|
1391
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1398
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L433)
|
1392
1399
|
|
1393
1400
|
> def restart
|
1394
1401
|
|
@@ -1400,7 +1407,7 @@ __Returns:__
|
|
1400
1407
|
|
1401
1408
|
--
|
1402
1409
|
|
1403
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1410
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L440)
|
1404
1411
|
|
1405
1412
|
> def driver
|
1406
1413
|
|
@@ -1412,7 +1419,7 @@ __Returns:__
|
|
1412
1419
|
|
1413
1420
|
--
|
1414
1421
|
|
1415
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L450)
|
1416
1423
|
|
1417
1424
|
> def screenshot png_save_path
|
1418
1425
|
|
@@ -1430,7 +1437,7 @@ __Returns:__
|
|
1430
1437
|
|
1431
1438
|
--
|
1432
1439
|
|
1433
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1440
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L457)
|
1434
1441
|
|
1435
1442
|
> def driver_quit
|
1436
1443
|
|
@@ -1442,7 +1449,7 @@ __Returns:__
|
|
1442
1449
|
|
1443
1450
|
--
|
1444
1451
|
|
1445
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1452
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L465)
|
1446
1453
|
|
1447
1454
|
> def start_driver
|
1448
1455
|
|
@@ -1454,7 +1461,7 @@ __Returns:__
|
|
1454
1461
|
|
1455
1462
|
--
|
1456
1463
|
|
1457
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1464
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L499)
|
1458
1465
|
|
1459
1466
|
> def no_wait
|
1460
1467
|
|
@@ -1462,7 +1469,7 @@ Set implicit wait to zero.
|
|
1462
1469
|
|
1463
1470
|
--
|
1464
1471
|
|
1465
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L506)
|
1466
1473
|
|
1467
1474
|
> def set_wait timeout=@default_wait
|
1468
1475
|
|
@@ -1478,7 +1485,7 @@ __Returns:__
|
|
1478
1485
|
|
1479
1486
|
--
|
1480
1487
|
|
1481
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1488
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L529)
|
1482
1489
|
|
1483
1490
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1484
1491
|
|
@@ -1504,7 +1511,7 @@ __Returns:__
|
|
1504
1511
|
|
1505
1512
|
--
|
1506
1513
|
|
1507
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1514
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L551)
|
1508
1515
|
|
1509
1516
|
> def execute_script script, *args
|
1510
1517
|
|
@@ -1522,7 +1529,7 @@ __Returns:__
|
|
1522
1529
|
|
1523
1530
|
--
|
1524
1531
|
|
1525
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1532
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L567)
|
1526
1533
|
|
1527
1534
|
> def mobile method, *args
|
1528
1535
|
|
@@ -1548,7 +1555,7 @@ __Returns:__
|
|
1548
1555
|
|
1549
1556
|
--
|
1550
1557
|
|
1551
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1558
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L578)
|
1552
1559
|
|
1553
1560
|
> def find_elements *args
|
1554
1561
|
|
@@ -1564,7 +1571,7 @@ __Returns:__
|
|
1564
1571
|
|
1565
1572
|
--
|
1566
1573
|
|
1567
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1574
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L586)
|
1568
1575
|
|
1569
1576
|
> def find_element *args
|
1570
1577
|
|
@@ -1580,7 +1587,7 @@ __Returns:__
|
|
1580
1587
|
|
1581
1588
|
--
|
1582
1589
|
|
1583
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1590
|
+
##### [x](https://github.com/appium/ruby_lib/blob/6ab8180ca332239793c0abc5ee3a31b0b081b6c4/lib/appium_lib/driver.rb#L593)
|
1584
1591
|
|
1585
1592
|
> def x
|
1586
1593
|
|