appium_lib 0.19.0 → 0.19.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 +121 -131
- data/docs/ios_docs.md +139 -133
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +25 -14
- data/release_notes.md +16 -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: b561fd1080c7d7df10fa31e15f0664067ec58bf3
|
4
|
+
data.tar.gz: 9cf7ae28a2da303c0b82e6a5ba190a07035e2344
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cefaff5786120ab76161d3b101850d4c2ab30fb067fe1039ef5b123efc392b5c050304ab9a6edbe28ffe754e019b594f4fa010a4ed2210cb4eb9cec4b2f7196b
|
7
|
+
data.tar.gz: ecfa889ec6fe48d08b9af2f6b3fefe295f12c92d0aba624cf06f64f92d9065cce0cc0a7e89643bf07f2a4a41ac05f1ec6633e14e2fb2d2bb443e2fc4bbb5566c
|
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/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L10)
|
2
2
|
|
3
3
|
> def s_texts text=nil
|
4
4
|
|
@@ -15,7 +15,7 @@ __Returns:__
|
|
15
15
|
|
16
16
|
--
|
17
17
|
|
18
|
-
##### [s_texts_names](https://github.com/appium/ruby_lib/blob/
|
18
|
+
##### [s_texts_names](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L18)
|
19
19
|
|
20
20
|
> def s_texts_names
|
21
21
|
|
@@ -23,7 +23,7 @@ __Returns:__
|
|
23
23
|
|
24
24
|
--
|
25
25
|
|
26
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
26
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L24)
|
27
27
|
|
28
28
|
> def e_s_texts
|
29
29
|
|
@@ -35,7 +35,7 @@ __Returns:__
|
|
35
35
|
|
36
36
|
--
|
37
37
|
|
38
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
38
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L30)
|
39
39
|
|
40
40
|
> def first_s_text
|
41
41
|
|
@@ -47,7 +47,7 @@ __Returns:__
|
|
47
47
|
|
48
48
|
--
|
49
49
|
|
50
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
50
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L36)
|
51
51
|
|
52
52
|
> def last_s_text
|
53
53
|
|
@@ -59,7 +59,7 @@ __Returns:__
|
|
59
59
|
|
60
60
|
--
|
61
61
|
|
62
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
62
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L43)
|
63
63
|
|
64
64
|
> def s_text text
|
65
65
|
|
@@ -75,7 +75,7 @@ __Returns:__
|
|
75
75
|
|
76
76
|
--
|
77
77
|
|
78
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L51)
|
79
79
|
|
80
80
|
> def s_text_exact text
|
81
81
|
|
@@ -91,7 +91,7 @@ __Returns:__
|
|
91
91
|
|
92
92
|
--
|
93
93
|
|
94
|
-
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/
|
94
|
+
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/text.rb#L58)
|
95
95
|
|
96
96
|
> def s_texts_exact text
|
97
97
|
|
@@ -107,7 +107,7 @@ __Returns:__
|
|
107
107
|
|
108
108
|
--
|
109
109
|
|
110
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
110
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/window.rb#L5)
|
111
111
|
|
112
112
|
> def window_size
|
113
113
|
|
@@ -115,7 +115,7 @@ Get the window's size
|
|
115
115
|
|
116
116
|
--
|
117
117
|
|
118
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
118
|
+
##### [button](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L8)
|
119
119
|
|
120
120
|
> def button text, number=0
|
121
121
|
|
@@ -133,7 +133,7 @@ __Returns:__
|
|
133
133
|
|
134
134
|
--
|
135
135
|
|
136
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
136
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L19)
|
137
137
|
|
138
138
|
> def buttons text=nil
|
139
139
|
|
@@ -149,7 +149,7 @@ __Returns:__
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L26)
|
153
153
|
|
154
154
|
> def first_button
|
155
155
|
|
@@ -161,7 +161,7 @@ __Returns:__
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L32)
|
165
165
|
|
166
166
|
> def last_button
|
167
167
|
|
@@ -173,7 +173,7 @@ __Returns:__
|
|
173
173
|
|
174
174
|
--
|
175
175
|
|
176
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
176
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L39)
|
177
177
|
|
178
178
|
> def button_exact text
|
179
179
|
|
@@ -189,7 +189,7 @@ __Returns:__
|
|
189
189
|
|
190
190
|
--
|
191
191
|
|
192
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
192
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L46)
|
193
193
|
|
194
194
|
> def buttons_exact text
|
195
195
|
|
@@ -205,7 +205,7 @@ __Returns:__
|
|
205
205
|
|
206
206
|
--
|
207
207
|
|
208
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
208
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L52)
|
209
209
|
|
210
210
|
> def e_buttons
|
211
211
|
|
@@ -217,7 +217,7 @@ __Returns:__
|
|
217
217
|
|
218
218
|
--
|
219
219
|
|
220
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/element/button.rb#L72)
|
221
221
|
|
222
222
|
> def button_num text, number=1
|
223
223
|
|
@@ -246,7 +246,7 @@ __Returns:__
|
|
246
246
|
|
247
247
|
--
|
248
248
|
|
249
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
249
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L6) android
|
250
250
|
|
251
251
|
> def tag_name_to_android tag_name
|
252
252
|
|
@@ -262,7 +262,7 @@ __Returns:__
|
|
262
262
|
|
263
263
|
--
|
264
264
|
|
265
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
265
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L198) android
|
266
266
|
|
267
267
|
> def find_eles_attr tag_name, attribute=nil
|
268
268
|
|
@@ -283,7 +283,7 @@ __Returns:__
|
|
283
283
|
|
284
284
|
--
|
285
285
|
|
286
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L220) android
|
287
287
|
|
288
288
|
> def get_selendroid_inspect
|
289
289
|
|
@@ -296,7 +296,7 @@ __Returns:__
|
|
296
296
|
|
297
297
|
--
|
298
298
|
|
299
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
299
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L282) android
|
300
300
|
|
301
301
|
> def get_page_class
|
302
302
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
304
304
|
|
305
305
|
--
|
306
306
|
|
307
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L310) android
|
308
308
|
|
309
309
|
> def page_class
|
310
310
|
|
@@ -313,7 +313,7 @@ Useful for appium_console.
|
|
313
313
|
|
314
314
|
--
|
315
315
|
|
316
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
316
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L319) android
|
317
317
|
|
318
318
|
> def get_android_inspect
|
319
319
|
|
@@ -327,7 +327,7 @@ __Returns:__
|
|
327
327
|
|
328
328
|
--
|
329
329
|
|
330
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L403) android
|
331
331
|
|
332
332
|
> def get_inspect
|
333
333
|
|
@@ -340,7 +340,7 @@ __Returns:__
|
|
340
340
|
|
341
341
|
--
|
342
342
|
|
343
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
343
|
+
##### [page](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L409) android
|
344
344
|
|
345
345
|
> def page
|
346
346
|
|
@@ -349,7 +349,7 @@ Inspects and prints the current page.
|
|
349
349
|
|
350
350
|
--
|
351
351
|
|
352
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
352
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L421) android
|
353
353
|
|
354
354
|
> def fast_duration
|
355
355
|
|
@@ -363,7 +363,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
363
363
|
|
364
364
|
--
|
365
365
|
|
366
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L427) android
|
367
367
|
|
368
368
|
> def current_app
|
369
369
|
|
@@ -372,7 +372,7 @@ Works on local host only (not remote).
|
|
372
372
|
|
373
373
|
--
|
374
374
|
|
375
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [id](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/helper.rb#L441) android
|
376
376
|
|
377
377
|
> def id id
|
378
378
|
|
@@ -388,7 +388,7 @@ __Returns:__
|
|
388
388
|
|
389
389
|
--
|
390
390
|
|
391
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
391
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/alert.rb#L6) android
|
392
392
|
|
393
393
|
> def alert_click value
|
394
394
|
|
@@ -404,7 +404,7 @@ __Returns:__
|
|
404
404
|
|
405
405
|
--
|
406
406
|
|
407
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
407
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/alert.rb#L13) android
|
408
408
|
|
409
409
|
> def alert_accept
|
410
410
|
|
@@ -417,7 +417,7 @@ __Returns:__
|
|
417
417
|
|
418
418
|
--
|
419
419
|
|
420
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
420
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/alert.rb#L20) android
|
421
421
|
|
422
422
|
> def alert_accept_text
|
423
423
|
|
@@ -430,7 +430,7 @@ __Returns:__
|
|
430
430
|
|
431
431
|
--
|
432
432
|
|
433
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
433
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/alert.rb#L27) android
|
434
434
|
|
435
435
|
> def alert_dismiss
|
436
436
|
|
@@ -443,7 +443,7 @@ __Returns:__
|
|
443
443
|
|
444
444
|
--
|
445
445
|
|
446
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
446
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/alert.rb#L34) android
|
447
447
|
|
448
448
|
> def alert_dismiss_text
|
449
449
|
|
@@ -456,7 +456,7 @@ __Returns:__
|
|
456
456
|
|
457
457
|
--
|
458
458
|
|
459
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
459
|
+
##### [find](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L44) android
|
460
460
|
|
461
461
|
> def find val
|
462
462
|
|
@@ -473,7 +473,7 @@ __Returns:__
|
|
473
473
|
|
474
474
|
--
|
475
475
|
|
476
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L70) android
|
477
477
|
|
478
478
|
> def text text
|
479
479
|
|
@@ -489,7 +489,7 @@ __Returns:__
|
|
489
489
|
|
490
490
|
--
|
491
491
|
|
492
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L79) android
|
493
493
|
|
494
494
|
> def texts text
|
495
495
|
|
@@ -505,7 +505,7 @@ __Returns:__
|
|
505
505
|
|
506
506
|
--
|
507
507
|
|
508
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
508
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L88) android
|
509
509
|
|
510
510
|
> def name name
|
511
511
|
|
@@ -523,7 +523,7 @@ __Returns:__
|
|
523
523
|
|
524
524
|
--
|
525
525
|
|
526
|
-
##### [name_exact](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [name_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L99) android
|
527
527
|
|
528
528
|
> def name_exact name
|
529
529
|
|
@@ -541,7 +541,7 @@ __Returns:__
|
|
541
541
|
|
542
542
|
--
|
543
543
|
|
544
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [names](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L117) android
|
545
545
|
|
546
546
|
> def names name=''
|
547
547
|
|
@@ -559,7 +559,7 @@ __Returns:__
|
|
559
559
|
|
560
560
|
--
|
561
561
|
|
562
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
562
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L131) android
|
563
563
|
|
564
564
|
> def scroll_to text
|
565
565
|
|
@@ -575,7 +575,7 @@ __Returns:__
|
|
575
575
|
|
576
576
|
--
|
577
577
|
|
578
|
-
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/
|
578
|
+
##### [scroll_to_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/generic.rb#L144) android
|
579
579
|
|
580
580
|
> def scroll_to_exact text
|
581
581
|
|
@@ -591,7 +591,7 @@ __Returns:__
|
|
591
591
|
|
592
592
|
--
|
593
593
|
|
594
|
-
##### [attach_to_tab](https://github.com/appium/ruby_lib/blob/
|
594
|
+
##### [attach_to_tab](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/webview/webview.rb#L85) android
|
595
595
|
|
596
596
|
> def attach_to_tab opts={}
|
597
597
|
|
@@ -610,7 +610,7 @@ returns URL of connected tab.
|
|
610
610
|
|
611
611
|
--
|
612
612
|
|
613
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
613
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/textfield.rb#L7) android
|
614
614
|
|
615
615
|
> def textfields
|
616
616
|
|
@@ -622,7 +622,7 @@ __Returns:__
|
|
622
622
|
|
623
623
|
--
|
624
624
|
|
625
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
625
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/textfield.rb#L13) android
|
626
626
|
|
627
627
|
> def e_textfields
|
628
628
|
|
@@ -634,7 +634,7 @@ __Returns:__
|
|
634
634
|
|
635
635
|
--
|
636
636
|
|
637
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
637
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/textfield.rb#L19) android
|
638
638
|
|
639
639
|
> def first_textfield
|
640
640
|
|
@@ -646,7 +646,7 @@ __Returns:__
|
|
646
646
|
|
647
647
|
--
|
648
648
|
|
649
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
649
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/textfield.rb#L25) android
|
650
650
|
|
651
651
|
> def last_textfield
|
652
652
|
|
@@ -658,7 +658,7 @@ __Returns:__
|
|
658
658
|
|
659
659
|
--
|
660
660
|
|
661
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
661
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/textfield.rb#L32) android
|
662
662
|
|
663
663
|
> def textfield text
|
664
664
|
|
@@ -674,7 +674,7 @@ __Returns:__
|
|
674
674
|
|
675
675
|
--
|
676
676
|
|
677
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
677
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/element/textfield.rb#L45) android
|
678
678
|
|
679
679
|
> def textfield_exact text
|
680
680
|
|
@@ -690,7 +690,7 @@ __Returns:__
|
|
690
690
|
|
691
691
|
--
|
692
692
|
|
693
|
-
##### [javascript](https://github.com/appium/ruby_lib/blob/
|
693
|
+
##### [javascript](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/android/webview/javascript.rb#L13) android
|
694
694
|
|
695
695
|
> def javascript
|
696
696
|
|
@@ -699,7 +699,7 @@ AppiumWebview = { 'ok': function() { return 'ok'; }, 'ok2': function() { return
|
|
699
699
|
|
700
700
|
--
|
701
701
|
|
702
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
702
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L33)
|
703
703
|
|
704
704
|
> def wait max_wait=30, interval=0.5, &block
|
705
705
|
|
@@ -726,7 +726,7 @@ __Returns:__
|
|
726
726
|
|
727
727
|
--
|
728
728
|
|
729
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L45)
|
730
730
|
|
731
731
|
> def ignore &block
|
732
732
|
|
@@ -734,7 +734,7 @@ Return block.call and ignore any exceptions.
|
|
734
734
|
|
735
735
|
--
|
736
736
|
|
737
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
737
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L55)
|
738
738
|
|
739
739
|
> def wait_true max_wait=30, interval=0.5, &block
|
740
740
|
|
@@ -755,7 +755,7 @@ __Returns:__
|
|
755
755
|
|
756
756
|
--
|
757
757
|
|
758
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
758
|
+
##### [back](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L68)
|
759
759
|
|
760
760
|
> def back
|
761
761
|
|
@@ -767,7 +767,7 @@ __Returns:__
|
|
767
767
|
|
768
768
|
--
|
769
769
|
|
770
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
770
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L73)
|
771
771
|
|
772
772
|
> def session_id
|
773
773
|
|
@@ -775,7 +775,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
775
775
|
|
776
776
|
--
|
777
777
|
|
778
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
778
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L81)
|
779
779
|
|
780
780
|
> def xpath xpath_str
|
781
781
|
|
@@ -791,7 +791,7 @@ __Returns:__
|
|
791
791
|
|
792
792
|
--
|
793
793
|
|
794
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
794
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L89)
|
795
795
|
|
796
796
|
> def xpaths xpath_str
|
797
797
|
|
@@ -807,7 +807,7 @@ __Returns:__
|
|
807
807
|
|
808
808
|
--
|
809
809
|
|
810
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L97)
|
811
811
|
|
812
812
|
> def ele_index tag_name, index
|
813
813
|
|
@@ -825,7 +825,7 @@ __Returns:__
|
|
825
825
|
|
826
826
|
--
|
827
827
|
|
828
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
828
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L106)
|
829
829
|
|
830
830
|
> def find_eles tag_name
|
831
831
|
|
@@ -841,7 +841,7 @@ __Returns:__
|
|
841
841
|
|
842
842
|
--
|
843
843
|
|
844
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
844
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L114)
|
845
845
|
|
846
846
|
> def find_ele_by_text tag, text
|
847
847
|
|
@@ -859,7 +859,7 @@ __Returns:__
|
|
859
859
|
|
860
860
|
--
|
861
861
|
|
862
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
862
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L122)
|
863
863
|
|
864
864
|
> def find_eles_by_text tag, text
|
865
865
|
|
@@ -877,7 +877,7 @@ __Returns:__
|
|
877
877
|
|
878
878
|
--
|
879
879
|
|
880
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
880
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L131)
|
881
881
|
|
882
882
|
> def find_ele_by_attr_include tag, attr, value
|
883
883
|
|
@@ -897,7 +897,7 @@ __Returns:__
|
|
897
897
|
|
898
898
|
--
|
899
899
|
|
900
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
900
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L140)
|
901
901
|
|
902
902
|
> def find_eles_by_attr_include tag, attr, value
|
903
903
|
|
@@ -917,7 +917,7 @@ __Returns:__
|
|
917
917
|
|
918
918
|
--
|
919
919
|
|
920
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
920
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L149)
|
921
921
|
|
922
922
|
> def find_ele_by_text_include tag, text
|
923
923
|
|
@@ -936,7 +936,7 @@ __Returns:__
|
|
936
936
|
|
937
937
|
--
|
938
938
|
|
939
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
939
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L158)
|
940
940
|
|
941
941
|
> def find_eles_by_text_include tag, text
|
942
942
|
|
@@ -955,7 +955,7 @@ __Returns:__
|
|
955
955
|
|
956
956
|
--
|
957
957
|
|
958
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
958
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L165)
|
959
959
|
|
960
960
|
> def first_ele tag_name
|
961
961
|
|
@@ -971,7 +971,7 @@ __Returns:__
|
|
971
971
|
|
972
972
|
--
|
973
973
|
|
974
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L173)
|
975
975
|
|
976
976
|
> def last_ele tag_name
|
977
977
|
|
@@ -987,7 +987,7 @@ __Returns:__
|
|
987
987
|
|
988
988
|
--
|
989
989
|
|
990
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
990
|
+
##### [source](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L179)
|
991
991
|
|
992
992
|
> def source
|
993
993
|
|
@@ -999,7 +999,7 @@ __Returns:__
|
|
999
999
|
|
1000
1000
|
--
|
1001
1001
|
|
1002
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L185)
|
1003
1003
|
|
1004
1004
|
> def get_source
|
1005
1005
|
|
@@ -1011,7 +1011,7 @@ __Returns:__
|
|
1011
1011
|
|
1012
1012
|
--
|
1013
1013
|
|
1014
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L194)
|
1015
1015
|
|
1016
1016
|
> def find_name name
|
1017
1017
|
|
@@ -1027,7 +1027,7 @@ __Returns:__
|
|
1027
1027
|
|
1028
1028
|
--
|
1029
1029
|
|
1030
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1030
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L202)
|
1031
1031
|
|
1032
1032
|
> def find_names name
|
1033
1033
|
|
@@ -1043,7 +1043,7 @@ __Returns:__
|
|
1043
1043
|
|
1044
1044
|
--
|
1045
1045
|
|
1046
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1046
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L210)
|
1047
1047
|
|
1048
1048
|
> def tag tag_name
|
1049
1049
|
|
@@ -1059,7 +1059,7 @@ __Returns:__
|
|
1059
1059
|
|
1060
1060
|
--
|
1061
1061
|
|
1062
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1062
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L218)
|
1063
1063
|
|
1064
1064
|
> def tags tag_name
|
1065
1065
|
|
@@ -1075,7 +1075,7 @@ __Returns:__
|
|
1075
1075
|
|
1076
1076
|
--
|
1077
1077
|
|
1078
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1078
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L228)
|
1079
1079
|
|
1080
1080
|
> def px_to_window_rel opts={}
|
1081
1081
|
|
@@ -1087,7 +1087,7 @@ px_to_window_rel x: 50, y: 150
|
|
1087
1087
|
|
1088
1088
|
--
|
1089
1089
|
|
1090
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1090
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L238)
|
1091
1091
|
|
1092
1092
|
> def lazy_load_strings
|
1093
1093
|
|
@@ -1095,7 +1095,7 @@ px_to_window_rel x: 50, y: 150
|
|
1095
1095
|
|
1096
1096
|
--
|
1097
1097
|
|
1098
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L245)
|
1099
1099
|
|
1100
1100
|
> def xml_keys target
|
1101
1101
|
|
@@ -1111,7 +1111,7 @@ __Returns:__
|
|
1111
1111
|
|
1112
1112
|
--
|
1113
1113
|
|
1114
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1114
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L253)
|
1115
1115
|
|
1116
1116
|
> def xml_values target
|
1117
1117
|
|
@@ -1127,7 +1127,7 @@ __Returns:__
|
|
1127
1127
|
|
1128
1128
|
--
|
1129
1129
|
|
1130
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1130
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L261)
|
1131
1131
|
|
1132
1132
|
> def resolve_id id
|
1133
1133
|
|
@@ -1143,7 +1143,7 @@ __Returns:__
|
|
1143
1143
|
|
1144
1144
|
--
|
1145
1145
|
|
1146
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/helper.rb#L267)
|
1147
1147
|
|
1148
1148
|
> def raise_no_element_error
|
1149
1149
|
|
@@ -1151,7 +1151,7 @@ Used to error when finding a single element fails.
|
|
1151
1151
|
|
1152
1152
|
--
|
1153
1153
|
|
1154
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [value](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/patch.rb#L32)
|
1155
1155
|
|
1156
1156
|
> def value
|
1157
1157
|
|
@@ -1161,7 +1161,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1161
1161
|
|
1162
1162
|
--
|
1163
1163
|
|
1164
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/patch.rb#L39)
|
1165
1165
|
|
1166
1166
|
> def name
|
1167
1167
|
|
@@ -1171,17 +1171,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1171
1171
|
|
1172
1172
|
--
|
1173
1173
|
|
1174
|
-
##### [
|
1175
|
-
|
1176
|
-
> def tag_name
|
1177
|
-
|
1178
|
-
Returns the type attribute
|
1179
|
-
|
1180
|
-
Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
1181
|
-
|
1182
|
-
--
|
1183
|
-
|
1184
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/f7a2e26b623404b83b2bbd9065aa7b57ab0fd62d/lib/appium_lib/common/patch.rb#L58)
|
1174
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/common/patch.rb#L51)
|
1185
1175
|
|
1186
1176
|
> def location_rel
|
1187
1177
|
|
@@ -1199,7 +1189,7 @@ __Returns:__
|
|
1199
1189
|
|
1200
1190
|
--
|
1201
1191
|
|
1202
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L16)
|
1203
1193
|
|
1204
1194
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1205
1195
|
|
@@ -1207,7 +1197,7 @@ __Returns:__
|
|
1207
1197
|
|
1208
1198
|
--
|
1209
1199
|
|
1210
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1200
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L18)
|
1211
1201
|
|
1212
1202
|
> def awesome_openstruct target
|
1213
1203
|
|
@@ -1215,7 +1205,7 @@ __Returns:__
|
|
1215
1205
|
|
1216
1206
|
--
|
1217
1207
|
|
1218
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1208
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L27)
|
1219
1209
|
|
1220
1210
|
> def load_appium_txt opts
|
1221
1211
|
|
@@ -1232,7 +1222,7 @@ __Returns:__
|
|
1232
1222
|
|
1233
1223
|
--
|
1234
1224
|
|
1235
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1225
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L151)
|
1236
1226
|
|
1237
1227
|
> def self.promote_singleton_appium_methods main_module
|
1238
1228
|
|
@@ -1240,7 +1230,7 @@ __Returns:__
|
|
1240
1230
|
|
1241
1231
|
--
|
1242
1232
|
|
1243
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L181)
|
1244
1234
|
|
1245
1235
|
> def self.promote_appium_methods class_array
|
1246
1236
|
|
@@ -1258,7 +1248,7 @@ __Parameters:__
|
|
1258
1248
|
|
1259
1249
|
--
|
1260
1250
|
|
1261
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1251
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L557)
|
1262
1252
|
|
1263
1253
|
> def default_wait
|
1264
1254
|
|
@@ -1271,7 +1261,7 @@ __Returns:__
|
|
1271
1261
|
|
1272
1262
|
--
|
1273
1263
|
|
1274
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1264
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1275
1265
|
|
1276
1266
|
> def app_path
|
1277
1267
|
|
@@ -1279,7 +1269,7 @@ Returns the value of attribute app_path
|
|
1279
1269
|
|
1280
1270
|
--
|
1281
1271
|
|
1282
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1283
1273
|
|
1284
1274
|
> def app_name
|
1285
1275
|
|
@@ -1287,7 +1277,7 @@ Returns the value of attribute app_name
|
|
1287
1277
|
|
1288
1278
|
--
|
1289
1279
|
|
1290
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1280
|
+
##### [device](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1291
1281
|
|
1292
1282
|
> def device
|
1293
1283
|
|
@@ -1295,7 +1285,7 @@ Returns the value of attribute device
|
|
1295
1285
|
|
1296
1286
|
--
|
1297
1287
|
|
1298
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1288
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1299
1289
|
|
1300
1290
|
> def app_package
|
1301
1291
|
|
@@ -1303,7 +1293,7 @@ Returns the value of attribute app_package
|
|
1303
1293
|
|
1304
1294
|
--
|
1305
1295
|
|
1306
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1296
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1307
1297
|
|
1308
1298
|
> def app_activity
|
1309
1299
|
|
@@ -1311,7 +1301,7 @@ Returns the value of attribute app_activity
|
|
1311
1301
|
|
1312
1302
|
--
|
1313
1303
|
|
1314
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1304
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1315
1305
|
|
1316
1306
|
> def app_wait_activity
|
1317
1307
|
|
@@ -1319,7 +1309,7 @@ Returns the value of attribute app_wait_activity
|
|
1319
1309
|
|
1320
1310
|
--
|
1321
1311
|
|
1322
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1312
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1323
1313
|
|
1324
1314
|
> def sauce_username
|
1325
1315
|
|
@@ -1327,7 +1317,7 @@ Returns the value of attribute sauce_username
|
|
1327
1317
|
|
1328
1318
|
--
|
1329
1319
|
|
1330
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1320
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1331
1321
|
|
1332
1322
|
> def sauce_access_key
|
1333
1323
|
|
@@ -1335,7 +1325,7 @@ Returns the value of attribute sauce_access_key
|
|
1335
1325
|
|
1336
1326
|
--
|
1337
1327
|
|
1338
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1328
|
+
##### [port](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1339
1329
|
|
1340
1330
|
> def port
|
1341
1331
|
|
@@ -1343,7 +1333,7 @@ Returns the value of attribute port
|
|
1343
1333
|
|
1344
1334
|
--
|
1345
1335
|
|
1346
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1336
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1347
1337
|
|
1348
1338
|
> def debug
|
1349
1339
|
|
@@ -1351,7 +1341,7 @@ Returns the value of attribute debug
|
|
1351
1341
|
|
1352
1342
|
--
|
1353
1343
|
|
1354
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1344
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1355
1345
|
|
1356
1346
|
> def export_session
|
1357
1347
|
|
@@ -1359,7 +1349,7 @@ Returns the value of attribute export_session
|
|
1359
1349
|
|
1360
1350
|
--
|
1361
1351
|
|
1362
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1352
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1363
1353
|
|
1364
1354
|
> def device_cap
|
1365
1355
|
|
@@ -1367,7 +1357,7 @@ Returns the value of attribute device_cap
|
|
1367
1357
|
|
1368
1358
|
--
|
1369
1359
|
|
1370
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1360
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1371
1361
|
|
1372
1362
|
> def compress_xml
|
1373
1363
|
|
@@ -1375,7 +1365,7 @@ Returns the value of attribute compress_xml
|
|
1375
1365
|
|
1376
1366
|
--
|
1377
1367
|
|
1378
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1368
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L210)
|
1379
1369
|
|
1380
1370
|
> def custom_url
|
1381
1371
|
|
@@ -1383,7 +1373,7 @@ Returns the value of attribute custom_url
|
|
1383
1373
|
|
1384
1374
|
--
|
1385
1375
|
|
1386
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L216)
|
1387
1377
|
|
1388
1378
|
> def global_webdriver_http_sleep
|
1389
1379
|
|
@@ -1391,7 +1381,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1391
1381
|
|
1392
1382
|
--
|
1393
1383
|
|
1394
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1384
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L216)
|
1395
1385
|
|
1396
1386
|
> def global_webdriver_http_sleep=(value)
|
1397
1387
|
|
@@ -1399,7 +1389,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1399
1389
|
|
1400
1390
|
--
|
1401
1391
|
|
1402
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1392
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L246)
|
1403
1393
|
|
1404
1394
|
> def initialize opts={}
|
1405
1395
|
|
@@ -1440,7 +1430,7 @@ __Returns:__
|
|
1440
1430
|
|
1441
1431
|
--
|
1442
1432
|
|
1443
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [status](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L373)
|
1444
1434
|
|
1445
1435
|
> def status
|
1446
1436
|
|
@@ -1466,7 +1456,7 @@ __Returns:__
|
|
1466
1456
|
|
1467
1457
|
--
|
1468
1458
|
|
1469
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1459
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L379)
|
1470
1460
|
|
1471
1461
|
> def server_version
|
1472
1462
|
|
@@ -1478,7 +1468,7 @@ __Returns:__
|
|
1478
1468
|
|
1479
1469
|
--
|
1480
1470
|
|
1481
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L423)
|
1482
1472
|
|
1483
1473
|
> def absolute_app_path
|
1484
1474
|
|
@@ -1490,7 +1480,7 @@ __Returns:__
|
|
1490
1480
|
|
1491
1481
|
--
|
1492
1482
|
|
1493
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L443)
|
1494
1484
|
|
1495
1485
|
> def server_url
|
1496
1486
|
|
@@ -1502,7 +1492,7 @@ __Returns:__
|
|
1502
1492
|
|
1503
1493
|
--
|
1504
1494
|
|
1505
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1495
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L454)
|
1506
1496
|
|
1507
1497
|
> def restart
|
1508
1498
|
|
@@ -1514,7 +1504,7 @@ __Returns:__
|
|
1514
1504
|
|
1515
1505
|
--
|
1516
1506
|
|
1517
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L461)
|
1518
1508
|
|
1519
1509
|
> def driver
|
1520
1510
|
|
@@ -1526,7 +1516,7 @@ __Returns:__
|
|
1526
1516
|
|
1527
1517
|
--
|
1528
1518
|
|
1529
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1519
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L471)
|
1530
1520
|
|
1531
1521
|
> def screenshot png_save_path
|
1532
1522
|
|
@@ -1544,7 +1534,7 @@ __Returns:__
|
|
1544
1534
|
|
1545
1535
|
--
|
1546
1536
|
|
1547
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L478)
|
1548
1538
|
|
1549
1539
|
> def driver_quit
|
1550
1540
|
|
@@ -1556,7 +1546,7 @@ __Returns:__
|
|
1556
1546
|
|
1557
1547
|
--
|
1558
1548
|
|
1559
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L486)
|
1560
1550
|
|
1561
1551
|
> def start_driver
|
1562
1552
|
|
@@ -1568,7 +1558,7 @@ __Returns:__
|
|
1568
1558
|
|
1569
1559
|
--
|
1570
1560
|
|
1571
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1561
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L520)
|
1572
1562
|
|
1573
1563
|
> def no_wait
|
1574
1564
|
|
@@ -1576,7 +1566,7 @@ Set implicit wait and default_wait to zero.
|
|
1576
1566
|
|
1577
1567
|
--
|
1578
1568
|
|
1579
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1569
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L539)
|
1580
1570
|
|
1581
1571
|
> def set_wait timeout=nil
|
1582
1572
|
|
@@ -1601,7 +1591,7 @@ __Returns:__
|
|
1601
1591
|
|
1602
1592
|
--
|
1603
1593
|
|
1604
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1594
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L573)
|
1605
1595
|
|
1606
1596
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1607
1597
|
|
@@ -1627,7 +1617,7 @@ __Returns:__
|
|
1627
1617
|
|
1628
1618
|
--
|
1629
1619
|
|
1630
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L597)
|
1631
1621
|
|
1632
1622
|
> def execute_script script, *args
|
1633
1623
|
|
@@ -1645,7 +1635,7 @@ __Returns:__
|
|
1645
1635
|
|
1646
1636
|
--
|
1647
1637
|
|
1648
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1638
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L613)
|
1649
1639
|
|
1650
1640
|
> def mobile method, *args
|
1651
1641
|
|
@@ -1671,7 +1661,7 @@ __Returns:__
|
|
1671
1661
|
|
1672
1662
|
--
|
1673
1663
|
|
1674
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1664
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L624)
|
1675
1665
|
|
1676
1666
|
> def find_elements *args
|
1677
1667
|
|
@@ -1687,7 +1677,7 @@ __Returns:__
|
|
1687
1677
|
|
1688
1678
|
--
|
1689
1679
|
|
1690
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1680
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L632)
|
1691
1681
|
|
1692
1682
|
> def find_element *args
|
1693
1683
|
|
@@ -1703,7 +1693,7 @@ __Returns:__
|
|
1703
1693
|
|
1704
1694
|
--
|
1705
1695
|
|
1706
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1696
|
+
##### [x](https://github.com/appium/ruby_lib/blob/6fd332b1715d7b8f4b3b3c99e7ca58e5d4d01b52/lib/appium_lib/driver.rb#L639)
|
1707
1697
|
|
1708
1698
|
> def x
|
1709
1699
|
|