appium_lib 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/docs/ios_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
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
240
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L8) ios
|
221
241
|
|
222
242
|
> def find_eles_attr tag_name, attribute
|
223
243
|
|
@@ -236,7 +256,7 @@ __Returns:__
|
|
236
256
|
|
237
257
|
--
|
238
258
|
|
239
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
259
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L29) ios
|
240
260
|
|
241
261
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
242
262
|
|
@@ -257,7 +277,7 @@ __Returns:__
|
|
257
277
|
|
258
278
|
--
|
259
279
|
|
260
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
280
|
+
##### [password](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L50) ios
|
261
281
|
|
262
282
|
> def password length=1
|
263
283
|
|
@@ -275,7 +295,7 @@ __Returns:__
|
|
275
295
|
|
276
296
|
--
|
277
297
|
|
278
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
298
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L55) ios
|
279
299
|
|
280
300
|
> def get_page_class
|
281
301
|
|
@@ -283,7 +303,7 @@ Returns a string of class counts.
|
|
283
303
|
|
284
304
|
--
|
285
305
|
|
286
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
306
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L81) ios
|
287
307
|
|
288
308
|
> def page_class
|
289
309
|
|
@@ -291,7 +311,7 @@ Returns a string of class counts.
|
|
291
311
|
|
292
312
|
--
|
293
313
|
|
294
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
314
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L93) ios
|
295
315
|
|
296
316
|
> def get_page element=source_window(0)
|
297
317
|
|
@@ -310,7 +330,7 @@ __Returns:__
|
|
310
330
|
|
311
331
|
--
|
312
332
|
|
313
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
333
|
+
##### [page](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L154) ios
|
314
334
|
|
315
335
|
> def page window_number = 0
|
316
336
|
|
@@ -322,7 +342,7 @@ __Returns:__
|
|
322
342
|
|
323
343
|
--
|
324
344
|
|
325
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
345
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L162) ios
|
326
346
|
|
327
347
|
> def source_window window_number=0
|
328
348
|
|
@@ -338,7 +358,7 @@ __Returns:__
|
|
338
358
|
|
339
359
|
--
|
340
360
|
|
341
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
361
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L169) ios
|
342
362
|
|
343
363
|
> def page_window window_number=0
|
344
364
|
|
@@ -351,7 +371,7 @@ __Parameters:__
|
|
351
371
|
|
352
372
|
--
|
353
373
|
|
354
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
374
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L176) ios
|
355
375
|
|
356
376
|
> def fast_duration
|
357
377
|
|
@@ -363,7 +383,7 @@ __Returns:__
|
|
363
383
|
|
364
384
|
--
|
365
385
|
|
366
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
386
|
+
##### [id](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/helper.rb#L183) ios
|
367
387
|
|
368
388
|
> def id id
|
369
389
|
|
@@ -379,7 +399,7 @@ __Returns:__
|
|
379
399
|
|
380
400
|
--
|
381
401
|
|
382
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
402
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/alert.rb#L14) ios
|
383
403
|
|
384
404
|
> def alert_click value
|
385
405
|
|
@@ -402,7 +422,7 @@ __Returns:__
|
|
402
422
|
|
403
423
|
--
|
404
424
|
|
405
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
425
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/alert.rb#L21) ios
|
406
426
|
|
407
427
|
> def alert_text
|
408
428
|
|
@@ -414,7 +434,7 @@ __Returns:__
|
|
414
434
|
|
415
435
|
--
|
416
436
|
|
417
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
437
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/alert.rb#L30) ios
|
418
438
|
|
419
439
|
> def alert_accept
|
420
440
|
|
@@ -426,7 +446,7 @@ __Returns:__
|
|
426
446
|
|
427
447
|
--
|
428
448
|
|
429
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
449
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/alert.rb#L39) ios
|
430
450
|
|
431
451
|
> def alert_accept_text
|
432
452
|
|
@@ -439,7 +459,7 @@ __Returns:__
|
|
439
459
|
|
440
460
|
--
|
441
461
|
|
442
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
462
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/alert.rb#L48) ios
|
443
463
|
|
444
464
|
> def alert_dismiss
|
445
465
|
|
@@ -451,7 +471,7 @@ __Returns:__
|
|
451
471
|
|
452
472
|
--
|
453
473
|
|
454
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
474
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/alert.rb#L57) ios
|
455
475
|
|
456
476
|
> def alert_dismiss_text
|
457
477
|
|
@@ -464,7 +484,7 @@ __Returns:__
|
|
464
484
|
|
465
485
|
--
|
466
486
|
|
467
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
487
|
+
##### [find](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/generic.rb#L61) ios
|
468
488
|
|
469
489
|
> def find text
|
470
490
|
|
@@ -480,7 +500,7 @@ __Returns:__
|
|
480
500
|
|
481
501
|
--
|
482
502
|
|
483
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
503
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/generic.rb#L83) ios
|
484
504
|
|
485
505
|
> def finds text
|
486
506
|
|
@@ -496,7 +516,7 @@ __Returns:__
|
|
496
516
|
|
497
517
|
--
|
498
518
|
|
499
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
519
|
+
##### [text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/generic.rb#L97) ios
|
500
520
|
|
501
521
|
> def text text
|
502
522
|
|
@@ -512,7 +532,7 @@ __Returns:__
|
|
512
532
|
|
513
533
|
--
|
514
534
|
|
515
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
535
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/generic.rb#L105) ios
|
516
536
|
|
517
537
|
> def texts text
|
518
538
|
|
@@ -528,7 +548,7 @@ __Returns:__
|
|
528
548
|
|
529
549
|
--
|
530
550
|
|
531
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
551
|
+
##### [name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/generic.rb#L117) ios
|
532
552
|
|
533
553
|
> def name name
|
534
554
|
|
@@ -546,7 +566,7 @@ __Returns:__
|
|
546
566
|
|
547
567
|
--
|
548
568
|
|
549
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
569
|
+
##### [names](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/generic.rb#L126) ios
|
550
570
|
|
551
571
|
> def names name
|
552
572
|
|
@@ -564,7 +584,7 @@ __Returns:__
|
|
564
584
|
|
565
585
|
--
|
566
586
|
|
567
|
-
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/
|
587
|
+
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L8) ios
|
568
588
|
|
569
589
|
> def locate_single_textfield js
|
570
590
|
|
@@ -575,7 +595,7 @@ to match Android.
|
|
575
595
|
|
576
596
|
--
|
577
597
|
|
578
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
598
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
579
599
|
|
580
600
|
> def textfields
|
581
601
|
|
@@ -588,7 +608,7 @@ __Returns:__
|
|
588
608
|
|
589
609
|
--
|
590
610
|
|
591
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
611
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
592
612
|
|
593
613
|
> def e_textfields
|
594
614
|
|
@@ -600,7 +620,7 @@ __Returns:__
|
|
600
620
|
|
601
621
|
--
|
602
622
|
|
603
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
623
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L30) ios
|
604
624
|
|
605
625
|
> def first_textfield
|
606
626
|
|
@@ -612,7 +632,7 @@ __Returns:__
|
|
612
632
|
|
613
633
|
--
|
614
634
|
|
615
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
635
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L36) ios
|
616
636
|
|
617
637
|
> def last_textfield
|
618
638
|
|
@@ -624,7 +644,7 @@ __Returns:__
|
|
624
644
|
|
625
645
|
--
|
626
646
|
|
627
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
647
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
628
648
|
|
629
649
|
> def textfield text
|
630
650
|
|
@@ -640,7 +660,7 @@ __Returns:__
|
|
640
660
|
|
641
661
|
--
|
642
662
|
|
643
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
663
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
644
664
|
|
645
665
|
> def textfield_include text
|
646
666
|
|
@@ -656,7 +676,7 @@ __Returns:__
|
|
656
676
|
|
657
677
|
--
|
658
678
|
|
659
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
679
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
660
680
|
|
661
681
|
> def textfield_exact text
|
662
682
|
|
@@ -672,9 +692,9 @@ __Returns:__
|
|
672
692
|
|
673
693
|
--
|
674
694
|
|
675
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
695
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L33)
|
676
696
|
|
677
|
-
> def wait max_wait
|
697
|
+
> def wait max_wait=-1, interval=0.5, &block
|
678
698
|
|
679
699
|
Check every 0.5 seconds to see if block.call doesn't raise an exception.
|
680
700
|
if .call raises an exception then it will be tried again.
|
@@ -699,7 +719,7 @@ __Returns:__
|
|
699
719
|
|
700
720
|
--
|
701
721
|
|
702
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
722
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L53)
|
703
723
|
|
704
724
|
> def ignore &block
|
705
725
|
|
@@ -707,9 +727,9 @@ Return block.call and ignore any exceptions.
|
|
707
727
|
|
708
728
|
--
|
709
729
|
|
710
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
730
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L63)
|
711
731
|
|
712
|
-
> def wait_true max_wait
|
732
|
+
> def wait_true max_wait=-1, interval=0.5, &block
|
713
733
|
|
714
734
|
Check every 0.5 seconds to see if block.call returns true. nil is considered a failure.
|
715
735
|
Give up after 30 seconds.
|
@@ -728,7 +748,7 @@ __Returns:__
|
|
728
748
|
|
729
749
|
--
|
730
750
|
|
731
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
751
|
+
##### [back](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L84)
|
732
752
|
|
733
753
|
> def back
|
734
754
|
|
@@ -740,7 +760,7 @@ __Returns:__
|
|
740
760
|
|
741
761
|
--
|
742
762
|
|
743
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
763
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L89)
|
744
764
|
|
745
765
|
> def session_id
|
746
766
|
|
@@ -748,7 +768,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
748
768
|
|
749
769
|
--
|
750
770
|
|
751
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L97)
|
752
772
|
|
753
773
|
> def xpath xpath_str
|
754
774
|
|
@@ -764,7 +784,7 @@ __Returns:__
|
|
764
784
|
|
765
785
|
--
|
766
786
|
|
767
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
787
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L105)
|
768
788
|
|
769
789
|
> def xpaths xpath_str
|
770
790
|
|
@@ -780,7 +800,7 @@ __Returns:__
|
|
780
800
|
|
781
801
|
--
|
782
802
|
|
783
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
803
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L113)
|
784
804
|
|
785
805
|
> def ele_index tag_name, index
|
786
806
|
|
@@ -798,7 +818,7 @@ __Returns:__
|
|
798
818
|
|
799
819
|
--
|
800
820
|
|
801
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
821
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L122)
|
802
822
|
|
803
823
|
> def find_eles tag_name
|
804
824
|
|
@@ -814,7 +834,7 @@ __Returns:__
|
|
814
834
|
|
815
835
|
--
|
816
836
|
|
817
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L130)
|
818
838
|
|
819
839
|
> def find_ele_by_text tag, text
|
820
840
|
|
@@ -832,7 +852,7 @@ __Returns:__
|
|
832
852
|
|
833
853
|
--
|
834
854
|
|
835
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
855
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L138)
|
836
856
|
|
837
857
|
> def find_eles_by_text tag, text
|
838
858
|
|
@@ -850,7 +870,7 @@ __Returns:__
|
|
850
870
|
|
851
871
|
--
|
852
872
|
|
853
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
873
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L147)
|
854
874
|
|
855
875
|
> def find_ele_by_attr_include tag, attr, value
|
856
876
|
|
@@ -870,7 +890,7 @@ __Returns:__
|
|
870
890
|
|
871
891
|
--
|
872
892
|
|
873
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
893
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L156)
|
874
894
|
|
875
895
|
> def find_eles_by_attr_include tag, attr, value
|
876
896
|
|
@@ -890,7 +910,7 @@ __Returns:__
|
|
890
910
|
|
891
911
|
--
|
892
912
|
|
893
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
913
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L165)
|
894
914
|
|
895
915
|
> def find_ele_by_text_include tag, text
|
896
916
|
|
@@ -909,7 +929,7 @@ __Returns:__
|
|
909
929
|
|
910
930
|
--
|
911
931
|
|
912
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
932
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L174)
|
913
933
|
|
914
934
|
> def find_eles_by_text_include tag, text
|
915
935
|
|
@@ -928,7 +948,7 @@ __Returns:__
|
|
928
948
|
|
929
949
|
--
|
930
950
|
|
931
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
951
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L181)
|
932
952
|
|
933
953
|
> def first_ele tag_name
|
934
954
|
|
@@ -944,7 +964,7 @@ __Returns:__
|
|
944
964
|
|
945
965
|
--
|
946
966
|
|
947
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
967
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L189)
|
948
968
|
|
949
969
|
> def last_ele tag_name
|
950
970
|
|
@@ -960,7 +980,7 @@ __Returns:__
|
|
960
980
|
|
961
981
|
--
|
962
982
|
|
963
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
983
|
+
##### [source](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L195)
|
964
984
|
|
965
985
|
> def source
|
966
986
|
|
@@ -972,7 +992,7 @@ __Returns:__
|
|
972
992
|
|
973
993
|
--
|
974
994
|
|
975
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
995
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L201)
|
976
996
|
|
977
997
|
> def get_source
|
978
998
|
|
@@ -984,7 +1004,7 @@ __Returns:__
|
|
984
1004
|
|
985
1005
|
--
|
986
1006
|
|
987
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
1007
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L210)
|
988
1008
|
|
989
1009
|
> def find_name name
|
990
1010
|
|
@@ -1000,7 +1020,7 @@ __Returns:__
|
|
1000
1020
|
|
1001
1021
|
--
|
1002
1022
|
|
1003
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1023
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L218)
|
1004
1024
|
|
1005
1025
|
> def find_names name
|
1006
1026
|
|
@@ -1016,7 +1036,7 @@ __Returns:__
|
|
1016
1036
|
|
1017
1037
|
--
|
1018
1038
|
|
1019
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1039
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L226)
|
1020
1040
|
|
1021
1041
|
> def tag tag_name
|
1022
1042
|
|
@@ -1032,7 +1052,7 @@ __Returns:__
|
|
1032
1052
|
|
1033
1053
|
--
|
1034
1054
|
|
1035
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1055
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L236)
|
1036
1056
|
|
1037
1057
|
> def px_to_window_rel opts={}
|
1038
1058
|
|
@@ -1044,7 +1064,7 @@ px_to_window_rel x: 50, y: 150
|
|
1044
1064
|
|
1045
1065
|
--
|
1046
1066
|
|
1047
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1067
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L246)
|
1048
1068
|
|
1049
1069
|
> def lazy_load_strings
|
1050
1070
|
|
@@ -1052,7 +1072,7 @@ px_to_window_rel x: 50, y: 150
|
|
1052
1072
|
|
1053
1073
|
--
|
1054
1074
|
|
1055
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1075
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L253)
|
1056
1076
|
|
1057
1077
|
> def xml_keys target
|
1058
1078
|
|
@@ -1068,7 +1088,7 @@ __Returns:__
|
|
1068
1088
|
|
1069
1089
|
--
|
1070
1090
|
|
1071
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1091
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L261)
|
1072
1092
|
|
1073
1093
|
> def xml_values target
|
1074
1094
|
|
@@ -1084,7 +1104,7 @@ __Returns:__
|
|
1084
1104
|
|
1085
1105
|
--
|
1086
1106
|
|
1087
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L269)
|
1088
1108
|
|
1089
1109
|
> def resolve_id id
|
1090
1110
|
|
@@ -1100,7 +1120,7 @@ __Returns:__
|
|
1100
1120
|
|
1101
1121
|
--
|
1102
1122
|
|
1103
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/helper.rb#L275)
|
1104
1124
|
|
1105
1125
|
> def raise_no_element_error
|
1106
1126
|
|
@@ -1108,7 +1128,7 @@ Used to error when finding a single element fails.
|
|
1108
1128
|
|
1109
1129
|
--
|
1110
1130
|
|
1111
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1131
|
+
##### [value](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L32)
|
1112
1132
|
|
1113
1133
|
> def value
|
1114
1134
|
|
@@ -1118,7 +1138,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1118
1138
|
|
1119
1139
|
--
|
1120
1140
|
|
1121
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1141
|
+
##### [name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L39)
|
1122
1142
|
|
1123
1143
|
> def name
|
1124
1144
|
|
@@ -1128,7 +1148,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1128
1148
|
|
1129
1149
|
--
|
1130
1150
|
|
1131
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1151
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L46)
|
1132
1152
|
|
1133
1153
|
> def tag_name
|
1134
1154
|
|
@@ -1138,7 +1158,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1138
1158
|
|
1139
1159
|
--
|
1140
1160
|
|
1141
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1161
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/common/patch.rb#L58)
|
1142
1162
|
|
1143
1163
|
> def location_rel
|
1144
1164
|
|
@@ -1156,7 +1176,7 @@ __Returns:__
|
|
1156
1176
|
|
1157
1177
|
--
|
1158
1178
|
|
1159
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1179
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L16)
|
1160
1180
|
|
1161
1181
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1162
1182
|
|
@@ -1164,7 +1184,7 @@ __Returns:__
|
|
1164
1184
|
|
1165
1185
|
--
|
1166
1186
|
|
1167
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1187
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L18)
|
1168
1188
|
|
1169
1189
|
> def awesome_openstruct target
|
1170
1190
|
|
@@ -1172,7 +1192,7 @@ __Returns:__
|
|
1172
1192
|
|
1173
1193
|
--
|
1174
1194
|
|
1175
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1195
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L28)
|
1176
1196
|
|
1177
1197
|
> def load_appium_txt opts
|
1178
1198
|
|
@@ -1189,7 +1209,7 @@ __Returns:__
|
|
1189
1209
|
|
1190
1210
|
--
|
1191
1211
|
|
1192
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1212
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L154)
|
1193
1213
|
|
1194
1214
|
> def self.promote_singleton_appium_methods main_module
|
1195
1215
|
|
@@ -1197,7 +1217,7 @@ __Returns:__
|
|
1197
1217
|
|
1198
1218
|
--
|
1199
1219
|
|
1200
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1220
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L184)
|
1201
1221
|
|
1202
1222
|
> def self.promote_appium_methods class_array
|
1203
1223
|
|
@@ -1215,7 +1235,7 @@ __Parameters:__
|
|
1215
1235
|
|
1216
1236
|
--
|
1217
1237
|
|
1218
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1238
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L513)
|
1219
1239
|
|
1220
1240
|
> def default_wait
|
1221
1241
|
|
@@ -1228,7 +1248,7 @@ __Returns:__
|
|
1228
1248
|
|
1229
1249
|
--
|
1230
1250
|
|
1231
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1251
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1232
1252
|
|
1233
1253
|
> def app_path
|
1234
1254
|
|
@@ -1236,7 +1256,7 @@ Returns the value of attribute app_path
|
|
1236
1256
|
|
1237
1257
|
--
|
1238
1258
|
|
1239
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1259
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1240
1260
|
|
1241
1261
|
> def app_name
|
1242
1262
|
|
@@ -1244,7 +1264,7 @@ Returns the value of attribute app_name
|
|
1244
1264
|
|
1245
1265
|
--
|
1246
1266
|
|
1247
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1267
|
+
##### [device](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1248
1268
|
|
1249
1269
|
> def device
|
1250
1270
|
|
@@ -1252,7 +1272,7 @@ Returns the value of attribute device
|
|
1252
1272
|
|
1253
1273
|
--
|
1254
1274
|
|
1255
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1256
1276
|
|
1257
1277
|
> def app_package
|
1258
1278
|
|
@@ -1260,7 +1280,7 @@ Returns the value of attribute app_package
|
|
1260
1280
|
|
1261
1281
|
--
|
1262
1282
|
|
1263
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1283
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1264
1284
|
|
1265
1285
|
> def app_activity
|
1266
1286
|
|
@@ -1268,7 +1288,7 @@ Returns the value of attribute app_activity
|
|
1268
1288
|
|
1269
1289
|
--
|
1270
1290
|
|
1271
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1291
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1272
1292
|
|
1273
1293
|
> def app_wait_activity
|
1274
1294
|
|
@@ -1276,7 +1296,7 @@ Returns the value of attribute app_wait_activity
|
|
1276
1296
|
|
1277
1297
|
--
|
1278
1298
|
|
1279
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1299
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1280
1300
|
|
1281
1301
|
> def sauce_username
|
1282
1302
|
|
@@ -1284,7 +1304,7 @@ Returns the value of attribute sauce_username
|
|
1284
1304
|
|
1285
1305
|
--
|
1286
1306
|
|
1287
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1307
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1288
1308
|
|
1289
1309
|
> def sauce_access_key
|
1290
1310
|
|
@@ -1292,7 +1312,7 @@ Returns the value of attribute sauce_access_key
|
|
1292
1312
|
|
1293
1313
|
--
|
1294
1314
|
|
1295
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1315
|
+
##### [port](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1296
1316
|
|
1297
1317
|
> def port
|
1298
1318
|
|
@@ -1300,7 +1320,7 @@ Returns the value of attribute port
|
|
1300
1320
|
|
1301
1321
|
--
|
1302
1322
|
|
1303
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1323
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1304
1324
|
|
1305
1325
|
> def debug
|
1306
1326
|
|
@@ -1308,7 +1328,7 @@ Returns the value of attribute debug
|
|
1308
1328
|
|
1309
1329
|
--
|
1310
1330
|
|
1311
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1331
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1312
1332
|
|
1313
1333
|
> def export_session
|
1314
1334
|
|
@@ -1316,7 +1336,7 @@ Returns the value of attribute export_session
|
|
1316
1336
|
|
1317
1337
|
--
|
1318
1338
|
|
1319
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1339
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1320
1340
|
|
1321
1341
|
> def device_cap
|
1322
1342
|
|
@@ -1324,7 +1344,7 @@ Returns the value of attribute device_cap
|
|
1324
1344
|
|
1325
1345
|
--
|
1326
1346
|
|
1327
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1328
1348
|
|
1329
1349
|
> def compress_xml
|
1330
1350
|
|
@@ -1332,7 +1352,7 @@ Returns the value of attribute compress_xml
|
|
1332
1352
|
|
1333
1353
|
--
|
1334
1354
|
|
1335
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1355
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L213)
|
1336
1356
|
|
1337
1357
|
> def custom_url
|
1338
1358
|
|
@@ -1340,7 +1360,7 @@ Returns the value of attribute custom_url
|
|
1340
1360
|
|
1341
1361
|
--
|
1342
1362
|
|
1343
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1363
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L219)
|
1344
1364
|
|
1345
1365
|
> def global_webdriver_http_sleep
|
1346
1366
|
|
@@ -1348,7 +1368,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1348
1368
|
|
1349
1369
|
--
|
1350
1370
|
|
1351
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L219)
|
1352
1372
|
|
1353
1373
|
> def global_webdriver_http_sleep=(value)
|
1354
1374
|
|
@@ -1356,7 +1376,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1356
1376
|
|
1357
1377
|
--
|
1358
1378
|
|
1359
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1379
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L249)
|
1360
1380
|
|
1361
1381
|
> def initialize opts={}
|
1362
1382
|
|
@@ -1397,7 +1417,7 @@ __Returns:__
|
|
1397
1417
|
|
1398
1418
|
--
|
1399
1419
|
|
1400
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1420
|
+
##### [status](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L356)
|
1401
1421
|
|
1402
1422
|
> def status
|
1403
1423
|
|
@@ -1423,7 +1443,7 @@ __Returns:__
|
|
1423
1443
|
|
1424
1444
|
--
|
1425
1445
|
|
1426
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1446
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L362)
|
1427
1447
|
|
1428
1448
|
> def server_version
|
1429
1449
|
|
@@ -1435,7 +1455,7 @@ __Returns:__
|
|
1435
1455
|
|
1436
1456
|
--
|
1437
1457
|
|
1438
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1458
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L402)
|
1439
1459
|
|
1440
1460
|
> def absolute_app_path
|
1441
1461
|
|
@@ -1447,7 +1467,7 @@ __Returns:__
|
|
1447
1467
|
|
1448
1468
|
--
|
1449
1469
|
|
1450
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1470
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L422)
|
1451
1471
|
|
1452
1472
|
> def server_url
|
1453
1473
|
|
@@ -1459,7 +1479,7 @@ __Returns:__
|
|
1459
1479
|
|
1460
1480
|
--
|
1461
1481
|
|
1462
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1482
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L433)
|
1463
1483
|
|
1464
1484
|
> def restart
|
1465
1485
|
|
@@ -1471,7 +1491,7 @@ __Returns:__
|
|
1471
1491
|
|
1472
1492
|
--
|
1473
1493
|
|
1474
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1494
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L440)
|
1475
1495
|
|
1476
1496
|
> def driver
|
1477
1497
|
|
@@ -1483,7 +1503,7 @@ __Returns:__
|
|
1483
1503
|
|
1484
1504
|
--
|
1485
1505
|
|
1486
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1506
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L450)
|
1487
1507
|
|
1488
1508
|
> def screenshot png_save_path
|
1489
1509
|
|
@@ -1501,7 +1521,7 @@ __Returns:__
|
|
1501
1521
|
|
1502
1522
|
--
|
1503
1523
|
|
1504
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1524
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L457)
|
1505
1525
|
|
1506
1526
|
> def driver_quit
|
1507
1527
|
|
@@ -1513,7 +1533,7 @@ __Returns:__
|
|
1513
1533
|
|
1514
1534
|
--
|
1515
1535
|
|
1516
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1536
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L465)
|
1517
1537
|
|
1518
1538
|
> def start_driver
|
1519
1539
|
|
@@ -1525,7 +1545,7 @@ __Returns:__
|
|
1525
1545
|
|
1526
1546
|
--
|
1527
1547
|
|
1528
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1548
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L499)
|
1529
1549
|
|
1530
1550
|
> def no_wait
|
1531
1551
|
|
@@ -1533,7 +1553,7 @@ Set implicit wait to zero.
|
|
1533
1553
|
|
1534
1554
|
--
|
1535
1555
|
|
1536
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1556
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L506)
|
1537
1557
|
|
1538
1558
|
> def set_wait timeout=@default_wait
|
1539
1559
|
|
@@ -1549,7 +1569,7 @@ __Returns:__
|
|
1549
1569
|
|
1550
1570
|
--
|
1551
1571
|
|
1552
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1572
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L529)
|
1553
1573
|
|
1554
1574
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1555
1575
|
|
@@ -1575,7 +1595,7 @@ __Returns:__
|
|
1575
1595
|
|
1576
1596
|
--
|
1577
1597
|
|
1578
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1598
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L551)
|
1579
1599
|
|
1580
1600
|
> def execute_script script, *args
|
1581
1601
|
|
@@ -1593,7 +1613,7 @@ __Returns:__
|
|
1593
1613
|
|
1594
1614
|
--
|
1595
1615
|
|
1596
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1616
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L567)
|
1597
1617
|
|
1598
1618
|
> def mobile method, *args
|
1599
1619
|
|
@@ -1619,7 +1639,7 @@ __Returns:__
|
|
1619
1639
|
|
1620
1640
|
--
|
1621
1641
|
|
1622
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1642
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L578)
|
1623
1643
|
|
1624
1644
|
> def find_elements *args
|
1625
1645
|
|
@@ -1635,7 +1655,7 @@ __Returns:__
|
|
1635
1655
|
|
1636
1656
|
--
|
1637
1657
|
|
1638
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1658
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L586)
|
1639
1659
|
|
1640
1660
|
> def find_element *args
|
1641
1661
|
|
@@ -1651,7 +1671,7 @@ __Returns:__
|
|
1651
1671
|
|
1652
1672
|
--
|
1653
1673
|
|
1654
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1674
|
+
##### [x](https://github.com/appium/ruby_lib/blob/948074c44917029fb27b08ed582c90d7f73a7cde/lib/appium_lib/driver.rb#L593)
|
1655
1675
|
|
1656
1676
|
> def x
|
1657
1677
|
|