appium_lib 0.15.2 → 0.16.0
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 +120 -120
- data/docs/ios_docs.md +124 -124
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/ios/helper.rb +10 -3
- data/lib/appium_lib/ios/patch.rb +6 -0
- data/release_notes.md +6 -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: ae3ec52b0a0fe21bd0d37d5bb1d92b6f31bea229
|
4
|
+
data.tar.gz: 4191c63e1afa2d8444608f662c82f41d48fcebf2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19b75d806266429ba6e69ebd34a87b0517fb13a88b0c42d82f7e946b9b1af9ee4dcda6b3f6e71ff63574138d18d7226b2c5e3427478f4d9a1bdceae40a7369f8
|
7
|
+
data.tar.gz: ef452656576c6d8e3a4fe1e3760be2472281bb3b15fbf0d499bca74973b40d6d0523bd5d667d1fa1108b658425f8a6172418c84a373cb0294940896ae93be3c6
|
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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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/35b84fd4a0dcf37fe136451c9bcfa936e1017023/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
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
594
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/android/element/textfield.rb#L7) android
|
595
595
|
|
596
596
|
> def textfields
|
597
597
|
|
@@ -603,7 +603,7 @@ __Returns:__
|
|
603
603
|
|
604
604
|
--
|
605
605
|
|
606
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
606
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/android/element/textfield.rb#L13) android
|
607
607
|
|
608
608
|
> def e_textfields
|
609
609
|
|
@@ -615,7 +615,7 @@ __Returns:__
|
|
615
615
|
|
616
616
|
--
|
617
617
|
|
618
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
618
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/android/element/textfield.rb#L19) android
|
619
619
|
|
620
620
|
> def first_textfield
|
621
621
|
|
@@ -627,7 +627,7 @@ __Returns:__
|
|
627
627
|
|
628
628
|
--
|
629
629
|
|
630
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
630
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/android/element/textfield.rb#L25) android
|
631
631
|
|
632
632
|
> def last_textfield
|
633
633
|
|
@@ -639,7 +639,7 @@ __Returns:__
|
|
639
639
|
|
640
640
|
--
|
641
641
|
|
642
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
642
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/android/element/textfield.rb#L32) android
|
643
643
|
|
644
644
|
> def textfield text
|
645
645
|
|
@@ -655,7 +655,7 @@ __Returns:__
|
|
655
655
|
|
656
656
|
--
|
657
657
|
|
658
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
658
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/android/element/textfield.rb#L45) android
|
659
659
|
|
660
660
|
> def textfield_exact text
|
661
661
|
|
@@ -671,7 +671,7 @@ __Returns:__
|
|
671
671
|
|
672
672
|
--
|
673
673
|
|
674
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
674
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L33)
|
675
675
|
|
676
676
|
> def wait max_wait=30, interval=0.5, &block
|
677
677
|
|
@@ -698,7 +698,7 @@ __Returns:__
|
|
698
698
|
|
699
699
|
--
|
700
700
|
|
701
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
701
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L45)
|
702
702
|
|
703
703
|
> def ignore &block
|
704
704
|
|
@@ -706,7 +706,7 @@ Return block.call and ignore any exceptions.
|
|
706
706
|
|
707
707
|
--
|
708
708
|
|
709
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
709
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L55)
|
710
710
|
|
711
711
|
> def wait_true max_wait=30, interval=0.5, &block
|
712
712
|
|
@@ -727,7 +727,7 @@ __Returns:__
|
|
727
727
|
|
728
728
|
--
|
729
729
|
|
730
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
730
|
+
##### [back](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L68)
|
731
731
|
|
732
732
|
> def back
|
733
733
|
|
@@ -739,7 +739,7 @@ __Returns:__
|
|
739
739
|
|
740
740
|
--
|
741
741
|
|
742
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
742
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L73)
|
743
743
|
|
744
744
|
> def session_id
|
745
745
|
|
@@ -747,7 +747,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
747
747
|
|
748
748
|
--
|
749
749
|
|
750
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
750
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L81)
|
751
751
|
|
752
752
|
> def xpath xpath_str
|
753
753
|
|
@@ -763,7 +763,7 @@ __Returns:__
|
|
763
763
|
|
764
764
|
--
|
765
765
|
|
766
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
766
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L89)
|
767
767
|
|
768
768
|
> def xpaths xpath_str
|
769
769
|
|
@@ -779,7 +779,7 @@ __Returns:__
|
|
779
779
|
|
780
780
|
--
|
781
781
|
|
782
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
782
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L97)
|
783
783
|
|
784
784
|
> def ele_index tag_name, index
|
785
785
|
|
@@ -797,7 +797,7 @@ __Returns:__
|
|
797
797
|
|
798
798
|
--
|
799
799
|
|
800
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L106)
|
801
801
|
|
802
802
|
> def find_eles tag_name
|
803
803
|
|
@@ -813,7 +813,7 @@ __Returns:__
|
|
813
813
|
|
814
814
|
--
|
815
815
|
|
816
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
816
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L114)
|
817
817
|
|
818
818
|
> def find_ele_by_text tag, text
|
819
819
|
|
@@ -831,7 +831,7 @@ __Returns:__
|
|
831
831
|
|
832
832
|
--
|
833
833
|
|
834
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
834
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L122)
|
835
835
|
|
836
836
|
> def find_eles_by_text tag, text
|
837
837
|
|
@@ -849,7 +849,7 @@ __Returns:__
|
|
849
849
|
|
850
850
|
--
|
851
851
|
|
852
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
852
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L131)
|
853
853
|
|
854
854
|
> def find_ele_by_attr_include tag, attr, value
|
855
855
|
|
@@ -869,7 +869,7 @@ __Returns:__
|
|
869
869
|
|
870
870
|
--
|
871
871
|
|
872
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
872
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L140)
|
873
873
|
|
874
874
|
> def find_eles_by_attr_include tag, attr, value
|
875
875
|
|
@@ -889,7 +889,7 @@ __Returns:__
|
|
889
889
|
|
890
890
|
--
|
891
891
|
|
892
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
892
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L149)
|
893
893
|
|
894
894
|
> def find_ele_by_text_include tag, text
|
895
895
|
|
@@ -908,7 +908,7 @@ __Returns:__
|
|
908
908
|
|
909
909
|
--
|
910
910
|
|
911
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
911
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L158)
|
912
912
|
|
913
913
|
> def find_eles_by_text_include tag, text
|
914
914
|
|
@@ -927,7 +927,7 @@ __Returns:__
|
|
927
927
|
|
928
928
|
--
|
929
929
|
|
930
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
930
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L165)
|
931
931
|
|
932
932
|
> def first_ele tag_name
|
933
933
|
|
@@ -943,7 +943,7 @@ __Returns:__
|
|
943
943
|
|
944
944
|
--
|
945
945
|
|
946
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
946
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L173)
|
947
947
|
|
948
948
|
> def last_ele tag_name
|
949
949
|
|
@@ -959,7 +959,7 @@ __Returns:__
|
|
959
959
|
|
960
960
|
--
|
961
961
|
|
962
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
962
|
+
##### [source](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L179)
|
963
963
|
|
964
964
|
> def source
|
965
965
|
|
@@ -971,7 +971,7 @@ __Returns:__
|
|
971
971
|
|
972
972
|
--
|
973
973
|
|
974
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
974
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L185)
|
975
975
|
|
976
976
|
> def get_source
|
977
977
|
|
@@ -983,7 +983,7 @@ __Returns:__
|
|
983
983
|
|
984
984
|
--
|
985
985
|
|
986
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
986
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L194)
|
987
987
|
|
988
988
|
> def find_name name
|
989
989
|
|
@@ -999,7 +999,7 @@ __Returns:__
|
|
999
999
|
|
1000
1000
|
--
|
1001
1001
|
|
1002
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L202)
|
1003
1003
|
|
1004
1004
|
> def find_names name
|
1005
1005
|
|
@@ -1015,7 +1015,7 @@ __Returns:__
|
|
1015
1015
|
|
1016
1016
|
--
|
1017
1017
|
|
1018
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1018
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L210)
|
1019
1019
|
|
1020
1020
|
> def tag tag_name
|
1021
1021
|
|
@@ -1031,7 +1031,7 @@ __Returns:__
|
|
1031
1031
|
|
1032
1032
|
--
|
1033
1033
|
|
1034
|
-
##### [tags](https://github.com/appium/ruby_lib/blob/
|
1034
|
+
##### [tags](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L218)
|
1035
1035
|
|
1036
1036
|
> def tags tag_name
|
1037
1037
|
|
@@ -1047,7 +1047,7 @@ __Returns:__
|
|
1047
1047
|
|
1048
1048
|
--
|
1049
1049
|
|
1050
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1050
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L228)
|
1051
1051
|
|
1052
1052
|
> def px_to_window_rel opts={}
|
1053
1053
|
|
@@ -1059,7 +1059,7 @@ px_to_window_rel x: 50, y: 150
|
|
1059
1059
|
|
1060
1060
|
--
|
1061
1061
|
|
1062
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1062
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L238)
|
1063
1063
|
|
1064
1064
|
> def lazy_load_strings
|
1065
1065
|
|
@@ -1067,7 +1067,7 @@ px_to_window_rel x: 50, y: 150
|
|
1067
1067
|
|
1068
1068
|
--
|
1069
1069
|
|
1070
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1070
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L245)
|
1071
1071
|
|
1072
1072
|
> def xml_keys target
|
1073
1073
|
|
@@ -1083,7 +1083,7 @@ __Returns:__
|
|
1083
1083
|
|
1084
1084
|
--
|
1085
1085
|
|
1086
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1086
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L253)
|
1087
1087
|
|
1088
1088
|
> def xml_values target
|
1089
1089
|
|
@@ -1099,7 +1099,7 @@ __Returns:__
|
|
1099
1099
|
|
1100
1100
|
--
|
1101
1101
|
|
1102
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1102
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L261)
|
1103
1103
|
|
1104
1104
|
> def resolve_id id
|
1105
1105
|
|
@@ -1115,7 +1115,7 @@ __Returns:__
|
|
1115
1115
|
|
1116
1116
|
--
|
1117
1117
|
|
1118
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1118
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/helper.rb#L267)
|
1119
1119
|
|
1120
1120
|
> def raise_no_element_error
|
1121
1121
|
|
@@ -1123,7 +1123,7 @@ Used to error when finding a single element fails.
|
|
1123
1123
|
|
1124
1124
|
--
|
1125
1125
|
|
1126
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [value](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/patch.rb#L32)
|
1127
1127
|
|
1128
1128
|
> def value
|
1129
1129
|
|
@@ -1133,7 +1133,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1133
1133
|
|
1134
1134
|
--
|
1135
1135
|
|
1136
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1136
|
+
##### [name](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/patch.rb#L39)
|
1137
1137
|
|
1138
1138
|
> def name
|
1139
1139
|
|
@@ -1143,7 +1143,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1143
1143
|
|
1144
1144
|
--
|
1145
1145
|
|
1146
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/patch.rb#L46)
|
1147
1147
|
|
1148
1148
|
> def tag_name
|
1149
1149
|
|
@@ -1153,7 +1153,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1153
1153
|
|
1154
1154
|
--
|
1155
1155
|
|
1156
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/common/patch.rb#L58)
|
1157
1157
|
|
1158
1158
|
> def location_rel
|
1159
1159
|
|
@@ -1171,7 +1171,7 @@ __Returns:__
|
|
1171
1171
|
|
1172
1172
|
--
|
1173
1173
|
|
1174
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L16)
|
1175
1175
|
|
1176
1176
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1177
1177
|
|
@@ -1179,7 +1179,7 @@ __Returns:__
|
|
1179
1179
|
|
1180
1180
|
--
|
1181
1181
|
|
1182
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1182
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L18)
|
1183
1183
|
|
1184
1184
|
> def awesome_openstruct target
|
1185
1185
|
|
@@ -1187,7 +1187,7 @@ __Returns:__
|
|
1187
1187
|
|
1188
1188
|
--
|
1189
1189
|
|
1190
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1190
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L28)
|
1191
1191
|
|
1192
1192
|
> def load_appium_txt opts
|
1193
1193
|
|
@@ -1204,7 +1204,7 @@ __Returns:__
|
|
1204
1204
|
|
1205
1205
|
--
|
1206
1206
|
|
1207
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1207
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L154)
|
1208
1208
|
|
1209
1209
|
> def self.promote_singleton_appium_methods main_module
|
1210
1210
|
|
@@ -1212,7 +1212,7 @@ __Returns:__
|
|
1212
1212
|
|
1213
1213
|
--
|
1214
1214
|
|
1215
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1215
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L184)
|
1216
1216
|
|
1217
1217
|
> def self.promote_appium_methods class_array
|
1218
1218
|
|
@@ -1230,7 +1230,7 @@ __Parameters:__
|
|
1230
1230
|
|
1231
1231
|
--
|
1232
1232
|
|
1233
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L538)
|
1234
1234
|
|
1235
1235
|
> def default_wait
|
1236
1236
|
|
@@ -1243,7 +1243,7 @@ __Returns:__
|
|
1243
1243
|
|
1244
1244
|
--
|
1245
1245
|
|
1246
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1246
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1247
1247
|
|
1248
1248
|
> def app_path
|
1249
1249
|
|
@@ -1251,7 +1251,7 @@ Returns the value of attribute app_path
|
|
1251
1251
|
|
1252
1252
|
--
|
1253
1253
|
|
1254
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1255
1255
|
|
1256
1256
|
> def app_name
|
1257
1257
|
|
@@ -1259,7 +1259,7 @@ Returns the value of attribute app_name
|
|
1259
1259
|
|
1260
1260
|
--
|
1261
1261
|
|
1262
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1262
|
+
##### [device](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1263
1263
|
|
1264
1264
|
> def device
|
1265
1265
|
|
@@ -1267,7 +1267,7 @@ Returns the value of attribute device
|
|
1267
1267
|
|
1268
1268
|
--
|
1269
1269
|
|
1270
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1270
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1271
1271
|
|
1272
1272
|
> def app_package
|
1273
1273
|
|
@@ -1275,7 +1275,7 @@ Returns the value of attribute app_package
|
|
1275
1275
|
|
1276
1276
|
--
|
1277
1277
|
|
1278
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1278
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1279
1279
|
|
1280
1280
|
> def app_activity
|
1281
1281
|
|
@@ -1283,7 +1283,7 @@ Returns the value of attribute app_activity
|
|
1283
1283
|
|
1284
1284
|
--
|
1285
1285
|
|
1286
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1286
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1287
1287
|
|
1288
1288
|
> def app_wait_activity
|
1289
1289
|
|
@@ -1291,7 +1291,7 @@ Returns the value of attribute app_wait_activity
|
|
1291
1291
|
|
1292
1292
|
--
|
1293
1293
|
|
1294
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1294
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1295
1295
|
|
1296
1296
|
> def sauce_username
|
1297
1297
|
|
@@ -1299,7 +1299,7 @@ Returns the value of attribute sauce_username
|
|
1299
1299
|
|
1300
1300
|
--
|
1301
1301
|
|
1302
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1302
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1303
1303
|
|
1304
1304
|
> def sauce_access_key
|
1305
1305
|
|
@@ -1307,7 +1307,7 @@ Returns the value of attribute sauce_access_key
|
|
1307
1307
|
|
1308
1308
|
--
|
1309
1309
|
|
1310
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1310
|
+
##### [port](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1311
1311
|
|
1312
1312
|
> def port
|
1313
1313
|
|
@@ -1315,7 +1315,7 @@ Returns the value of attribute port
|
|
1315
1315
|
|
1316
1316
|
--
|
1317
1317
|
|
1318
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1318
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1319
1319
|
|
1320
1320
|
> def debug
|
1321
1321
|
|
@@ -1323,7 +1323,7 @@ Returns the value of attribute debug
|
|
1323
1323
|
|
1324
1324
|
--
|
1325
1325
|
|
1326
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1326
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1327
1327
|
|
1328
1328
|
> def export_session
|
1329
1329
|
|
@@ -1331,7 +1331,7 @@ Returns the value of attribute export_session
|
|
1331
1331
|
|
1332
1332
|
--
|
1333
1333
|
|
1334
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1334
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1335
1335
|
|
1336
1336
|
> def device_cap
|
1337
1337
|
|
@@ -1339,7 +1339,7 @@ Returns the value of attribute device_cap
|
|
1339
1339
|
|
1340
1340
|
--
|
1341
1341
|
|
1342
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1342
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1343
1343
|
|
1344
1344
|
> def compress_xml
|
1345
1345
|
|
@@ -1347,7 +1347,7 @@ Returns the value of attribute compress_xml
|
|
1347
1347
|
|
1348
1348
|
--
|
1349
1349
|
|
1350
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1350
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L213)
|
1351
1351
|
|
1352
1352
|
> def custom_url
|
1353
1353
|
|
@@ -1355,7 +1355,7 @@ Returns the value of attribute custom_url
|
|
1355
1355
|
|
1356
1356
|
--
|
1357
1357
|
|
1358
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1358
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L219)
|
1359
1359
|
|
1360
1360
|
> def global_webdriver_http_sleep
|
1361
1361
|
|
@@ -1363,7 +1363,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1363
1363
|
|
1364
1364
|
--
|
1365
1365
|
|
1366
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1366
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L219)
|
1367
1367
|
|
1368
1368
|
> def global_webdriver_http_sleep=(value)
|
1369
1369
|
|
@@ -1371,7 +1371,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1371
1371
|
|
1372
1372
|
--
|
1373
1373
|
|
1374
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1374
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L249)
|
1375
1375
|
|
1376
1376
|
> def initialize opts={}
|
1377
1377
|
|
@@ -1412,7 +1412,7 @@ __Returns:__
|
|
1412
1412
|
|
1413
1413
|
--
|
1414
1414
|
|
1415
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [status](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L357)
|
1416
1416
|
|
1417
1417
|
> def status
|
1418
1418
|
|
@@ -1438,7 +1438,7 @@ __Returns:__
|
|
1438
1438
|
|
1439
1439
|
--
|
1440
1440
|
|
1441
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1441
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L363)
|
1442
1442
|
|
1443
1443
|
> def server_version
|
1444
1444
|
|
@@ -1450,7 +1450,7 @@ __Returns:__
|
|
1450
1450
|
|
1451
1451
|
--
|
1452
1452
|
|
1453
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1453
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L404)
|
1454
1454
|
|
1455
1455
|
> def absolute_app_path
|
1456
1456
|
|
@@ -1462,7 +1462,7 @@ __Returns:__
|
|
1462
1462
|
|
1463
1463
|
--
|
1464
1464
|
|
1465
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1465
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L424)
|
1466
1466
|
|
1467
1467
|
> def server_url
|
1468
1468
|
|
@@ -1474,7 +1474,7 @@ __Returns:__
|
|
1474
1474
|
|
1475
1475
|
--
|
1476
1476
|
|
1477
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1477
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L435)
|
1478
1478
|
|
1479
1479
|
> def restart
|
1480
1480
|
|
@@ -1486,7 +1486,7 @@ __Returns:__
|
|
1486
1486
|
|
1487
1487
|
--
|
1488
1488
|
|
1489
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1489
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L442)
|
1490
1490
|
|
1491
1491
|
> def driver
|
1492
1492
|
|
@@ -1498,7 +1498,7 @@ __Returns:__
|
|
1498
1498
|
|
1499
1499
|
--
|
1500
1500
|
|
1501
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L452)
|
1502
1502
|
|
1503
1503
|
> def screenshot png_save_path
|
1504
1504
|
|
@@ -1516,7 +1516,7 @@ __Returns:__
|
|
1516
1516
|
|
1517
1517
|
--
|
1518
1518
|
|
1519
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1519
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L459)
|
1520
1520
|
|
1521
1521
|
> def driver_quit
|
1522
1522
|
|
@@ -1528,7 +1528,7 @@ __Returns:__
|
|
1528
1528
|
|
1529
1529
|
--
|
1530
1530
|
|
1531
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1531
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L467)
|
1532
1532
|
|
1533
1533
|
> def start_driver
|
1534
1534
|
|
@@ -1540,7 +1540,7 @@ __Returns:__
|
|
1540
1540
|
|
1541
1541
|
--
|
1542
1542
|
|
1543
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L501)
|
1544
1544
|
|
1545
1545
|
> def no_wait
|
1546
1546
|
|
@@ -1548,7 +1548,7 @@ Set implicit wait and default_wait to zero.
|
|
1548
1548
|
|
1549
1549
|
--
|
1550
1550
|
|
1551
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1551
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L520)
|
1552
1552
|
|
1553
1553
|
> def set_wait timeout=nil
|
1554
1554
|
|
@@ -1573,7 +1573,7 @@ __Returns:__
|
|
1573
1573
|
|
1574
1574
|
--
|
1575
1575
|
|
1576
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1576
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L554)
|
1577
1577
|
|
1578
1578
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1579
1579
|
|
@@ -1599,7 +1599,7 @@ __Returns:__
|
|
1599
1599
|
|
1600
1600
|
--
|
1601
1601
|
|
1602
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1602
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L578)
|
1603
1603
|
|
1604
1604
|
> def execute_script script, *args
|
1605
1605
|
|
@@ -1617,7 +1617,7 @@ __Returns:__
|
|
1617
1617
|
|
1618
1618
|
--
|
1619
1619
|
|
1620
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1620
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L594)
|
1621
1621
|
|
1622
1622
|
> def mobile method, *args
|
1623
1623
|
|
@@ -1643,7 +1643,7 @@ __Returns:__
|
|
1643
1643
|
|
1644
1644
|
--
|
1645
1645
|
|
1646
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1646
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L605)
|
1647
1647
|
|
1648
1648
|
> def find_elements *args
|
1649
1649
|
|
@@ -1659,7 +1659,7 @@ __Returns:__
|
|
1659
1659
|
|
1660
1660
|
--
|
1661
1661
|
|
1662
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1662
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L613)
|
1663
1663
|
|
1664
1664
|
> def find_element *args
|
1665
1665
|
|
@@ -1675,7 +1675,7 @@ __Returns:__
|
|
1675
1675
|
|
1676
1676
|
--
|
1677
1677
|
|
1678
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1678
|
+
##### [x](https://github.com/appium/ruby_lib/blob/35b84fd4a0dcf37fe136451c9bcfa936e1017023/lib/appium_lib/driver.rb#L620)
|
1679
1679
|
|
1680
1680
|
> def x
|
1681
1681
|
|