appium_lib 0.21.0 → 0.22.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/Rakefile +7 -2
- data/docs/android_docs.md +119 -119
- data/docs/ios_docs.md +124 -124
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +4 -3
- data/readme.md +6 -2
- 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: eaa19818149687a0b85511b811190e0e2f1dafa9
|
4
|
+
data.tar.gz: 33ad46ef5b24a9e34b478f51925aa764c4e329a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf94bc480fc710f7ba9394d9cb1badf5fdeb55d7de6bb894f9389ac3bf756e5ff9fed9fb4488f28a92f3f1b470631abdf62450306579c6355150e21275a4cefd
|
7
|
+
data.tar.gz: 2d0ba4a2e615c40d8a50fefa2ab31e2d8a335f533d8c49629698c7f4592cc8663419b12fd736864a6e8174599e22ea973d1e88c6619185b76e51989c62375968
|
data/Rakefile
CHANGED
@@ -95,6 +95,7 @@ task :release => :gem do
|
|
95
95
|
sh "git commit --allow-empty -am 'Update release notes'"
|
96
96
|
sh 'git push origin master'
|
97
97
|
sh "git push origin #{tag_name}"
|
98
|
+
gem_build
|
98
99
|
sh "gem push #{repo_name}-#{version}.gem"
|
99
100
|
end
|
100
101
|
|
@@ -102,12 +103,16 @@ desc 'Build and release a new gem to rubygems.org (same as release)'
|
|
102
103
|
task :publish => :release do
|
103
104
|
end
|
104
105
|
|
105
|
-
|
106
|
-
task :gem do
|
106
|
+
def gem_build
|
107
107
|
`chmod 0600 ~/.gem/credentials`
|
108
108
|
sh "gem build #{repo_name}.gemspec"
|
109
109
|
end
|
110
110
|
|
111
|
+
desc 'Build a new gem'
|
112
|
+
task :gem do
|
113
|
+
gem_build
|
114
|
+
end
|
115
|
+
|
111
116
|
desc 'Build a new gem (same as gem task)'
|
112
117
|
task :build => :gem do
|
113
118
|
end
|
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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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/4d88ecd87be7a2319dd0b7e437e230300269175f/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
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1146
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/common/patch.rb#L51)
|
1147
1147
|
|
1148
1148
|
> def location_rel
|
1149
1149
|
|
@@ -1161,7 +1161,7 @@ __Returns:__
|
|
1161
1161
|
|
1162
1162
|
--
|
1163
1163
|
|
1164
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L16)
|
1165
1165
|
|
1166
1166
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1167
1167
|
|
@@ -1169,7 +1169,7 @@ __Returns:__
|
|
1169
1169
|
|
1170
1170
|
--
|
1171
1171
|
|
1172
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1172
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L18)
|
1173
1173
|
|
1174
1174
|
> def awesome_openstruct target
|
1175
1175
|
|
@@ -1177,7 +1177,7 @@ __Returns:__
|
|
1177
1177
|
|
1178
1178
|
--
|
1179
1179
|
|
1180
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L27)
|
1181
1181
|
|
1182
1182
|
> def load_appium_txt opts
|
1183
1183
|
|
@@ -1194,7 +1194,7 @@ __Returns:__
|
|
1194
1194
|
|
1195
1195
|
--
|
1196
1196
|
|
1197
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1197
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L152)
|
1198
1198
|
|
1199
1199
|
> def self.promote_singleton_appium_methods main_module
|
1200
1200
|
|
@@ -1202,7 +1202,7 @@ __Returns:__
|
|
1202
1202
|
|
1203
1203
|
--
|
1204
1204
|
|
1205
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L182)
|
1206
1206
|
|
1207
1207
|
> def self.promote_appium_methods class_array
|
1208
1208
|
|
@@ -1220,7 +1220,7 @@ __Parameters:__
|
|
1220
1220
|
|
1221
1221
|
--
|
1222
1222
|
|
1223
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1223
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L565)
|
1224
1224
|
|
1225
1225
|
> def default_wait
|
1226
1226
|
|
@@ -1233,7 +1233,7 @@ __Returns:__
|
|
1233
1233
|
|
1234
1234
|
--
|
1235
1235
|
|
1236
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1236
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1237
1237
|
|
1238
1238
|
> def app_path
|
1239
1239
|
|
@@ -1241,7 +1241,7 @@ Returns the value of attribute app_path
|
|
1241
1241
|
|
1242
1242
|
--
|
1243
1243
|
|
1244
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1245
1245
|
|
1246
1246
|
> def app_name
|
1247
1247
|
|
@@ -1249,7 +1249,7 @@ Returns the value of attribute app_name
|
|
1249
1249
|
|
1250
1250
|
--
|
1251
1251
|
|
1252
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [device](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1253
1253
|
|
1254
1254
|
> def device
|
1255
1255
|
|
@@ -1257,7 +1257,7 @@ Returns the value of attribute device
|
|
1257
1257
|
|
1258
1258
|
--
|
1259
1259
|
|
1260
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1261
1261
|
|
1262
1262
|
> def app_package
|
1263
1263
|
|
@@ -1265,7 +1265,7 @@ Returns the value of attribute app_package
|
|
1265
1265
|
|
1266
1266
|
--
|
1267
1267
|
|
1268
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1268
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1269
1269
|
|
1270
1270
|
> def app_activity
|
1271
1271
|
|
@@ -1273,7 +1273,7 @@ Returns the value of attribute app_activity
|
|
1273
1273
|
|
1274
1274
|
--
|
1275
1275
|
|
1276
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1276
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1277
1277
|
|
1278
1278
|
> def app_wait_activity
|
1279
1279
|
|
@@ -1281,7 +1281,7 @@ Returns the value of attribute app_wait_activity
|
|
1281
1281
|
|
1282
1282
|
--
|
1283
1283
|
|
1284
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1285
1285
|
|
1286
1286
|
> def sauce_username
|
1287
1287
|
|
@@ -1289,7 +1289,7 @@ Returns the value of attribute sauce_username
|
|
1289
1289
|
|
1290
1290
|
--
|
1291
1291
|
|
1292
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1293
1293
|
|
1294
1294
|
> def sauce_access_key
|
1295
1295
|
|
@@ -1297,7 +1297,7 @@ Returns the value of attribute sauce_access_key
|
|
1297
1297
|
|
1298
1298
|
--
|
1299
1299
|
|
1300
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1300
|
+
##### [port](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1301
1301
|
|
1302
1302
|
> def port
|
1303
1303
|
|
@@ -1305,7 +1305,7 @@ Returns the value of attribute port
|
|
1305
1305
|
|
1306
1306
|
--
|
1307
1307
|
|
1308
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1308
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1309
1309
|
|
1310
1310
|
> def debug
|
1311
1311
|
|
@@ -1313,7 +1313,7 @@ Returns the value of attribute debug
|
|
1313
1313
|
|
1314
1314
|
--
|
1315
1315
|
|
1316
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1317
1317
|
|
1318
1318
|
> def export_session
|
1319
1319
|
|
@@ -1321,7 +1321,7 @@ Returns the value of attribute export_session
|
|
1321
1321
|
|
1322
1322
|
--
|
1323
1323
|
|
1324
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1325
1325
|
|
1326
1326
|
> def device_cap
|
1327
1327
|
|
@@ -1329,7 +1329,7 @@ Returns the value of attribute device_cap
|
|
1329
1329
|
|
1330
1330
|
--
|
1331
1331
|
|
1332
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1332
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1333
1333
|
|
1334
1334
|
> def compress_xml
|
1335
1335
|
|
@@ -1337,7 +1337,7 @@ Returns the value of attribute compress_xml
|
|
1337
1337
|
|
1338
1338
|
--
|
1339
1339
|
|
1340
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L211)
|
1341
1341
|
|
1342
1342
|
> def custom_url
|
1343
1343
|
|
@@ -1345,7 +1345,7 @@ Returns the value of attribute custom_url
|
|
1345
1345
|
|
1346
1346
|
--
|
1347
1347
|
|
1348
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L217)
|
1349
1349
|
|
1350
1350
|
> def global_webdriver_http_sleep
|
1351
1351
|
|
@@ -1353,7 +1353,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1353
1353
|
|
1354
1354
|
--
|
1355
1355
|
|
1356
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1356
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L217)
|
1357
1357
|
|
1358
1358
|
> def global_webdriver_http_sleep=(value)
|
1359
1359
|
|
@@ -1361,7 +1361,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1361
1361
|
|
1362
1362
|
--
|
1363
1363
|
|
1364
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L247)
|
1365
1365
|
|
1366
1366
|
> def initialize opts={}
|
1367
1367
|
|
@@ -1402,7 +1402,7 @@ __Returns:__
|
|
1402
1402
|
|
1403
1403
|
--
|
1404
1404
|
|
1405
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1405
|
+
##### [status](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L378)
|
1406
1406
|
|
1407
1407
|
> def status
|
1408
1408
|
|
@@ -1428,7 +1428,7 @@ __Returns:__
|
|
1428
1428
|
|
1429
1429
|
--
|
1430
1430
|
|
1431
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L384)
|
1432
1432
|
|
1433
1433
|
> def server_version
|
1434
1434
|
|
@@ -1440,7 +1440,7 @@ __Returns:__
|
|
1440
1440
|
|
1441
1441
|
--
|
1442
1442
|
|
1443
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1443
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L427)
|
1444
1444
|
|
1445
1445
|
> def self.absolute_app_path app_path
|
1446
1446
|
|
@@ -1452,7 +1452,7 @@ __Returns:__
|
|
1452
1452
|
|
1453
1453
|
--
|
1454
1454
|
|
1455
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1455
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L451)
|
1456
1456
|
|
1457
1457
|
> def server_url
|
1458
1458
|
|
@@ -1464,7 +1464,7 @@ __Returns:__
|
|
1464
1464
|
|
1465
1465
|
--
|
1466
1466
|
|
1467
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1467
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L462)
|
1468
1468
|
|
1469
1469
|
> def restart
|
1470
1470
|
|
@@ -1476,7 +1476,7 @@ __Returns:__
|
|
1476
1476
|
|
1477
1477
|
--
|
1478
1478
|
|
1479
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1479
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L469)
|
1480
1480
|
|
1481
1481
|
> def driver
|
1482
1482
|
|
@@ -1488,7 +1488,7 @@ __Returns:__
|
|
1488
1488
|
|
1489
1489
|
--
|
1490
1490
|
|
1491
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1491
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L479)
|
1492
1492
|
|
1493
1493
|
> def screenshot png_save_path
|
1494
1494
|
|
@@ -1506,7 +1506,7 @@ __Returns:__
|
|
1506
1506
|
|
1507
1507
|
--
|
1508
1508
|
|
1509
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L486)
|
1510
1510
|
|
1511
1511
|
> def driver_quit
|
1512
1512
|
|
@@ -1518,7 +1518,7 @@ __Returns:__
|
|
1518
1518
|
|
1519
1519
|
--
|
1520
1520
|
|
1521
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1521
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L494)
|
1522
1522
|
|
1523
1523
|
> def start_driver
|
1524
1524
|
|
@@ -1530,7 +1530,7 @@ __Returns:__
|
|
1530
1530
|
|
1531
1531
|
--
|
1532
1532
|
|
1533
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1533
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L528)
|
1534
1534
|
|
1535
1535
|
> def no_wait
|
1536
1536
|
|
@@ -1538,7 +1538,7 @@ Set implicit wait and default_wait to zero.
|
|
1538
1538
|
|
1539
1539
|
--
|
1540
1540
|
|
1541
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1541
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L547)
|
1542
1542
|
|
1543
1543
|
> def set_wait timeout=nil
|
1544
1544
|
|
@@ -1563,7 +1563,7 @@ __Returns:__
|
|
1563
1563
|
|
1564
1564
|
--
|
1565
1565
|
|
1566
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1566
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L581)
|
1567
1567
|
|
1568
1568
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1569
1569
|
|
@@ -1589,7 +1589,7 @@ __Returns:__
|
|
1589
1589
|
|
1590
1590
|
--
|
1591
1591
|
|
1592
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1592
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L605)
|
1593
1593
|
|
1594
1594
|
> def execute_script script, *args
|
1595
1595
|
|
@@ -1607,7 +1607,7 @@ __Returns:__
|
|
1607
1607
|
|
1608
1608
|
--
|
1609
1609
|
|
1610
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L621)
|
1611
1611
|
|
1612
1612
|
> def mobile method, *args
|
1613
1613
|
|
@@ -1633,7 +1633,7 @@ __Returns:__
|
|
1633
1633
|
|
1634
1634
|
--
|
1635
1635
|
|
1636
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1636
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L632)
|
1637
1637
|
|
1638
1638
|
> def find_elements *args
|
1639
1639
|
|
@@ -1649,7 +1649,7 @@ __Returns:__
|
|
1649
1649
|
|
1650
1650
|
--
|
1651
1651
|
|
1652
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1652
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L640)
|
1653
1653
|
|
1654
1654
|
> def find_element *args
|
1655
1655
|
|
@@ -1665,7 +1665,7 @@ __Returns:__
|
|
1665
1665
|
|
1666
1666
|
--
|
1667
1667
|
|
1668
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1668
|
+
##### [x](https://github.com/appium/ruby_lib/blob/4d88ecd87be7a2319dd0b7e437e230300269175f/lib/appium_lib/driver.rb#L647)
|
1669
1669
|
|
1670
1670
|
> def x
|
1671
1671
|
|