appium_lib 0.11.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/appium_lib.gemspec +3 -3
- data/docs/android_docs.md +119 -118
- data/docs/ios_docs.md +122 -121
- data/lib/appium_lib/android/helper.rb +8 -2
- data/lib/appium_lib/common/element/text.rb +4 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +4 -2
- data/lib/appium_lib/ios/element/alert.rb +42 -10
- data/lib/appium_lib/ios/helper.rb +10 -3
- data/readme.md +13 -0
- data/release_notes.md +6 -0
- metadata +22 -22
data/docs/ios_docs.md
CHANGED
@@ -1,7 +1,8 @@
|
|
1
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L10)
|
2
2
|
|
3
|
-
> def s_texts
|
3
|
+
> def s_texts text=nil
|
4
4
|
|
5
|
+
Get an array of text texts if text is nil else
|
5
6
|
Get all static textfields that include text.
|
6
7
|
|
7
8
|
__Parameters:__
|
@@ -10,11 +11,11 @@ __Parameters:__
|
|
10
11
|
|
11
12
|
__Returns:__
|
12
13
|
|
13
|
-
[Array
|
14
|
+
[Array]
|
14
15
|
|
15
16
|
--
|
16
17
|
|
17
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
18
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L20)
|
18
19
|
|
19
20
|
> def e_s_texts
|
20
21
|
|
@@ -26,7 +27,7 @@ __Returns:__
|
|
26
27
|
|
27
28
|
--
|
28
29
|
|
29
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
30
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L26)
|
30
31
|
|
31
32
|
> def first_s_text
|
32
33
|
|
@@ -38,7 +39,7 @@ __Returns:__
|
|
38
39
|
|
39
40
|
--
|
40
41
|
|
41
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
42
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L32)
|
42
43
|
|
43
44
|
> def last_s_text
|
44
45
|
|
@@ -50,7 +51,7 @@ __Returns:__
|
|
50
51
|
|
51
52
|
--
|
52
53
|
|
53
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
54
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L39)
|
54
55
|
|
55
56
|
> def s_text text
|
56
57
|
|
@@ -66,7 +67,7 @@ __Returns:__
|
|
66
67
|
|
67
68
|
--
|
68
69
|
|
69
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
70
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L47)
|
70
71
|
|
71
72
|
> def s_text_exact text
|
72
73
|
|
@@ -82,7 +83,7 @@ __Returns:__
|
|
82
83
|
|
83
84
|
--
|
84
85
|
|
85
|
-
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/
|
86
|
+
##### [s_texts_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/text.rb#L54)
|
86
87
|
|
87
88
|
> def s_texts_exact text
|
88
89
|
|
@@ -98,7 +99,7 @@ __Returns:__
|
|
98
99
|
|
99
100
|
--
|
100
101
|
|
101
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
102
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/window.rb#L5)
|
102
103
|
|
103
104
|
> def window_size
|
104
105
|
|
@@ -106,7 +107,7 @@ Get the window's size
|
|
106
107
|
|
107
108
|
--
|
108
109
|
|
109
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
110
|
+
##### [button](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L8)
|
110
111
|
|
111
112
|
> def button text, number=0
|
112
113
|
|
@@ -124,7 +125,7 @@ __Returns:__
|
|
124
125
|
|
125
126
|
--
|
126
127
|
|
127
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
128
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L19)
|
128
129
|
|
129
130
|
> def buttons text=nil
|
130
131
|
|
@@ -140,7 +141,7 @@ __Returns:__
|
|
140
141
|
|
141
142
|
--
|
142
143
|
|
143
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
144
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L26)
|
144
145
|
|
145
146
|
> def first_button
|
146
147
|
|
@@ -152,7 +153,7 @@ __Returns:__
|
|
152
153
|
|
153
154
|
--
|
154
155
|
|
155
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
156
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L32)
|
156
157
|
|
157
158
|
> def last_button
|
158
159
|
|
@@ -164,7 +165,7 @@ __Returns:__
|
|
164
165
|
|
165
166
|
--
|
166
167
|
|
167
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
168
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L39)
|
168
169
|
|
169
170
|
> def button_exact text
|
170
171
|
|
@@ -180,7 +181,7 @@ __Returns:__
|
|
180
181
|
|
181
182
|
--
|
182
183
|
|
183
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
184
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L46)
|
184
185
|
|
185
186
|
> def buttons_exact text
|
186
187
|
|
@@ -196,7 +197,7 @@ __Returns:__
|
|
196
197
|
|
197
198
|
--
|
198
199
|
|
199
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
200
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L52)
|
200
201
|
|
201
202
|
> def e_buttons
|
202
203
|
|
@@ -208,7 +209,7 @@ __Returns:__
|
|
208
209
|
|
209
210
|
--
|
210
211
|
|
211
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
212
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/element/button.rb#L72)
|
212
213
|
|
213
214
|
> def button_num text, number=1
|
214
215
|
|
@@ -237,7 +238,7 @@ __Returns:__
|
|
237
238
|
|
238
239
|
--
|
239
240
|
|
240
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
241
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L8) ios
|
241
242
|
|
242
243
|
> def find_eles_attr tag_name, attribute
|
243
244
|
|
@@ -256,7 +257,7 @@ __Returns:__
|
|
256
257
|
|
257
258
|
--
|
258
259
|
|
259
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
260
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L29) ios
|
260
261
|
|
261
262
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
262
263
|
|
@@ -277,7 +278,7 @@ __Returns:__
|
|
277
278
|
|
278
279
|
--
|
279
280
|
|
280
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
281
|
+
##### [password](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L50) ios
|
281
282
|
|
282
283
|
> def password length=1
|
283
284
|
|
@@ -295,7 +296,7 @@ __Returns:__
|
|
295
296
|
|
296
297
|
--
|
297
298
|
|
298
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
299
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L55) ios
|
299
300
|
|
300
301
|
> def get_page_class
|
301
302
|
|
@@ -303,7 +304,7 @@ Returns a string of class counts.
|
|
303
304
|
|
304
305
|
--
|
305
306
|
|
306
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L81) ios
|
307
308
|
|
308
309
|
> def page_class
|
309
310
|
|
@@ -311,7 +312,7 @@ Returns a string of class counts.
|
|
311
312
|
|
312
313
|
--
|
313
314
|
|
314
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
315
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L93) ios
|
315
316
|
|
316
317
|
> def get_page element=source_window(0)
|
317
318
|
|
@@ -330,7 +331,7 @@ __Returns:__
|
|
330
331
|
|
331
332
|
--
|
332
333
|
|
333
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
334
|
+
##### [page](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L154) ios
|
334
335
|
|
335
336
|
> def page window_number = 0
|
336
337
|
|
@@ -342,7 +343,7 @@ __Returns:__
|
|
342
343
|
|
343
344
|
--
|
344
345
|
|
345
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
346
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L162) ios
|
346
347
|
|
347
348
|
> def source_window window_number=0
|
348
349
|
|
@@ -358,7 +359,7 @@ __Returns:__
|
|
358
359
|
|
359
360
|
--
|
360
361
|
|
361
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L169) ios
|
362
363
|
|
363
364
|
> def page_window window_number=0
|
364
365
|
|
@@ -371,7 +372,7 @@ __Parameters:__
|
|
371
372
|
|
372
373
|
--
|
373
374
|
|
374
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
375
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L176) ios
|
375
376
|
|
376
377
|
> def fast_duration
|
377
378
|
|
@@ -383,7 +384,7 @@ __Returns:__
|
|
383
384
|
|
384
385
|
--
|
385
386
|
|
386
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
387
|
+
##### [id](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/helper.rb#L183) ios
|
387
388
|
|
388
389
|
> def id id
|
389
390
|
|
@@ -399,7 +400,7 @@ __Returns:__
|
|
399
400
|
|
400
401
|
--
|
401
402
|
|
402
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
403
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/alert.rb#L14) ios
|
403
404
|
|
404
405
|
> def alert_click value
|
405
406
|
|
@@ -422,7 +423,7 @@ __Returns:__
|
|
422
423
|
|
423
424
|
--
|
424
425
|
|
425
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
426
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/alert.rb#L21) ios
|
426
427
|
|
427
428
|
> def alert_text
|
428
429
|
|
@@ -434,7 +435,7 @@ __Returns:__
|
|
434
435
|
|
435
436
|
--
|
436
437
|
|
437
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
438
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/alert.rb#L30) ios
|
438
439
|
|
439
440
|
> def alert_accept
|
440
441
|
|
@@ -446,7 +447,7 @@ __Returns:__
|
|
446
447
|
|
447
448
|
--
|
448
449
|
|
449
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
450
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/alert.rb#L39) ios
|
450
451
|
|
451
452
|
> def alert_accept_text
|
452
453
|
|
@@ -459,7 +460,7 @@ __Returns:__
|
|
459
460
|
|
460
461
|
--
|
461
462
|
|
462
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
463
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/alert.rb#L48) ios
|
463
464
|
|
464
465
|
> def alert_dismiss
|
465
466
|
|
@@ -471,7 +472,7 @@ __Returns:__
|
|
471
472
|
|
472
473
|
--
|
473
474
|
|
474
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
475
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/alert.rb#L57) ios
|
475
476
|
|
476
477
|
> def alert_dismiss_text
|
477
478
|
|
@@ -484,7 +485,7 @@ __Returns:__
|
|
484
485
|
|
485
486
|
--
|
486
487
|
|
487
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
488
|
+
##### [find](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/generic.rb#L61) ios
|
488
489
|
|
489
490
|
> def find text
|
490
491
|
|
@@ -500,7 +501,7 @@ __Returns:__
|
|
500
501
|
|
501
502
|
--
|
502
503
|
|
503
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
504
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/generic.rb#L83) ios
|
504
505
|
|
505
506
|
> def finds text
|
506
507
|
|
@@ -516,7 +517,7 @@ __Returns:__
|
|
516
517
|
|
517
518
|
--
|
518
519
|
|
519
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
520
|
+
##### [text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/generic.rb#L97) ios
|
520
521
|
|
521
522
|
> def text text
|
522
523
|
|
@@ -532,7 +533,7 @@ __Returns:__
|
|
532
533
|
|
533
534
|
--
|
534
535
|
|
535
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
536
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/generic.rb#L105) ios
|
536
537
|
|
537
538
|
> def texts text
|
538
539
|
|
@@ -548,7 +549,7 @@ __Returns:__
|
|
548
549
|
|
549
550
|
--
|
550
551
|
|
551
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
552
|
+
##### [name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/generic.rb#L117) ios
|
552
553
|
|
553
554
|
> def name name
|
554
555
|
|
@@ -566,7 +567,7 @@ __Returns:__
|
|
566
567
|
|
567
568
|
--
|
568
569
|
|
569
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
570
|
+
##### [names](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/generic.rb#L126) ios
|
570
571
|
|
571
572
|
> def names name
|
572
573
|
|
@@ -584,7 +585,7 @@ __Returns:__
|
|
584
585
|
|
585
586
|
--
|
586
587
|
|
587
|
-
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/
|
588
|
+
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L8) ios
|
588
589
|
|
589
590
|
> def locate_single_textfield js
|
590
591
|
|
@@ -595,7 +596,7 @@ to match Android.
|
|
595
596
|
|
596
597
|
--
|
597
598
|
|
598
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
599
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
599
600
|
|
600
601
|
> def textfields
|
601
602
|
|
@@ -608,7 +609,7 @@ __Returns:__
|
|
608
609
|
|
609
610
|
--
|
610
611
|
|
611
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
612
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
612
613
|
|
613
614
|
> def e_textfields
|
614
615
|
|
@@ -620,7 +621,7 @@ __Returns:__
|
|
620
621
|
|
621
622
|
--
|
622
623
|
|
623
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
624
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L30) ios
|
624
625
|
|
625
626
|
> def first_textfield
|
626
627
|
|
@@ -632,7 +633,7 @@ __Returns:__
|
|
632
633
|
|
633
634
|
--
|
634
635
|
|
635
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
636
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L36) ios
|
636
637
|
|
637
638
|
> def last_textfield
|
638
639
|
|
@@ -644,7 +645,7 @@ __Returns:__
|
|
644
645
|
|
645
646
|
--
|
646
647
|
|
647
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
648
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
648
649
|
|
649
650
|
> def textfield text
|
650
651
|
|
@@ -660,7 +661,7 @@ __Returns:__
|
|
660
661
|
|
661
662
|
--
|
662
663
|
|
663
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
664
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
664
665
|
|
665
666
|
> def textfield_include text
|
666
667
|
|
@@ -676,7 +677,7 @@ __Returns:__
|
|
676
677
|
|
677
678
|
--
|
678
679
|
|
679
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
680
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
680
681
|
|
681
682
|
> def textfield_exact text
|
682
683
|
|
@@ -692,7 +693,7 @@ __Returns:__
|
|
692
693
|
|
693
694
|
--
|
694
695
|
|
695
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
696
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L33)
|
696
697
|
|
697
698
|
> def wait max_wait=-1, interval=0.5, &block
|
698
699
|
|
@@ -719,7 +720,7 @@ __Returns:__
|
|
719
720
|
|
720
721
|
--
|
721
722
|
|
722
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
723
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L53)
|
723
724
|
|
724
725
|
> def ignore &block
|
725
726
|
|
@@ -727,7 +728,7 @@ Return block.call and ignore any exceptions.
|
|
727
728
|
|
728
729
|
--
|
729
730
|
|
730
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
731
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L63)
|
731
732
|
|
732
733
|
> def wait_true max_wait=-1, interval=0.5, &block
|
733
734
|
|
@@ -748,7 +749,7 @@ __Returns:__
|
|
748
749
|
|
749
750
|
--
|
750
751
|
|
751
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
752
|
+
##### [back](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L84)
|
752
753
|
|
753
754
|
> def back
|
754
755
|
|
@@ -760,7 +761,7 @@ __Returns:__
|
|
760
761
|
|
761
762
|
--
|
762
763
|
|
763
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
764
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L89)
|
764
765
|
|
765
766
|
> def session_id
|
766
767
|
|
@@ -768,7 +769,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
768
769
|
|
769
770
|
--
|
770
771
|
|
771
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
772
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L97)
|
772
773
|
|
773
774
|
> def xpath xpath_str
|
774
775
|
|
@@ -784,7 +785,7 @@ __Returns:__
|
|
784
785
|
|
785
786
|
--
|
786
787
|
|
787
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
788
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L105)
|
788
789
|
|
789
790
|
> def xpaths xpath_str
|
790
791
|
|
@@ -800,7 +801,7 @@ __Returns:__
|
|
800
801
|
|
801
802
|
--
|
802
803
|
|
803
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
804
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L113)
|
804
805
|
|
805
806
|
> def ele_index tag_name, index
|
806
807
|
|
@@ -818,7 +819,7 @@ __Returns:__
|
|
818
819
|
|
819
820
|
--
|
820
821
|
|
821
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
822
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L122)
|
822
823
|
|
823
824
|
> def find_eles tag_name
|
824
825
|
|
@@ -834,7 +835,7 @@ __Returns:__
|
|
834
835
|
|
835
836
|
--
|
836
837
|
|
837
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
838
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L130)
|
838
839
|
|
839
840
|
> def find_ele_by_text tag, text
|
840
841
|
|
@@ -852,7 +853,7 @@ __Returns:__
|
|
852
853
|
|
853
854
|
--
|
854
855
|
|
855
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
856
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L138)
|
856
857
|
|
857
858
|
> def find_eles_by_text tag, text
|
858
859
|
|
@@ -870,7 +871,7 @@ __Returns:__
|
|
870
871
|
|
871
872
|
--
|
872
873
|
|
873
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
874
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L147)
|
874
875
|
|
875
876
|
> def find_ele_by_attr_include tag, attr, value
|
876
877
|
|
@@ -890,7 +891,7 @@ __Returns:__
|
|
890
891
|
|
891
892
|
--
|
892
893
|
|
893
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
894
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L156)
|
894
895
|
|
895
896
|
> def find_eles_by_attr_include tag, attr, value
|
896
897
|
|
@@ -910,7 +911,7 @@ __Returns:__
|
|
910
911
|
|
911
912
|
--
|
912
913
|
|
913
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
914
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L165)
|
914
915
|
|
915
916
|
> def find_ele_by_text_include tag, text
|
916
917
|
|
@@ -929,7 +930,7 @@ __Returns:__
|
|
929
930
|
|
930
931
|
--
|
931
932
|
|
932
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
933
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L174)
|
933
934
|
|
934
935
|
> def find_eles_by_text_include tag, text
|
935
936
|
|
@@ -948,7 +949,7 @@ __Returns:__
|
|
948
949
|
|
949
950
|
--
|
950
951
|
|
951
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
952
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L181)
|
952
953
|
|
953
954
|
> def first_ele tag_name
|
954
955
|
|
@@ -964,7 +965,7 @@ __Returns:__
|
|
964
965
|
|
965
966
|
--
|
966
967
|
|
967
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
968
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L189)
|
968
969
|
|
969
970
|
> def last_ele tag_name
|
970
971
|
|
@@ -980,7 +981,7 @@ __Returns:__
|
|
980
981
|
|
981
982
|
--
|
982
983
|
|
983
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
984
|
+
##### [source](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L195)
|
984
985
|
|
985
986
|
> def source
|
986
987
|
|
@@ -992,7 +993,7 @@ __Returns:__
|
|
992
993
|
|
993
994
|
--
|
994
995
|
|
995
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
996
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L201)
|
996
997
|
|
997
998
|
> def get_source
|
998
999
|
|
@@ -1004,7 +1005,7 @@ __Returns:__
|
|
1004
1005
|
|
1005
1006
|
--
|
1006
1007
|
|
1007
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
1008
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L210)
|
1008
1009
|
|
1009
1010
|
> def find_name name
|
1010
1011
|
|
@@ -1020,7 +1021,7 @@ __Returns:__
|
|
1020
1021
|
|
1021
1022
|
--
|
1022
1023
|
|
1023
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
1024
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L218)
|
1024
1025
|
|
1025
1026
|
> def find_names name
|
1026
1027
|
|
@@ -1036,7 +1037,7 @@ __Returns:__
|
|
1036
1037
|
|
1037
1038
|
--
|
1038
1039
|
|
1039
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
1040
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L226)
|
1040
1041
|
|
1041
1042
|
> def tag tag_name
|
1042
1043
|
|
@@ -1052,7 +1053,7 @@ __Returns:__
|
|
1052
1053
|
|
1053
1054
|
--
|
1054
1055
|
|
1055
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
1056
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L236)
|
1056
1057
|
|
1057
1058
|
> def px_to_window_rel opts={}
|
1058
1059
|
|
@@ -1064,7 +1065,7 @@ px_to_window_rel x: 50, y: 150
|
|
1064
1065
|
|
1065
1066
|
--
|
1066
1067
|
|
1067
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L246)
|
1068
1069
|
|
1069
1070
|
> def lazy_load_strings
|
1070
1071
|
|
@@ -1072,7 +1073,7 @@ px_to_window_rel x: 50, y: 150
|
|
1072
1073
|
|
1073
1074
|
--
|
1074
1075
|
|
1075
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1076
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L253)
|
1076
1077
|
|
1077
1078
|
> def xml_keys target
|
1078
1079
|
|
@@ -1088,7 +1089,7 @@ __Returns:__
|
|
1088
1089
|
|
1089
1090
|
--
|
1090
1091
|
|
1091
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1092
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L261)
|
1092
1093
|
|
1093
1094
|
> def xml_values target
|
1094
1095
|
|
@@ -1104,7 +1105,7 @@ __Returns:__
|
|
1104
1105
|
|
1105
1106
|
--
|
1106
1107
|
|
1107
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1108
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L269)
|
1108
1109
|
|
1109
1110
|
> def resolve_id id
|
1110
1111
|
|
@@ -1120,7 +1121,7 @@ __Returns:__
|
|
1120
1121
|
|
1121
1122
|
--
|
1122
1123
|
|
1123
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
1124
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/helper.rb#L275)
|
1124
1125
|
|
1125
1126
|
> def raise_no_element_error
|
1126
1127
|
|
@@ -1128,7 +1129,7 @@ Used to error when finding a single element fails.
|
|
1128
1129
|
|
1129
1130
|
--
|
1130
1131
|
|
1131
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1132
|
+
##### [value](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L32)
|
1132
1133
|
|
1133
1134
|
> def value
|
1134
1135
|
|
@@ -1138,7 +1139,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1138
1139
|
|
1139
1140
|
--
|
1140
1141
|
|
1141
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1142
|
+
##### [name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L39)
|
1142
1143
|
|
1143
1144
|
> def name
|
1144
1145
|
|
@@ -1148,7 +1149,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1148
1149
|
|
1149
1150
|
--
|
1150
1151
|
|
1151
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1152
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L46)
|
1152
1153
|
|
1153
1154
|
> def tag_name
|
1154
1155
|
|
@@ -1158,7 +1159,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1158
1159
|
|
1159
1160
|
--
|
1160
1161
|
|
1161
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1162
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/common/patch.rb#L58)
|
1162
1163
|
|
1163
1164
|
> def location_rel
|
1164
1165
|
|
@@ -1176,7 +1177,7 @@ __Returns:__
|
|
1176
1177
|
|
1177
1178
|
--
|
1178
1179
|
|
1179
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L16)
|
1180
1181
|
|
1181
1182
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
1182
1183
|
|
@@ -1184,7 +1185,7 @@ __Returns:__
|
|
1184
1185
|
|
1185
1186
|
--
|
1186
1187
|
|
1187
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
1188
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L18)
|
1188
1189
|
|
1189
1190
|
> def awesome_openstruct target
|
1190
1191
|
|
@@ -1192,7 +1193,7 @@ __Returns:__
|
|
1192
1193
|
|
1193
1194
|
--
|
1194
1195
|
|
1195
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1196
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L28)
|
1196
1197
|
|
1197
1198
|
> def load_appium_txt opts
|
1198
1199
|
|
@@ -1209,7 +1210,7 @@ __Returns:__
|
|
1209
1210
|
|
1210
1211
|
--
|
1211
1212
|
|
1212
|
-
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1213
|
+
##### [promote_singleton_appium_methods](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L154)
|
1213
1214
|
|
1214
1215
|
> def self.promote_singleton_appium_methods main_module
|
1215
1216
|
|
@@ -1217,7 +1218,7 @@ __Returns:__
|
|
1217
1218
|
|
1218
1219
|
--
|
1219
1220
|
|
1220
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L184)
|
1221
1222
|
|
1222
1223
|
> def self.promote_appium_methods class_array
|
1223
1224
|
|
@@ -1235,7 +1236,7 @@ __Parameters:__
|
|
1235
1236
|
|
1236
1237
|
--
|
1237
1238
|
|
1238
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L513)
|
1239
1240
|
|
1240
1241
|
> def default_wait
|
1241
1242
|
|
@@ -1248,7 +1249,7 @@ __Returns:__
|
|
1248
1249
|
|
1249
1250
|
--
|
1250
1251
|
|
1251
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1252
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1252
1253
|
|
1253
1254
|
> def app_path
|
1254
1255
|
|
@@ -1256,7 +1257,7 @@ Returns the value of attribute app_path
|
|
1256
1257
|
|
1257
1258
|
--
|
1258
1259
|
|
1259
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1260
1261
|
|
1261
1262
|
> def app_name
|
1262
1263
|
|
@@ -1264,7 +1265,7 @@ Returns the value of attribute app_name
|
|
1264
1265
|
|
1265
1266
|
--
|
1266
1267
|
|
1267
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
1268
|
+
##### [device](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1268
1269
|
|
1269
1270
|
> def device
|
1270
1271
|
|
@@ -1272,7 +1273,7 @@ Returns the value of attribute device
|
|
1272
1273
|
|
1273
1274
|
--
|
1274
1275
|
|
1275
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
1276
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1276
1277
|
|
1277
1278
|
> def app_package
|
1278
1279
|
|
@@ -1280,7 +1281,7 @@ Returns the value of attribute app_package
|
|
1280
1281
|
|
1281
1282
|
--
|
1282
1283
|
|
1283
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1284
1285
|
|
1285
1286
|
> def app_activity
|
1286
1287
|
|
@@ -1288,7 +1289,7 @@ Returns the value of attribute app_activity
|
|
1288
1289
|
|
1289
1290
|
--
|
1290
1291
|
|
1291
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
1292
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1292
1293
|
|
1293
1294
|
> def app_wait_activity
|
1294
1295
|
|
@@ -1296,7 +1297,7 @@ Returns the value of attribute app_wait_activity
|
|
1296
1297
|
|
1297
1298
|
--
|
1298
1299
|
|
1299
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
1300
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1300
1301
|
|
1301
1302
|
> def sauce_username
|
1302
1303
|
|
@@ -1304,7 +1305,7 @@ Returns the value of attribute sauce_username
|
|
1304
1305
|
|
1305
1306
|
--
|
1306
1307
|
|
1307
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
1308
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1308
1309
|
|
1309
1310
|
> def sauce_access_key
|
1310
1311
|
|
@@ -1312,7 +1313,7 @@ Returns the value of attribute sauce_access_key
|
|
1312
1313
|
|
1313
1314
|
--
|
1314
1315
|
|
1315
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
1316
|
+
##### [port](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1316
1317
|
|
1317
1318
|
> def port
|
1318
1319
|
|
@@ -1320,7 +1321,7 @@ Returns the value of attribute port
|
|
1320
1321
|
|
1321
1322
|
--
|
1322
1323
|
|
1323
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1324
1325
|
|
1325
1326
|
> def debug
|
1326
1327
|
|
@@ -1328,7 +1329,7 @@ Returns the value of attribute debug
|
|
1328
1329
|
|
1329
1330
|
--
|
1330
1331
|
|
1331
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
1332
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1332
1333
|
|
1333
1334
|
> def export_session
|
1334
1335
|
|
@@ -1336,7 +1337,7 @@ Returns the value of attribute export_session
|
|
1336
1337
|
|
1337
1338
|
--
|
1338
1339
|
|
1339
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1340
1341
|
|
1341
1342
|
> def device_cap
|
1342
1343
|
|
@@ -1344,7 +1345,7 @@ Returns the value of attribute device_cap
|
|
1344
1345
|
|
1345
1346
|
--
|
1346
1347
|
|
1347
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1348
1349
|
|
1349
1350
|
> def compress_xml
|
1350
1351
|
|
@@ -1352,7 +1353,7 @@ Returns the value of attribute compress_xml
|
|
1352
1353
|
|
1353
1354
|
--
|
1354
1355
|
|
1355
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
1356
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L213)
|
1356
1357
|
|
1357
1358
|
> def custom_url
|
1358
1359
|
|
@@ -1360,7 +1361,7 @@ Returns the value of attribute custom_url
|
|
1360
1361
|
|
1361
1362
|
--
|
1362
1363
|
|
1363
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L219)
|
1364
1365
|
|
1365
1366
|
> def global_webdriver_http_sleep
|
1366
1367
|
|
@@ -1368,7 +1369,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1368
1369
|
|
1369
1370
|
--
|
1370
1371
|
|
1371
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
1372
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L219)
|
1372
1373
|
|
1373
1374
|
> def global_webdriver_http_sleep=(value)
|
1374
1375
|
|
@@ -1376,7 +1377,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
1376
1377
|
|
1377
1378
|
--
|
1378
1379
|
|
1379
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
1380
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L249)
|
1380
1381
|
|
1381
1382
|
> def initialize opts={}
|
1382
1383
|
|
@@ -1417,7 +1418,7 @@ __Returns:__
|
|
1417
1418
|
|
1418
1419
|
--
|
1419
1420
|
|
1420
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
1421
|
+
##### [status](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L356)
|
1421
1422
|
|
1422
1423
|
> def status
|
1423
1424
|
|
@@ -1443,7 +1444,7 @@ __Returns:__
|
|
1443
1444
|
|
1444
1445
|
--
|
1445
1446
|
|
1446
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
1447
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L362)
|
1447
1448
|
|
1448
1449
|
> def server_version
|
1449
1450
|
|
@@ -1455,7 +1456,7 @@ __Returns:__
|
|
1455
1456
|
|
1456
1457
|
--
|
1457
1458
|
|
1458
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
1459
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L402)
|
1459
1460
|
|
1460
1461
|
> def absolute_app_path
|
1461
1462
|
|
@@ -1467,7 +1468,7 @@ __Returns:__
|
|
1467
1468
|
|
1468
1469
|
--
|
1469
1470
|
|
1470
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
1471
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L422)
|
1471
1472
|
|
1472
1473
|
> def server_url
|
1473
1474
|
|
@@ -1479,7 +1480,7 @@ __Returns:__
|
|
1479
1480
|
|
1480
1481
|
--
|
1481
1482
|
|
1482
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
1483
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L433)
|
1483
1484
|
|
1484
1485
|
> def restart
|
1485
1486
|
|
@@ -1491,7 +1492,7 @@ __Returns:__
|
|
1491
1492
|
|
1492
1493
|
--
|
1493
1494
|
|
1494
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
1495
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L440)
|
1495
1496
|
|
1496
1497
|
> def driver
|
1497
1498
|
|
@@ -1503,7 +1504,7 @@ __Returns:__
|
|
1503
1504
|
|
1504
1505
|
--
|
1505
1506
|
|
1506
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
1507
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L450)
|
1507
1508
|
|
1508
1509
|
> def screenshot png_save_path
|
1509
1510
|
|
@@ -1521,7 +1522,7 @@ __Returns:__
|
|
1521
1522
|
|
1522
1523
|
--
|
1523
1524
|
|
1524
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
1525
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L457)
|
1525
1526
|
|
1526
1527
|
> def driver_quit
|
1527
1528
|
|
@@ -1533,7 +1534,7 @@ __Returns:__
|
|
1533
1534
|
|
1534
1535
|
--
|
1535
1536
|
|
1536
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
1537
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L465)
|
1537
1538
|
|
1538
1539
|
> def start_driver
|
1539
1540
|
|
@@ -1545,7 +1546,7 @@ __Returns:__
|
|
1545
1546
|
|
1546
1547
|
--
|
1547
1548
|
|
1548
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
1549
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L499)
|
1549
1550
|
|
1550
1551
|
> def no_wait
|
1551
1552
|
|
@@ -1553,7 +1554,7 @@ Set implicit wait to zero.
|
|
1553
1554
|
|
1554
1555
|
--
|
1555
1556
|
|
1556
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
1557
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L506)
|
1557
1558
|
|
1558
1559
|
> def set_wait timeout=@default_wait
|
1559
1560
|
|
@@ -1569,7 +1570,7 @@ __Returns:__
|
|
1569
1570
|
|
1570
1571
|
--
|
1571
1572
|
|
1572
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
1573
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L529)
|
1573
1574
|
|
1574
1575
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
1575
1576
|
|
@@ -1595,7 +1596,7 @@ __Returns:__
|
|
1595
1596
|
|
1596
1597
|
--
|
1597
1598
|
|
1598
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
1599
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L551)
|
1599
1600
|
|
1600
1601
|
> def execute_script script, *args
|
1601
1602
|
|
@@ -1613,7 +1614,7 @@ __Returns:__
|
|
1613
1614
|
|
1614
1615
|
--
|
1615
1616
|
|
1616
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
1617
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L567)
|
1617
1618
|
|
1618
1619
|
> def mobile method, *args
|
1619
1620
|
|
@@ -1639,7 +1640,7 @@ __Returns:__
|
|
1639
1640
|
|
1640
1641
|
--
|
1641
1642
|
|
1642
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
1643
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L578)
|
1643
1644
|
|
1644
1645
|
> def find_elements *args
|
1645
1646
|
|
@@ -1655,7 +1656,7 @@ __Returns:__
|
|
1655
1656
|
|
1656
1657
|
--
|
1657
1658
|
|
1658
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
1659
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L586)
|
1659
1660
|
|
1660
1661
|
> def find_element *args
|
1661
1662
|
|
@@ -1671,7 +1672,7 @@ __Returns:__
|
|
1671
1672
|
|
1672
1673
|
--
|
1673
1674
|
|
1674
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
1675
|
+
##### [x](https://github.com/appium/ruby_lib/blob/0551d9a4de2cb3d62efe63a87b01c15526202336/lib/appium_lib/driver.rb#L593)
|
1675
1676
|
|
1676
1677
|
> def x
|
1677
1678
|
|