appium_lib 0.12.0 → 0.13.0
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 +126 -118
- data/docs/docs.md +1 -0
- data/docs/ios_docs.md +134 -124
- data/lib/appium_lib/android/element/generic.rb +40 -4
- data/lib/appium_lib/common/helper.rb +8 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +2 -1
- data/lib/appium_lib/ios/element/generic.rb +13 -0
- data/lib/appium_lib/ios/element/textfield.rb +10 -0
- data/lib/appium_lib/ios/helper.rb +8 -1
- data/release_notes.md +24 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c7d39782068439fbcc5bb57080607f78fc19f95
|
4
|
+
data.tar.gz: 254312c54c75209cc9f636513fb38c1ebcff91dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dad5d5ef190bde0b2bbd34f50b8a4c222a086a57df03da3e8679e3fdc0278ebdbdd24ce642f55d71396418b578a9a3a541ab636b2a3fe8e71de4b5fcf5a612ac
|
7
|
+
data.tar.gz: bf5dd0100813de654b47f2628acfeb45513ecfd04f6f0e02c572e7f3ff15d4dd1c0b94177abfce387e3a0135f83417de00516b86413c55c8f82dbf98785f3f80
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L10)
|
2
2
|
|
3
3
|
> def s_texts text=nil
|
4
4
|
|
@@ -15,7 +15,15 @@ __Returns:__
|
|
15
15
|
|
16
16
|
--
|
17
17
|
|
18
|
-
##### [
|
18
|
+
##### [s_texts_names](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L18)
|
19
|
+
|
20
|
+
> def s_texts_names
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
--
|
25
|
+
|
26
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L24)
|
19
27
|
|
20
28
|
> def e_s_texts
|
21
29
|
|
@@ -27,7 +35,7 @@ __Returns:__
|
|
27
35
|
|
28
36
|
--
|
29
37
|
|
30
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
38
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L30)
|
31
39
|
|
32
40
|
> def first_s_text
|
33
41
|
|
@@ -39,7 +47,7 @@ __Returns:__
|
|
39
47
|
|
40
48
|
--
|
41
49
|
|
42
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
50
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L36)
|
43
51
|
|
44
52
|
> def last_s_text
|
45
53
|
|
@@ -51,7 +59,7 @@ __Returns:__
|
|
51
59
|
|
52
60
|
--
|
53
61
|
|
54
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
62
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L43)
|
55
63
|
|
56
64
|
> def s_text text
|
57
65
|
|
@@ -67,7 +75,7 @@ __Returns:__
|
|
67
75
|
|
68
76
|
--
|
69
77
|
|
70
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
78
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L51)
|
71
79
|
|
72
80
|
> def s_text_exact text
|
73
81
|
|
@@ -83,7 +91,7 @@ __Returns:__
|
|
83
91
|
|
84
92
|
--
|
85
93
|
|
86
|
-
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/
|
94
|
+
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/text.rb#L58)
|
87
95
|
|
88
96
|
> def s_texts_exact text
|
89
97
|
|
@@ -99,7 +107,7 @@ __Returns:__
|
|
99
107
|
|
100
108
|
--
|
101
109
|
|
102
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
110
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/window.rb#L5)
|
103
111
|
|
104
112
|
> def window_size
|
105
113
|
|
@@ -107,7 +115,7 @@ Get the window's size
|
|
107
115
|
|
108
116
|
--
|
109
117
|
|
110
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
118
|
+
##### [button](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L8)
|
111
119
|
|
112
120
|
> def button text, number=0
|
113
121
|
|
@@ -125,7 +133,7 @@ __Returns:__
|
|
125
133
|
|
126
134
|
--
|
127
135
|
|
128
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
136
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L19)
|
129
137
|
|
130
138
|
> def buttons text=nil
|
131
139
|
|
@@ -141,7 +149,7 @@ __Returns:__
|
|
141
149
|
|
142
150
|
--
|
143
151
|
|
144
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L26)
|
145
153
|
|
146
154
|
> def first_button
|
147
155
|
|
@@ -153,7 +161,7 @@ __Returns:__
|
|
153
161
|
|
154
162
|
--
|
155
163
|
|
156
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L32)
|
157
165
|
|
158
166
|
> def last_button
|
159
167
|
|
@@ -165,7 +173,7 @@ __Returns:__
|
|
165
173
|
|
166
174
|
--
|
167
175
|
|
168
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
176
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L39)
|
169
177
|
|
170
178
|
> def button_exact text
|
171
179
|
|
@@ -181,7 +189,7 @@ __Returns:__
|
|
181
189
|
|
182
190
|
--
|
183
191
|
|
184
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
192
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L46)
|
185
193
|
|
186
194
|
> def buttons_exact text
|
187
195
|
|
@@ -197,7 +205,7 @@ __Returns:__
|
|
197
205
|
|
198
206
|
--
|
199
207
|
|
200
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
208
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L52)
|
201
209
|
|
202
210
|
> def e_buttons
|
203
211
|
|
@@ -209,7 +217,7 @@ __Returns:__
|
|
209
217
|
|
210
218
|
--
|
211
219
|
|
212
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/element/button.rb#L72)
|
213
221
|
|
214
222
|
> def button_num text, number=1
|
215
223
|
|
@@ -238,7 +246,7 @@ __Returns:__
|
|
238
246
|
|
239
247
|
--
|
240
248
|
|
241
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
249
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L6) android
|
242
250
|
|
243
251
|
> def tag_name_to_android tag_name
|
244
252
|
|
@@ -254,7 +262,7 @@ __Returns:__
|
|
254
262
|
|
255
263
|
--
|
256
264
|
|
257
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
265
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L198) android
|
258
266
|
|
259
267
|
> def find_eles_attr tag_name, attribute=nil
|
260
268
|
|
@@ -275,7 +283,7 @@ __Returns:__
|
|
275
283
|
|
276
284
|
--
|
277
285
|
|
278
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L220) android
|
279
287
|
|
280
288
|
> def get_selendroid_inspect
|
281
289
|
|
@@ -288,7 +296,7 @@ __Returns:__
|
|
288
296
|
|
289
297
|
--
|
290
298
|
|
291
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
299
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L282) android
|
292
300
|
|
293
301
|
> def get_page_class
|
294
302
|
|
@@ -296,7 +304,7 @@ __Returns:__
|
|
296
304
|
|
297
305
|
--
|
298
306
|
|
299
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L310) android
|
300
308
|
|
301
309
|
> def page_class
|
302
310
|
|
@@ -305,7 +313,7 @@ Useful for appium_console.
|
|
305
313
|
|
306
314
|
--
|
307
315
|
|
308
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
316
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L319) android
|
309
317
|
|
310
318
|
> def get_android_inspect
|
311
319
|
|
@@ -319,7 +327,7 @@ __Returns:__
|
|
319
327
|
|
320
328
|
--
|
321
329
|
|
322
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L403) android
|
323
331
|
|
324
332
|
> def get_inspect
|
325
333
|
|
@@ -332,7 +340,7 @@ __Returns:__
|
|
332
340
|
|
333
341
|
--
|
334
342
|
|
335
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
343
|
+
##### [page](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L409) android
|
336
344
|
|
337
345
|
> def page
|
338
346
|
|
@@ -341,7 +349,7 @@ Inspects and prints the current page.
|
|
341
349
|
|
342
350
|
--
|
343
351
|
|
344
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
352
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L421) android
|
345
353
|
|
346
354
|
> def fast_duration
|
347
355
|
|
@@ -355,7 +363,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
355
363
|
|
356
364
|
--
|
357
365
|
|
358
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
366
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L427) android
|
359
367
|
|
360
368
|
> def current_app
|
361
369
|
|
@@ -364,7 +372,7 @@ Works on local host only (not remote).
|
|
364
372
|
|
365
373
|
--
|
366
374
|
|
367
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [id](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/helper.rb#L441) android
|
368
376
|
|
369
377
|
> def id id
|
370
378
|
|
@@ -380,7 +388,7 @@ __Returns:__
|
|
380
388
|
|
381
389
|
--
|
382
390
|
|
383
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
391
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/alert.rb#L6) android
|
384
392
|
|
385
393
|
> def alert_click value
|
386
394
|
|
@@ -396,7 +404,7 @@ __Returns:__
|
|
396
404
|
|
397
405
|
--
|
398
406
|
|
399
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
407
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/alert.rb#L13) android
|
400
408
|
|
401
409
|
> def alert_accept
|
402
410
|
|
@@ -409,7 +417,7 @@ __Returns:__
|
|
409
417
|
|
410
418
|
--
|
411
419
|
|
412
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
420
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/alert.rb#L20) android
|
413
421
|
|
414
422
|
> def alert_accept_text
|
415
423
|
|
@@ -422,7 +430,7 @@ __Returns:__
|
|
422
430
|
|
423
431
|
--
|
424
432
|
|
425
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
433
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/alert.rb#L27) android
|
426
434
|
|
427
435
|
> def alert_dismiss
|
428
436
|
|
@@ -435,7 +443,7 @@ __Returns:__
|
|
435
443
|
|
436
444
|
--
|
437
445
|
|
438
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
446
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/alert.rb#L34) android
|
439
447
|
|
440
448
|
> def alert_dismiss_text
|
441
449
|
|
@@ -448,7 +456,7 @@ __Returns:__
|
|
448
456
|
|
449
457
|
--
|
450
458
|
|
451
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
459
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/generic.rb#L44) android
|
452
460
|
|
453
461
|
> def find val
|
454
462
|
|
@@ -465,7 +473,7 @@ __Returns:__
|
|
465
473
|
|
466
474
|
--
|
467
475
|
|
468
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
476
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/generic.rb#L70) android
|
469
477
|
|
470
478
|
> def text text
|
471
479
|
|
@@ -481,7 +489,7 @@ __Returns:__
|
|
481
489
|
|
482
490
|
--
|
483
491
|
|
484
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
492
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/generic.rb#L79) android
|
485
493
|
|
486
494
|
> def texts text
|
487
495
|
|
@@ -497,7 +505,7 @@ __Returns:__
|
|
497
505
|
|
498
506
|
--
|
499
507
|
|
500
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
508
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/generic.rb#L88) android
|
501
509
|
|
502
510
|
> def name name
|
503
511
|
|
@@ -515,7 +523,7 @@ __Returns:__
|
|
515
523
|
|
516
524
|
--
|
517
525
|
|
518
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
526
|
+
##### [names](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/generic.rb#L99) android
|
519
527
|
|
520
528
|
> def names name
|
521
529
|
|
@@ -533,7 +541,7 @@ __Returns:__
|
|
533
541
|
|
534
542
|
--
|
535
543
|
|
536
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
544
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/generic.rb#L108) android
|
537
545
|
|
538
546
|
> def scroll_to text
|
539
547
|
|
@@ -549,7 +557,7 @@ __Returns:__
|
|
549
557
|
|
550
558
|
--
|
551
559
|
|
552
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
560
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/textfield.rb#L7) android
|
553
561
|
|
554
562
|
> def textfields
|
555
563
|
|
@@ -561,7 +569,7 @@ __Returns:__
|
|
561
569
|
|
562
570
|
--
|
563
571
|
|
564
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
572
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/textfield.rb#L13) android
|
565
573
|
|
566
574
|
> def e_textfields
|
567
575
|
|
@@ -573,7 +581,7 @@ __Returns:__
|
|
573
581
|
|
574
582
|
--
|
575
583
|
|
576
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
584
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/textfield.rb#L19) android
|
577
585
|
|
578
586
|
> def first_textfield
|
579
587
|
|
@@ -585,7 +593,7 @@ __Returns:__
|
|
585
593
|
|
586
594
|
--
|
587
595
|
|
588
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
596
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/textfield.rb#L25) android
|
589
597
|
|
590
598
|
> def last_textfield
|
591
599
|
|
@@ -597,7 +605,7 @@ __Returns:__
|
|
597
605
|
|
598
606
|
--
|
599
607
|
|
600
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
608
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/textfield.rb#L32) android
|
601
609
|
|
602
610
|
> def textfield text
|
603
611
|
|
@@ -613,7 +621,7 @@ __Returns:__
|
|
613
621
|
|
614
622
|
--
|
615
623
|
|
616
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
624
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/android/element/textfield.rb#L45) android
|
617
625
|
|
618
626
|
> def textfield_exact text
|
619
627
|
|
@@ -629,7 +637,7 @@ __Returns:__
|
|
629
637
|
|
630
638
|
--
|
631
639
|
|
632
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
640
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L33)
|
633
641
|
|
634
642
|
> def wait max_wait=-1, interval=0.5, &block
|
635
643
|
|
@@ -656,7 +664,7 @@ __Returns:__
|
|
656
664
|
|
657
665
|
--
|
658
666
|
|
659
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
667
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L53)
|
660
668
|
|
661
669
|
> def ignore &block
|
662
670
|
|
@@ -664,7 +672,7 @@ Return block.call and ignore any exceptions.
|
|
664
672
|
|
665
673
|
--
|
666
674
|
|
667
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
675
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L63)
|
668
676
|
|
669
677
|
> def wait_true max_wait=-1, interval=0.5, &block
|
670
678
|
|
@@ -685,7 +693,7 @@ __Returns:__
|
|
685
693
|
|
686
694
|
--
|
687
695
|
|
688
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
696
|
+
##### [back](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L84)
|
689
697
|
|
690
698
|
> def back
|
691
699
|
|
@@ -697,7 +705,7 @@ __Returns:__
|
|
697
705
|
|
698
706
|
--
|
699
707
|
|
700
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
708
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L89)
|
701
709
|
|
702
710
|
> def session_id
|
703
711
|
|
@@ -705,7 +713,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
705
713
|
|
706
714
|
--
|
707
715
|
|
708
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
716
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L97)
|
709
717
|
|
710
718
|
> def xpath xpath_str
|
711
719
|
|
@@ -721,7 +729,7 @@ __Returns:__
|
|
721
729
|
|
722
730
|
--
|
723
731
|
|
724
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
732
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L105)
|
725
733
|
|
726
734
|
> def xpaths xpath_str
|
727
735
|
|
@@ -737,7 +745,7 @@ __Returns:__
|
|
737
745
|
|
738
746
|
--
|
739
747
|
|
740
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
748
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L113)
|
741
749
|
|
742
750
|
> def ele_index tag_name, index
|
743
751
|
|
@@ -755,7 +763,7 @@ __Returns:__
|
|
755
763
|
|
756
764
|
--
|
757
765
|
|
758
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
766
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L122)
|
759
767
|
|
760
768
|
> def find_eles tag_name
|
761
769
|
|
@@ -771,7 +779,7 @@ __Returns:__
|
|
771
779
|
|
772
780
|
--
|
773
781
|
|
774
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
782
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L130)
|
775
783
|
|
776
784
|
> def find_ele_by_text tag, text
|
777
785
|
|
@@ -789,7 +797,7 @@ __Returns:__
|
|
789
797
|
|
790
798
|
--
|
791
799
|
|
792
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
800
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L138)
|
793
801
|
|
794
802
|
> def find_eles_by_text tag, text
|
795
803
|
|
@@ -807,7 +815,7 @@ __Returns:__
|
|
807
815
|
|
808
816
|
--
|
809
817
|
|
810
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
818
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L147)
|
811
819
|
|
812
820
|
> def find_ele_by_attr_include tag, attr, value
|
813
821
|
|
@@ -827,7 +835,7 @@ __Returns:__
|
|
827
835
|
|
828
836
|
--
|
829
837
|
|
830
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L156)
|
831
839
|
|
832
840
|
> def find_eles_by_attr_include tag, attr, value
|
833
841
|
|
@@ -847,7 +855,7 @@ __Returns:__
|
|
847
855
|
|
848
856
|
--
|
849
857
|
|
850
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
858
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L165)
|
851
859
|
|
852
860
|
> def find_ele_by_text_include tag, text
|
853
861
|
|
@@ -866,7 +874,7 @@ __Returns:__
|
|
866
874
|
|
867
875
|
--
|
868
876
|
|
869
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
877
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L174)
|
870
878
|
|
871
879
|
> def find_eles_by_text_include tag, text
|
872
880
|
|
@@ -885,7 +893,7 @@ __Returns:__
|
|
885
893
|
|
886
894
|
--
|
887
895
|
|
888
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
896
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L181)
|
889
897
|
|
890
898
|
> def first_ele tag_name
|
891
899
|
|
@@ -901,7 +909,7 @@ __Returns:__
|
|
901
909
|
|
902
910
|
--
|
903
911
|
|
904
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
912
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L189)
|
905
913
|
|
906
914
|
> def last_ele tag_name
|
907
915
|
|
@@ -917,7 +925,7 @@ __Returns:__
|
|
917
925
|
|
918
926
|
--
|
919
927
|
|
920
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
928
|
+
##### [source](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L195)
|
921
929
|
|
922
930
|
> def source
|
923
931
|
|
@@ -929,7 +937,7 @@ __Returns:__
|
|
929
937
|
|
930
938
|
--
|
931
939
|
|
932
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
940
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L201)
|
933
941
|
|
934
942
|
> def get_source
|
935
943
|
|
@@ -941,7 +949,7 @@ __Returns:__
|
|
941
949
|
|
942
950
|
--
|
943
951
|
|
944
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
952
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L210)
|
945
953
|
|
946
954
|
> def find_name name
|
947
955
|
|
@@ -957,7 +965,7 @@ __Returns:__
|
|
957
965
|
|
958
966
|
--
|
959
967
|
|
960
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
968
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L218)
|
961
969
|
|
962
970
|
> def find_names name
|
963
971
|
|
@@ -973,7 +981,7 @@ __Returns:__
|
|
973
981
|
|
974
982
|
--
|
975
983
|
|
976
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
984
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L226)
|
977
985
|
|
978
986
|
> def tag tag_name
|
979
987
|
|
@@ -989,7 +997,7 @@ __Returns:__
|
|
989
997
|
|
990
998
|
--
|
991
999
|
|
992
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1000
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L236)
|
993
1001
|
|
994
1002
|
> def px_to_window_rel opts={}
|
995
1003
|
|
@@ -1001,7 +1009,7 @@ px_to_window_rel x: 50, y: 150
|
|
1001
1009
|
|
1002
1010
|
--
|
1003
1011
|
|
1004
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1012
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L246)
|
1005
1013
|
|
1006
1014
|
> def lazy_load_strings
|
1007
1015
|
|
@@ -1009,7 +1017,7 @@ px_to_window_rel x: 50, y: 150
|
|
1009
1017
|
|
1010
1018
|
--
|
1011
1019
|
|
1012
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1020
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L253)
|
1013
1021
|
|
1014
1022
|
> def xml_keys target
|
1015
1023
|
|
@@ -1025,7 +1033,7 @@ __Returns:__
|
|
1025
1033
|
|
1026
1034
|
--
|
1027
1035
|
|
1028
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L261)
|
1029
1037
|
|
1030
1038
|
> def xml_values target
|
1031
1039
|
|
@@ -1041,7 +1049,7 @@ __Returns:__
|
|
1041
1049
|
|
1042
1050
|
--
|
1043
1051
|
|
1044
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L269)
|
1045
1053
|
|
1046
1054
|
> def resolve_id id
|
1047
1055
|
|
@@ -1057,7 +1065,7 @@ __Returns:__
|
|
1057
1065
|
|
1058
1066
|
--
|
1059
1067
|
|
1060
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/helper.rb#L275)
|
1061
1069
|
|
1062
1070
|
> def raise_no_element_error
|
1063
1071
|
|
@@ -1065,7 +1073,7 @@ Used to error when finding a single element fails.
|
|
1065
1073
|
|
1066
1074
|
--
|
1067
1075
|
|
1068
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [value](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/patch.rb#L32)
|
1069
1077
|
|
1070
1078
|
> def value
|
1071
1079
|
|
@@ -1075,7 +1083,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1075
1083
|
|
1076
1084
|
--
|
1077
1085
|
|
1078
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1086
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/patch.rb#L39)
|
1079
1087
|
|
1080
1088
|
> def name
|
1081
1089
|
|
@@ -1085,7 +1093,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1085
1093
|
|
1086
1094
|
--
|
1087
1095
|
|
1088
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1096
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/patch.rb#L46)
|
1089
1097
|
|
1090
1098
|
> def tag_name
|
1091
1099
|
|
@@ -1095,7 +1103,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1095
1103
|
|
1096
1104
|
--
|
1097
1105
|
|
1098
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1106
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/common/patch.rb#L58)
|
1099
1107
|
|
1100
1108
|
> def location_rel
|
1101
1109
|
|
@@ -1113,7 +1121,7 @@ __Returns:__
|
|
1113
1121
|
|
1114
1122
|
--
|
1115
1123
|
|
1116
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1124
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L16)
|
1117
1125
|
|
1118
1126
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1119
1127
|
|
@@ -1121,7 +1129,7 @@ __Returns:__
|
|
1121
1129
|
|
1122
1130
|
--
|
1123
1131
|
|
1124
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1132
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L18)
|
1125
1133
|
|
1126
1134
|
> def awesome_openstruct target
|
1127
1135
|
|
@@ -1129,7 +1137,7 @@ __Returns:__
|
|
1129
1137
|
|
1130
1138
|
--
|
1131
1139
|
|
1132
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1140
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L28)
|
1133
1141
|
|
1134
1142
|
> def load_appium_txt opts
|
1135
1143
|
|
@@ -1146,7 +1154,7 @@ __Returns:__
|
|
1146
1154
|
|
1147
1155
|
--
|
1148
1156
|
|
1149
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L154)
|
1150
1158
|
|
1151
1159
|
> def self.promote_singleton_appium_methods main_module
|
1152
1160
|
|
@@ -1154,7 +1162,7 @@ __Returns:__
|
|
1154
1162
|
|
1155
1163
|
--
|
1156
1164
|
|
1157
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1165
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L184)
|
1158
1166
|
|
1159
1167
|
> def self.promote_appium_methods class_array
|
1160
1168
|
|
@@ -1172,7 +1180,7 @@ __Parameters:__
|
|
1172
1180
|
|
1173
1181
|
--
|
1174
1182
|
|
1175
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1183
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L515)
|
1176
1184
|
|
1177
1185
|
> def default_wait
|
1178
1186
|
|
@@ -1185,7 +1193,7 @@ __Returns:__
|
|
1185
1193
|
|
1186
1194
|
--
|
1187
1195
|
|
1188
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1196
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1189
1197
|
|
1190
1198
|
> def app_path
|
1191
1199
|
|
@@ -1193,7 +1201,7 @@ Returns the value of attribute app_path
|
|
1193
1201
|
|
1194
1202
|
--
|
1195
1203
|
|
1196
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1204
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1197
1205
|
|
1198
1206
|
> def app_name
|
1199
1207
|
|
@@ -1201,7 +1209,7 @@ Returns the value of attribute app_name
|
|
1201
1209
|
|
1202
1210
|
--
|
1203
1211
|
|
1204
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1212
|
+
##### [device](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1205
1213
|
|
1206
1214
|
> def device
|
1207
1215
|
|
@@ -1209,7 +1217,7 @@ Returns the value of attribute device
|
|
1209
1217
|
|
1210
1218
|
--
|
1211
1219
|
|
1212
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1220
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1213
1221
|
|
1214
1222
|
> def app_package
|
1215
1223
|
|
@@ -1217,7 +1225,7 @@ Returns the value of attribute app_package
|
|
1217
1225
|
|
1218
1226
|
--
|
1219
1227
|
|
1220
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1228
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1221
1229
|
|
1222
1230
|
> def app_activity
|
1223
1231
|
|
@@ -1225,7 +1233,7 @@ Returns the value of attribute app_activity
|
|
1225
1233
|
|
1226
1234
|
--
|
1227
1235
|
|
1228
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1236
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1229
1237
|
|
1230
1238
|
> def app_wait_activity
|
1231
1239
|
|
@@ -1233,7 +1241,7 @@ Returns the value of attribute app_wait_activity
|
|
1233
1241
|
|
1234
1242
|
--
|
1235
1243
|
|
1236
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1237
1245
|
|
1238
1246
|
> def sauce_username
|
1239
1247
|
|
@@ -1241,7 +1249,7 @@ Returns the value of attribute sauce_username
|
|
1241
1249
|
|
1242
1250
|
--
|
1243
1251
|
|
1244
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1245
1253
|
|
1246
1254
|
> def sauce_access_key
|
1247
1255
|
|
@@ -1249,7 +1257,7 @@ Returns the value of attribute sauce_access_key
|
|
1249
1257
|
|
1250
1258
|
--
|
1251
1259
|
|
1252
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [port](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1253
1261
|
|
1254
1262
|
> def port
|
1255
1263
|
|
@@ -1257,7 +1265,7 @@ Returns the value of attribute port
|
|
1257
1265
|
|
1258
1266
|
--
|
1259
1267
|
|
1260
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1268
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1261
1269
|
|
1262
1270
|
> def debug
|
1263
1271
|
|
@@ -1265,7 +1273,7 @@ Returns the value of attribute debug
|
|
1265
1273
|
|
1266
1274
|
--
|
1267
1275
|
|
1268
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1276
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1269
1277
|
|
1270
1278
|
> def export_session
|
1271
1279
|
|
@@ -1273,7 +1281,7 @@ Returns the value of attribute export_session
|
|
1273
1281
|
|
1274
1282
|
--
|
1275
1283
|
|
1276
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1277
1285
|
|
1278
1286
|
> def device_cap
|
1279
1287
|
|
@@ -1281,7 +1289,7 @@ Returns the value of attribute device_cap
|
|
1281
1289
|
|
1282
1290
|
--
|
1283
1291
|
|
1284
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1285
1293
|
|
1286
1294
|
> def compress_xml
|
1287
1295
|
|
@@ -1289,7 +1297,7 @@ Returns the value of attribute compress_xml
|
|
1289
1297
|
|
1290
1298
|
--
|
1291
1299
|
|
1292
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1300
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L213)
|
1293
1301
|
|
1294
1302
|
> def custom_url
|
1295
1303
|
|
@@ -1297,7 +1305,7 @@ Returns the value of attribute custom_url
|
|
1297
1305
|
|
1298
1306
|
--
|
1299
1307
|
|
1300
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1308
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L219)
|
1301
1309
|
|
1302
1310
|
> def global_webdriver_http_sleep
|
1303
1311
|
|
@@ -1305,7 +1313,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1305
1313
|
|
1306
1314
|
--
|
1307
1315
|
|
1308
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L219)
|
1309
1317
|
|
1310
1318
|
> def global_webdriver_http_sleep=(value)
|
1311
1319
|
|
@@ -1313,7 +1321,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1313
1321
|
|
1314
1322
|
--
|
1315
1323
|
|
1316
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L249)
|
1317
1325
|
|
1318
1326
|
> def initialize opts={}
|
1319
1327
|
|
@@ -1354,7 +1362,7 @@ __Returns:__
|
|
1354
1362
|
|
1355
1363
|
--
|
1356
1364
|
|
1357
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1365
|
+
##### [status](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L356)
|
1358
1366
|
|
1359
1367
|
> def status
|
1360
1368
|
|
@@ -1380,7 +1388,7 @@ __Returns:__
|
|
1380
1388
|
|
1381
1389
|
--
|
1382
1390
|
|
1383
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1391
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L362)
|
1384
1392
|
|
1385
1393
|
> def server_version
|
1386
1394
|
|
@@ -1392,7 +1400,7 @@ __Returns:__
|
|
1392
1400
|
|
1393
1401
|
--
|
1394
1402
|
|
1395
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1403
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L402)
|
1396
1404
|
|
1397
1405
|
> def absolute_app_path
|
1398
1406
|
|
@@ -1404,7 +1412,7 @@ __Returns:__
|
|
1404
1412
|
|
1405
1413
|
--
|
1406
1414
|
|
1407
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1415
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L422)
|
1408
1416
|
|
1409
1417
|
> def server_url
|
1410
1418
|
|
@@ -1416,7 +1424,7 @@ __Returns:__
|
|
1416
1424
|
|
1417
1425
|
--
|
1418
1426
|
|
1419
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1427
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L433)
|
1420
1428
|
|
1421
1429
|
> def restart
|
1422
1430
|
|
@@ -1428,7 +1436,7 @@ __Returns:__
|
|
1428
1436
|
|
1429
1437
|
--
|
1430
1438
|
|
1431
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1439
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L440)
|
1432
1440
|
|
1433
1441
|
> def driver
|
1434
1442
|
|
@@ -1440,7 +1448,7 @@ __Returns:__
|
|
1440
1448
|
|
1441
1449
|
--
|
1442
1450
|
|
1443
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1451
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L450)
|
1444
1452
|
|
1445
1453
|
> def screenshot png_save_path
|
1446
1454
|
|
@@ -1458,7 +1466,7 @@ __Returns:__
|
|
1458
1466
|
|
1459
1467
|
--
|
1460
1468
|
|
1461
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1469
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L457)
|
1462
1470
|
|
1463
1471
|
> def driver_quit
|
1464
1472
|
|
@@ -1470,7 +1478,7 @@ __Returns:__
|
|
1470
1478
|
|
1471
1479
|
--
|
1472
1480
|
|
1473
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1481
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L465)
|
1474
1482
|
|
1475
1483
|
> def start_driver
|
1476
1484
|
|
@@ -1482,19 +1490,19 @@ __Returns:__
|
|
1482
1490
|
|
1483
1491
|
--
|
1484
1492
|
|
1485
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1493
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L499)
|
1486
1494
|
|
1487
1495
|
> def no_wait
|
1488
1496
|
|
1489
|
-
Set implicit wait to zero.
|
1497
|
+
Set implicit wait and default_wait to zero.
|
1490
1498
|
|
1491
1499
|
--
|
1492
1500
|
|
1493
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1501
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L507)
|
1494
1502
|
|
1495
1503
|
> def set_wait timeout=@default_wait
|
1496
1504
|
|
1497
|
-
Set implicit wait to timeout, defaults to 30.
|
1505
|
+
Set implicit wait and default_wait to timeout, defaults to 30.
|
1498
1506
|
|
1499
1507
|
__Parameters:__
|
1500
1508
|
|
@@ -1506,7 +1514,7 @@ __Returns:__
|
|
1506
1514
|
|
1507
1515
|
--
|
1508
1516
|
|
1509
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1517
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L531)
|
1510
1518
|
|
1511
1519
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1512
1520
|
|
@@ -1532,7 +1540,7 @@ __Returns:__
|
|
1532
1540
|
|
1533
1541
|
--
|
1534
1542
|
|
1535
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1543
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L553)
|
1536
1544
|
|
1537
1545
|
> def execute_script script, *args
|
1538
1546
|
|
@@ -1550,7 +1558,7 @@ __Returns:__
|
|
1550
1558
|
|
1551
1559
|
--
|
1552
1560
|
|
1553
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1561
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L569)
|
1554
1562
|
|
1555
1563
|
> def mobile method, *args
|
1556
1564
|
|
@@ -1576,7 +1584,7 @@ __Returns:__
|
|
1576
1584
|
|
1577
1585
|
--
|
1578
1586
|
|
1579
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1587
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L580)
|
1580
1588
|
|
1581
1589
|
> def find_elements *args
|
1582
1590
|
|
@@ -1592,7 +1600,7 @@ __Returns:__
|
|
1592
1600
|
|
1593
1601
|
--
|
1594
1602
|
|
1595
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1603
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L588)
|
1596
1604
|
|
1597
1605
|
> def find_element *args
|
1598
1606
|
|
@@ -1608,7 +1616,7 @@ __Returns:__
|
|
1608
1616
|
|
1609
1617
|
--
|
1610
1618
|
|
1611
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1619
|
+
##### [x](https://github.com/appium/ruby_lib/blob/c92bd3710be09731aa8ba4547a3e19af9eeaceab/lib/appium_lib/driver.rb#L595)
|
1612
1620
|
|
1613
1621
|
> def x
|
1614
1622
|
|