appium_lib 0.6.6 → 0.6.7
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 +117 -109
- data/docs/docs.md +20 -0
- data/docs/ios_docs.md +116 -108
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +13 -2
- data/release_notes.md +7 -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: e2ce6f71fe9e44b17ac15f023beda56d653d9fc9
|
4
|
+
data.tar.gz: c88d1d149d4708257ccb937f622e8749bf3cd482
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6fc388c43ec25be3c7b32151efa12bfa10e05dbe2a9c9b81397903e74f46f435482903710672a1f5f5cd05ecdd1f23a9e8d61c7cca53a558d2e3036ca6b118a1
|
7
|
+
data.tar.gz: 576d9f26438f7b97125bbdc318a711ca767c6e5e8ae01306055346940f278975859fcd792a6a6a4c3b307df08222e81b8912f9be81e24fddb639395ec1a56ce4
|
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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/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/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/helper.rb#L363) 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/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/helper.rb#L369) 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/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/helper.rb#L382) 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
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
338
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/helper.rb#L389) android
|
339
339
|
|
340
340
|
> def xml_keys target
|
341
341
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
351
351
|
|
352
352
|
--
|
353
353
|
|
354
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/helper.rb#L396) android
|
355
355
|
|
356
356
|
> def xml_values target
|
357
357
|
|
@@ -367,7 +367,7 @@ __Returns:__
|
|
367
367
|
|
368
368
|
--
|
369
369
|
|
370
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
370
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/helper.rb#L403) android
|
371
371
|
|
372
372
|
> def resolve_id id
|
373
373
|
|
@@ -383,7 +383,7 @@ __Returns:__
|
|
383
383
|
|
384
384
|
--
|
385
385
|
|
386
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
386
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/helper.rb#L409) android
|
387
387
|
|
388
388
|
> def current_app
|
389
389
|
|
@@ -392,7 +392,7 @@ Works on local host only (not remote).
|
|
392
392
|
|
393
393
|
--
|
394
394
|
|
395
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
395
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/alert.rb#L6) android
|
396
396
|
|
397
397
|
> def alert_click value
|
398
398
|
|
@@ -408,7 +408,7 @@ __Returns:__
|
|
408
408
|
|
409
409
|
--
|
410
410
|
|
411
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
411
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/alert.rb#L13) android
|
412
412
|
|
413
413
|
> def alert_accept
|
414
414
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
421
421
|
|
422
422
|
--
|
423
423
|
|
424
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/alert.rb#L20) android
|
425
425
|
|
426
426
|
> def alert_accept_text
|
427
427
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
434
434
|
|
435
435
|
--
|
436
436
|
|
437
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/alert.rb#L27) android
|
438
438
|
|
439
439
|
> def alert_dismiss
|
440
440
|
|
@@ -447,7 +447,7 @@ __Returns:__
|
|
447
447
|
|
448
448
|
--
|
449
449
|
|
450
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
450
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/alert.rb#L34) android
|
451
451
|
|
452
452
|
> def alert_dismiss_text
|
453
453
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
460
460
|
|
461
461
|
--
|
462
462
|
|
463
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [find](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/generic.rb#L44) android
|
464
464
|
|
465
465
|
> def find val
|
466
466
|
|
@@ -477,7 +477,7 @@ __Returns:__
|
|
477
477
|
|
478
478
|
--
|
479
479
|
|
480
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
480
|
+
##### [text](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/generic.rb#L70) android
|
481
481
|
|
482
482
|
> def text text
|
483
483
|
|
@@ -493,7 +493,7 @@ __Returns:__
|
|
493
493
|
|
494
494
|
--
|
495
495
|
|
496
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
496
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/generic.rb#L79) android
|
497
497
|
|
498
498
|
> def texts text
|
499
499
|
|
@@ -509,7 +509,7 @@ __Returns:__
|
|
509
509
|
|
510
510
|
--
|
511
511
|
|
512
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
512
|
+
##### [name](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/generic.rb#L88) android
|
513
513
|
|
514
514
|
> def name name
|
515
515
|
|
@@ -527,7 +527,7 @@ __Returns:__
|
|
527
527
|
|
528
528
|
--
|
529
529
|
|
530
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
530
|
+
##### [names](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/generic.rb#L99) android
|
531
531
|
|
532
532
|
> def names name
|
533
533
|
|
@@ -545,7 +545,7 @@ __Returns:__
|
|
545
545
|
|
546
546
|
--
|
547
547
|
|
548
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
548
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/generic.rb#L108) android
|
549
549
|
|
550
550
|
> def scroll_to text
|
551
551
|
|
@@ -561,7 +561,7 @@ __Returns:__
|
|
561
561
|
|
562
562
|
--
|
563
563
|
|
564
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
564
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/textfield.rb#L7) android
|
565
565
|
|
566
566
|
> def textfields
|
567
567
|
|
@@ -573,7 +573,7 @@ __Returns:__
|
|
573
573
|
|
574
574
|
--
|
575
575
|
|
576
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/textfield.rb#L13) android
|
577
577
|
|
578
578
|
> def e_textfields
|
579
579
|
|
@@ -585,7 +585,7 @@ __Returns:__
|
|
585
585
|
|
586
586
|
--
|
587
587
|
|
588
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
588
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/textfield.rb#L19) android
|
589
589
|
|
590
590
|
> def first_textfield
|
591
591
|
|
@@ -597,7 +597,7 @@ __Returns:__
|
|
597
597
|
|
598
598
|
--
|
599
599
|
|
600
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
600
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/textfield.rb#L25) android
|
601
601
|
|
602
602
|
> def last_textfield
|
603
603
|
|
@@ -609,7 +609,7 @@ __Returns:__
|
|
609
609
|
|
610
610
|
--
|
611
611
|
|
612
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
612
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/textfield.rb#L32) android
|
613
613
|
|
614
614
|
> def textfield text
|
615
615
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
625
625
|
|
626
626
|
--
|
627
627
|
|
628
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
628
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/android/element/textfield.rb#L45) android
|
629
629
|
|
630
630
|
> def textfield_exact text
|
631
631
|
|
@@ -641,7 +641,7 @@ __Returns:__
|
|
641
641
|
|
642
642
|
--
|
643
643
|
|
644
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
644
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L33)
|
645
645
|
|
646
646
|
> def wait max_wait=30, interval=0.5, &block
|
647
647
|
|
@@ -668,7 +668,7 @@ __Returns:__
|
|
668
668
|
|
669
669
|
--
|
670
670
|
|
671
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
671
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L45)
|
672
672
|
|
673
673
|
> def ignore &block
|
674
674
|
|
@@ -676,7 +676,7 @@ Return block.call and ignore any exceptions.
|
|
676
676
|
|
677
677
|
--
|
678
678
|
|
679
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
679
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L55)
|
680
680
|
|
681
681
|
> def wait_true max_wait=30, interval=0.5, &block
|
682
682
|
|
@@ -697,7 +697,7 @@ __Returns:__
|
|
697
697
|
|
698
698
|
--
|
699
699
|
|
700
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
700
|
+
##### [id](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L69)
|
701
701
|
|
702
702
|
> def id id
|
703
703
|
|
@@ -713,7 +713,7 @@ __Returns:__
|
|
713
713
|
|
714
714
|
--
|
715
715
|
|
716
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [back](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L75)
|
717
717
|
|
718
718
|
> def back
|
719
719
|
|
@@ -725,7 +725,7 @@ __Returns:__
|
|
725
725
|
|
726
726
|
--
|
727
727
|
|
728
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
728
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L80)
|
729
729
|
|
730
730
|
> def session_id
|
731
731
|
|
@@ -733,7 +733,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
733
733
|
|
734
734
|
--
|
735
735
|
|
736
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
736
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L88)
|
737
737
|
|
738
738
|
> def xpath xpath_str
|
739
739
|
|
@@ -749,7 +749,7 @@ __Returns:__
|
|
749
749
|
|
750
750
|
--
|
751
751
|
|
752
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L96)
|
753
753
|
|
754
754
|
> def xpaths xpath_str
|
755
755
|
|
@@ -765,7 +765,7 @@ __Returns:__
|
|
765
765
|
|
766
766
|
--
|
767
767
|
|
768
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
768
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L104)
|
769
769
|
|
770
770
|
> def ele_index tag_name, index
|
771
771
|
|
@@ -783,7 +783,7 @@ __Returns:__
|
|
783
783
|
|
784
784
|
--
|
785
785
|
|
786
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
786
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L112)
|
787
787
|
|
788
788
|
> def find_eles tag_name
|
789
789
|
|
@@ -799,7 +799,7 @@ __Returns:__
|
|
799
799
|
|
800
800
|
--
|
801
801
|
|
802
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
802
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L120)
|
803
803
|
|
804
804
|
> def find_ele_by_text tag, text
|
805
805
|
|
@@ -817,7 +817,7 @@ __Returns:__
|
|
817
817
|
|
818
818
|
--
|
819
819
|
|
820
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
820
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L128)
|
821
821
|
|
822
822
|
> def find_eles_by_text tag, text
|
823
823
|
|
@@ -835,7 +835,7 @@ __Returns:__
|
|
835
835
|
|
836
836
|
--
|
837
837
|
|
838
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L137)
|
839
839
|
|
840
840
|
> def find_ele_by_attr_include tag, attr, value
|
841
841
|
|
@@ -855,7 +855,7 @@ __Returns:__
|
|
855
855
|
|
856
856
|
--
|
857
857
|
|
858
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
858
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L146)
|
859
859
|
|
860
860
|
> def find_eles_by_attr_include tag, attr, value
|
861
861
|
|
@@ -875,7 +875,7 @@ __Returns:__
|
|
875
875
|
|
876
876
|
--
|
877
877
|
|
878
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
878
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L155)
|
879
879
|
|
880
880
|
> def find_ele_by_text_include tag, text
|
881
881
|
|
@@ -894,7 +894,7 @@ __Returns:__
|
|
894
894
|
|
895
895
|
--
|
896
896
|
|
897
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
897
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L164)
|
898
898
|
|
899
899
|
> def find_eles_by_text_include tag, text
|
900
900
|
|
@@ -913,7 +913,7 @@ __Returns:__
|
|
913
913
|
|
914
914
|
--
|
915
915
|
|
916
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
916
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L171)
|
917
917
|
|
918
918
|
> def first_ele tag_name
|
919
919
|
|
@@ -929,7 +929,7 @@ __Returns:__
|
|
929
929
|
|
930
930
|
--
|
931
931
|
|
932
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
932
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L179)
|
933
933
|
|
934
934
|
> def last_ele tag_name
|
935
935
|
|
@@ -945,7 +945,7 @@ __Returns:__
|
|
945
945
|
|
946
946
|
--
|
947
947
|
|
948
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
948
|
+
##### [source](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L185)
|
949
949
|
|
950
950
|
> def source
|
951
951
|
|
@@ -957,7 +957,7 @@ __Returns:__
|
|
957
957
|
|
958
958
|
--
|
959
959
|
|
960
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
960
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L191)
|
961
961
|
|
962
962
|
> def get_source
|
963
963
|
|
@@ -969,7 +969,7 @@ __Returns:__
|
|
969
969
|
|
970
970
|
--
|
971
971
|
|
972
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
972
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L200)
|
973
973
|
|
974
974
|
> def find_name name
|
975
975
|
|
@@ -985,7 +985,7 @@ __Returns:__
|
|
985
985
|
|
986
986
|
--
|
987
987
|
|
988
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
988
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L208)
|
989
989
|
|
990
990
|
> def find_names name
|
991
991
|
|
@@ -1001,7 +1001,7 @@ __Returns:__
|
|
1001
1001
|
|
1002
1002
|
--
|
1003
1003
|
|
1004
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1004
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L216)
|
1005
1005
|
|
1006
1006
|
> def tag tag_name
|
1007
1007
|
|
@@ -1017,7 +1017,7 @@ __Returns:__
|
|
1017
1017
|
|
1018
1018
|
--
|
1019
1019
|
|
1020
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1020
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/helper.rb#L226)
|
1021
1021
|
|
1022
1022
|
> def px_to_window_rel opts={}
|
1023
1023
|
|
@@ -1029,7 +1029,7 @@ px_to_window_rel x: 50, y: 150
|
|
1029
1029
|
|
1030
1030
|
--
|
1031
1031
|
|
1032
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1032
|
+
##### [value](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/patch.rb#L32)
|
1033
1033
|
|
1034
1034
|
> def value
|
1035
1035
|
|
@@ -1039,7 +1039,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1039
1039
|
|
1040
1040
|
--
|
1041
1041
|
|
1042
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1042
|
+
##### [name](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/patch.rb#L39)
|
1043
1043
|
|
1044
1044
|
> def name
|
1045
1045
|
|
@@ -1049,7 +1049,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1049
1049
|
|
1050
1050
|
--
|
1051
1051
|
|
1052
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/patch.rb#L46)
|
1053
1053
|
|
1054
1054
|
> def tag_name
|
1055
1055
|
|
@@ -1059,7 +1059,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1059
1059
|
|
1060
1060
|
--
|
1061
1061
|
|
1062
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1062
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/common/patch.rb#L58)
|
1063
1063
|
|
1064
1064
|
> def location_rel
|
1065
1065
|
|
@@ -1077,7 +1077,7 @@ __Returns:__
|
|
1077
1077
|
|
1078
1078
|
--
|
1079
1079
|
|
1080
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1080
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L16)
|
1081
1081
|
|
1082
1082
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1083
1083
|
|
@@ -1085,7 +1085,7 @@ __Returns:__
|
|
1085
1085
|
|
1086
1086
|
--
|
1087
1087
|
|
1088
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1088
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L18)
|
1089
1089
|
|
1090
1090
|
> def awesome_openstruct target
|
1091
1091
|
|
@@ -1093,7 +1093,7 @@ __Returns:__
|
|
1093
1093
|
|
1094
1094
|
--
|
1095
1095
|
|
1096
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1096
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L28)
|
1097
1097
|
|
1098
1098
|
> def load_appium_txt opts
|
1099
1099
|
|
@@ -1110,7 +1110,7 @@ __Returns:__
|
|
1110
1110
|
|
1111
1111
|
--
|
1112
1112
|
|
1113
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1113
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L165)
|
1114
1114
|
|
1115
1115
|
> def self.promote_appium_methods class_array
|
1116
1116
|
|
@@ -1128,7 +1128,7 @@ __Parameters:__
|
|
1128
1128
|
|
1129
1129
|
--
|
1130
1130
|
|
1131
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L479)
|
1132
1132
|
|
1133
1133
|
> def default_wait
|
1134
1134
|
|
@@ -1141,7 +1141,7 @@ __Returns:__
|
|
1141
1141
|
|
1142
1142
|
--
|
1143
1143
|
|
1144
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1144
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1145
1145
|
|
1146
1146
|
> def app_path
|
1147
1147
|
|
@@ -1149,7 +1149,7 @@ Returns the value of attribute app_path
|
|
1149
1149
|
|
1150
1150
|
--
|
1151
1151
|
|
1152
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1152
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1153
1153
|
|
1154
1154
|
> def app_name
|
1155
1155
|
|
@@ -1157,7 +1157,7 @@ Returns the value of attribute app_name
|
|
1157
1157
|
|
1158
1158
|
--
|
1159
1159
|
|
1160
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1160
|
+
##### [device](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1161
1161
|
|
1162
1162
|
> def device
|
1163
1163
|
|
@@ -1165,7 +1165,7 @@ Returns the value of attribute device
|
|
1165
1165
|
|
1166
1166
|
--
|
1167
1167
|
|
1168
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1169
1169
|
|
1170
1170
|
> def app_package
|
1171
1171
|
|
@@ -1173,7 +1173,7 @@ Returns the value of attribute app_package
|
|
1173
1173
|
|
1174
1174
|
--
|
1175
1175
|
|
1176
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1177
1177
|
|
1178
1178
|
> def app_activity
|
1179
1179
|
|
@@ -1181,7 +1181,7 @@ Returns the value of attribute app_activity
|
|
1181
1181
|
|
1182
1182
|
--
|
1183
1183
|
|
1184
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1185
1185
|
|
1186
1186
|
> def app_wait_activity
|
1187
1187
|
|
@@ -1189,7 +1189,7 @@ Returns the value of attribute app_wait_activity
|
|
1189
1189
|
|
1190
1190
|
--
|
1191
1191
|
|
1192
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1193
1193
|
|
1194
1194
|
> def sauce_username
|
1195
1195
|
|
@@ -1197,7 +1197,7 @@ Returns the value of attribute sauce_username
|
|
1197
1197
|
|
1198
1198
|
--
|
1199
1199
|
|
1200
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1200
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1201
1201
|
|
1202
1202
|
> def sauce_access_key
|
1203
1203
|
|
@@ -1205,7 +1205,7 @@ Returns the value of attribute sauce_access_key
|
|
1205
1205
|
|
1206
1206
|
--
|
1207
1207
|
|
1208
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1208
|
+
##### [port](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1209
1209
|
|
1210
1210
|
> def port
|
1211
1211
|
|
@@ -1213,7 +1213,7 @@ Returns the value of attribute port
|
|
1213
1213
|
|
1214
1214
|
--
|
1215
1215
|
|
1216
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1216
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1217
1217
|
|
1218
1218
|
> def debug
|
1219
1219
|
|
@@ -1221,7 +1221,15 @@ Returns the value of attribute debug
|
|
1221
1221
|
|
1222
1222
|
--
|
1223
1223
|
|
1224
|
-
##### [
|
1224
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L194)
|
1225
|
+
|
1226
|
+
> def export_session
|
1227
|
+
|
1228
|
+
Returns the value of attribute export_session
|
1229
|
+
|
1230
|
+
--
|
1231
|
+
|
1232
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L200)
|
1225
1233
|
|
1226
1234
|
> def global_webdriver_http_sleep
|
1227
1235
|
|
@@ -1229,7 +1237,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1229
1237
|
|
1230
1238
|
--
|
1231
1239
|
|
1232
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1240
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L200)
|
1233
1241
|
|
1234
1242
|
> def global_webdriver_http_sleep=(value)
|
1235
1243
|
|
@@ -1237,7 +1245,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1237
1245
|
|
1238
1246
|
--
|
1239
1247
|
|
1240
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L230)
|
1241
1249
|
|
1242
1250
|
> def initialize opts={}
|
1243
1251
|
|
@@ -1278,7 +1286,7 @@ __Returns:__
|
|
1278
1286
|
|
1279
1287
|
--
|
1280
1288
|
|
1281
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1289
|
+
##### [status](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L326)
|
1282
1290
|
|
1283
1291
|
> def status
|
1284
1292
|
|
@@ -1304,7 +1312,7 @@ __Returns:__
|
|
1304
1312
|
|
1305
1313
|
--
|
1306
1314
|
|
1307
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L332)
|
1308
1316
|
|
1309
1317
|
> def server_version
|
1310
1318
|
|
@@ -1316,7 +1324,7 @@ __Returns:__
|
|
1316
1324
|
|
1317
1325
|
--
|
1318
1326
|
|
1319
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L373)
|
1320
1328
|
|
1321
1329
|
> def absolute_app_path
|
1322
1330
|
|
@@ -1328,7 +1336,7 @@ __Returns:__
|
|
1328
1336
|
|
1329
1337
|
--
|
1330
1338
|
|
1331
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L389)
|
1332
1340
|
|
1333
1341
|
> def server_url
|
1334
1342
|
|
@@ -1340,7 +1348,7 @@ __Returns:__
|
|
1340
1348
|
|
1341
1349
|
--
|
1342
1350
|
|
1343
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1351
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L399)
|
1344
1352
|
|
1345
1353
|
> def restart
|
1346
1354
|
|
@@ -1352,7 +1360,7 @@ __Returns:__
|
|
1352
1360
|
|
1353
1361
|
--
|
1354
1362
|
|
1355
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L406)
|
1356
1364
|
|
1357
1365
|
> def driver
|
1358
1366
|
|
@@ -1364,7 +1372,7 @@ __Returns:__
|
|
1364
1372
|
|
1365
1373
|
--
|
1366
1374
|
|
1367
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1375
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L416)
|
1368
1376
|
|
1369
1377
|
> def screenshot png_save_path
|
1370
1378
|
|
@@ -1378,11 +1386,11 @@ __Parameters:__
|
|
1378
1386
|
|
1379
1387
|
__Returns:__
|
1380
1388
|
|
1381
|
-
[
|
1389
|
+
[nil]
|
1382
1390
|
|
1383
1391
|
--
|
1384
1392
|
|
1385
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1393
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L423)
|
1386
1394
|
|
1387
1395
|
> def driver_quit
|
1388
1396
|
|
@@ -1394,7 +1402,7 @@ __Returns:__
|
|
1394
1402
|
|
1395
1403
|
--
|
1396
1404
|
|
1397
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L431)
|
1398
1406
|
|
1399
1407
|
> def start_driver
|
1400
1408
|
|
@@ -1406,7 +1414,7 @@ __Returns:__
|
|
1406
1414
|
|
1407
1415
|
--
|
1408
1416
|
|
1409
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1417
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L465)
|
1410
1418
|
|
1411
1419
|
> def no_wait
|
1412
1420
|
|
@@ -1414,7 +1422,7 @@ Set implicit wait to zero.
|
|
1414
1422
|
|
1415
1423
|
--
|
1416
1424
|
|
1417
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L472)
|
1418
1426
|
|
1419
1427
|
> def set_wait timeout=@default_wait
|
1420
1428
|
|
@@ -1430,7 +1438,7 @@ __Returns:__
|
|
1430
1438
|
|
1431
1439
|
--
|
1432
1440
|
|
1433
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L495)
|
1434
1442
|
|
1435
1443
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1436
1444
|
|
@@ -1456,7 +1464,7 @@ __Returns:__
|
|
1456
1464
|
|
1457
1465
|
--
|
1458
1466
|
|
1459
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1467
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L517)
|
1460
1468
|
|
1461
1469
|
> def execute_script script, *args
|
1462
1470
|
|
@@ -1474,7 +1482,7 @@ __Returns:__
|
|
1474
1482
|
|
1475
1483
|
--
|
1476
1484
|
|
1477
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1485
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L533)
|
1478
1486
|
|
1479
1487
|
> def mobile method, *args
|
1480
1488
|
|
@@ -1500,7 +1508,7 @@ __Returns:__
|
|
1500
1508
|
|
1501
1509
|
--
|
1502
1510
|
|
1503
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1511
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L544)
|
1504
1512
|
|
1505
1513
|
> def find_elements *args
|
1506
1514
|
|
@@ -1516,7 +1524,7 @@ __Returns:__
|
|
1516
1524
|
|
1517
1525
|
--
|
1518
1526
|
|
1519
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1527
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L552)
|
1520
1528
|
|
1521
1529
|
> def find_element *args
|
1522
1530
|
|
@@ -1532,7 +1540,7 @@ __Returns:__
|
|
1532
1540
|
|
1533
1541
|
--
|
1534
1542
|
|
1535
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [x](https://github.com/appium/ruby_lib/blob/5b84a0bd9d9273c704414bdb9a9857b503439b90/lib/appium_lib/driver.rb#L559)
|
1536
1544
|
|
1537
1545
|
> def x
|
1538
1546
|
|