appium_lib 0.6.4 → 0.6.5
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 -106
- data/docs/ios_docs.md +121 -105
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +19 -1
- 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: ea4f8d5592915b477d6c834bcc7b8abb563eb866
|
|
4
|
+
data.tar.gz: c538b3941ee7f45452a4418d75748999bee7c47a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5bc143bf828f8aa842a3aba71b96c94c0f93ea21c319111258838e7fb46fb0185b20bfe679e69703656cd9d08b8bebd6e0f98f3c79533e8133e8123719f91869
|
|
7
|
+
data.tar.gz: f6c14a771adba9eb178d499fee053c78470038624fdf19e07c6cc77f91126d34a2f4ce05ce71c03500c380400946db4919c01c0e0acacd473640fb289b99ddcb
|
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/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/text.rb#L8)
|
|
2
2
|
|
|
3
3
|
> def s_texts
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ __Returns:__
|
|
|
10
10
|
|
|
11
11
|
--
|
|
12
12
|
|
|
13
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
|
13
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/text.rb#L14)
|
|
14
14
|
|
|
15
15
|
> def e_s_texts
|
|
16
16
|
|
|
@@ -22,7 +22,7 @@ __Returns:__
|
|
|
22
22
|
|
|
23
23
|
--
|
|
24
24
|
|
|
25
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
|
25
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/text.rb#L20)
|
|
26
26
|
|
|
27
27
|
> def first_s_text
|
|
28
28
|
|
|
@@ -34,7 +34,7 @@ __Returns:__
|
|
|
34
34
|
|
|
35
35
|
--
|
|
36
36
|
|
|
37
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
|
37
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/text.rb#L26)
|
|
38
38
|
|
|
39
39
|
> def last_s_text
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ __Returns:__
|
|
|
46
46
|
|
|
47
47
|
--
|
|
48
48
|
|
|
49
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
|
49
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/text.rb#L33)
|
|
50
50
|
|
|
51
51
|
> def s_text text
|
|
52
52
|
|
|
@@ -62,7 +62,7 @@ __Returns:__
|
|
|
62
62
|
|
|
63
63
|
--
|
|
64
64
|
|
|
65
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
|
65
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/text.rb#L41)
|
|
66
66
|
|
|
67
67
|
> def s_text_exact text
|
|
68
68
|
|
|
@@ -78,7 +78,7 @@ __Returns:__
|
|
|
78
78
|
|
|
79
79
|
--
|
|
80
80
|
|
|
81
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
81
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/window.rb#L5)
|
|
82
82
|
|
|
83
83
|
> def window_size
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ Get the window's size
|
|
|
86
86
|
|
|
87
87
|
--
|
|
88
88
|
|
|
89
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
89
|
+
##### [button](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L8)
|
|
90
90
|
|
|
91
91
|
> def button text, number=0
|
|
92
92
|
|
|
@@ -104,7 +104,7 @@ __Returns:__
|
|
|
104
104
|
|
|
105
105
|
--
|
|
106
106
|
|
|
107
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
107
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L19)
|
|
108
108
|
|
|
109
109
|
> def buttons text=nil
|
|
110
110
|
|
|
@@ -120,7 +120,7 @@ __Returns:__
|
|
|
120
120
|
|
|
121
121
|
--
|
|
122
122
|
|
|
123
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
123
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L26)
|
|
124
124
|
|
|
125
125
|
> def first_button
|
|
126
126
|
|
|
@@ -132,7 +132,7 @@ __Returns:__
|
|
|
132
132
|
|
|
133
133
|
--
|
|
134
134
|
|
|
135
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
135
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L32)
|
|
136
136
|
|
|
137
137
|
> def last_button
|
|
138
138
|
|
|
@@ -144,7 +144,7 @@ __Returns:__
|
|
|
144
144
|
|
|
145
145
|
--
|
|
146
146
|
|
|
147
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
147
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L39)
|
|
148
148
|
|
|
149
149
|
> def button_exact text
|
|
150
150
|
|
|
@@ -160,7 +160,7 @@ __Returns:__
|
|
|
160
160
|
|
|
161
161
|
--
|
|
162
162
|
|
|
163
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
163
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L46)
|
|
164
164
|
|
|
165
165
|
> def buttons_exact text
|
|
166
166
|
|
|
@@ -176,7 +176,7 @@ __Returns:__
|
|
|
176
176
|
|
|
177
177
|
--
|
|
178
178
|
|
|
179
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
|
179
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L52)
|
|
180
180
|
|
|
181
181
|
> def e_buttons
|
|
182
182
|
|
|
@@ -188,7 +188,7 @@ __Returns:__
|
|
|
188
188
|
|
|
189
189
|
--
|
|
190
190
|
|
|
191
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
|
191
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/element/button.rb#L72)
|
|
192
192
|
|
|
193
193
|
> def button_num text, number=1
|
|
194
194
|
|
|
@@ -217,7 +217,7 @@ __Returns:__
|
|
|
217
217
|
|
|
218
218
|
--
|
|
219
219
|
|
|
220
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
|
220
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L6) android
|
|
221
221
|
|
|
222
222
|
> def tag_name_to_android tag_name
|
|
223
223
|
|
|
@@ -233,7 +233,7 @@ __Returns:__
|
|
|
233
233
|
|
|
234
234
|
--
|
|
235
235
|
|
|
236
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
|
236
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L194) android
|
|
237
237
|
|
|
238
238
|
> def find_eles_attr tag_name, attribute=nil
|
|
239
239
|
|
|
@@ -254,7 +254,7 @@ __Returns:__
|
|
|
254
254
|
|
|
255
255
|
--
|
|
256
256
|
|
|
257
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
|
257
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L216) android
|
|
258
258
|
|
|
259
259
|
> def get_selendroid_inspect
|
|
260
260
|
|
|
@@ -267,7 +267,7 @@ __Returns:__
|
|
|
267
267
|
|
|
268
268
|
--
|
|
269
269
|
|
|
270
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
270
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L278) android
|
|
271
271
|
|
|
272
272
|
> def get_page_class
|
|
273
273
|
|
|
@@ -275,7 +275,7 @@ __Returns:__
|
|
|
275
275
|
|
|
276
276
|
--
|
|
277
277
|
|
|
278
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
278
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L305) android
|
|
279
279
|
|
|
280
280
|
> def page_class
|
|
281
281
|
|
|
@@ -284,7 +284,7 @@ Useful for appium_console.
|
|
|
284
284
|
|
|
285
285
|
--
|
|
286
286
|
|
|
287
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
|
287
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L314) android
|
|
288
288
|
|
|
289
289
|
> def get_android_inspect
|
|
290
290
|
|
|
@@ -298,7 +298,7 @@ __Returns:__
|
|
|
298
298
|
|
|
299
299
|
--
|
|
300
300
|
|
|
301
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
|
301
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L363) android
|
|
302
302
|
|
|
303
303
|
> def get_inspect
|
|
304
304
|
|
|
@@ -311,7 +311,7 @@ __Returns:__
|
|
|
311
311
|
|
|
312
312
|
--
|
|
313
313
|
|
|
314
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
314
|
+
##### [page](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L369) android
|
|
315
315
|
|
|
316
316
|
> def page
|
|
317
317
|
|
|
@@ -320,7 +320,7 @@ Inspects and prints the current page.
|
|
|
320
320
|
|
|
321
321
|
--
|
|
322
322
|
|
|
323
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
|
323
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L382) android
|
|
324
324
|
|
|
325
325
|
> def fast_duration
|
|
326
326
|
|
|
@@ -335,7 +335,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
|
335
335
|
|
|
336
336
|
--
|
|
337
337
|
|
|
338
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
338
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L389) android
|
|
339
339
|
|
|
340
340
|
> def xml_keys target
|
|
341
341
|
|
|
@@ -351,7 +351,7 @@ __Returns:__
|
|
|
351
351
|
|
|
352
352
|
--
|
|
353
353
|
|
|
354
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
354
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L396) android
|
|
355
355
|
|
|
356
356
|
> def xml_values target
|
|
357
357
|
|
|
@@ -367,7 +367,7 @@ __Returns:__
|
|
|
367
367
|
|
|
368
368
|
--
|
|
369
369
|
|
|
370
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
370
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L403) android
|
|
371
371
|
|
|
372
372
|
> def resolve_id id
|
|
373
373
|
|
|
@@ -383,7 +383,7 @@ __Returns:__
|
|
|
383
383
|
|
|
384
384
|
--
|
|
385
385
|
|
|
386
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
|
386
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/helper.rb#L409) android
|
|
387
387
|
|
|
388
388
|
> def current_app
|
|
389
389
|
|
|
@@ -392,7 +392,7 @@ Works on local host only (not remote).
|
|
|
392
392
|
|
|
393
393
|
--
|
|
394
394
|
|
|
395
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
395
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/alert.rb#L6) android
|
|
396
396
|
|
|
397
397
|
> def alert_click value
|
|
398
398
|
|
|
@@ -408,7 +408,7 @@ __Returns:__
|
|
|
408
408
|
|
|
409
409
|
--
|
|
410
410
|
|
|
411
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
411
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/alert.rb#L13) android
|
|
412
412
|
|
|
413
413
|
> def alert_accept
|
|
414
414
|
|
|
@@ -421,7 +421,7 @@ __Returns:__
|
|
|
421
421
|
|
|
422
422
|
--
|
|
423
423
|
|
|
424
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
424
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/alert.rb#L20) android
|
|
425
425
|
|
|
426
426
|
> def alert_accept_text
|
|
427
427
|
|
|
@@ -434,7 +434,7 @@ __Returns:__
|
|
|
434
434
|
|
|
435
435
|
--
|
|
436
436
|
|
|
437
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
437
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/alert.rb#L27) android
|
|
438
438
|
|
|
439
439
|
> def alert_dismiss
|
|
440
440
|
|
|
@@ -447,7 +447,7 @@ __Returns:__
|
|
|
447
447
|
|
|
448
448
|
--
|
|
449
449
|
|
|
450
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
450
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/alert.rb#L34) android
|
|
451
451
|
|
|
452
452
|
> def alert_dismiss_text
|
|
453
453
|
|
|
@@ -460,7 +460,7 @@ __Returns:__
|
|
|
460
460
|
|
|
461
461
|
--
|
|
462
462
|
|
|
463
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
463
|
+
##### [find](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/generic.rb#L44) android
|
|
464
464
|
|
|
465
465
|
> def find val
|
|
466
466
|
|
|
@@ -477,7 +477,7 @@ __Returns:__
|
|
|
477
477
|
|
|
478
478
|
--
|
|
479
479
|
|
|
480
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
480
|
+
##### [text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/generic.rb#L70) android
|
|
481
481
|
|
|
482
482
|
> def text text
|
|
483
483
|
|
|
@@ -493,7 +493,7 @@ __Returns:__
|
|
|
493
493
|
|
|
494
494
|
--
|
|
495
495
|
|
|
496
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
496
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/generic.rb#L79) android
|
|
497
497
|
|
|
498
498
|
> def texts text
|
|
499
499
|
|
|
@@ -509,7 +509,7 @@ __Returns:__
|
|
|
509
509
|
|
|
510
510
|
--
|
|
511
511
|
|
|
512
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
512
|
+
##### [name](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/generic.rb#L88) android
|
|
513
513
|
|
|
514
514
|
> def name name
|
|
515
515
|
|
|
@@ -527,7 +527,7 @@ __Returns:__
|
|
|
527
527
|
|
|
528
528
|
--
|
|
529
529
|
|
|
530
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
|
530
|
+
##### [names](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/generic.rb#L99) android
|
|
531
531
|
|
|
532
532
|
> def names name
|
|
533
533
|
|
|
@@ -545,7 +545,7 @@ __Returns:__
|
|
|
545
545
|
|
|
546
546
|
--
|
|
547
547
|
|
|
548
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
|
548
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/generic.rb#L108) android
|
|
549
549
|
|
|
550
550
|
> def scroll_to text
|
|
551
551
|
|
|
@@ -561,7 +561,7 @@ __Returns:__
|
|
|
561
561
|
|
|
562
562
|
--
|
|
563
563
|
|
|
564
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
564
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/textfield.rb#L7) android
|
|
565
565
|
|
|
566
566
|
> def textfields
|
|
567
567
|
|
|
@@ -573,7 +573,7 @@ __Returns:__
|
|
|
573
573
|
|
|
574
574
|
--
|
|
575
575
|
|
|
576
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
|
576
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/textfield.rb#L13) android
|
|
577
577
|
|
|
578
578
|
> def e_textfields
|
|
579
579
|
|
|
@@ -585,7 +585,7 @@ __Returns:__
|
|
|
585
585
|
|
|
586
586
|
--
|
|
587
587
|
|
|
588
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
588
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/textfield.rb#L19) android
|
|
589
589
|
|
|
590
590
|
> def first_textfield
|
|
591
591
|
|
|
@@ -597,7 +597,7 @@ __Returns:__
|
|
|
597
597
|
|
|
598
598
|
--
|
|
599
599
|
|
|
600
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
600
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/textfield.rb#L25) android
|
|
601
601
|
|
|
602
602
|
> def last_textfield
|
|
603
603
|
|
|
@@ -609,7 +609,7 @@ __Returns:__
|
|
|
609
609
|
|
|
610
610
|
--
|
|
611
611
|
|
|
612
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
612
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/textfield.rb#L32) android
|
|
613
613
|
|
|
614
614
|
> def textfield text
|
|
615
615
|
|
|
@@ -625,7 +625,7 @@ __Returns:__
|
|
|
625
625
|
|
|
626
626
|
--
|
|
627
627
|
|
|
628
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
628
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/android/element/textfield.rb#L45) android
|
|
629
629
|
|
|
630
630
|
> def textfield_exact text
|
|
631
631
|
|
|
@@ -641,7 +641,7 @@ __Returns:__
|
|
|
641
641
|
|
|
642
642
|
--
|
|
643
643
|
|
|
644
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
644
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L33)
|
|
645
645
|
|
|
646
646
|
> def wait max_wait=30, interval=0.5, &block
|
|
647
647
|
|
|
@@ -668,7 +668,7 @@ __Returns:__
|
|
|
668
668
|
|
|
669
669
|
--
|
|
670
670
|
|
|
671
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
671
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L45)
|
|
672
672
|
|
|
673
673
|
> def ignore &block
|
|
674
674
|
|
|
@@ -676,7 +676,7 @@ Return block.call and ignore any exceptions.
|
|
|
676
676
|
|
|
677
677
|
--
|
|
678
678
|
|
|
679
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
679
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L55)
|
|
680
680
|
|
|
681
681
|
> def wait_true max_wait=30, interval=0.5, &block
|
|
682
682
|
|
|
@@ -697,7 +697,7 @@ __Returns:__
|
|
|
697
697
|
|
|
698
698
|
--
|
|
699
699
|
|
|
700
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
700
|
+
##### [id](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L69)
|
|
701
701
|
|
|
702
702
|
> def id id
|
|
703
703
|
|
|
@@ -713,7 +713,7 @@ __Returns:__
|
|
|
713
713
|
|
|
714
714
|
--
|
|
715
715
|
|
|
716
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
716
|
+
##### [back](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L75)
|
|
717
717
|
|
|
718
718
|
> def back
|
|
719
719
|
|
|
@@ -725,7 +725,7 @@ __Returns:__
|
|
|
725
725
|
|
|
726
726
|
--
|
|
727
727
|
|
|
728
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
728
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L80)
|
|
729
729
|
|
|
730
730
|
> def session_id
|
|
731
731
|
|
|
@@ -733,7 +733,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
733
733
|
|
|
734
734
|
--
|
|
735
735
|
|
|
736
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
736
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L88)
|
|
737
737
|
|
|
738
738
|
> def xpath xpath_str
|
|
739
739
|
|
|
@@ -749,7 +749,7 @@ __Returns:__
|
|
|
749
749
|
|
|
750
750
|
--
|
|
751
751
|
|
|
752
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
752
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L96)
|
|
753
753
|
|
|
754
754
|
> def xpaths xpath_str
|
|
755
755
|
|
|
@@ -765,7 +765,7 @@ __Returns:__
|
|
|
765
765
|
|
|
766
766
|
--
|
|
767
767
|
|
|
768
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
768
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L104)
|
|
769
769
|
|
|
770
770
|
> def ele_index tag_name, index
|
|
771
771
|
|
|
@@ -783,7 +783,7 @@ __Returns:__
|
|
|
783
783
|
|
|
784
784
|
--
|
|
785
785
|
|
|
786
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
|
786
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L112)
|
|
787
787
|
|
|
788
788
|
> def find_eles tag_name
|
|
789
789
|
|
|
@@ -799,7 +799,7 @@ __Returns:__
|
|
|
799
799
|
|
|
800
800
|
--
|
|
801
801
|
|
|
802
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
|
802
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L120)
|
|
803
803
|
|
|
804
804
|
> def find_ele_by_text tag, text
|
|
805
805
|
|
|
@@ -817,7 +817,7 @@ __Returns:__
|
|
|
817
817
|
|
|
818
818
|
--
|
|
819
819
|
|
|
820
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
|
820
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L128)
|
|
821
821
|
|
|
822
822
|
> def find_eles_by_text tag, text
|
|
823
823
|
|
|
@@ -835,7 +835,7 @@ __Returns:__
|
|
|
835
835
|
|
|
836
836
|
--
|
|
837
837
|
|
|
838
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
838
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L137)
|
|
839
839
|
|
|
840
840
|
> def find_ele_by_attr_include tag, attr, value
|
|
841
841
|
|
|
@@ -855,7 +855,7 @@ __Returns:__
|
|
|
855
855
|
|
|
856
856
|
--
|
|
857
857
|
|
|
858
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
858
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L146)
|
|
859
859
|
|
|
860
860
|
> def find_eles_by_attr_include tag, attr, value
|
|
861
861
|
|
|
@@ -875,7 +875,7 @@ __Returns:__
|
|
|
875
875
|
|
|
876
876
|
--
|
|
877
877
|
|
|
878
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
878
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L155)
|
|
879
879
|
|
|
880
880
|
> def find_ele_by_text_include tag, text
|
|
881
881
|
|
|
@@ -894,7 +894,7 @@ __Returns:__
|
|
|
894
894
|
|
|
895
895
|
--
|
|
896
896
|
|
|
897
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
897
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L164)
|
|
898
898
|
|
|
899
899
|
> def find_eles_by_text_include tag, text
|
|
900
900
|
|
|
@@ -913,7 +913,7 @@ __Returns:__
|
|
|
913
913
|
|
|
914
914
|
--
|
|
915
915
|
|
|
916
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
916
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L171)
|
|
917
917
|
|
|
918
918
|
> def first_ele tag_name
|
|
919
919
|
|
|
@@ -929,7 +929,7 @@ __Returns:__
|
|
|
929
929
|
|
|
930
930
|
--
|
|
931
931
|
|
|
932
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
932
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L179)
|
|
933
933
|
|
|
934
934
|
> def last_ele tag_name
|
|
935
935
|
|
|
@@ -945,7 +945,7 @@ __Returns:__
|
|
|
945
945
|
|
|
946
946
|
--
|
|
947
947
|
|
|
948
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
948
|
+
##### [source](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L185)
|
|
949
949
|
|
|
950
950
|
> def source
|
|
951
951
|
|
|
@@ -957,7 +957,7 @@ __Returns:__
|
|
|
957
957
|
|
|
958
958
|
--
|
|
959
959
|
|
|
960
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
960
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L191)
|
|
961
961
|
|
|
962
962
|
> def get_source
|
|
963
963
|
|
|
@@ -969,7 +969,7 @@ __Returns:__
|
|
|
969
969
|
|
|
970
970
|
--
|
|
971
971
|
|
|
972
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
|
972
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L200)
|
|
973
973
|
|
|
974
974
|
> def find_name name
|
|
975
975
|
|
|
@@ -985,7 +985,7 @@ __Returns:__
|
|
|
985
985
|
|
|
986
986
|
--
|
|
987
987
|
|
|
988
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
|
988
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L208)
|
|
989
989
|
|
|
990
990
|
> def find_names name
|
|
991
991
|
|
|
@@ -1001,7 +1001,7 @@ __Returns:__
|
|
|
1001
1001
|
|
|
1002
1002
|
--
|
|
1003
1003
|
|
|
1004
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1004
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L216)
|
|
1005
1005
|
|
|
1006
1006
|
> def tag tag_name
|
|
1007
1007
|
|
|
@@ -1017,7 +1017,7 @@ __Returns:__
|
|
|
1017
1017
|
|
|
1018
1018
|
--
|
|
1019
1019
|
|
|
1020
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1020
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/helper.rb#L226)
|
|
1021
1021
|
|
|
1022
1022
|
> def px_to_window_rel opts={}
|
|
1023
1023
|
|
|
@@ -1029,7 +1029,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1029
1029
|
|
|
1030
1030
|
--
|
|
1031
1031
|
|
|
1032
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
1032
|
+
##### [value](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/patch.rb#L32)
|
|
1033
1033
|
|
|
1034
1034
|
> def value
|
|
1035
1035
|
|
|
@@ -1039,7 +1039,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
1039
1039
|
|
|
1040
1040
|
--
|
|
1041
1041
|
|
|
1042
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
1042
|
+
##### [name](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/patch.rb#L39)
|
|
1043
1043
|
|
|
1044
1044
|
> def name
|
|
1045
1045
|
|
|
@@ -1049,7 +1049,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
1049
1049
|
|
|
1050
1050
|
--
|
|
1051
1051
|
|
|
1052
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
|
1052
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/patch.rb#L46)
|
|
1053
1053
|
|
|
1054
1054
|
> def tag_name
|
|
1055
1055
|
|
|
@@ -1059,7 +1059,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
|
1059
1059
|
|
|
1060
1060
|
--
|
|
1061
1061
|
|
|
1062
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
1062
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/common/patch.rb#L58)
|
|
1063
1063
|
|
|
1064
1064
|
> def location_rel
|
|
1065
1065
|
|
|
@@ -1077,7 +1077,7 @@ __Returns:__
|
|
|
1077
1077
|
|
|
1078
1078
|
--
|
|
1079
1079
|
|
|
1080
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
|
1080
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L16)
|
|
1081
1081
|
|
|
1082
1082
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
|
1083
1083
|
|
|
@@ -1085,7 +1085,7 @@ __Returns:__
|
|
|
1085
1085
|
|
|
1086
1086
|
--
|
|
1087
1087
|
|
|
1088
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
|
1088
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L18)
|
|
1089
1089
|
|
|
1090
1090
|
> def awesome_openstruct target
|
|
1091
1091
|
|
|
@@ -1093,7 +1093,7 @@ __Returns:__
|
|
|
1093
1093
|
|
|
1094
1094
|
--
|
|
1095
1095
|
|
|
1096
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
|
1096
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L28)
|
|
1097
1097
|
|
|
1098
1098
|
> def load_appium_txt opts
|
|
1099
1099
|
|
|
@@ -1110,7 +1110,7 @@ __Returns:__
|
|
|
1110
1110
|
|
|
1111
1111
|
--
|
|
1112
1112
|
|
|
1113
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
1113
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L147)
|
|
1114
1114
|
|
|
1115
1115
|
> def self.promote_appium_methods class_array
|
|
1116
1116
|
|
|
@@ -1128,7 +1128,7 @@ __Parameters:__
|
|
|
1128
1128
|
|
|
1129
1129
|
--
|
|
1130
1130
|
|
|
1131
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
1131
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L447)
|
|
1132
1132
|
|
|
1133
1133
|
> def default_wait
|
|
1134
1134
|
|
|
@@ -1141,7 +1141,7 @@ __Returns:__
|
|
|
1141
1141
|
|
|
1142
1142
|
--
|
|
1143
1143
|
|
|
1144
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
|
1144
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1145
1145
|
|
|
1146
1146
|
> def app_path
|
|
1147
1147
|
|
|
@@ -1149,7 +1149,7 @@ Returns the value of attribute app_path
|
|
|
1149
1149
|
|
|
1150
1150
|
--
|
|
1151
1151
|
|
|
1152
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
|
1152
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1153
1153
|
|
|
1154
1154
|
> def app_name
|
|
1155
1155
|
|
|
@@ -1157,7 +1157,7 @@ Returns the value of attribute app_name
|
|
|
1157
1157
|
|
|
1158
1158
|
--
|
|
1159
1159
|
|
|
1160
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
|
1160
|
+
##### [device](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1161
1161
|
|
|
1162
1162
|
> def device
|
|
1163
1163
|
|
|
@@ -1165,7 +1165,7 @@ Returns the value of attribute device
|
|
|
1165
1165
|
|
|
1166
1166
|
--
|
|
1167
1167
|
|
|
1168
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
|
1168
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1169
1169
|
|
|
1170
1170
|
> def app_package
|
|
1171
1171
|
|
|
@@ -1173,7 +1173,7 @@ Returns the value of attribute app_package
|
|
|
1173
1173
|
|
|
1174
1174
|
--
|
|
1175
1175
|
|
|
1176
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
|
1176
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1177
1177
|
|
|
1178
1178
|
> def app_activity
|
|
1179
1179
|
|
|
@@ -1181,7 +1181,7 @@ Returns the value of attribute app_activity
|
|
|
1181
1181
|
|
|
1182
1182
|
--
|
|
1183
1183
|
|
|
1184
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
|
1184
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1185
1185
|
|
|
1186
1186
|
> def app_wait_activity
|
|
1187
1187
|
|
|
@@ -1189,7 +1189,7 @@ Returns the value of attribute app_wait_activity
|
|
|
1189
1189
|
|
|
1190
1190
|
--
|
|
1191
1191
|
|
|
1192
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
1192
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1193
1193
|
|
|
1194
1194
|
> def sauce_username
|
|
1195
1195
|
|
|
@@ -1197,7 +1197,7 @@ Returns the value of attribute sauce_username
|
|
|
1197
1197
|
|
|
1198
1198
|
--
|
|
1199
1199
|
|
|
1200
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
1200
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1201
1201
|
|
|
1202
1202
|
> def sauce_access_key
|
|
1203
1203
|
|
|
@@ -1205,7 +1205,7 @@ Returns the value of attribute sauce_access_key
|
|
|
1205
1205
|
|
|
1206
1206
|
--
|
|
1207
1207
|
|
|
1208
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
|
1208
|
+
##### [port](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1209
1209
|
|
|
1210
1210
|
> def port
|
|
1211
1211
|
|
|
@@ -1213,7 +1213,7 @@ Returns the value of attribute port
|
|
|
1213
1213
|
|
|
1214
1214
|
--
|
|
1215
1215
|
|
|
1216
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
|
1216
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L176)
|
|
1217
1217
|
|
|
1218
1218
|
> def debug
|
|
1219
1219
|
|
|
@@ -1221,7 +1221,23 @@ Returns the value of attribute debug
|
|
|
1221
1221
|
|
|
1222
1222
|
--
|
|
1223
1223
|
|
|
1224
|
-
##### [
|
|
1224
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L181)
|
|
1225
|
+
|
|
1226
|
+
> def global_webdriver_http_sleep
|
|
1227
|
+
|
|
1228
|
+
The amount to sleep in seconds before every webdriver http call.
|
|
1229
|
+
|
|
1230
|
+
--
|
|
1231
|
+
|
|
1232
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L181)
|
|
1233
|
+
|
|
1234
|
+
> def global_webdriver_http_sleep=(value)
|
|
1235
|
+
|
|
1236
|
+
The amount to sleep in seconds before every webdriver http call.
|
|
1237
|
+
|
|
1238
|
+
--
|
|
1239
|
+
|
|
1240
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L211)
|
|
1225
1241
|
|
|
1226
1242
|
> def initialize opts={}
|
|
1227
1243
|
|
|
@@ -1262,7 +1278,7 @@ __Returns:__
|
|
|
1262
1278
|
|
|
1263
1279
|
--
|
|
1264
1280
|
|
|
1265
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
|
1281
|
+
##### [status](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L305)
|
|
1266
1282
|
|
|
1267
1283
|
> def status
|
|
1268
1284
|
|
|
@@ -1288,7 +1304,7 @@ __Returns:__
|
|
|
1288
1304
|
|
|
1289
1305
|
--
|
|
1290
1306
|
|
|
1291
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
|
1307
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L311)
|
|
1292
1308
|
|
|
1293
1309
|
> def server_version
|
|
1294
1310
|
|
|
@@ -1300,7 +1316,7 @@ __Returns:__
|
|
|
1300
1316
|
|
|
1301
1317
|
--
|
|
1302
1318
|
|
|
1303
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
1319
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L352)
|
|
1304
1320
|
|
|
1305
1321
|
> def absolute_app_path
|
|
1306
1322
|
|
|
@@ -1312,7 +1328,7 @@ __Returns:__
|
|
|
1312
1328
|
|
|
1313
1329
|
--
|
|
1314
1330
|
|
|
1315
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
1331
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L368)
|
|
1316
1332
|
|
|
1317
1333
|
> def server_url
|
|
1318
1334
|
|
|
@@ -1324,7 +1340,7 @@ __Returns:__
|
|
|
1324
1340
|
|
|
1325
1341
|
--
|
|
1326
1342
|
|
|
1327
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
1343
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L378)
|
|
1328
1344
|
|
|
1329
1345
|
> def restart
|
|
1330
1346
|
|
|
@@ -1336,7 +1352,7 @@ __Returns:__
|
|
|
1336
1352
|
|
|
1337
1353
|
--
|
|
1338
1354
|
|
|
1339
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
1355
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L385)
|
|
1340
1356
|
|
|
1341
1357
|
> def driver
|
|
1342
1358
|
|
|
@@ -1348,7 +1364,7 @@ __Returns:__
|
|
|
1348
1364
|
|
|
1349
1365
|
--
|
|
1350
1366
|
|
|
1351
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
1367
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L395)
|
|
1352
1368
|
|
|
1353
1369
|
> def screenshot png_save_path
|
|
1354
1370
|
|
|
@@ -1366,7 +1382,7 @@ __Returns:__
|
|
|
1366
1382
|
|
|
1367
1383
|
--
|
|
1368
1384
|
|
|
1369
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
1385
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L401)
|
|
1370
1386
|
|
|
1371
1387
|
> def driver_quit
|
|
1372
1388
|
|
|
@@ -1378,7 +1394,7 @@ __Returns:__
|
|
|
1378
1394
|
|
|
1379
1395
|
--
|
|
1380
1396
|
|
|
1381
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
1397
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L409)
|
|
1382
1398
|
|
|
1383
1399
|
> def start_driver
|
|
1384
1400
|
|
|
@@ -1390,7 +1406,7 @@ __Returns:__
|
|
|
1390
1406
|
|
|
1391
1407
|
--
|
|
1392
1408
|
|
|
1393
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
1409
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L433)
|
|
1394
1410
|
|
|
1395
1411
|
> def no_wait
|
|
1396
1412
|
|
|
@@ -1398,7 +1414,7 @@ Set implicit wait to zero.
|
|
|
1398
1414
|
|
|
1399
1415
|
--
|
|
1400
1416
|
|
|
1401
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
1417
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L440)
|
|
1402
1418
|
|
|
1403
1419
|
> def set_wait timeout=@default_wait
|
|
1404
1420
|
|
|
@@ -1414,7 +1430,7 @@ __Returns:__
|
|
|
1414
1430
|
|
|
1415
1431
|
--
|
|
1416
1432
|
|
|
1417
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
1433
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L463)
|
|
1418
1434
|
|
|
1419
1435
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
|
1420
1436
|
|
|
@@ -1440,7 +1456,7 @@ __Returns:__
|
|
|
1440
1456
|
|
|
1441
1457
|
--
|
|
1442
1458
|
|
|
1443
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
1459
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L485)
|
|
1444
1460
|
|
|
1445
1461
|
> def execute_script script, *args
|
|
1446
1462
|
|
|
@@ -1458,7 +1474,7 @@ __Returns:__
|
|
|
1458
1474
|
|
|
1459
1475
|
--
|
|
1460
1476
|
|
|
1461
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
|
1477
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L501)
|
|
1462
1478
|
|
|
1463
1479
|
> def mobile method, *args
|
|
1464
1480
|
|
|
@@ -1484,7 +1500,7 @@ __Returns:__
|
|
|
1484
1500
|
|
|
1485
1501
|
--
|
|
1486
1502
|
|
|
1487
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
1503
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L512)
|
|
1488
1504
|
|
|
1489
1505
|
> def find_elements *args
|
|
1490
1506
|
|
|
@@ -1500,7 +1516,7 @@ __Returns:__
|
|
|
1500
1516
|
|
|
1501
1517
|
--
|
|
1502
1518
|
|
|
1503
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
1519
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L520)
|
|
1504
1520
|
|
|
1505
1521
|
> def find_element *args
|
|
1506
1522
|
|
|
@@ -1516,7 +1532,7 @@ __Returns:__
|
|
|
1516
1532
|
|
|
1517
1533
|
--
|
|
1518
1534
|
|
|
1519
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
1535
|
+
##### [x](https://github.com/appium/ruby_lib/blob/94a9bbc595f42008d7fdb7ba6814efd38955294b/lib/appium_lib/driver.rb#L527)
|
|
1520
1536
|
|
|
1521
1537
|
> def x
|
|
1522
1538
|
|