appium_lib 0.11.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/android_docs.md +140 -120
- data/docs/ios_docs.md +143 -123
- data/lib/appium_lib/common/element/text.rb +10 -11
- data/lib/appium_lib/common/version.rb +1 -1
- data/release_notes.md +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb65916ddf233be06be19c28f6ff623c7784d7c7
|
4
|
+
data.tar.gz: 969419b5d22f4bad0ea9dcd977e7896db3f1ad78
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ccad191cd5323e57e2a9754b295fb81b0f449d7e003451524cc6171e5dd868d43fba85b289453e0723110b9b12efce2b8a48a0ec940cf878def581f3d312804
|
7
|
+
data.tar.gz: 32e073ed7f1ea845f1947c68a65be19998a125b874023b5c1fded561d0524bf90fad7e0eb86dd71c40b0e388654989e41448c9b2d10186e2eb2e98aadf60cd89
|
data/docs/android_docs.md
CHANGED
@@ -1,16 +1,20 @@
|
|
1
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/text.rb#L8)
|
2
2
|
|
3
|
-
> def s_texts
|
3
|
+
> def s_texts(text)
|
4
4
|
|
5
|
-
Get
|
5
|
+
Get all static textfields that include text.
|
6
|
+
|
7
|
+
__Parameters:__
|
8
|
+
|
9
|
+
[String] text - the text to find.
|
6
10
|
|
7
11
|
__Returns:__
|
8
12
|
|
9
|
-
[Array<
|
13
|
+
[Array<Text>]
|
10
14
|
|
11
15
|
--
|
12
16
|
|
13
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
17
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/text.rb#L14)
|
14
18
|
|
15
19
|
> def e_s_texts
|
16
20
|
|
@@ -22,7 +26,7 @@ __Returns:__
|
|
22
26
|
|
23
27
|
--
|
24
28
|
|
25
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
29
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/text.rb#L20)
|
26
30
|
|
27
31
|
> def first_s_text
|
28
32
|
|
@@ -34,7 +38,7 @@ __Returns:__
|
|
34
38
|
|
35
39
|
--
|
36
40
|
|
37
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
41
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/text.rb#L26)
|
38
42
|
|
39
43
|
> def last_s_text
|
40
44
|
|
@@ -46,7 +50,7 @@ __Returns:__
|
|
46
50
|
|
47
51
|
--
|
48
52
|
|
49
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
53
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/text.rb#L33)
|
50
54
|
|
51
55
|
> def s_text text
|
52
56
|
|
@@ -62,7 +66,7 @@ __Returns:__
|
|
62
66
|
|
63
67
|
--
|
64
68
|
|
65
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
69
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/text.rb#L48)
|
66
70
|
|
67
71
|
> def s_text_exact text
|
68
72
|
|
@@ -78,7 +82,23 @@ __Returns:__
|
|
78
82
|
|
79
83
|
--
|
80
84
|
|
81
|
-
##### [
|
85
|
+
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/text.rb#L55)
|
86
|
+
|
87
|
+
> def s_texts_exact text
|
88
|
+
|
89
|
+
Get all static textfields that matches text.
|
90
|
+
|
91
|
+
__Parameters:__
|
92
|
+
|
93
|
+
[String] text - the text that the tag must match
|
94
|
+
|
95
|
+
__Returns:__
|
96
|
+
|
97
|
+
[Array<Text>]
|
98
|
+
|
99
|
+
--
|
100
|
+
|
101
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/window.rb#L5)
|
82
102
|
|
83
103
|
> def window_size
|
84
104
|
|
@@ -86,7 +106,7 @@ Get the window's size
|
|
86
106
|
|
87
107
|
--
|
88
108
|
|
89
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
109
|
+
##### [button](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L8)
|
90
110
|
|
91
111
|
> def button text, number=0
|
92
112
|
|
@@ -104,7 +124,7 @@ __Returns:__
|
|
104
124
|
|
105
125
|
--
|
106
126
|
|
107
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
127
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L19)
|
108
128
|
|
109
129
|
> def buttons text=nil
|
110
130
|
|
@@ -120,7 +140,7 @@ __Returns:__
|
|
120
140
|
|
121
141
|
--
|
122
142
|
|
123
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
143
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L26)
|
124
144
|
|
125
145
|
> def first_button
|
126
146
|
|
@@ -132,7 +152,7 @@ __Returns:__
|
|
132
152
|
|
133
153
|
--
|
134
154
|
|
135
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
155
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L32)
|
136
156
|
|
137
157
|
> def last_button
|
138
158
|
|
@@ -144,7 +164,7 @@ __Returns:__
|
|
144
164
|
|
145
165
|
--
|
146
166
|
|
147
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
167
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L39)
|
148
168
|
|
149
169
|
> def button_exact text
|
150
170
|
|
@@ -160,7 +180,7 @@ __Returns:__
|
|
160
180
|
|
161
181
|
--
|
162
182
|
|
163
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
183
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L46)
|
164
184
|
|
165
185
|
> def buttons_exact text
|
166
186
|
|
@@ -176,7 +196,7 @@ __Returns:__
|
|
176
196
|
|
177
197
|
--
|
178
198
|
|
179
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
199
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L52)
|
180
200
|
|
181
201
|
> def e_buttons
|
182
202
|
|
@@ -188,7 +208,7 @@ __Returns:__
|
|
188
208
|
|
189
209
|
--
|
190
210
|
|
191
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
211
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/element/button.rb#L72)
|
192
212
|
|
193
213
|
> def button_num text, number=1
|
194
214
|
|
@@ -217,7 +237,7 @@ __Returns:__
|
|
217
237
|
|
218
238
|
--
|
219
239
|
|
220
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
240
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L6) android
|
221
241
|
|
222
242
|
> def tag_name_to_android tag_name
|
223
243
|
|
@@ -233,7 +253,7 @@ __Returns:__
|
|
233
253
|
|
234
254
|
--
|
235
255
|
|
236
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L198) android
|
237
257
|
|
238
258
|
> def find_eles_attr tag_name, attribute=nil
|
239
259
|
|
@@ -254,7 +274,7 @@ __Returns:__
|
|
254
274
|
|
255
275
|
--
|
256
276
|
|
257
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
277
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L220) android
|
258
278
|
|
259
279
|
> def get_selendroid_inspect
|
260
280
|
|
@@ -267,7 +287,7 @@ __Returns:__
|
|
267
287
|
|
268
288
|
--
|
269
289
|
|
270
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
290
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L282) android
|
271
291
|
|
272
292
|
> def get_page_class
|
273
293
|
|
@@ -275,7 +295,7 @@ __Returns:__
|
|
275
295
|
|
276
296
|
--
|
277
297
|
|
278
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L310) android
|
279
299
|
|
280
300
|
> def page_class
|
281
301
|
|
@@ -284,7 +304,7 @@ Useful for appium_console.
|
|
284
304
|
|
285
305
|
--
|
286
306
|
|
287
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L319) android
|
288
308
|
|
289
309
|
> def get_android_inspect
|
290
310
|
|
@@ -298,7 +318,7 @@ __Returns:__
|
|
298
318
|
|
299
319
|
--
|
300
320
|
|
301
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
321
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L397) android
|
302
322
|
|
303
323
|
> def get_inspect
|
304
324
|
|
@@ -311,7 +331,7 @@ __Returns:__
|
|
311
331
|
|
312
332
|
--
|
313
333
|
|
314
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
334
|
+
##### [page](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L403) android
|
315
335
|
|
316
336
|
> def page
|
317
337
|
|
@@ -320,7 +340,7 @@ Inspects and prints the current page.
|
|
320
340
|
|
321
341
|
--
|
322
342
|
|
323
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
343
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L415) android
|
324
344
|
|
325
345
|
> def fast_duration
|
326
346
|
|
@@ -334,7 +354,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
334
354
|
|
335
355
|
--
|
336
356
|
|
337
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
357
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L421) android
|
338
358
|
|
339
359
|
> def current_app
|
340
360
|
|
@@ -343,7 +363,7 @@ Works on local host only (not remote).
|
|
343
363
|
|
344
364
|
--
|
345
365
|
|
346
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [id](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/helper.rb#L435) android
|
347
367
|
|
348
368
|
> def id id
|
349
369
|
|
@@ -359,7 +379,7 @@ __Returns:__
|
|
359
379
|
|
360
380
|
--
|
361
381
|
|
362
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
382
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/alert.rb#L6) android
|
363
383
|
|
364
384
|
> def alert_click value
|
365
385
|
|
@@ -375,7 +395,7 @@ __Returns:__
|
|
375
395
|
|
376
396
|
--
|
377
397
|
|
378
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
398
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/alert.rb#L13) android
|
379
399
|
|
380
400
|
> def alert_accept
|
381
401
|
|
@@ -388,7 +408,7 @@ __Returns:__
|
|
388
408
|
|
389
409
|
--
|
390
410
|
|
391
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
411
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/alert.rb#L20) android
|
392
412
|
|
393
413
|
> def alert_accept_text
|
394
414
|
|
@@ -401,7 +421,7 @@ __Returns:__
|
|
401
421
|
|
402
422
|
--
|
403
423
|
|
404
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
424
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/alert.rb#L27) android
|
405
425
|
|
406
426
|
> def alert_dismiss
|
407
427
|
|
@@ -414,7 +434,7 @@ __Returns:__
|
|
414
434
|
|
415
435
|
--
|
416
436
|
|
417
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/alert.rb#L34) android
|
418
438
|
|
419
439
|
> def alert_dismiss_text
|
420
440
|
|
@@ -427,7 +447,7 @@ __Returns:__
|
|
427
447
|
|
428
448
|
--
|
429
449
|
|
430
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
450
|
+
##### [find](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/generic.rb#L44) android
|
431
451
|
|
432
452
|
> def find val
|
433
453
|
|
@@ -444,7 +464,7 @@ __Returns:__
|
|
444
464
|
|
445
465
|
--
|
446
466
|
|
447
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
467
|
+
##### [text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/generic.rb#L70) android
|
448
468
|
|
449
469
|
> def text text
|
450
470
|
|
@@ -460,7 +480,7 @@ __Returns:__
|
|
460
480
|
|
461
481
|
--
|
462
482
|
|
463
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
483
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/generic.rb#L79) android
|
464
484
|
|
465
485
|
> def texts text
|
466
486
|
|
@@ -476,7 +496,7 @@ __Returns:__
|
|
476
496
|
|
477
497
|
--
|
478
498
|
|
479
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
499
|
+
##### [name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/generic.rb#L88) android
|
480
500
|
|
481
501
|
> def name name
|
482
502
|
|
@@ -494,7 +514,7 @@ __Returns:__
|
|
494
514
|
|
495
515
|
--
|
496
516
|
|
497
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
517
|
+
##### [names](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/generic.rb#L99) android
|
498
518
|
|
499
519
|
> def names name
|
500
520
|
|
@@ -512,7 +532,7 @@ __Returns:__
|
|
512
532
|
|
513
533
|
--
|
514
534
|
|
515
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
535
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/generic.rb#L108) android
|
516
536
|
|
517
537
|
> def scroll_to text
|
518
538
|
|
@@ -528,7 +548,7 @@ __Returns:__
|
|
528
548
|
|
529
549
|
--
|
530
550
|
|
531
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
551
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/textfield.rb#L7) android
|
532
552
|
|
533
553
|
> def textfields
|
534
554
|
|
@@ -540,7 +560,7 @@ __Returns:__
|
|
540
560
|
|
541
561
|
--
|
542
562
|
|
543
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
563
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/textfield.rb#L13) android
|
544
564
|
|
545
565
|
> def e_textfields
|
546
566
|
|
@@ -552,7 +572,7 @@ __Returns:__
|
|
552
572
|
|
553
573
|
--
|
554
574
|
|
555
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
575
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/textfield.rb#L19) android
|
556
576
|
|
557
577
|
> def first_textfield
|
558
578
|
|
@@ -564,7 +584,7 @@ __Returns:__
|
|
564
584
|
|
565
585
|
--
|
566
586
|
|
567
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
587
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/textfield.rb#L25) android
|
568
588
|
|
569
589
|
> def last_textfield
|
570
590
|
|
@@ -576,7 +596,7 @@ __Returns:__
|
|
576
596
|
|
577
597
|
--
|
578
598
|
|
579
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
599
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/textfield.rb#L32) android
|
580
600
|
|
581
601
|
> def textfield text
|
582
602
|
|
@@ -592,7 +612,7 @@ __Returns:__
|
|
592
612
|
|
593
613
|
--
|
594
614
|
|
595
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
615
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/android/element/textfield.rb#L45) android
|
596
616
|
|
597
617
|
> def textfield_exact text
|
598
618
|
|
@@ -608,9 +628,9 @@ __Returns:__
|
|
608
628
|
|
609
629
|
--
|
610
630
|
|
611
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
631
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L33)
|
612
632
|
|
613
|
-
> def wait max_wait
|
633
|
+
> def wait max_wait=-1, interval=0.5, &block
|
614
634
|
|
615
635
|
Check every 0.5 seconds to see if block.call doesn't raise an exception.
|
616
636
|
if .call raises an exception then it will be tried again.
|
@@ -635,7 +655,7 @@ __Returns:__
|
|
635
655
|
|
636
656
|
--
|
637
657
|
|
638
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
658
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L53)
|
639
659
|
|
640
660
|
> def ignore &block
|
641
661
|
|
@@ -643,9 +663,9 @@ Return block.call and ignore any exceptions.
|
|
643
663
|
|
644
664
|
--
|
645
665
|
|
646
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
666
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L63)
|
647
667
|
|
648
|
-
> def wait_true max_wait
|
668
|
+
> def wait_true max_wait=-1, interval=0.5, &block
|
649
669
|
|
650
670
|
Check every 0.5 seconds to see if block.call returns true. nil is considered a failure.
|
651
671
|
Give up after 30 seconds.
|
@@ -664,7 +684,7 @@ __Returns:__
|
|
664
684
|
|
665
685
|
--
|
666
686
|
|
667
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
687
|
+
##### [back](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L84)
|
668
688
|
|
669
689
|
> def back
|
670
690
|
|
@@ -676,7 +696,7 @@ __Returns:__
|
|
676
696
|
|
677
697
|
--
|
678
698
|
|
679
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
699
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L89)
|
680
700
|
|
681
701
|
> def session_id
|
682
702
|
|
@@ -684,7 +704,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
684
704
|
|
685
705
|
--
|
686
706
|
|
687
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
707
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L97)
|
688
708
|
|
689
709
|
> def xpath xpath_str
|
690
710
|
|
@@ -700,7 +720,7 @@ __Returns:__
|
|
700
720
|
|
701
721
|
--
|
702
722
|
|
703
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
723
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L105)
|
704
724
|
|
705
725
|
> def xpaths xpath_str
|
706
726
|
|
@@ -716,7 +736,7 @@ __Returns:__
|
|
716
736
|
|
717
737
|
--
|
718
738
|
|
719
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
739
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L113)
|
720
740
|
|
721
741
|
> def ele_index tag_name, index
|
722
742
|
|
@@ -734,7 +754,7 @@ __Returns:__
|
|
734
754
|
|
735
755
|
--
|
736
756
|
|
737
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
757
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L122)
|
738
758
|
|
739
759
|
> def find_eles tag_name
|
740
760
|
|
@@ -750,7 +770,7 @@ __Returns:__
|
|
750
770
|
|
751
771
|
--
|
752
772
|
|
753
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L130)
|
754
774
|
|
755
775
|
> def find_ele_by_text tag, text
|
756
776
|
|
@@ -768,7 +788,7 @@ __Returns:__
|
|
768
788
|
|
769
789
|
--
|
770
790
|
|
771
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
791
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L138)
|
772
792
|
|
773
793
|
> def find_eles_by_text tag, text
|
774
794
|
|
@@ -786,7 +806,7 @@ __Returns:__
|
|
786
806
|
|
787
807
|
--
|
788
808
|
|
789
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L147)
|
790
810
|
|
791
811
|
> def find_ele_by_attr_include tag, attr, value
|
792
812
|
|
@@ -806,7 +826,7 @@ __Returns:__
|
|
806
826
|
|
807
827
|
--
|
808
828
|
|
809
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
829
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L156)
|
810
830
|
|
811
831
|
> def find_eles_by_attr_include tag, attr, value
|
812
832
|
|
@@ -826,7 +846,7 @@ __Returns:__
|
|
826
846
|
|
827
847
|
--
|
828
848
|
|
829
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L165)
|
830
850
|
|
831
851
|
> def find_ele_by_text_include tag, text
|
832
852
|
|
@@ -845,7 +865,7 @@ __Returns:__
|
|
845
865
|
|
846
866
|
--
|
847
867
|
|
848
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
868
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L174)
|
849
869
|
|
850
870
|
> def find_eles_by_text_include tag, text
|
851
871
|
|
@@ -864,7 +884,7 @@ __Returns:__
|
|
864
884
|
|
865
885
|
--
|
866
886
|
|
867
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
887
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L181)
|
868
888
|
|
869
889
|
> def first_ele tag_name
|
870
890
|
|
@@ -880,7 +900,7 @@ __Returns:__
|
|
880
900
|
|
881
901
|
--
|
882
902
|
|
883
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
903
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L189)
|
884
904
|
|
885
905
|
> def last_ele tag_name
|
886
906
|
|
@@ -896,7 +916,7 @@ __Returns:__
|
|
896
916
|
|
897
917
|
--
|
898
918
|
|
899
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [source](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L195)
|
900
920
|
|
901
921
|
> def source
|
902
922
|
|
@@ -908,7 +928,7 @@ __Returns:__
|
|
908
928
|
|
909
929
|
--
|
910
930
|
|
911
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
931
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L201)
|
912
932
|
|
913
933
|
> def get_source
|
914
934
|
|
@@ -920,7 +940,7 @@ __Returns:__
|
|
920
940
|
|
921
941
|
--
|
922
942
|
|
923
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
943
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L210)
|
924
944
|
|
925
945
|
> def find_name name
|
926
946
|
|
@@ -936,7 +956,7 @@ __Returns:__
|
|
936
956
|
|
937
957
|
--
|
938
958
|
|
939
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
959
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L218)
|
940
960
|
|
941
961
|
> def find_names name
|
942
962
|
|
@@ -952,7 +972,7 @@ __Returns:__
|
|
952
972
|
|
953
973
|
--
|
954
974
|
|
955
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L226)
|
956
976
|
|
957
977
|
> def tag tag_name
|
958
978
|
|
@@ -968,7 +988,7 @@ __Returns:__
|
|
968
988
|
|
969
989
|
--
|
970
990
|
|
971
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L236)
|
972
992
|
|
973
993
|
> def px_to_window_rel opts={}
|
974
994
|
|
@@ -980,7 +1000,7 @@ px_to_window_rel x: 50, y: 150
|
|
980
1000
|
|
981
1001
|
--
|
982
1002
|
|
983
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1003
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L246)
|
984
1004
|
|
985
1005
|
> def lazy_load_strings
|
986
1006
|
|
@@ -988,7 +1008,7 @@ px_to_window_rel x: 50, y: 150
|
|
988
1008
|
|
989
1009
|
--
|
990
1010
|
|
991
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1011
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L253)
|
992
1012
|
|
993
1013
|
> def xml_keys target
|
994
1014
|
|
@@ -1004,7 +1024,7 @@ __Returns:__
|
|
1004
1024
|
|
1005
1025
|
--
|
1006
1026
|
|
1007
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1027
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L261)
|
1008
1028
|
|
1009
1029
|
> def xml_values target
|
1010
1030
|
|
@@ -1020,7 +1040,7 @@ __Returns:__
|
|
1020
1040
|
|
1021
1041
|
--
|
1022
1042
|
|
1023
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1043
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L269)
|
1024
1044
|
|
1025
1045
|
> def resolve_id id
|
1026
1046
|
|
@@ -1036,7 +1056,7 @@ __Returns:__
|
|
1036
1056
|
|
1037
1057
|
--
|
1038
1058
|
|
1039
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1059
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L275)
|
1040
1060
|
|
1041
1061
|
> def raise_no_element_error
|
1042
1062
|
|
@@ -1044,7 +1064,7 @@ Used to error when finding a single element fails.
|
|
1044
1064
|
|
1045
1065
|
--
|
1046
1066
|
|
1047
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1067
|
+
##### [value](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L32)
|
1048
1068
|
|
1049
1069
|
> def value
|
1050
1070
|
|
@@ -1054,7 +1074,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1054
1074
|
|
1055
1075
|
--
|
1056
1076
|
|
1057
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1077
|
+
##### [name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L39)
|
1058
1078
|
|
1059
1079
|
> def name
|
1060
1080
|
|
@@ -1064,7 +1084,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1064
1084
|
|
1065
1085
|
--
|
1066
1086
|
|
1067
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L46)
|
1068
1088
|
|
1069
1089
|
> def tag_name
|
1070
1090
|
|
@@ -1074,7 +1094,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1074
1094
|
|
1075
1095
|
--
|
1076
1096
|
|
1077
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1097
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L58)
|
1078
1098
|
|
1079
1099
|
> def location_rel
|
1080
1100
|
|
@@ -1092,7 +1112,7 @@ __Returns:__
|
|
1092
1112
|
|
1093
1113
|
--
|
1094
1114
|
|
1095
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1115
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L16)
|
1096
1116
|
|
1097
1117
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1098
1118
|
|
@@ -1100,7 +1120,7 @@ __Returns:__
|
|
1100
1120
|
|
1101
1121
|
--
|
1102
1122
|
|
1103
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L18)
|
1104
1124
|
|
1105
1125
|
> def awesome_openstruct target
|
1106
1126
|
|
@@ -1108,7 +1128,7 @@ __Returns:__
|
|
1108
1128
|
|
1109
1129
|
--
|
1110
1130
|
|
1111
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L28)
|
1112
1132
|
|
1113
1133
|
> def load_appium_txt opts
|
1114
1134
|
|
@@ -1125,7 +1145,7 @@ __Returns:__
|
|
1125
1145
|
|
1126
1146
|
--
|
1127
1147
|
|
1128
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1148
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L154)
|
1129
1149
|
|
1130
1150
|
> def self.promote_singleton_appium_methods main_module
|
1131
1151
|
|
@@ -1133,7 +1153,7 @@ __Returns:__
|
|
1133
1153
|
|
1134
1154
|
--
|
1135
1155
|
|
1136
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1156
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L184)
|
1137
1157
|
|
1138
1158
|
> def self.promote_appium_methods class_array
|
1139
1159
|
|
@@ -1151,7 +1171,7 @@ __Parameters:__
|
|
1151
1171
|
|
1152
1172
|
--
|
1153
1173
|
|
1154
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1174
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L513)
|
1155
1175
|
|
1156
1176
|
> def default_wait
|
1157
1177
|
|
@@ -1164,7 +1184,7 @@ __Returns:__
|
|
1164
1184
|
|
1165
1185
|
--
|
1166
1186
|
|
1167
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1187
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1168
1188
|
|
1169
1189
|
> def app_path
|
1170
1190
|
|
@@ -1172,7 +1192,7 @@ Returns the value of attribute app_path
|
|
1172
1192
|
|
1173
1193
|
--
|
1174
1194
|
|
1175
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1195
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1176
1196
|
|
1177
1197
|
> def app_name
|
1178
1198
|
|
@@ -1180,7 +1200,7 @@ Returns the value of attribute app_name
|
|
1180
1200
|
|
1181
1201
|
--
|
1182
1202
|
|
1183
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1203
|
+
##### [device](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1184
1204
|
|
1185
1205
|
> def device
|
1186
1206
|
|
@@ -1188,7 +1208,7 @@ Returns the value of attribute device
|
|
1188
1208
|
|
1189
1209
|
--
|
1190
1210
|
|
1191
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1211
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1192
1212
|
|
1193
1213
|
> def app_package
|
1194
1214
|
|
@@ -1196,7 +1216,7 @@ Returns the value of attribute app_package
|
|
1196
1216
|
|
1197
1217
|
--
|
1198
1218
|
|
1199
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1219
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1200
1220
|
|
1201
1221
|
> def app_activity
|
1202
1222
|
|
@@ -1204,7 +1224,7 @@ Returns the value of attribute app_activity
|
|
1204
1224
|
|
1205
1225
|
--
|
1206
1226
|
|
1207
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1227
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1208
1228
|
|
1209
1229
|
> def app_wait_activity
|
1210
1230
|
|
@@ -1212,7 +1232,7 @@ Returns the value of attribute app_wait_activity
|
|
1212
1232
|
|
1213
1233
|
--
|
1214
1234
|
|
1215
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1235
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1216
1236
|
|
1217
1237
|
> def sauce_username
|
1218
1238
|
|
@@ -1220,7 +1240,7 @@ Returns the value of attribute sauce_username
|
|
1220
1240
|
|
1221
1241
|
--
|
1222
1242
|
|
1223
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1243
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1224
1244
|
|
1225
1245
|
> def sauce_access_key
|
1226
1246
|
|
@@ -1228,7 +1248,7 @@ Returns the value of attribute sauce_access_key
|
|
1228
1248
|
|
1229
1249
|
--
|
1230
1250
|
|
1231
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1251
|
+
##### [port](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1232
1252
|
|
1233
1253
|
> def port
|
1234
1254
|
|
@@ -1236,7 +1256,7 @@ Returns the value of attribute port
|
|
1236
1256
|
|
1237
1257
|
--
|
1238
1258
|
|
1239
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1259
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1240
1260
|
|
1241
1261
|
> def debug
|
1242
1262
|
|
@@ -1244,7 +1264,7 @@ Returns the value of attribute debug
|
|
1244
1264
|
|
1245
1265
|
--
|
1246
1266
|
|
1247
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1248
1268
|
|
1249
1269
|
> def export_session
|
1250
1270
|
|
@@ -1252,7 +1272,7 @@ Returns the value of attribute export_session
|
|
1252
1272
|
|
1253
1273
|
--
|
1254
1274
|
|
1255
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1256
1276
|
|
1257
1277
|
> def device_cap
|
1258
1278
|
|
@@ -1260,7 +1280,7 @@ Returns the value of attribute device_cap
|
|
1260
1280
|
|
1261
1281
|
--
|
1262
1282
|
|
1263
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1264
1284
|
|
1265
1285
|
> def compress_xml
|
1266
1286
|
|
@@ -1268,7 +1288,7 @@ Returns the value of attribute compress_xml
|
|
1268
1288
|
|
1269
1289
|
--
|
1270
1290
|
|
1271
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1272
1292
|
|
1273
1293
|
> def custom_url
|
1274
1294
|
|
@@ -1276,7 +1296,7 @@ Returns the value of attribute custom_url
|
|
1276
1296
|
|
1277
1297
|
--
|
1278
1298
|
|
1279
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L219)
|
1280
1300
|
|
1281
1301
|
> def global_webdriver_http_sleep
|
1282
1302
|
|
@@ -1284,7 +1304,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1284
1304
|
|
1285
1305
|
--
|
1286
1306
|
|
1287
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L219)
|
1288
1308
|
|
1289
1309
|
> def global_webdriver_http_sleep=(value)
|
1290
1310
|
|
@@ -1292,7 +1312,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1292
1312
|
|
1293
1313
|
--
|
1294
1314
|
|
1295
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L249)
|
1296
1316
|
|
1297
1317
|
> def initialize opts={}
|
1298
1318
|
|
@@ -1333,7 +1353,7 @@ __Returns:__
|
|
1333
1353
|
|
1334
1354
|
--
|
1335
1355
|
|
1336
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1356
|
+
##### [status](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L356)
|
1337
1357
|
|
1338
1358
|
> def status
|
1339
1359
|
|
@@ -1359,7 +1379,7 @@ __Returns:__
|
|
1359
1379
|
|
1360
1380
|
--
|
1361
1381
|
|
1362
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1382
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L362)
|
1363
1383
|
|
1364
1384
|
> def server_version
|
1365
1385
|
|
@@ -1371,7 +1391,7 @@ __Returns:__
|
|
1371
1391
|
|
1372
1392
|
--
|
1373
1393
|
|
1374
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L402)
|
1375
1395
|
|
1376
1396
|
> def absolute_app_path
|
1377
1397
|
|
@@ -1383,7 +1403,7 @@ __Returns:__
|
|
1383
1403
|
|
1384
1404
|
--
|
1385
1405
|
|
1386
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L422)
|
1387
1407
|
|
1388
1408
|
> def server_url
|
1389
1409
|
|
@@ -1395,7 +1415,7 @@ __Returns:__
|
|
1395
1415
|
|
1396
1416
|
--
|
1397
1417
|
|
1398
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1418
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L433)
|
1399
1419
|
|
1400
1420
|
> def restart
|
1401
1421
|
|
@@ -1407,7 +1427,7 @@ __Returns:__
|
|
1407
1427
|
|
1408
1428
|
--
|
1409
1429
|
|
1410
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1430
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L440)
|
1411
1431
|
|
1412
1432
|
> def driver
|
1413
1433
|
|
@@ -1419,7 +1439,7 @@ __Returns:__
|
|
1419
1439
|
|
1420
1440
|
--
|
1421
1441
|
|
1422
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1442
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L450)
|
1423
1443
|
|
1424
1444
|
> def screenshot png_save_path
|
1425
1445
|
|
@@ -1437,7 +1457,7 @@ __Returns:__
|
|
1437
1457
|
|
1438
1458
|
--
|
1439
1459
|
|
1440
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1460
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L457)
|
1441
1461
|
|
1442
1462
|
> def driver_quit
|
1443
1463
|
|
@@ -1449,7 +1469,7 @@ __Returns:__
|
|
1449
1469
|
|
1450
1470
|
--
|
1451
1471
|
|
1452
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1472
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L465)
|
1453
1473
|
|
1454
1474
|
> def start_driver
|
1455
1475
|
|
@@ -1461,7 +1481,7 @@ __Returns:__
|
|
1461
1481
|
|
1462
1482
|
--
|
1463
1483
|
|
1464
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1484
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L499)
|
1465
1485
|
|
1466
1486
|
> def no_wait
|
1467
1487
|
|
@@ -1469,7 +1489,7 @@ Set implicit wait to zero.
|
|
1469
1489
|
|
1470
1490
|
--
|
1471
1491
|
|
1472
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1492
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L506)
|
1473
1493
|
|
1474
1494
|
> def set_wait timeout=@default_wait
|
1475
1495
|
|
@@ -1485,7 +1505,7 @@ __Returns:__
|
|
1485
1505
|
|
1486
1506
|
--
|
1487
1507
|
|
1488
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1508
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L529)
|
1489
1509
|
|
1490
1510
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1491
1511
|
|
@@ -1511,7 +1531,7 @@ __Returns:__
|
|
1511
1531
|
|
1512
1532
|
--
|
1513
1533
|
|
1514
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1534
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L551)
|
1515
1535
|
|
1516
1536
|
> def execute_script script, *args
|
1517
1537
|
|
@@ -1529,7 +1549,7 @@ __Returns:__
|
|
1529
1549
|
|
1530
1550
|
--
|
1531
1551
|
|
1532
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1552
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L567)
|
1533
1553
|
|
1534
1554
|
> def mobile method, *args
|
1535
1555
|
|
@@ -1555,7 +1575,7 @@ __Returns:__
|
|
1555
1575
|
|
1556
1576
|
--
|
1557
1577
|
|
1558
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1578
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L578)
|
1559
1579
|
|
1560
1580
|
> def find_elements *args
|
1561
1581
|
|
@@ -1571,7 +1591,7 @@ __Returns:__
|
|
1571
1591
|
|
1572
1592
|
--
|
1573
1593
|
|
1574
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1594
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L586)
|
1575
1595
|
|
1576
1596
|
> def find_element *args
|
1577
1597
|
|
@@ -1587,7 +1607,7 @@ __Returns:__
|
|
1587
1607
|
|
1588
1608
|
--
|
1589
1609
|
|
1590
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1610
|
+
##### [x](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L593)
|
1591
1611
|
|
1592
1612
|
> def x
|
1593
1613
|
|