appium_lib 0.9.1 → 0.10.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/docs/android_docs.md +114 -114
- data/docs/docs.md +1 -0
- data/docs/ios_docs.md +117 -117
- data/lib/appium_lib/android/helper.rb +2 -3
- data/lib/appium_lib/common/helper.rb +2 -2
- data/lib/appium_lib/common/patch.rb +3 -3
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +19 -0
- data/lib/appium_lib/ios/helper.rb +2 -2
- data/release_notes.md +7 -0
- metadata +2 -2
data/docs/docs.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
#### Documentation
|
|
2
2
|
|
|
3
3
|
- find_elements returns an empty array [] when no elements are found.
|
|
4
|
+
- button(int), textfield(int) use xpath so 1 is the first button, 2 the second etc. 0 is invalid.
|
|
4
5
|
|
|
5
6
|
##### [app_lib on rubydoc.info](http://www.rubydoc.info/github/appium/ruby_lib/master/toplevel)
|
|
6
7
|
|
data/docs/ios_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/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/text.rb#L8)
|
|
2
2
|
|
|
3
3
|
> def s_texts
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ __Returns:__
|
|
|
10
10
|
|
|
11
11
|
--
|
|
12
12
|
|
|
13
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
|
13
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/text.rb#L14)
|
|
14
14
|
|
|
15
15
|
> def e_s_texts
|
|
16
16
|
|
|
@@ -22,7 +22,7 @@ __Returns:__
|
|
|
22
22
|
|
|
23
23
|
--
|
|
24
24
|
|
|
25
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
|
25
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/text.rb#L20)
|
|
26
26
|
|
|
27
27
|
> def first_s_text
|
|
28
28
|
|
|
@@ -34,7 +34,7 @@ __Returns:__
|
|
|
34
34
|
|
|
35
35
|
--
|
|
36
36
|
|
|
37
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
|
37
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/text.rb#L26)
|
|
38
38
|
|
|
39
39
|
> def last_s_text
|
|
40
40
|
|
|
@@ -46,7 +46,7 @@ __Returns:__
|
|
|
46
46
|
|
|
47
47
|
--
|
|
48
48
|
|
|
49
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
|
49
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/text.rb#L33)
|
|
50
50
|
|
|
51
51
|
> def s_text text
|
|
52
52
|
|
|
@@ -62,7 +62,7 @@ __Returns:__
|
|
|
62
62
|
|
|
63
63
|
--
|
|
64
64
|
|
|
65
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
|
65
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/text.rb#L41)
|
|
66
66
|
|
|
67
67
|
> def s_text_exact text
|
|
68
68
|
|
|
@@ -78,7 +78,7 @@ __Returns:__
|
|
|
78
78
|
|
|
79
79
|
--
|
|
80
80
|
|
|
81
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
|
81
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/window.rb#L5)
|
|
82
82
|
|
|
83
83
|
> def window_size
|
|
84
84
|
|
|
@@ -86,7 +86,7 @@ Get the window's size
|
|
|
86
86
|
|
|
87
87
|
--
|
|
88
88
|
|
|
89
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
|
89
|
+
##### [button](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L8)
|
|
90
90
|
|
|
91
91
|
> def button text, number=0
|
|
92
92
|
|
|
@@ -104,7 +104,7 @@ __Returns:__
|
|
|
104
104
|
|
|
105
105
|
--
|
|
106
106
|
|
|
107
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
|
107
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L19)
|
|
108
108
|
|
|
109
109
|
> def buttons text=nil
|
|
110
110
|
|
|
@@ -120,7 +120,7 @@ __Returns:__
|
|
|
120
120
|
|
|
121
121
|
--
|
|
122
122
|
|
|
123
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
|
123
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L26)
|
|
124
124
|
|
|
125
125
|
> def first_button
|
|
126
126
|
|
|
@@ -132,7 +132,7 @@ __Returns:__
|
|
|
132
132
|
|
|
133
133
|
--
|
|
134
134
|
|
|
135
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
|
135
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L32)
|
|
136
136
|
|
|
137
137
|
> def last_button
|
|
138
138
|
|
|
@@ -144,7 +144,7 @@ __Returns:__
|
|
|
144
144
|
|
|
145
145
|
--
|
|
146
146
|
|
|
147
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
|
147
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L39)
|
|
148
148
|
|
|
149
149
|
> def button_exact text
|
|
150
150
|
|
|
@@ -160,7 +160,7 @@ __Returns:__
|
|
|
160
160
|
|
|
161
161
|
--
|
|
162
162
|
|
|
163
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
|
163
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L46)
|
|
164
164
|
|
|
165
165
|
> def buttons_exact text
|
|
166
166
|
|
|
@@ -176,7 +176,7 @@ __Returns:__
|
|
|
176
176
|
|
|
177
177
|
--
|
|
178
178
|
|
|
179
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
|
179
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L52)
|
|
180
180
|
|
|
181
181
|
> def e_buttons
|
|
182
182
|
|
|
@@ -188,7 +188,7 @@ __Returns:__
|
|
|
188
188
|
|
|
189
189
|
--
|
|
190
190
|
|
|
191
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
|
191
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/element/button.rb#L72)
|
|
192
192
|
|
|
193
193
|
> def button_num text, number=1
|
|
194
194
|
|
|
@@ -217,7 +217,7 @@ __Returns:__
|
|
|
217
217
|
|
|
218
218
|
--
|
|
219
219
|
|
|
220
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
|
220
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L8) ios
|
|
221
221
|
|
|
222
222
|
> def find_eles_attr tag_name, attribute
|
|
223
223
|
|
|
@@ -236,7 +236,7 @@ __Returns:__
|
|
|
236
236
|
|
|
237
237
|
--
|
|
238
238
|
|
|
239
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
|
239
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L29) ios
|
|
240
240
|
|
|
241
241
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
|
242
242
|
|
|
@@ -257,7 +257,7 @@ __Returns:__
|
|
|
257
257
|
|
|
258
258
|
--
|
|
259
259
|
|
|
260
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
|
260
|
+
##### [password](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L50) ios
|
|
261
261
|
|
|
262
262
|
> def password length=1
|
|
263
263
|
|
|
@@ -275,7 +275,7 @@ __Returns:__
|
|
|
275
275
|
|
|
276
276
|
--
|
|
277
277
|
|
|
278
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
278
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L55) ios
|
|
279
279
|
|
|
280
280
|
> def get_page_class
|
|
281
281
|
|
|
@@ -283,7 +283,7 @@ Returns a string of class counts.
|
|
|
283
283
|
|
|
284
284
|
--
|
|
285
285
|
|
|
286
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
286
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L81) ios
|
|
287
287
|
|
|
288
288
|
> def page_class
|
|
289
289
|
|
|
@@ -291,7 +291,7 @@ Returns a string of class counts.
|
|
|
291
291
|
|
|
292
292
|
--
|
|
293
293
|
|
|
294
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
|
294
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L93) ios
|
|
295
295
|
|
|
296
296
|
> def get_page element=source_window(0)
|
|
297
297
|
|
|
@@ -310,7 +310,7 @@ __Returns:__
|
|
|
310
310
|
|
|
311
311
|
--
|
|
312
312
|
|
|
313
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
313
|
+
##### [page](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L154) ios
|
|
314
314
|
|
|
315
315
|
> def page
|
|
316
316
|
|
|
@@ -322,7 +322,7 @@ __Returns:__
|
|
|
322
322
|
|
|
323
323
|
--
|
|
324
324
|
|
|
325
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
325
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L162) ios
|
|
326
326
|
|
|
327
327
|
> def source_window window_number=0
|
|
328
328
|
|
|
@@ -338,7 +338,7 @@ __Returns:__
|
|
|
338
338
|
|
|
339
339
|
--
|
|
340
340
|
|
|
341
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
341
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L169) ios
|
|
342
342
|
|
|
343
343
|
> def page_window window_number=0
|
|
344
344
|
|
|
@@ -351,7 +351,7 @@ __Parameters:__
|
|
|
351
351
|
|
|
352
352
|
--
|
|
353
353
|
|
|
354
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
|
354
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L176) ios
|
|
355
355
|
|
|
356
356
|
> def fast_duration
|
|
357
357
|
|
|
@@ -363,7 +363,7 @@ __Returns:__
|
|
|
363
363
|
|
|
364
364
|
--
|
|
365
365
|
|
|
366
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
366
|
+
##### [id](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/helper.rb#L183) ios
|
|
367
367
|
|
|
368
368
|
> def id id
|
|
369
369
|
|
|
@@ -379,7 +379,7 @@ __Returns:__
|
|
|
379
379
|
|
|
380
380
|
--
|
|
381
381
|
|
|
382
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
382
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/alert.rb#L14) ios
|
|
383
383
|
|
|
384
384
|
> def alert_click value
|
|
385
385
|
|
|
@@ -402,7 +402,7 @@ __Returns:__
|
|
|
402
402
|
|
|
403
403
|
--
|
|
404
404
|
|
|
405
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
|
405
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/alert.rb#L21) ios
|
|
406
406
|
|
|
407
407
|
> def alert_text
|
|
408
408
|
|
|
@@ -414,7 +414,7 @@ __Returns:__
|
|
|
414
414
|
|
|
415
415
|
--
|
|
416
416
|
|
|
417
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
417
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/alert.rb#L30) ios
|
|
418
418
|
|
|
419
419
|
> def alert_accept
|
|
420
420
|
|
|
@@ -426,7 +426,7 @@ __Returns:__
|
|
|
426
426
|
|
|
427
427
|
--
|
|
428
428
|
|
|
429
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
429
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/alert.rb#L39) ios
|
|
430
430
|
|
|
431
431
|
> def alert_accept_text
|
|
432
432
|
|
|
@@ -439,7 +439,7 @@ __Returns:__
|
|
|
439
439
|
|
|
440
440
|
--
|
|
441
441
|
|
|
442
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
442
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/alert.rb#L48) ios
|
|
443
443
|
|
|
444
444
|
> def alert_dismiss
|
|
445
445
|
|
|
@@ -451,7 +451,7 @@ __Returns:__
|
|
|
451
451
|
|
|
452
452
|
--
|
|
453
453
|
|
|
454
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
454
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/alert.rb#L57) ios
|
|
455
455
|
|
|
456
456
|
> def alert_dismiss_text
|
|
457
457
|
|
|
@@ -464,7 +464,7 @@ __Returns:__
|
|
|
464
464
|
|
|
465
465
|
--
|
|
466
466
|
|
|
467
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
467
|
+
##### [find](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/generic.rb#L61) ios
|
|
468
468
|
|
|
469
469
|
> def find text
|
|
470
470
|
|
|
@@ -480,7 +480,7 @@ __Returns:__
|
|
|
480
480
|
|
|
481
481
|
--
|
|
482
482
|
|
|
483
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
483
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/generic.rb#L83) ios
|
|
484
484
|
|
|
485
485
|
> def finds text
|
|
486
486
|
|
|
@@ -496,7 +496,7 @@ __Returns:__
|
|
|
496
496
|
|
|
497
497
|
--
|
|
498
498
|
|
|
499
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
499
|
+
##### [text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/generic.rb#L97) ios
|
|
500
500
|
|
|
501
501
|
> def text text
|
|
502
502
|
|
|
@@ -512,7 +512,7 @@ __Returns:__
|
|
|
512
512
|
|
|
513
513
|
--
|
|
514
514
|
|
|
515
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
515
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/generic.rb#L105) ios
|
|
516
516
|
|
|
517
517
|
> def texts text
|
|
518
518
|
|
|
@@ -528,7 +528,7 @@ __Returns:__
|
|
|
528
528
|
|
|
529
529
|
--
|
|
530
530
|
|
|
531
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
531
|
+
##### [name](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/generic.rb#L117) ios
|
|
532
532
|
|
|
533
533
|
> def name name
|
|
534
534
|
|
|
@@ -546,7 +546,7 @@ __Returns:__
|
|
|
546
546
|
|
|
547
547
|
--
|
|
548
548
|
|
|
549
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
|
549
|
+
##### [names](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/generic.rb#L126) ios
|
|
550
550
|
|
|
551
551
|
> def names name
|
|
552
552
|
|
|
@@ -564,7 +564,7 @@ __Returns:__
|
|
|
564
564
|
|
|
565
565
|
--
|
|
566
566
|
|
|
567
|
-
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/
|
|
567
|
+
##### [locate_single_textfield](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L8) ios
|
|
568
568
|
|
|
569
569
|
> def locate_single_textfield js
|
|
570
570
|
|
|
@@ -575,7 +575,7 @@ to match Android.
|
|
|
575
575
|
|
|
576
576
|
--
|
|
577
577
|
|
|
578
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
578
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L18) ios
|
|
579
579
|
|
|
580
580
|
> def textfields
|
|
581
581
|
|
|
@@ -588,7 +588,7 @@ __Returns:__
|
|
|
588
588
|
|
|
589
589
|
--
|
|
590
590
|
|
|
591
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
|
591
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L24) ios
|
|
592
592
|
|
|
593
593
|
> def e_textfields
|
|
594
594
|
|
|
@@ -600,7 +600,7 @@ __Returns:__
|
|
|
600
600
|
|
|
601
601
|
--
|
|
602
602
|
|
|
603
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
603
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L30) ios
|
|
604
604
|
|
|
605
605
|
> def first_textfield
|
|
606
606
|
|
|
@@ -612,7 +612,7 @@ __Returns:__
|
|
|
612
612
|
|
|
613
613
|
--
|
|
614
614
|
|
|
615
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
615
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L36) ios
|
|
616
616
|
|
|
617
617
|
> def last_textfield
|
|
618
618
|
|
|
@@ -624,7 +624,7 @@ __Returns:__
|
|
|
624
624
|
|
|
625
625
|
--
|
|
626
626
|
|
|
627
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
627
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L43) ios
|
|
628
628
|
|
|
629
629
|
> def textfield text
|
|
630
630
|
|
|
@@ -640,7 +640,7 @@ __Returns:__
|
|
|
640
640
|
|
|
641
641
|
--
|
|
642
642
|
|
|
643
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
|
643
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L57) ios
|
|
644
644
|
|
|
645
645
|
> def textfield_include text
|
|
646
646
|
|
|
@@ -656,7 +656,7 @@ __Returns:__
|
|
|
656
656
|
|
|
657
657
|
--
|
|
658
658
|
|
|
659
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
659
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
660
660
|
|
|
661
661
|
> def textfield_exact text
|
|
662
662
|
|
|
@@ -672,7 +672,7 @@ __Returns:__
|
|
|
672
672
|
|
|
673
673
|
--
|
|
674
674
|
|
|
675
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
675
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L33)
|
|
676
676
|
|
|
677
677
|
> def wait max_wait=30, interval=0.5, &block
|
|
678
678
|
|
|
@@ -699,7 +699,7 @@ __Returns:__
|
|
|
699
699
|
|
|
700
700
|
--
|
|
701
701
|
|
|
702
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
702
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L45)
|
|
703
703
|
|
|
704
704
|
> def ignore &block
|
|
705
705
|
|
|
@@ -707,7 +707,7 @@ Return block.call and ignore any exceptions.
|
|
|
707
707
|
|
|
708
708
|
--
|
|
709
709
|
|
|
710
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
710
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L55)
|
|
711
711
|
|
|
712
712
|
> def wait_true max_wait=30, interval=0.5, &block
|
|
713
713
|
|
|
@@ -728,7 +728,7 @@ __Returns:__
|
|
|
728
728
|
|
|
729
729
|
--
|
|
730
730
|
|
|
731
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
731
|
+
##### [back](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L68)
|
|
732
732
|
|
|
733
733
|
> def back
|
|
734
734
|
|
|
@@ -740,7 +740,7 @@ __Returns:__
|
|
|
740
740
|
|
|
741
741
|
--
|
|
742
742
|
|
|
743
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
743
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L73)
|
|
744
744
|
|
|
745
745
|
> def session_id
|
|
746
746
|
|
|
@@ -748,7 +748,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
748
748
|
|
|
749
749
|
--
|
|
750
750
|
|
|
751
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
751
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L81)
|
|
752
752
|
|
|
753
753
|
> def xpath xpath_str
|
|
754
754
|
|
|
@@ -764,7 +764,7 @@ __Returns:__
|
|
|
764
764
|
|
|
765
765
|
--
|
|
766
766
|
|
|
767
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
767
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L89)
|
|
768
768
|
|
|
769
769
|
> def xpaths xpath_str
|
|
770
770
|
|
|
@@ -780,7 +780,7 @@ __Returns:__
|
|
|
780
780
|
|
|
781
781
|
--
|
|
782
782
|
|
|
783
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
783
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L97)
|
|
784
784
|
|
|
785
785
|
> def ele_index tag_name, index
|
|
786
786
|
|
|
@@ -798,7 +798,7 @@ __Returns:__
|
|
|
798
798
|
|
|
799
799
|
--
|
|
800
800
|
|
|
801
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
|
801
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L106)
|
|
802
802
|
|
|
803
803
|
> def find_eles tag_name
|
|
804
804
|
|
|
@@ -814,7 +814,7 @@ __Returns:__
|
|
|
814
814
|
|
|
815
815
|
--
|
|
816
816
|
|
|
817
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
|
817
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L114)
|
|
818
818
|
|
|
819
819
|
> def find_ele_by_text tag, text
|
|
820
820
|
|
|
@@ -832,7 +832,7 @@ __Returns:__
|
|
|
832
832
|
|
|
833
833
|
--
|
|
834
834
|
|
|
835
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
|
835
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L122)
|
|
836
836
|
|
|
837
837
|
> def find_eles_by_text tag, text
|
|
838
838
|
|
|
@@ -850,7 +850,7 @@ __Returns:__
|
|
|
850
850
|
|
|
851
851
|
--
|
|
852
852
|
|
|
853
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
853
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L131)
|
|
854
854
|
|
|
855
855
|
> def find_ele_by_attr_include tag, attr, value
|
|
856
856
|
|
|
@@ -870,7 +870,7 @@ __Returns:__
|
|
|
870
870
|
|
|
871
871
|
--
|
|
872
872
|
|
|
873
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
873
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L140)
|
|
874
874
|
|
|
875
875
|
> def find_eles_by_attr_include tag, attr, value
|
|
876
876
|
|
|
@@ -890,7 +890,7 @@ __Returns:__
|
|
|
890
890
|
|
|
891
891
|
--
|
|
892
892
|
|
|
893
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
893
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L149)
|
|
894
894
|
|
|
895
895
|
> def find_ele_by_text_include tag, text
|
|
896
896
|
|
|
@@ -909,7 +909,7 @@ __Returns:__
|
|
|
909
909
|
|
|
910
910
|
--
|
|
911
911
|
|
|
912
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
912
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L158)
|
|
913
913
|
|
|
914
914
|
> def find_eles_by_text_include tag, text
|
|
915
915
|
|
|
@@ -928,7 +928,7 @@ __Returns:__
|
|
|
928
928
|
|
|
929
929
|
--
|
|
930
930
|
|
|
931
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
931
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L165)
|
|
932
932
|
|
|
933
933
|
> def first_ele tag_name
|
|
934
934
|
|
|
@@ -944,7 +944,7 @@ __Returns:__
|
|
|
944
944
|
|
|
945
945
|
--
|
|
946
946
|
|
|
947
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
947
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L173)
|
|
948
948
|
|
|
949
949
|
> def last_ele tag_name
|
|
950
950
|
|
|
@@ -960,7 +960,7 @@ __Returns:__
|
|
|
960
960
|
|
|
961
961
|
--
|
|
962
962
|
|
|
963
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
963
|
+
##### [source](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L179)
|
|
964
964
|
|
|
965
965
|
> def source
|
|
966
966
|
|
|
@@ -972,7 +972,7 @@ __Returns:__
|
|
|
972
972
|
|
|
973
973
|
--
|
|
974
974
|
|
|
975
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
975
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L185)
|
|
976
976
|
|
|
977
977
|
> def get_source
|
|
978
978
|
|
|
@@ -984,7 +984,7 @@ __Returns:__
|
|
|
984
984
|
|
|
985
985
|
--
|
|
986
986
|
|
|
987
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
|
987
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L194)
|
|
988
988
|
|
|
989
989
|
> def find_name name
|
|
990
990
|
|
|
@@ -1000,7 +1000,7 @@ __Returns:__
|
|
|
1000
1000
|
|
|
1001
1001
|
--
|
|
1002
1002
|
|
|
1003
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
|
1003
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L202)
|
|
1004
1004
|
|
|
1005
1005
|
> def find_names name
|
|
1006
1006
|
|
|
@@ -1016,7 +1016,7 @@ __Returns:__
|
|
|
1016
1016
|
|
|
1017
1017
|
--
|
|
1018
1018
|
|
|
1019
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1019
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L210)
|
|
1020
1020
|
|
|
1021
1021
|
> def tag tag_name
|
|
1022
1022
|
|
|
@@ -1032,7 +1032,7 @@ __Returns:__
|
|
|
1032
1032
|
|
|
1033
1033
|
--
|
|
1034
1034
|
|
|
1035
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1035
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L220)
|
|
1036
1036
|
|
|
1037
1037
|
> def px_to_window_rel opts={}
|
|
1038
1038
|
|
|
@@ -1044,7 +1044,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1044
1044
|
|
|
1045
1045
|
--
|
|
1046
1046
|
|
|
1047
|
-
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/
|
|
1047
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L230)
|
|
1048
1048
|
|
|
1049
1049
|
> def lazy_load_strings
|
|
1050
1050
|
|
|
@@ -1052,7 +1052,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1052
1052
|
|
|
1053
1053
|
--
|
|
1054
1054
|
|
|
1055
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
1055
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L237)
|
|
1056
1056
|
|
|
1057
1057
|
> def xml_keys target
|
|
1058
1058
|
|
|
@@ -1068,7 +1068,7 @@ __Returns:__
|
|
|
1068
1068
|
|
|
1069
1069
|
--
|
|
1070
1070
|
|
|
1071
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
1071
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L245)
|
|
1072
1072
|
|
|
1073
1073
|
> def xml_values target
|
|
1074
1074
|
|
|
@@ -1084,7 +1084,7 @@ __Returns:__
|
|
|
1084
1084
|
|
|
1085
1085
|
--
|
|
1086
1086
|
|
|
1087
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
1087
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L253)
|
|
1088
1088
|
|
|
1089
1089
|
> def resolve_id id
|
|
1090
1090
|
|
|
@@ -1100,7 +1100,7 @@ __Returns:__
|
|
|
1100
1100
|
|
|
1101
1101
|
--
|
|
1102
1102
|
|
|
1103
|
-
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/
|
|
1103
|
+
##### [raise_no_element_error](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/helper.rb#L259)
|
|
1104
1104
|
|
|
1105
1105
|
> def raise_no_element_error
|
|
1106
1106
|
|
|
@@ -1108,7 +1108,7 @@ Used to error when finding a single element fails.
|
|
|
1108
1108
|
|
|
1109
1109
|
--
|
|
1110
1110
|
|
|
1111
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
1111
|
+
##### [value](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/patch.rb#L32)
|
|
1112
1112
|
|
|
1113
1113
|
> def value
|
|
1114
1114
|
|
|
@@ -1118,7 +1118,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
1118
1118
|
|
|
1119
1119
|
--
|
|
1120
1120
|
|
|
1121
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
1121
|
+
##### [name](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/patch.rb#L39)
|
|
1122
1122
|
|
|
1123
1123
|
> def name
|
|
1124
1124
|
|
|
@@ -1128,7 +1128,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
1128
1128
|
|
|
1129
1129
|
--
|
|
1130
1130
|
|
|
1131
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
|
1131
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/patch.rb#L46)
|
|
1132
1132
|
|
|
1133
1133
|
> def tag_name
|
|
1134
1134
|
|
|
@@ -1138,7 +1138,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
|
1138
1138
|
|
|
1139
1139
|
--
|
|
1140
1140
|
|
|
1141
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
1141
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/common/patch.rb#L58)
|
|
1142
1142
|
|
|
1143
1143
|
> def location_rel
|
|
1144
1144
|
|
|
@@ -1156,7 +1156,7 @@ __Returns:__
|
|
|
1156
1156
|
|
|
1157
1157
|
--
|
|
1158
1158
|
|
|
1159
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
|
1159
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L16)
|
|
1160
1160
|
|
|
1161
1161
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
|
1162
1162
|
|
|
@@ -1164,7 +1164,7 @@ __Returns:__
|
|
|
1164
1164
|
|
|
1165
1165
|
--
|
|
1166
1166
|
|
|
1167
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
|
1167
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L18)
|
|
1168
1168
|
|
|
1169
1169
|
> def awesome_openstruct target
|
|
1170
1170
|
|
|
@@ -1172,7 +1172,7 @@ __Returns:__
|
|
|
1172
1172
|
|
|
1173
1173
|
--
|
|
1174
1174
|
|
|
1175
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
|
1175
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L28)
|
|
1176
1176
|
|
|
1177
1177
|
> def load_appium_txt opts
|
|
1178
1178
|
|
|
@@ -1189,7 +1189,7 @@ __Returns:__
|
|
|
1189
1189
|
|
|
1190
1190
|
--
|
|
1191
1191
|
|
|
1192
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
1192
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L165)
|
|
1193
1193
|
|
|
1194
1194
|
> def self.promote_appium_methods class_array
|
|
1195
1195
|
|
|
@@ -1207,7 +1207,7 @@ __Parameters:__
|
|
|
1207
1207
|
|
|
1208
1208
|
--
|
|
1209
1209
|
|
|
1210
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
1210
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L494)
|
|
1211
1211
|
|
|
1212
1212
|
> def default_wait
|
|
1213
1213
|
|
|
@@ -1220,7 +1220,7 @@ __Returns:__
|
|
|
1220
1220
|
|
|
1221
1221
|
--
|
|
1222
1222
|
|
|
1223
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
|
1223
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1224
1224
|
|
|
1225
1225
|
> def app_path
|
|
1226
1226
|
|
|
@@ -1228,7 +1228,7 @@ Returns the value of attribute app_path
|
|
|
1228
1228
|
|
|
1229
1229
|
--
|
|
1230
1230
|
|
|
1231
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
|
1231
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1232
1232
|
|
|
1233
1233
|
> def app_name
|
|
1234
1234
|
|
|
@@ -1236,7 +1236,7 @@ Returns the value of attribute app_name
|
|
|
1236
1236
|
|
|
1237
1237
|
--
|
|
1238
1238
|
|
|
1239
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
|
1239
|
+
##### [device](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1240
1240
|
|
|
1241
1241
|
> def device
|
|
1242
1242
|
|
|
@@ -1244,7 +1244,7 @@ Returns the value of attribute device
|
|
|
1244
1244
|
|
|
1245
1245
|
--
|
|
1246
1246
|
|
|
1247
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
|
1247
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1248
1248
|
|
|
1249
1249
|
> def app_package
|
|
1250
1250
|
|
|
@@ -1252,7 +1252,7 @@ Returns the value of attribute app_package
|
|
|
1252
1252
|
|
|
1253
1253
|
--
|
|
1254
1254
|
|
|
1255
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
|
1255
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1256
1256
|
|
|
1257
1257
|
> def app_activity
|
|
1258
1258
|
|
|
@@ -1260,7 +1260,7 @@ Returns the value of attribute app_activity
|
|
|
1260
1260
|
|
|
1261
1261
|
--
|
|
1262
1262
|
|
|
1263
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
|
1263
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1264
1264
|
|
|
1265
1265
|
> def app_wait_activity
|
|
1266
1266
|
|
|
@@ -1268,7 +1268,7 @@ Returns the value of attribute app_wait_activity
|
|
|
1268
1268
|
|
|
1269
1269
|
--
|
|
1270
1270
|
|
|
1271
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
1271
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1272
1272
|
|
|
1273
1273
|
> def sauce_username
|
|
1274
1274
|
|
|
@@ -1276,7 +1276,7 @@ Returns the value of attribute sauce_username
|
|
|
1276
1276
|
|
|
1277
1277
|
--
|
|
1278
1278
|
|
|
1279
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
1279
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1280
1280
|
|
|
1281
1281
|
> def sauce_access_key
|
|
1282
1282
|
|
|
@@ -1284,7 +1284,7 @@ Returns the value of attribute sauce_access_key
|
|
|
1284
1284
|
|
|
1285
1285
|
--
|
|
1286
1286
|
|
|
1287
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
|
1287
|
+
##### [port](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1288
1288
|
|
|
1289
1289
|
> def port
|
|
1290
1290
|
|
|
@@ -1292,7 +1292,7 @@ Returns the value of attribute port
|
|
|
1292
1292
|
|
|
1293
1293
|
--
|
|
1294
1294
|
|
|
1295
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
|
1295
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1296
1296
|
|
|
1297
1297
|
> def debug
|
|
1298
1298
|
|
|
@@ -1300,7 +1300,7 @@ Returns the value of attribute debug
|
|
|
1300
1300
|
|
|
1301
1301
|
--
|
|
1302
1302
|
|
|
1303
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
1303
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1304
1304
|
|
|
1305
1305
|
> def export_session
|
|
1306
1306
|
|
|
@@ -1308,7 +1308,7 @@ Returns the value of attribute export_session
|
|
|
1308
1308
|
|
|
1309
1309
|
--
|
|
1310
1310
|
|
|
1311
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
|
1311
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1312
1312
|
|
|
1313
1313
|
> def device_cap
|
|
1314
1314
|
|
|
@@ -1316,7 +1316,7 @@ Returns the value of attribute device_cap
|
|
|
1316
1316
|
|
|
1317
1317
|
--
|
|
1318
1318
|
|
|
1319
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
|
1319
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1320
1320
|
|
|
1321
1321
|
> def compress_xml
|
|
1322
1322
|
|
|
@@ -1324,7 +1324,7 @@ Returns the value of attribute compress_xml
|
|
|
1324
1324
|
|
|
1325
1325
|
--
|
|
1326
1326
|
|
|
1327
|
-
##### [custom_url](https://github.com/appium/ruby_lib/blob/
|
|
1327
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L194)
|
|
1328
1328
|
|
|
1329
1329
|
> def custom_url
|
|
1330
1330
|
|
|
@@ -1332,7 +1332,7 @@ Returns the value of attribute custom_url
|
|
|
1332
1332
|
|
|
1333
1333
|
--
|
|
1334
1334
|
|
|
1335
|
-
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/
|
|
1335
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L200)
|
|
1336
1336
|
|
|
1337
1337
|
> def global_webdriver_http_sleep
|
|
1338
1338
|
|
|
@@ -1340,7 +1340,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1340
1340
|
|
|
1341
1341
|
--
|
|
1342
1342
|
|
|
1343
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
1343
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L200)
|
|
1344
1344
|
|
|
1345
1345
|
> def global_webdriver_http_sleep=(value)
|
|
1346
1346
|
|
|
@@ -1348,7 +1348,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1348
1348
|
|
|
1349
1349
|
--
|
|
1350
1350
|
|
|
1351
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1351
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L230)
|
|
1352
1352
|
|
|
1353
1353
|
> def initialize opts={}
|
|
1354
1354
|
|
|
@@ -1389,7 +1389,7 @@ __Returns:__
|
|
|
1389
1389
|
|
|
1390
1390
|
--
|
|
1391
1391
|
|
|
1392
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
|
1392
|
+
##### [status](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L337)
|
|
1393
1393
|
|
|
1394
1394
|
> def status
|
|
1395
1395
|
|
|
@@ -1415,7 +1415,7 @@ __Returns:__
|
|
|
1415
1415
|
|
|
1416
1416
|
--
|
|
1417
1417
|
|
|
1418
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
|
1418
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L343)
|
|
1419
1419
|
|
|
1420
1420
|
> def server_version
|
|
1421
1421
|
|
|
@@ -1427,7 +1427,7 @@ __Returns:__
|
|
|
1427
1427
|
|
|
1428
1428
|
--
|
|
1429
1429
|
|
|
1430
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
1430
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L383)
|
|
1431
1431
|
|
|
1432
1432
|
> def absolute_app_path
|
|
1433
1433
|
|
|
@@ -1439,7 +1439,7 @@ __Returns:__
|
|
|
1439
1439
|
|
|
1440
1440
|
--
|
|
1441
1441
|
|
|
1442
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
1442
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L403)
|
|
1443
1443
|
|
|
1444
1444
|
> def server_url
|
|
1445
1445
|
|
|
@@ -1451,7 +1451,7 @@ __Returns:__
|
|
|
1451
1451
|
|
|
1452
1452
|
--
|
|
1453
1453
|
|
|
1454
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
1454
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L414)
|
|
1455
1455
|
|
|
1456
1456
|
> def restart
|
|
1457
1457
|
|
|
@@ -1463,7 +1463,7 @@ __Returns:__
|
|
|
1463
1463
|
|
|
1464
1464
|
--
|
|
1465
1465
|
|
|
1466
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
1466
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L421)
|
|
1467
1467
|
|
|
1468
1468
|
> def driver
|
|
1469
1469
|
|
|
@@ -1475,7 +1475,7 @@ __Returns:__
|
|
|
1475
1475
|
|
|
1476
1476
|
--
|
|
1477
1477
|
|
|
1478
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
1478
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L431)
|
|
1479
1479
|
|
|
1480
1480
|
> def screenshot png_save_path
|
|
1481
1481
|
|
|
@@ -1493,7 +1493,7 @@ __Returns:__
|
|
|
1493
1493
|
|
|
1494
1494
|
--
|
|
1495
1495
|
|
|
1496
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
1496
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L438)
|
|
1497
1497
|
|
|
1498
1498
|
> def driver_quit
|
|
1499
1499
|
|
|
@@ -1505,7 +1505,7 @@ __Returns:__
|
|
|
1505
1505
|
|
|
1506
1506
|
--
|
|
1507
1507
|
|
|
1508
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
1508
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L446)
|
|
1509
1509
|
|
|
1510
1510
|
> def start_driver
|
|
1511
1511
|
|
|
@@ -1517,7 +1517,7 @@ __Returns:__
|
|
|
1517
1517
|
|
|
1518
1518
|
--
|
|
1519
1519
|
|
|
1520
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
1520
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L480)
|
|
1521
1521
|
|
|
1522
1522
|
> def no_wait
|
|
1523
1523
|
|
|
@@ -1525,7 +1525,7 @@ Set implicit wait to zero.
|
|
|
1525
1525
|
|
|
1526
1526
|
--
|
|
1527
1527
|
|
|
1528
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
1528
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L487)
|
|
1529
1529
|
|
|
1530
1530
|
> def set_wait timeout=@default_wait
|
|
1531
1531
|
|
|
@@ -1541,7 +1541,7 @@ __Returns:__
|
|
|
1541
1541
|
|
|
1542
1542
|
--
|
|
1543
1543
|
|
|
1544
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
1544
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L510)
|
|
1545
1545
|
|
|
1546
1546
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
|
1547
1547
|
|
|
@@ -1567,7 +1567,7 @@ __Returns:__
|
|
|
1567
1567
|
|
|
1568
1568
|
--
|
|
1569
1569
|
|
|
1570
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
1570
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L532)
|
|
1571
1571
|
|
|
1572
1572
|
> def execute_script script, *args
|
|
1573
1573
|
|
|
@@ -1585,7 +1585,7 @@ __Returns:__
|
|
|
1585
1585
|
|
|
1586
1586
|
--
|
|
1587
1587
|
|
|
1588
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
|
1588
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L548)
|
|
1589
1589
|
|
|
1590
1590
|
> def mobile method, *args
|
|
1591
1591
|
|
|
@@ -1611,7 +1611,7 @@ __Returns:__
|
|
|
1611
1611
|
|
|
1612
1612
|
--
|
|
1613
1613
|
|
|
1614
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
1614
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L559)
|
|
1615
1615
|
|
|
1616
1616
|
> def find_elements *args
|
|
1617
1617
|
|
|
@@ -1627,7 +1627,7 @@ __Returns:__
|
|
|
1627
1627
|
|
|
1628
1628
|
--
|
|
1629
1629
|
|
|
1630
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
1630
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L567)
|
|
1631
1631
|
|
|
1632
1632
|
> def find_element *args
|
|
1633
1633
|
|
|
@@ -1643,7 +1643,7 @@ __Returns:__
|
|
|
1643
1643
|
|
|
1644
1644
|
--
|
|
1645
1645
|
|
|
1646
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
1646
|
+
##### [x](https://github.com/appium/ruby_lib/blob/cd9fc636c5fc1071ad95ea08a7ab5c077737e6a7/lib/appium_lib/driver.rb#L574)
|
|
1647
1647
|
|
|
1648
1648
|
> def x
|
|
1649
1649
|
|