appium_lib 0.11.1 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/appium_lib.gemspec +3 -3
- data/docs/android_docs.md +119 -118
- data/docs/ios_docs.md +122 -121
- data/lib/appium_lib/android/helper.rb +8 -2
- data/lib/appium_lib/common/element/text.rb +4 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +4 -2
- data/lib/appium_lib/ios/element/alert.rb +42 -10
- data/lib/appium_lib/ios/helper.rb +10 -3
- data/readme.md +13 -0
- data/release_notes.md +6 -0
- metadata +22 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ea49deb5c51947fb106d4785a6d046241410a638
|
4
|
+
data.tar.gz: 8ccc92810c0f98637358ae0e89bad1851e86ffd1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bc263b58b4480588d3ff68de4172fc13d21093de992b62f36c490ea37c27788860df77c7f98ccc620f149a693ccdd451fdcb168d3bc2d3c6cbc25a4540e4dff
|
7
|
+
data.tar.gz: e293d42a893587b6cd8b640ce1aa52bd8b278598a958e0e7e85da06d32f84ec8eaeaa9feb11f62b9ad04e5fedbbf2f123c4158b0c21dbc0de237f06ace77e873
|
data/appium_lib.gemspec
CHANGED
@@ -24,9 +24,9 @@ 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.
|
28
|
-
s.add_runtime_dependency 'awesome_print', '~> 1.
|
29
|
-
s.add_runtime_dependency 'json', '~> 1.8.
|
27
|
+
s.add_runtime_dependency 'selenium-webdriver', '~> 2.37.0'
|
28
|
+
s.add_runtime_dependency 'awesome_print', '~> 1.2.0'
|
29
|
+
s.add_runtime_dependency 'json', '~> 1.8.1'
|
30
30
|
s.add_runtime_dependency 'toml', '~> 0.0.4'
|
31
31
|
|
32
32
|
s.add_development_dependency 'rake', '~> 10.0.4'
|
data/docs/android_docs.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L10)
|
2
2
|
|
3
|
-
> def s_texts
|
3
|
+
> def s_texts text=nil
|
4
4
|
|
5
|
+
Get an array of text texts if text is nil else
|
5
6
|
Get all static textfields that include text.
|
6
7
|
|
7
8
|
__Parameters:__
|
@@ -10,11 +11,11 @@ __Parameters:__
|
|
10
11
|
|
11
12
|
__Returns:__
|
12
13
|
|
13
|
-
[Array
|
14
|
+
[Array]
|
14
15
|
|
15
16
|
--
|
16
17
|
|
17
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
18
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L20)
|
18
19
|
|
19
20
|
> def e_s_texts
|
20
21
|
|
@@ -26,7 +27,7 @@ __Returns:__
|
|
26
27
|
|
27
28
|
--
|
28
29
|
|
29
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L26)
|
30
31
|
|
31
32
|
> def first_s_text
|
32
33
|
|
@@ -38,7 +39,7 @@ __Returns:__
|
|
38
39
|
|
39
40
|
--
|
40
41
|
|
41
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
42
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L32)
|
42
43
|
|
43
44
|
> def last_s_text
|
44
45
|
|
@@ -50,7 +51,7 @@ __Returns:__
|
|
50
51
|
|
51
52
|
--
|
52
53
|
|
53
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
54
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L39)
|
54
55
|
|
55
56
|
> def s_text text
|
56
57
|
|
@@ -66,7 +67,7 @@ __Returns:__
|
|
66
67
|
|
67
68
|
--
|
68
69
|
|
69
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
70
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L47)
|
70
71
|
|
71
72
|
> def s_text_exact text
|
72
73
|
|
@@ -82,7 +83,7 @@ __Returns:__
|
|
82
83
|
|
83
84
|
--
|
84
85
|
|
85
|
-
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/
|
86
|
+
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L54)
|
86
87
|
|
87
88
|
> def s_texts_exact text
|
88
89
|
|
@@ -98,7 +99,7 @@ __Returns:__
|
|
98
99
|
|
99
100
|
--
|
100
101
|
|
101
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
102
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/window.rb#L5)
|
102
103
|
|
103
104
|
> def window_size
|
104
105
|
|
@@ -106,7 +107,7 @@ Get the window's size
|
|
106
107
|
|
107
108
|
--
|
108
109
|
|
109
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
110
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L8)
|
110
111
|
|
111
112
|
> def button text, number=0
|
112
113
|
|
@@ -124,7 +125,7 @@ __Returns:__
|
|
124
125
|
|
125
126
|
--
|
126
127
|
|
127
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
128
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L19)
|
128
129
|
|
129
130
|
> def buttons text=nil
|
130
131
|
|
@@ -140,7 +141,7 @@ __Returns:__
|
|
140
141
|
|
141
142
|
--
|
142
143
|
|
143
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
144
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L26)
|
144
145
|
|
145
146
|
> def first_button
|
146
147
|
|
@@ -152,7 +153,7 @@ __Returns:__
|
|
152
153
|
|
153
154
|
--
|
154
155
|
|
155
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L32)
|
156
157
|
|
157
158
|
> def last_button
|
158
159
|
|
@@ -164,7 +165,7 @@ __Returns:__
|
|
164
165
|
|
165
166
|
--
|
166
167
|
|
167
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
168
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L39)
|
168
169
|
|
169
170
|
> def button_exact text
|
170
171
|
|
@@ -180,7 +181,7 @@ __Returns:__
|
|
180
181
|
|
181
182
|
--
|
182
183
|
|
183
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
184
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L46)
|
184
185
|
|
185
186
|
> def buttons_exact text
|
186
187
|
|
@@ -196,7 +197,7 @@ __Returns:__
|
|
196
197
|
|
197
198
|
--
|
198
199
|
|
199
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
200
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L52)
|
200
201
|
|
201
202
|
> def e_buttons
|
202
203
|
|
@@ -208,7 +209,7 @@ __Returns:__
|
|
208
209
|
|
209
210
|
--
|
210
211
|
|
211
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L72)
|
212
213
|
|
213
214
|
> def button_num text, number=1
|
214
215
|
|
@@ -237,7 +238,7 @@ __Returns:__
|
|
237
238
|
|
238
239
|
--
|
239
240
|
|
240
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
241
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L6) android
|
241
242
|
|
242
243
|
> def tag_name_to_android tag_name
|
243
244
|
|
@@ -253,7 +254,7 @@ __Returns:__
|
|
253
254
|
|
254
255
|
--
|
255
256
|
|
256
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
257
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L198) android
|
257
258
|
|
258
259
|
> def find_eles_attr tag_name, attribute=nil
|
259
260
|
|
@@ -274,7 +275,7 @@ __Returns:__
|
|
274
275
|
|
275
276
|
--
|
276
277
|
|
277
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
278
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L220) android
|
278
279
|
|
279
280
|
> def get_selendroid_inspect
|
280
281
|
|
@@ -287,7 +288,7 @@ __Returns:__
|
|
287
288
|
|
288
289
|
--
|
289
290
|
|
290
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
291
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L282) android
|
291
292
|
|
292
293
|
> def get_page_class
|
293
294
|
|
@@ -295,7 +296,7 @@ __Returns:__
|
|
295
296
|
|
296
297
|
--
|
297
298
|
|
298
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
299
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L310) android
|
299
300
|
|
300
301
|
> def page_class
|
301
302
|
|
@@ -304,7 +305,7 @@ Useful for appium_console.
|
|
304
305
|
|
305
306
|
--
|
306
307
|
|
307
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
308
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L319) android
|
308
309
|
|
309
310
|
> def get_android_inspect
|
310
311
|
|
@@ -318,7 +319,7 @@ __Returns:__
|
|
318
319
|
|
319
320
|
--
|
320
321
|
|
321
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
322
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L397) android
|
322
323
|
|
323
324
|
> def get_inspect
|
324
325
|
|
@@ -331,7 +332,7 @@ __Returns:__
|
|
331
332
|
|
332
333
|
--
|
333
334
|
|
334
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
335
|
+
##### [page](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L403) android
|
335
336
|
|
336
337
|
> def page
|
337
338
|
|
@@ -340,7 +341,7 @@ Inspects and prints the current page.
|
|
340
341
|
|
341
342
|
--
|
342
343
|
|
343
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
344
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L415) android
|
344
345
|
|
345
346
|
> def fast_duration
|
346
347
|
|
@@ -354,7 +355,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
354
355
|
|
355
356
|
--
|
356
357
|
|
357
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
358
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L421) android
|
358
359
|
|
359
360
|
> def current_app
|
360
361
|
|
@@ -363,7 +364,7 @@ Works on local host only (not remote).
|
|
363
364
|
|
364
365
|
--
|
365
366
|
|
366
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
367
|
+
##### [id](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/helper.rb#L435) android
|
367
368
|
|
368
369
|
> def id id
|
369
370
|
|
@@ -379,7 +380,7 @@ __Returns:__
|
|
379
380
|
|
380
381
|
--
|
381
382
|
|
382
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
383
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/alert.rb#L6) android
|
383
384
|
|
384
385
|
> def alert_click value
|
385
386
|
|
@@ -395,7 +396,7 @@ __Returns:__
|
|
395
396
|
|
396
397
|
--
|
397
398
|
|
398
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
399
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/alert.rb#L13) android
|
399
400
|
|
400
401
|
> def alert_accept
|
401
402
|
|
@@ -408,7 +409,7 @@ __Returns:__
|
|
408
409
|
|
409
410
|
--
|
410
411
|
|
411
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
412
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/alert.rb#L20) android
|
412
413
|
|
413
414
|
> def alert_accept_text
|
414
415
|
|
@@ -421,7 +422,7 @@ __Returns:__
|
|
421
422
|
|
422
423
|
--
|
423
424
|
|
424
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
425
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/alert.rb#L27) android
|
425
426
|
|
426
427
|
> def alert_dismiss
|
427
428
|
|
@@ -434,7 +435,7 @@ __Returns:__
|
|
434
435
|
|
435
436
|
--
|
436
437
|
|
437
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
438
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/alert.rb#L34) android
|
438
439
|
|
439
440
|
> def alert_dismiss_text
|
440
441
|
|
@@ -447,7 +448,7 @@ __Returns:__
|
|
447
448
|
|
448
449
|
--
|
449
450
|
|
450
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
451
|
+
##### [find](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/generic.rb#L44) android
|
451
452
|
|
452
453
|
> def find val
|
453
454
|
|
@@ -464,7 +465,7 @@ __Returns:__
|
|
464
465
|
|
465
466
|
--
|
466
467
|
|
467
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
468
|
+
##### [text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/generic.rb#L70) android
|
468
469
|
|
469
470
|
> def text text
|
470
471
|
|
@@ -480,7 +481,7 @@ __Returns:__
|
|
480
481
|
|
481
482
|
--
|
482
483
|
|
483
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
484
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/generic.rb#L79) android
|
484
485
|
|
485
486
|
> def texts text
|
486
487
|
|
@@ -496,7 +497,7 @@ __Returns:__
|
|
496
497
|
|
497
498
|
--
|
498
499
|
|
499
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
500
|
+
##### [name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/generic.rb#L88) android
|
500
501
|
|
501
502
|
> def name name
|
502
503
|
|
@@ -514,7 +515,7 @@ __Returns:__
|
|
514
515
|
|
515
516
|
--
|
516
517
|
|
517
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
518
|
+
##### [names](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/generic.rb#L99) android
|
518
519
|
|
519
520
|
> def names name
|
520
521
|
|
@@ -532,7 +533,7 @@ __Returns:__
|
|
532
533
|
|
533
534
|
--
|
534
535
|
|
535
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
536
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/generic.rb#L108) android
|
536
537
|
|
537
538
|
> def scroll_to text
|
538
539
|
|
@@ -548,7 +549,7 @@ __Returns:__
|
|
548
549
|
|
549
550
|
--
|
550
551
|
|
551
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
552
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/textfield.rb#L7) android
|
552
553
|
|
553
554
|
> def textfields
|
554
555
|
|
@@ -560,7 +561,7 @@ __Returns:__
|
|
560
561
|
|
561
562
|
--
|
562
563
|
|
563
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
564
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/textfield.rb#L13) android
|
564
565
|
|
565
566
|
> def e_textfields
|
566
567
|
|
@@ -572,7 +573,7 @@ __Returns:__
|
|
572
573
|
|
573
574
|
--
|
574
575
|
|
575
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
576
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/textfield.rb#L19) android
|
576
577
|
|
577
578
|
> def first_textfield
|
578
579
|
|
@@ -584,7 +585,7 @@ __Returns:__
|
|
584
585
|
|
585
586
|
--
|
586
587
|
|
587
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
588
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/textfield.rb#L25) android
|
588
589
|
|
589
590
|
> def last_textfield
|
590
591
|
|
@@ -596,7 +597,7 @@ __Returns:__
|
|
596
597
|
|
597
598
|
--
|
598
599
|
|
599
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
600
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/textfield.rb#L32) android
|
600
601
|
|
601
602
|
> def textfield text
|
602
603
|
|
@@ -612,7 +613,7 @@ __Returns:__
|
|
612
613
|
|
613
614
|
--
|
614
615
|
|
615
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
616
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/android/element/textfield.rb#L45) android
|
616
617
|
|
617
618
|
> def textfield_exact text
|
618
619
|
|
@@ -628,7 +629,7 @@ __Returns:__
|
|
628
629
|
|
629
630
|
--
|
630
631
|
|
631
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
632
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L33)
|
632
633
|
|
633
634
|
> def wait max_wait=-1, interval=0.5, &block
|
634
635
|
|
@@ -655,7 +656,7 @@ __Returns:__
|
|
655
656
|
|
656
657
|
--
|
657
658
|
|
658
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
659
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L53)
|
659
660
|
|
660
661
|
> def ignore &block
|
661
662
|
|
@@ -663,7 +664,7 @@ Return block.call and ignore any exceptions.
|
|
663
664
|
|
664
665
|
--
|
665
666
|
|
666
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
667
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L63)
|
667
668
|
|
668
669
|
> def wait_true max_wait=-1, interval=0.5, &block
|
669
670
|
|
@@ -684,7 +685,7 @@ __Returns:__
|
|
684
685
|
|
685
686
|
--
|
686
687
|
|
687
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
688
|
+
##### [back](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L84)
|
688
689
|
|
689
690
|
> def back
|
690
691
|
|
@@ -696,7 +697,7 @@ __Returns:__
|
|
696
697
|
|
697
698
|
--
|
698
699
|
|
699
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
700
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L89)
|
700
701
|
|
701
702
|
> def session_id
|
702
703
|
|
@@ -704,7 +705,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
704
705
|
|
705
706
|
--
|
706
707
|
|
707
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L97)
|
708
709
|
|
709
710
|
> def xpath xpath_str
|
710
711
|
|
@@ -720,7 +721,7 @@ __Returns:__
|
|
720
721
|
|
721
722
|
--
|
722
723
|
|
723
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
724
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L105)
|
724
725
|
|
725
726
|
> def xpaths xpath_str
|
726
727
|
|
@@ -736,7 +737,7 @@ __Returns:__
|
|
736
737
|
|
737
738
|
--
|
738
739
|
|
739
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
740
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L113)
|
740
741
|
|
741
742
|
> def ele_index tag_name, index
|
742
743
|
|
@@ -754,7 +755,7 @@ __Returns:__
|
|
754
755
|
|
755
756
|
--
|
756
757
|
|
757
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
758
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L122)
|
758
759
|
|
759
760
|
> def find_eles tag_name
|
760
761
|
|
@@ -770,7 +771,7 @@ __Returns:__
|
|
770
771
|
|
771
772
|
--
|
772
773
|
|
773
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
774
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L130)
|
774
775
|
|
775
776
|
> def find_ele_by_text tag, text
|
776
777
|
|
@@ -788,7 +789,7 @@ __Returns:__
|
|
788
789
|
|
789
790
|
--
|
790
791
|
|
791
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
792
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L138)
|
792
793
|
|
793
794
|
> def find_eles_by_text tag, text
|
794
795
|
|
@@ -806,7 +807,7 @@ __Returns:__
|
|
806
807
|
|
807
808
|
--
|
808
809
|
|
809
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
810
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L147)
|
810
811
|
|
811
812
|
> def find_ele_by_attr_include tag, attr, value
|
812
813
|
|
@@ -826,7 +827,7 @@ __Returns:__
|
|
826
827
|
|
827
828
|
--
|
828
829
|
|
829
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
830
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L156)
|
830
831
|
|
831
832
|
> def find_eles_by_attr_include tag, attr, value
|
832
833
|
|
@@ -846,7 +847,7 @@ __Returns:__
|
|
846
847
|
|
847
848
|
--
|
848
849
|
|
849
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
850
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L165)
|
850
851
|
|
851
852
|
> def find_ele_by_text_include tag, text
|
852
853
|
|
@@ -865,7 +866,7 @@ __Returns:__
|
|
865
866
|
|
866
867
|
--
|
867
868
|
|
868
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
869
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L174)
|
869
870
|
|
870
871
|
> def find_eles_by_text_include tag, text
|
871
872
|
|
@@ -884,7 +885,7 @@ __Returns:__
|
|
884
885
|
|
885
886
|
--
|
886
887
|
|
887
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
888
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L181)
|
888
889
|
|
889
890
|
> def first_ele tag_name
|
890
891
|
|
@@ -900,7 +901,7 @@ __Returns:__
|
|
900
901
|
|
901
902
|
--
|
902
903
|
|
903
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
904
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L189)
|
904
905
|
|
905
906
|
> def last_ele tag_name
|
906
907
|
|
@@ -916,7 +917,7 @@ __Returns:__
|
|
916
917
|
|
917
918
|
--
|
918
919
|
|
919
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
920
|
+
##### [source](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L195)
|
920
921
|
|
921
922
|
> def source
|
922
923
|
|
@@ -928,7 +929,7 @@ __Returns:__
|
|
928
929
|
|
929
930
|
--
|
930
931
|
|
931
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
932
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L201)
|
932
933
|
|
933
934
|
> def get_source
|
934
935
|
|
@@ -940,7 +941,7 @@ __Returns:__
|
|
940
941
|
|
941
942
|
--
|
942
943
|
|
943
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
944
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L210)
|
944
945
|
|
945
946
|
> def find_name name
|
946
947
|
|
@@ -956,7 +957,7 @@ __Returns:__
|
|
956
957
|
|
957
958
|
--
|
958
959
|
|
959
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
960
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L218)
|
960
961
|
|
961
962
|
> def find_names name
|
962
963
|
|
@@ -972,7 +973,7 @@ __Returns:__
|
|
972
973
|
|
973
974
|
--
|
974
975
|
|
975
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
976
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L226)
|
976
977
|
|
977
978
|
> def tag tag_name
|
978
979
|
|
@@ -988,7 +989,7 @@ __Returns:__
|
|
988
989
|
|
989
990
|
--
|
990
991
|
|
991
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
992
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L236)
|
992
993
|
|
993
994
|
> def px_to_window_rel opts={}
|
994
995
|
|
@@ -1000,7 +1001,7 @@ px_to_window_rel x: 50, y: 150
|
|
1000
1001
|
|
1001
1002
|
--
|
1002
1003
|
|
1003
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1004
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L246)
|
1004
1005
|
|
1005
1006
|
> def lazy_load_strings
|
1006
1007
|
|
@@ -1008,7 +1009,7 @@ px_to_window_rel x: 50, y: 150
|
|
1008
1009
|
|
1009
1010
|
--
|
1010
1011
|
|
1011
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L253)
|
1012
1013
|
|
1013
1014
|
> def xml_keys target
|
1014
1015
|
|
@@ -1024,7 +1025,7 @@ __Returns:__
|
|
1024
1025
|
|
1025
1026
|
--
|
1026
1027
|
|
1027
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L261)
|
1028
1029
|
|
1029
1030
|
> def xml_values target
|
1030
1031
|
|
@@ -1040,7 +1041,7 @@ __Returns:__
|
|
1040
1041
|
|
1041
1042
|
--
|
1042
1043
|
|
1043
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1044
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L269)
|
1044
1045
|
|
1045
1046
|
> def resolve_id id
|
1046
1047
|
|
@@ -1056,7 +1057,7 @@ __Returns:__
|
|
1056
1057
|
|
1057
1058
|
--
|
1058
1059
|
|
1059
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1060
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L275)
|
1060
1061
|
|
1061
1062
|
> def raise_no_element_error
|
1062
1063
|
|
@@ -1064,7 +1065,7 @@ Used to error when finding a single element fails.
|
|
1064
1065
|
|
1065
1066
|
--
|
1066
1067
|
|
1067
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [value](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L32)
|
1068
1069
|
|
1069
1070
|
> def value
|
1070
1071
|
|
@@ -1074,7 +1075,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1074
1075
|
|
1075
1076
|
--
|
1076
1077
|
|
1077
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1078
|
+
##### [name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L39)
|
1078
1079
|
|
1079
1080
|
> def name
|
1080
1081
|
|
@@ -1084,7 +1085,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1084
1085
|
|
1085
1086
|
--
|
1086
1087
|
|
1087
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1088
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L46)
|
1088
1089
|
|
1089
1090
|
> def tag_name
|
1090
1091
|
|
@@ -1094,7 +1095,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1094
1095
|
|
1095
1096
|
--
|
1096
1097
|
|
1097
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L58)
|
1098
1099
|
|
1099
1100
|
> def location_rel
|
1100
1101
|
|
@@ -1112,7 +1113,7 @@ __Returns:__
|
|
1112
1113
|
|
1113
1114
|
--
|
1114
1115
|
|
1115
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1116
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L16)
|
1116
1117
|
|
1117
1118
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1118
1119
|
|
@@ -1120,7 +1121,7 @@ __Returns:__
|
|
1120
1121
|
|
1121
1122
|
--
|
1122
1123
|
|
1123
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1124
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L18)
|
1124
1125
|
|
1125
1126
|
> def awesome_openstruct target
|
1126
1127
|
|
@@ -1128,7 +1129,7 @@ __Returns:__
|
|
1128
1129
|
|
1129
1130
|
--
|
1130
1131
|
|
1131
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1132
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L28)
|
1132
1133
|
|
1133
1134
|
> def load_appium_txt opts
|
1134
1135
|
|
@@ -1145,7 +1146,7 @@ __Returns:__
|
|
1145
1146
|
|
1146
1147
|
--
|
1147
1148
|
|
1148
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1149
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L154)
|
1149
1150
|
|
1150
1151
|
> def self.promote_singleton_appium_methods main_module
|
1151
1152
|
|
@@ -1153,7 +1154,7 @@ __Returns:__
|
|
1153
1154
|
|
1154
1155
|
--
|
1155
1156
|
|
1156
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L184)
|
1157
1158
|
|
1158
1159
|
> def self.promote_appium_methods class_array
|
1159
1160
|
|
@@ -1171,7 +1172,7 @@ __Parameters:__
|
|
1171
1172
|
|
1172
1173
|
--
|
1173
1174
|
|
1174
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1175
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L513)
|
1175
1176
|
|
1176
1177
|
> def default_wait
|
1177
1178
|
|
@@ -1184,7 +1185,7 @@ __Returns:__
|
|
1184
1185
|
|
1185
1186
|
--
|
1186
1187
|
|
1187
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1188
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1188
1189
|
|
1189
1190
|
> def app_path
|
1190
1191
|
|
@@ -1192,7 +1193,7 @@ Returns the value of attribute app_path
|
|
1192
1193
|
|
1193
1194
|
--
|
1194
1195
|
|
1195
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1196
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1196
1197
|
|
1197
1198
|
> def app_name
|
1198
1199
|
|
@@ -1200,7 +1201,7 @@ Returns the value of attribute app_name
|
|
1200
1201
|
|
1201
1202
|
--
|
1202
1203
|
|
1203
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1204
|
+
##### [device](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1204
1205
|
|
1205
1206
|
> def device
|
1206
1207
|
|
@@ -1208,7 +1209,7 @@ Returns the value of attribute device
|
|
1208
1209
|
|
1209
1210
|
--
|
1210
1211
|
|
1211
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1212
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1212
1213
|
|
1213
1214
|
> def app_package
|
1214
1215
|
|
@@ -1216,7 +1217,7 @@ Returns the value of attribute app_package
|
|
1216
1217
|
|
1217
1218
|
--
|
1218
1219
|
|
1219
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1220
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1220
1221
|
|
1221
1222
|
> def app_activity
|
1222
1223
|
|
@@ -1224,7 +1225,7 @@ Returns the value of attribute app_activity
|
|
1224
1225
|
|
1225
1226
|
--
|
1226
1227
|
|
1227
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1228
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1228
1229
|
|
1229
1230
|
> def app_wait_activity
|
1230
1231
|
|
@@ -1232,7 +1233,7 @@ Returns the value of attribute app_wait_activity
|
|
1232
1233
|
|
1233
1234
|
--
|
1234
1235
|
|
1235
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1236
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1236
1237
|
|
1237
1238
|
> def sauce_username
|
1238
1239
|
|
@@ -1240,7 +1241,7 @@ Returns the value of attribute sauce_username
|
|
1240
1241
|
|
1241
1242
|
--
|
1242
1243
|
|
1243
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1244
1245
|
|
1245
1246
|
> def sauce_access_key
|
1246
1247
|
|
@@ -1248,7 +1249,7 @@ Returns the value of attribute sauce_access_key
|
|
1248
1249
|
|
1249
1250
|
--
|
1250
1251
|
|
1251
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [port](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1252
1253
|
|
1253
1254
|
> def port
|
1254
1255
|
|
@@ -1256,7 +1257,7 @@ Returns the value of attribute port
|
|
1256
1257
|
|
1257
1258
|
--
|
1258
1259
|
|
1259
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1260
1261
|
|
1261
1262
|
> def debug
|
1262
1263
|
|
@@ -1264,7 +1265,7 @@ Returns the value of attribute debug
|
|
1264
1265
|
|
1265
1266
|
--
|
1266
1267
|
|
1267
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1268
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1268
1269
|
|
1269
1270
|
> def export_session
|
1270
1271
|
|
@@ -1272,7 +1273,7 @@ Returns the value of attribute export_session
|
|
1272
1273
|
|
1273
1274
|
--
|
1274
1275
|
|
1275
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1276
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1276
1277
|
|
1277
1278
|
> def device_cap
|
1278
1279
|
|
@@ -1280,7 +1281,7 @@ Returns the value of attribute device_cap
|
|
1280
1281
|
|
1281
1282
|
--
|
1282
1283
|
|
1283
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1284
1285
|
|
1285
1286
|
> def compress_xml
|
1286
1287
|
|
@@ -1288,7 +1289,7 @@ Returns the value of attribute compress_xml
|
|
1288
1289
|
|
1289
1290
|
--
|
1290
1291
|
|
1291
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1292
1293
|
|
1293
1294
|
> def custom_url
|
1294
1295
|
|
@@ -1296,7 +1297,7 @@ Returns the value of attribute custom_url
|
|
1296
1297
|
|
1297
1298
|
--
|
1298
1299
|
|
1299
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1300
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L219)
|
1300
1301
|
|
1301
1302
|
> def global_webdriver_http_sleep
|
1302
1303
|
|
@@ -1304,7 +1305,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1304
1305
|
|
1305
1306
|
--
|
1306
1307
|
|
1307
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1308
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L219)
|
1308
1309
|
|
1309
1310
|
> def global_webdriver_http_sleep=(value)
|
1310
1311
|
|
@@ -1312,7 +1313,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1312
1313
|
|
1313
1314
|
--
|
1314
1315
|
|
1315
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L249)
|
1316
1317
|
|
1317
1318
|
> def initialize opts={}
|
1318
1319
|
|
@@ -1353,7 +1354,7 @@ __Returns:__
|
|
1353
1354
|
|
1354
1355
|
--
|
1355
1356
|
|
1356
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1357
|
+
##### [status](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L356)
|
1357
1358
|
|
1358
1359
|
> def status
|
1359
1360
|
|
@@ -1379,7 +1380,7 @@ __Returns:__
|
|
1379
1380
|
|
1380
1381
|
--
|
1381
1382
|
|
1382
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1383
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L362)
|
1383
1384
|
|
1384
1385
|
> def server_version
|
1385
1386
|
|
@@ -1391,7 +1392,7 @@ __Returns:__
|
|
1391
1392
|
|
1392
1393
|
--
|
1393
1394
|
|
1394
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1395
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L402)
|
1395
1396
|
|
1396
1397
|
> def absolute_app_path
|
1397
1398
|
|
@@ -1403,7 +1404,7 @@ __Returns:__
|
|
1403
1404
|
|
1404
1405
|
--
|
1405
1406
|
|
1406
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1407
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L422)
|
1407
1408
|
|
1408
1409
|
> def server_url
|
1409
1410
|
|
@@ -1415,7 +1416,7 @@ __Returns:__
|
|
1415
1416
|
|
1416
1417
|
--
|
1417
1418
|
|
1418
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1419
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L433)
|
1419
1420
|
|
1420
1421
|
> def restart
|
1421
1422
|
|
@@ -1427,7 +1428,7 @@ __Returns:__
|
|
1427
1428
|
|
1428
1429
|
--
|
1429
1430
|
|
1430
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1431
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L440)
|
1431
1432
|
|
1432
1433
|
> def driver
|
1433
1434
|
|
@@ -1439,7 +1440,7 @@ __Returns:__
|
|
1439
1440
|
|
1440
1441
|
--
|
1441
1442
|
|
1442
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1443
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L450)
|
1443
1444
|
|
1444
1445
|
> def screenshot png_save_path
|
1445
1446
|
|
@@ -1457,7 +1458,7 @@ __Returns:__
|
|
1457
1458
|
|
1458
1459
|
--
|
1459
1460
|
|
1460
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1461
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L457)
|
1461
1462
|
|
1462
1463
|
> def driver_quit
|
1463
1464
|
|
@@ -1469,7 +1470,7 @@ __Returns:__
|
|
1469
1470
|
|
1470
1471
|
--
|
1471
1472
|
|
1472
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1473
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L465)
|
1473
1474
|
|
1474
1475
|
> def start_driver
|
1475
1476
|
|
@@ -1481,7 +1482,7 @@ __Returns:__
|
|
1481
1482
|
|
1482
1483
|
--
|
1483
1484
|
|
1484
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1485
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L499)
|
1485
1486
|
|
1486
1487
|
> def no_wait
|
1487
1488
|
|
@@ -1489,7 +1490,7 @@ Set implicit wait to zero.
|
|
1489
1490
|
|
1490
1491
|
--
|
1491
1492
|
|
1492
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L506)
|
1493
1494
|
|
1494
1495
|
> def set_wait timeout=@default_wait
|
1495
1496
|
|
@@ -1505,7 +1506,7 @@ __Returns:__
|
|
1505
1506
|
|
1506
1507
|
--
|
1507
1508
|
|
1508
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1509
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L529)
|
1509
1510
|
|
1510
1511
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1511
1512
|
|
@@ -1531,7 +1532,7 @@ __Returns:__
|
|
1531
1532
|
|
1532
1533
|
--
|
1533
1534
|
|
1534
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1535
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L551)
|
1535
1536
|
|
1536
1537
|
> def execute_script script, *args
|
1537
1538
|
|
@@ -1549,7 +1550,7 @@ __Returns:__
|
|
1549
1550
|
|
1550
1551
|
--
|
1551
1552
|
|
1552
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1553
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L567)
|
1553
1554
|
|
1554
1555
|
> def mobile method, *args
|
1555
1556
|
|
@@ -1575,7 +1576,7 @@ __Returns:__
|
|
1575
1576
|
|
1576
1577
|
--
|
1577
1578
|
|
1578
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1579
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L578)
|
1579
1580
|
|
1580
1581
|
> def find_elements *args
|
1581
1582
|
|
@@ -1591,7 +1592,7 @@ __Returns:__
|
|
1591
1592
|
|
1592
1593
|
--
|
1593
1594
|
|
1594
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1595
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L586)
|
1595
1596
|
|
1596
1597
|
> def find_element *args
|
1597
1598
|
|
@@ -1607,7 +1608,7 @@ __Returns:__
|
|
1607
1608
|
|
1608
1609
|
--
|
1609
1610
|
|
1610
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1611
|
+
##### [x](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L593)
|
1611
1612
|
|
1612
1613
|
> def x
|
1613
1614
|
|