appium_lib 0.6.7 → 0.7.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/appium_lib.gemspec +1 -1
- data/docs/android_docs.md +117 -109
- data/docs/docs.md +21 -0
- data/docs/ios_docs.md +116 -108
- data/lib/appium_lib/android/helper.rb +50 -14
- data/lib/appium_lib/common/version.rb +1 -1
- data/lib/appium_lib/driver.rb +5 -4
- data/lib/appium_lib/ios/helper.rb +24 -1
- data/readme.md +1 -1
- data/release_notes.md +10 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1833c58a0b61987af327c64031738f4890160d55
|
4
|
+
data.tar.gz: 9f6ef59c57175151ffbf9a9d17d7eb03d189b108
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cdbbfc7f30a9297d8a348455b369c45b720ae2e17d39893af6cc4bd449ae83f9972c1b5a1c8a8c8da519f45db9e1fe45af4fb7f8eb43612cb4a7146626b52fcb
|
7
|
+
data.tar.gz: 368cd0826c3181c187200b967d3de60954f54549ba9503fc765dc73fdbb7818d127db22e50a2975fbc19822a2ee55917270a73cb34ccaae54ab068d371b5b450
|
data/appium_lib.gemspec
CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
|
|
24
24
|
s.homepage = 'https://github.com/appium/ruby_lib' # published as appium_lib
|
25
25
|
s.require_paths = [ 'lib' ]
|
26
26
|
|
27
|
-
s.add_runtime_dependency 'selenium-webdriver', '~> 2.
|
27
|
+
s.add_runtime_dependency 'selenium-webdriver', '~> 2.35.1'
|
28
28
|
s.add_runtime_dependency 'awesome_print', '~> 1.1.0'
|
29
29
|
s.add_runtime_dependency 'json', '~> 1.8.0'
|
30
30
|
s.add_runtime_dependency 'toml', '~> 0.0.4'
|
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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L165)
|
1114
1114
|
|
1115
1115
|
> def self.promote_appium_methods class_array
|
1116
1116
|
|
@@ -1128,7 +1128,7 @@ __Parameters:__
|
|
1128
1128
|
|
1129
1129
|
--
|
1130
1130
|
|
1131
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L490)
|
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/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1145
1145
|
|
1146
1146
|
> def app_path
|
1147
1147
|
|
@@ -1149,7 +1149,7 @@ Returns the value of attribute app_path
|
|
1149
1149
|
|
1150
1150
|
--
|
1151
1151
|
|
1152
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1152
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1153
1153
|
|
1154
1154
|
> def app_name
|
1155
1155
|
|
@@ -1157,7 +1157,7 @@ Returns the value of attribute app_name
|
|
1157
1157
|
|
1158
1158
|
--
|
1159
1159
|
|
1160
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1160
|
+
##### [device](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1161
1161
|
|
1162
1162
|
> def device
|
1163
1163
|
|
@@ -1165,7 +1165,7 @@ Returns the value of attribute device
|
|
1165
1165
|
|
1166
1166
|
--
|
1167
1167
|
|
1168
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1168
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1169
1169
|
|
1170
1170
|
> def app_package
|
1171
1171
|
|
@@ -1173,7 +1173,7 @@ Returns the value of attribute app_package
|
|
1173
1173
|
|
1174
1174
|
--
|
1175
1175
|
|
1176
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1177
1177
|
|
1178
1178
|
> def app_activity
|
1179
1179
|
|
@@ -1181,7 +1181,7 @@ Returns the value of attribute app_activity
|
|
1181
1181
|
|
1182
1182
|
--
|
1183
1183
|
|
1184
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1184
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1185
1185
|
|
1186
1186
|
> def app_wait_activity
|
1187
1187
|
|
@@ -1189,7 +1189,7 @@ Returns the value of attribute app_wait_activity
|
|
1189
1189
|
|
1190
1190
|
--
|
1191
1191
|
|
1192
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1193
1193
|
|
1194
1194
|
> def sauce_username
|
1195
1195
|
|
@@ -1197,7 +1197,7 @@ Returns the value of attribute sauce_username
|
|
1197
1197
|
|
1198
1198
|
--
|
1199
1199
|
|
1200
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1200
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1201
1201
|
|
1202
1202
|
> def sauce_access_key
|
1203
1203
|
|
@@ -1205,7 +1205,7 @@ Returns the value of attribute sauce_access_key
|
|
1205
1205
|
|
1206
1206
|
--
|
1207
1207
|
|
1208
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1208
|
+
##### [port](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1209
1209
|
|
1210
1210
|
> def port
|
1211
1211
|
|
@@ -1213,7 +1213,7 @@ Returns the value of attribute port
|
|
1213
1213
|
|
1214
1214
|
--
|
1215
1215
|
|
1216
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1216
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1217
1217
|
|
1218
1218
|
> def debug
|
1219
1219
|
|
@@ -1221,7 +1221,7 @@ Returns the value of attribute debug
|
|
1221
1221
|
|
1222
1222
|
--
|
1223
1223
|
|
1224
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1224
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1225
1225
|
|
1226
1226
|
> def export_session
|
1227
1227
|
|
@@ -1229,7 +1229,15 @@ Returns the value of attribute export_session
|
|
1229
1229
|
|
1230
1230
|
--
|
1231
1231
|
|
1232
|
-
##### [
|
1232
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L194)
|
1233
|
+
|
1234
|
+
> def device_cap
|
1235
|
+
|
1236
|
+
Returns the value of attribute device_cap
|
1237
|
+
|
1238
|
+
--
|
1239
|
+
|
1240
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L200)
|
1233
1241
|
|
1234
1242
|
> def global_webdriver_http_sleep
|
1235
1243
|
|
@@ -1237,7 +1245,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1237
1245
|
|
1238
1246
|
--
|
1239
1247
|
|
1240
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1248
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L200)
|
1241
1249
|
|
1242
1250
|
> def global_webdriver_http_sleep=(value)
|
1243
1251
|
|
@@ -1245,7 +1253,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1245
1253
|
|
1246
1254
|
--
|
1247
1255
|
|
1248
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1256
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L230)
|
1249
1257
|
|
1250
1258
|
> def initialize opts={}
|
1251
1259
|
|
@@ -1286,7 +1294,7 @@ __Returns:__
|
|
1286
1294
|
|
1287
1295
|
--
|
1288
1296
|
|
1289
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1297
|
+
##### [status](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L333)
|
1290
1298
|
|
1291
1299
|
> def status
|
1292
1300
|
|
@@ -1312,7 +1320,7 @@ __Returns:__
|
|
1312
1320
|
|
1313
1321
|
--
|
1314
1322
|
|
1315
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L339)
|
1316
1324
|
|
1317
1325
|
> def server_version
|
1318
1326
|
|
@@ -1324,7 +1332,7 @@ __Returns:__
|
|
1324
1332
|
|
1325
1333
|
--
|
1326
1334
|
|
1327
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1335
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L380)
|
1328
1336
|
|
1329
1337
|
> def absolute_app_path
|
1330
1338
|
|
@@ -1336,7 +1344,7 @@ __Returns:__
|
|
1336
1344
|
|
1337
1345
|
--
|
1338
1346
|
|
1339
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L400)
|
1340
1348
|
|
1341
1349
|
> def server_url
|
1342
1350
|
|
@@ -1348,7 +1356,7 @@ __Returns:__
|
|
1348
1356
|
|
1349
1357
|
--
|
1350
1358
|
|
1351
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1359
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L410)
|
1352
1360
|
|
1353
1361
|
> def restart
|
1354
1362
|
|
@@ -1360,7 +1368,7 @@ __Returns:__
|
|
1360
1368
|
|
1361
1369
|
--
|
1362
1370
|
|
1363
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L417)
|
1364
1372
|
|
1365
1373
|
> def driver
|
1366
1374
|
|
@@ -1372,7 +1380,7 @@ __Returns:__
|
|
1372
1380
|
|
1373
1381
|
--
|
1374
1382
|
|
1375
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L427)
|
1376
1384
|
|
1377
1385
|
> def screenshot png_save_path
|
1378
1386
|
|
@@ -1390,7 +1398,7 @@ __Returns:__
|
|
1390
1398
|
|
1391
1399
|
--
|
1392
1400
|
|
1393
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1401
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L434)
|
1394
1402
|
|
1395
1403
|
> def driver_quit
|
1396
1404
|
|
@@ -1402,7 +1410,7 @@ __Returns:__
|
|
1402
1410
|
|
1403
1411
|
--
|
1404
1412
|
|
1405
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1413
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L442)
|
1406
1414
|
|
1407
1415
|
> def start_driver
|
1408
1416
|
|
@@ -1414,7 +1422,7 @@ __Returns:__
|
|
1414
1422
|
|
1415
1423
|
--
|
1416
1424
|
|
1417
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1425
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L476)
|
1418
1426
|
|
1419
1427
|
> def no_wait
|
1420
1428
|
|
@@ -1422,7 +1430,7 @@ Set implicit wait to zero.
|
|
1422
1430
|
|
1423
1431
|
--
|
1424
1432
|
|
1425
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1433
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L483)
|
1426
1434
|
|
1427
1435
|
> def set_wait timeout=@default_wait
|
1428
1436
|
|
@@ -1438,7 +1446,7 @@ __Returns:__
|
|
1438
1446
|
|
1439
1447
|
--
|
1440
1448
|
|
1441
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1449
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L506)
|
1442
1450
|
|
1443
1451
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1444
1452
|
|
@@ -1464,7 +1472,7 @@ __Returns:__
|
|
1464
1472
|
|
1465
1473
|
--
|
1466
1474
|
|
1467
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1475
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L528)
|
1468
1476
|
|
1469
1477
|
> def execute_script script, *args
|
1470
1478
|
|
@@ -1482,7 +1490,7 @@ __Returns:__
|
|
1482
1490
|
|
1483
1491
|
--
|
1484
1492
|
|
1485
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L544)
|
1486
1494
|
|
1487
1495
|
> def mobile method, *args
|
1488
1496
|
|
@@ -1508,7 +1516,7 @@ __Returns:__
|
|
1508
1516
|
|
1509
1517
|
--
|
1510
1518
|
|
1511
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1519
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L555)
|
1512
1520
|
|
1513
1521
|
> def find_elements *args
|
1514
1522
|
|
@@ -1524,7 +1532,7 @@ __Returns:__
|
|
1524
1532
|
|
1525
1533
|
--
|
1526
1534
|
|
1527
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1535
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L563)
|
1528
1536
|
|
1529
1537
|
> def find_element *args
|
1530
1538
|
|
@@ -1540,7 +1548,7 @@ __Returns:__
|
|
1540
1548
|
|
1541
1549
|
--
|
1542
1550
|
|
1543
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1551
|
+
##### [x](https://github.com/appium/ruby_lib/blob/a1f5942e907339f1c3968c5af03feb5bde6b1b7c/lib/appium_lib/driver.rb#L570)
|
1544
1552
|
|
1545
1553
|
> def x
|
1546
1554
|
|