appium_lib 0.18.0 → 0.18.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 +122 -122
- data/docs/ios_docs.md +124 -124
- data/lib/appium_lib/android/helper.rb +1 -1
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +19 -14
- 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: e2d6149eca1d61ca191589d88dc4cdb412ed74f9
|
4
|
+
data.tar.gz: c59ef34a02a8d795cdd416d6537aac1a69bcb0de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b0d3a8f1a4e3e12618de6606b40d42147c02835ae23977965f51c271bcf4f3ee12882fa299fea59da05536fcab62c21c2f76d664dcc5deed6d0659f711091bdc
|
7
|
+
data.tar.gz: 68036211da2473d656f5632611ceffb8e9e7b2d0a7434148b35b0efe61ad390e6f1686d847bd3d9a5f024e3815841096ff529ceee09e8ec40f511a4ce638d8ef
|
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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/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/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/common/patch.rb#L39)
|
1165
1165
|
|
1166
1166
|
> def name
|
1167
1167
|
|
@@ -1171,7 +1171,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1171
1171
|
|
1172
1172
|
--
|
1173
1173
|
|
1174
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/common/patch.rb#L46)
|
1175
1175
|
|
1176
1176
|
> def tag_name
|
1177
1177
|
|
@@ -1181,7 +1181,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1181
1181
|
|
1182
1182
|
--
|
1183
1183
|
|
1184
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/common/patch.rb#L58)
|
1185
1185
|
|
1186
1186
|
> def location_rel
|
1187
1187
|
|
@@ -1199,7 +1199,7 @@ __Returns:__
|
|
1199
1199
|
|
1200
1200
|
--
|
1201
1201
|
|
1202
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1202
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L16)
|
1203
1203
|
|
1204
1204
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1205
1205
|
|
@@ -1207,7 +1207,7 @@ __Returns:__
|
|
1207
1207
|
|
1208
1208
|
--
|
1209
1209
|
|
1210
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1210
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L18)
|
1211
1211
|
|
1212
1212
|
> def awesome_openstruct target
|
1213
1213
|
|
@@ -1215,7 +1215,7 @@ __Returns:__
|
|
1215
1215
|
|
1216
1216
|
--
|
1217
1217
|
|
1218
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1218
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L27)
|
1219
1219
|
|
1220
1220
|
> def load_appium_txt opts
|
1221
1221
|
|
@@ -1232,7 +1232,7 @@ __Returns:__
|
|
1232
1232
|
|
1233
1233
|
--
|
1234
1234
|
|
1235
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L155)
|
1236
1236
|
|
1237
1237
|
> def self.promote_singleton_appium_methods main_module
|
1238
1238
|
|
@@ -1240,7 +1240,7 @@ __Returns:__
|
|
1240
1240
|
|
1241
1241
|
--
|
1242
1242
|
|
1243
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L185)
|
1244
1244
|
|
1245
1245
|
> def self.promote_appium_methods class_array
|
1246
1246
|
|
@@ -1258,7 +1258,7 @@ __Parameters:__
|
|
1258
1258
|
|
1259
1259
|
--
|
1260
1260
|
|
1261
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1261
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L556)
|
1262
1262
|
|
1263
1263
|
> def default_wait
|
1264
1264
|
|
@@ -1271,7 +1271,7 @@ __Returns:__
|
|
1271
1271
|
|
1272
1272
|
--
|
1273
1273
|
|
1274
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1274
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1275
1275
|
|
1276
1276
|
> def app_path
|
1277
1277
|
|
@@ -1279,7 +1279,7 @@ Returns the value of attribute app_path
|
|
1279
1279
|
|
1280
1280
|
--
|
1281
1281
|
|
1282
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1282
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1283
1283
|
|
1284
1284
|
> def app_name
|
1285
1285
|
|
@@ -1287,7 +1287,7 @@ Returns the value of attribute app_name
|
|
1287
1287
|
|
1288
1288
|
--
|
1289
1289
|
|
1290
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1290
|
+
##### [device](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1291
1291
|
|
1292
1292
|
> def device
|
1293
1293
|
|
@@ -1295,7 +1295,7 @@ Returns the value of attribute device
|
|
1295
1295
|
|
1296
1296
|
--
|
1297
1297
|
|
1298
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1298
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1299
1299
|
|
1300
1300
|
> def app_package
|
1301
1301
|
|
@@ -1303,7 +1303,7 @@ Returns the value of attribute app_package
|
|
1303
1303
|
|
1304
1304
|
--
|
1305
1305
|
|
1306
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1306
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1307
1307
|
|
1308
1308
|
> def app_activity
|
1309
1309
|
|
@@ -1311,7 +1311,7 @@ Returns the value of attribute app_activity
|
|
1311
1311
|
|
1312
1312
|
--
|
1313
1313
|
|
1314
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1314
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1315
1315
|
|
1316
1316
|
> def app_wait_activity
|
1317
1317
|
|
@@ -1319,7 +1319,7 @@ Returns the value of attribute app_wait_activity
|
|
1319
1319
|
|
1320
1320
|
--
|
1321
1321
|
|
1322
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1322
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1323
1323
|
|
1324
1324
|
> def sauce_username
|
1325
1325
|
|
@@ -1327,7 +1327,7 @@ Returns the value of attribute sauce_username
|
|
1327
1327
|
|
1328
1328
|
--
|
1329
1329
|
|
1330
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1331
1331
|
|
1332
1332
|
> def sauce_access_key
|
1333
1333
|
|
@@ -1335,7 +1335,7 @@ Returns the value of attribute sauce_access_key
|
|
1335
1335
|
|
1336
1336
|
--
|
1337
1337
|
|
1338
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1338
|
+
##### [port](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1339
1339
|
|
1340
1340
|
> def port
|
1341
1341
|
|
@@ -1343,7 +1343,7 @@ Returns the value of attribute port
|
|
1343
1343
|
|
1344
1344
|
--
|
1345
1345
|
|
1346
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1346
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1347
1347
|
|
1348
1348
|
> def debug
|
1349
1349
|
|
@@ -1351,7 +1351,7 @@ Returns the value of attribute debug
|
|
1351
1351
|
|
1352
1352
|
--
|
1353
1353
|
|
1354
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1355
1355
|
|
1356
1356
|
> def export_session
|
1357
1357
|
|
@@ -1359,7 +1359,7 @@ Returns the value of attribute export_session
|
|
1359
1359
|
|
1360
1360
|
--
|
1361
1361
|
|
1362
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1362
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1363
1363
|
|
1364
1364
|
> def device_cap
|
1365
1365
|
|
@@ -1367,7 +1367,7 @@ Returns the value of attribute device_cap
|
|
1367
1367
|
|
1368
1368
|
--
|
1369
1369
|
|
1370
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1370
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1371
1371
|
|
1372
1372
|
> def compress_xml
|
1373
1373
|
|
@@ -1375,7 +1375,7 @@ Returns the value of attribute compress_xml
|
|
1375
1375
|
|
1376
1376
|
--
|
1377
1377
|
|
1378
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1378
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L214)
|
1379
1379
|
|
1380
1380
|
> def custom_url
|
1381
1381
|
|
@@ -1383,7 +1383,7 @@ Returns the value of attribute custom_url
|
|
1383
1383
|
|
1384
1384
|
--
|
1385
1385
|
|
1386
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1386
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L220)
|
1387
1387
|
|
1388
1388
|
> def global_webdriver_http_sleep
|
1389
1389
|
|
@@ -1391,7 +1391,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1391
1391
|
|
1392
1392
|
--
|
1393
1393
|
|
1394
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L220)
|
1395
1395
|
|
1396
1396
|
> def global_webdriver_http_sleep=(value)
|
1397
1397
|
|
@@ -1399,7 +1399,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1399
1399
|
|
1400
1400
|
--
|
1401
1401
|
|
1402
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1402
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L250)
|
1403
1403
|
|
1404
1404
|
> def initialize opts={}
|
1405
1405
|
|
@@ -1440,7 +1440,7 @@ __Returns:__
|
|
1440
1440
|
|
1441
1441
|
--
|
1442
1442
|
|
1443
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1443
|
+
##### [status](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L372)
|
1444
1444
|
|
1445
1445
|
> def status
|
1446
1446
|
|
@@ -1466,7 +1466,7 @@ __Returns:__
|
|
1466
1466
|
|
1467
1467
|
--
|
1468
1468
|
|
1469
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L378)
|
1470
1470
|
|
1471
1471
|
> def server_version
|
1472
1472
|
|
@@ -1478,7 +1478,7 @@ __Returns:__
|
|
1478
1478
|
|
1479
1479
|
--
|
1480
1480
|
|
1481
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L422)
|
1482
1482
|
|
1483
1483
|
> def absolute_app_path
|
1484
1484
|
|
@@ -1490,7 +1490,7 @@ __Returns:__
|
|
1490
1490
|
|
1491
1491
|
--
|
1492
1492
|
|
1493
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L442)
|
1494
1494
|
|
1495
1495
|
> def server_url
|
1496
1496
|
|
@@ -1502,7 +1502,7 @@ __Returns:__
|
|
1502
1502
|
|
1503
1503
|
--
|
1504
1504
|
|
1505
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1505
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L453)
|
1506
1506
|
|
1507
1507
|
> def restart
|
1508
1508
|
|
@@ -1514,7 +1514,7 @@ __Returns:__
|
|
1514
1514
|
|
1515
1515
|
--
|
1516
1516
|
|
1517
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L460)
|
1518
1518
|
|
1519
1519
|
> def driver
|
1520
1520
|
|
@@ -1526,7 +1526,7 @@ __Returns:__
|
|
1526
1526
|
|
1527
1527
|
--
|
1528
1528
|
|
1529
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1529
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L470)
|
1530
1530
|
|
1531
1531
|
> def screenshot png_save_path
|
1532
1532
|
|
@@ -1544,7 +1544,7 @@ __Returns:__
|
|
1544
1544
|
|
1545
1545
|
--
|
1546
1546
|
|
1547
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1547
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L477)
|
1548
1548
|
|
1549
1549
|
> def driver_quit
|
1550
1550
|
|
@@ -1556,7 +1556,7 @@ __Returns:__
|
|
1556
1556
|
|
1557
1557
|
--
|
1558
1558
|
|
1559
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1559
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L485)
|
1560
1560
|
|
1561
1561
|
> def start_driver
|
1562
1562
|
|
@@ -1568,7 +1568,7 @@ __Returns:__
|
|
1568
1568
|
|
1569
1569
|
--
|
1570
1570
|
|
1571
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1571
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L519)
|
1572
1572
|
|
1573
1573
|
> def no_wait
|
1574
1574
|
|
@@ -1576,7 +1576,7 @@ Set implicit wait and default_wait to zero.
|
|
1576
1576
|
|
1577
1577
|
--
|
1578
1578
|
|
1579
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L538)
|
1580
1580
|
|
1581
1581
|
> def set_wait timeout=nil
|
1582
1582
|
|
@@ -1601,7 +1601,7 @@ __Returns:__
|
|
1601
1601
|
|
1602
1602
|
--
|
1603
1603
|
|
1604
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1604
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L572)
|
1605
1605
|
|
1606
1606
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1607
1607
|
|
@@ -1627,7 +1627,7 @@ __Returns:__
|
|
1627
1627
|
|
1628
1628
|
--
|
1629
1629
|
|
1630
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1630
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L596)
|
1631
1631
|
|
1632
1632
|
> def execute_script script, *args
|
1633
1633
|
|
@@ -1645,7 +1645,7 @@ __Returns:__
|
|
1645
1645
|
|
1646
1646
|
--
|
1647
1647
|
|
1648
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1648
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L612)
|
1649
1649
|
|
1650
1650
|
> def mobile method, *args
|
1651
1651
|
|
@@ -1671,7 +1671,7 @@ __Returns:__
|
|
1671
1671
|
|
1672
1672
|
--
|
1673
1673
|
|
1674
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1674
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L623)
|
1675
1675
|
|
1676
1676
|
> def find_elements *args
|
1677
1677
|
|
@@ -1687,7 +1687,7 @@ __Returns:__
|
|
1687
1687
|
|
1688
1688
|
--
|
1689
1689
|
|
1690
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1690
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L631)
|
1691
1691
|
|
1692
1692
|
> def find_element *args
|
1693
1693
|
|
@@ -1703,7 +1703,7 @@ __Returns:__
|
|
1703
1703
|
|
1704
1704
|
--
|
1705
1705
|
|
1706
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1706
|
+
##### [x](https://github.com/appium/ruby_lib/blob/e0ea2f2d77875b9ffc88d8649b3652c39a1ab51a/lib/appium_lib/driver.rb#L638)
|
1707
1707
|
|
1708
1708
|
> def x
|
1709
1709
|
|