appium_lib 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/docs/android_docs.md +126 -110
- data/docs/ios_docs.md +129 -110
- data/lib/appium_lib/android/helper.rb +0 -28
- data/lib/appium_lib/common/helper.rb +28 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +4 -1
- data/lib/appium_lib/ios/helper.rb +0 -4
- data/lib/appium_lib/ios/patch.rb +17 -12
- data/readme.md +1 -1
- data/release_notes.md +15 -0
- metadata +2 -2
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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/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/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/helper.rb#L81) ios
|
|
287
287
|
|
|
288
288
|
> def page_class
|
|
289
289
|
|
|
@@ -291,12 +291,23 @@ Returns a string of class counts.
|
|
|
291
291
|
|
|
292
292
|
--
|
|
293
293
|
|
|
294
|
-
##### [
|
|
294
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/helper.rb#L86) ios
|
|
295
295
|
|
|
296
|
-
> def
|
|
296
|
+
> def lazy_load_strings
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
--
|
|
301
|
+
|
|
302
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/helper.rb#L97) ios
|
|
303
|
+
|
|
304
|
+
> def get_page element=source_window(0)
|
|
297
305
|
|
|
298
306
|
Returns a string of interesting elements. iOS only.
|
|
299
307
|
|
|
308
|
+
Defaults to inspecting the 1st windows source only.
|
|
309
|
+
use get_page(get_source) for all window sources
|
|
310
|
+
|
|
300
311
|
__Parameters:__
|
|
301
312
|
|
|
302
313
|
[Object] element - the element to search. omit to search everything
|
|
@@ -307,7 +318,7 @@ __Returns:__
|
|
|
307
318
|
|
|
308
319
|
--
|
|
309
320
|
|
|
310
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
321
|
+
##### [page](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/helper.rb#L158) ios
|
|
311
322
|
|
|
312
323
|
> def page
|
|
313
324
|
|
|
@@ -319,7 +330,7 @@ __Returns:__
|
|
|
319
330
|
|
|
320
331
|
--
|
|
321
332
|
|
|
322
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
333
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/helper.rb#L166) ios
|
|
323
334
|
|
|
324
335
|
> def source_window window_number=0
|
|
325
336
|
|
|
@@ -335,7 +346,7 @@ __Returns:__
|
|
|
335
346
|
|
|
336
347
|
--
|
|
337
348
|
|
|
338
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
349
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/helper.rb#L173) ios
|
|
339
350
|
|
|
340
351
|
> def page_window window_number=0
|
|
341
352
|
|
|
@@ -348,7 +359,7 @@ __Parameters:__
|
|
|
348
359
|
|
|
349
360
|
--
|
|
350
361
|
|
|
351
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
|
362
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/helper.rb#L180) ios
|
|
352
363
|
|
|
353
364
|
> def fast_duration
|
|
354
365
|
|
|
@@ -360,7 +371,7 @@ __Returns:__
|
|
|
360
371
|
|
|
361
372
|
--
|
|
362
373
|
|
|
363
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
374
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/alert.rb#L14) ios
|
|
364
375
|
|
|
365
376
|
> def alert_click value
|
|
366
377
|
|
|
@@ -383,7 +394,7 @@ __Returns:__
|
|
|
383
394
|
|
|
384
395
|
--
|
|
385
396
|
|
|
386
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
|
397
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/alert.rb#L21) ios
|
|
387
398
|
|
|
388
399
|
> def alert_text
|
|
389
400
|
|
|
@@ -395,7 +406,7 @@ __Returns:__
|
|
|
395
406
|
|
|
396
407
|
--
|
|
397
408
|
|
|
398
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
409
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/alert.rb#L30) ios
|
|
399
410
|
|
|
400
411
|
> def alert_accept
|
|
401
412
|
|
|
@@ -407,7 +418,7 @@ __Returns:__
|
|
|
407
418
|
|
|
408
419
|
--
|
|
409
420
|
|
|
410
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
421
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/alert.rb#L39) ios
|
|
411
422
|
|
|
412
423
|
> def alert_accept_text
|
|
413
424
|
|
|
@@ -420,7 +431,7 @@ __Returns:__
|
|
|
420
431
|
|
|
421
432
|
--
|
|
422
433
|
|
|
423
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
434
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/alert.rb#L48) ios
|
|
424
435
|
|
|
425
436
|
> def alert_dismiss
|
|
426
437
|
|
|
@@ -432,7 +443,7 @@ __Returns:__
|
|
|
432
443
|
|
|
433
444
|
--
|
|
434
445
|
|
|
435
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
446
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/alert.rb#L57) ios
|
|
436
447
|
|
|
437
448
|
> def alert_dismiss_text
|
|
438
449
|
|
|
@@ -445,7 +456,7 @@ __Returns:__
|
|
|
445
456
|
|
|
446
457
|
--
|
|
447
458
|
|
|
448
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
459
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/generic.rb#L61) ios
|
|
449
460
|
|
|
450
461
|
> def find text
|
|
451
462
|
|
|
@@ -461,7 +472,7 @@ __Returns:__
|
|
|
461
472
|
|
|
462
473
|
--
|
|
463
474
|
|
|
464
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
475
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/generic.rb#L83) ios
|
|
465
476
|
|
|
466
477
|
> def finds text
|
|
467
478
|
|
|
@@ -477,7 +488,7 @@ __Returns:__
|
|
|
477
488
|
|
|
478
489
|
--
|
|
479
490
|
|
|
480
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
491
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/generic.rb#L97) ios
|
|
481
492
|
|
|
482
493
|
> def text text
|
|
483
494
|
|
|
@@ -493,7 +504,7 @@ __Returns:__
|
|
|
493
504
|
|
|
494
505
|
--
|
|
495
506
|
|
|
496
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
507
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/generic.rb#L105) ios
|
|
497
508
|
|
|
498
509
|
> def texts text
|
|
499
510
|
|
|
@@ -509,7 +520,7 @@ __Returns:__
|
|
|
509
520
|
|
|
510
521
|
--
|
|
511
522
|
|
|
512
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
523
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/generic.rb#L117) ios
|
|
513
524
|
|
|
514
525
|
> def name name
|
|
515
526
|
|
|
@@ -527,7 +538,7 @@ __Returns:__
|
|
|
527
538
|
|
|
528
539
|
--
|
|
529
540
|
|
|
530
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
|
541
|
+
##### [names](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/generic.rb#L126) ios
|
|
531
542
|
|
|
532
543
|
> def names name
|
|
533
544
|
|
|
@@ -545,7 +556,7 @@ __Returns:__
|
|
|
545
556
|
|
|
546
557
|
--
|
|
547
558
|
|
|
548
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
559
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
549
560
|
|
|
550
561
|
> def textfields
|
|
551
562
|
|
|
@@ -557,7 +568,7 @@ __Returns:__
|
|
|
557
568
|
|
|
558
569
|
--
|
|
559
570
|
|
|
560
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
|
571
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
|
561
572
|
|
|
562
573
|
> def e_textfields
|
|
563
574
|
|
|
@@ -569,7 +580,7 @@ __Returns:__
|
|
|
569
580
|
|
|
570
581
|
--
|
|
571
582
|
|
|
572
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
583
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
|
573
584
|
|
|
574
585
|
> def first_textfield
|
|
575
586
|
|
|
@@ -581,7 +592,7 @@ __Returns:__
|
|
|
581
592
|
|
|
582
593
|
--
|
|
583
594
|
|
|
584
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
595
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
|
585
596
|
|
|
586
597
|
> def last_textfield
|
|
587
598
|
|
|
@@ -593,7 +604,7 @@ __Returns:__
|
|
|
593
604
|
|
|
594
605
|
--
|
|
595
606
|
|
|
596
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
607
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
|
597
608
|
|
|
598
609
|
> def textfield text
|
|
599
610
|
|
|
@@ -609,7 +620,7 @@ __Returns:__
|
|
|
609
620
|
|
|
610
621
|
--
|
|
611
622
|
|
|
612
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
|
623
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
|
613
624
|
|
|
614
625
|
> def textfield_include text
|
|
615
626
|
|
|
@@ -625,7 +636,7 @@ __Returns:__
|
|
|
625
636
|
|
|
626
637
|
--
|
|
627
638
|
|
|
628
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
639
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
629
640
|
|
|
630
641
|
> def textfield_exact text
|
|
631
642
|
|
|
@@ -641,7 +652,7 @@ __Returns:__
|
|
|
641
652
|
|
|
642
653
|
--
|
|
643
654
|
|
|
644
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
655
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L33)
|
|
645
656
|
|
|
646
657
|
> def wait max_wait=30, interval=0.5, &block
|
|
647
658
|
|
|
@@ -668,7 +679,7 @@ __Returns:__
|
|
|
668
679
|
|
|
669
680
|
--
|
|
670
681
|
|
|
671
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
682
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L45)
|
|
672
683
|
|
|
673
684
|
> def ignore &block
|
|
674
685
|
|
|
@@ -676,7 +687,7 @@ Return block.call and ignore any exceptions.
|
|
|
676
687
|
|
|
677
688
|
--
|
|
678
689
|
|
|
679
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
690
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L55)
|
|
680
691
|
|
|
681
692
|
> def wait_true max_wait=30, interval=0.5, &block
|
|
682
693
|
|
|
@@ -697,7 +708,7 @@ __Returns:__
|
|
|
697
708
|
|
|
698
709
|
--
|
|
699
710
|
|
|
700
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
711
|
+
##### [id](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L69)
|
|
701
712
|
|
|
702
713
|
> def id id
|
|
703
714
|
|
|
@@ -713,7 +724,7 @@ __Returns:__
|
|
|
713
724
|
|
|
714
725
|
--
|
|
715
726
|
|
|
716
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
727
|
+
##### [back](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L75)
|
|
717
728
|
|
|
718
729
|
> def back
|
|
719
730
|
|
|
@@ -725,7 +736,7 @@ __Returns:__
|
|
|
725
736
|
|
|
726
737
|
--
|
|
727
738
|
|
|
728
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
739
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L80)
|
|
729
740
|
|
|
730
741
|
> def session_id
|
|
731
742
|
|
|
@@ -733,7 +744,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
733
744
|
|
|
734
745
|
--
|
|
735
746
|
|
|
736
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
747
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L88)
|
|
737
748
|
|
|
738
749
|
> def xpath xpath_str
|
|
739
750
|
|
|
@@ -749,7 +760,7 @@ __Returns:__
|
|
|
749
760
|
|
|
750
761
|
--
|
|
751
762
|
|
|
752
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
763
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L96)
|
|
753
764
|
|
|
754
765
|
> def xpaths xpath_str
|
|
755
766
|
|
|
@@ -765,7 +776,7 @@ __Returns:__
|
|
|
765
776
|
|
|
766
777
|
--
|
|
767
778
|
|
|
768
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
779
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L104)
|
|
769
780
|
|
|
770
781
|
> def ele_index tag_name, index
|
|
771
782
|
|
|
@@ -783,7 +794,7 @@ __Returns:__
|
|
|
783
794
|
|
|
784
795
|
--
|
|
785
796
|
|
|
786
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
|
797
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L112)
|
|
787
798
|
|
|
788
799
|
> def find_eles tag_name
|
|
789
800
|
|
|
@@ -799,7 +810,7 @@ __Returns:__
|
|
|
799
810
|
|
|
800
811
|
--
|
|
801
812
|
|
|
802
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
|
813
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L120)
|
|
803
814
|
|
|
804
815
|
> def find_ele_by_text tag, text
|
|
805
816
|
|
|
@@ -817,7 +828,7 @@ __Returns:__
|
|
|
817
828
|
|
|
818
829
|
--
|
|
819
830
|
|
|
820
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
|
831
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L128)
|
|
821
832
|
|
|
822
833
|
> def find_eles_by_text tag, text
|
|
823
834
|
|
|
@@ -835,7 +846,7 @@ __Returns:__
|
|
|
835
846
|
|
|
836
847
|
--
|
|
837
848
|
|
|
838
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
849
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L137)
|
|
839
850
|
|
|
840
851
|
> def find_ele_by_attr_include tag, attr, value
|
|
841
852
|
|
|
@@ -855,7 +866,7 @@ __Returns:__
|
|
|
855
866
|
|
|
856
867
|
--
|
|
857
868
|
|
|
858
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
869
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L146)
|
|
859
870
|
|
|
860
871
|
> def find_eles_by_attr_include tag, attr, value
|
|
861
872
|
|
|
@@ -875,7 +886,7 @@ __Returns:__
|
|
|
875
886
|
|
|
876
887
|
--
|
|
877
888
|
|
|
878
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
889
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L155)
|
|
879
890
|
|
|
880
891
|
> def find_ele_by_text_include tag, text
|
|
881
892
|
|
|
@@ -894,7 +905,7 @@ __Returns:__
|
|
|
894
905
|
|
|
895
906
|
--
|
|
896
907
|
|
|
897
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
908
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L164)
|
|
898
909
|
|
|
899
910
|
> def find_eles_by_text_include tag, text
|
|
900
911
|
|
|
@@ -913,7 +924,7 @@ __Returns:__
|
|
|
913
924
|
|
|
914
925
|
--
|
|
915
926
|
|
|
916
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
927
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L171)
|
|
917
928
|
|
|
918
929
|
> def first_ele tag_name
|
|
919
930
|
|
|
@@ -929,7 +940,7 @@ __Returns:__
|
|
|
929
940
|
|
|
930
941
|
--
|
|
931
942
|
|
|
932
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
943
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L179)
|
|
933
944
|
|
|
934
945
|
> def last_ele tag_name
|
|
935
946
|
|
|
@@ -945,7 +956,7 @@ __Returns:__
|
|
|
945
956
|
|
|
946
957
|
--
|
|
947
958
|
|
|
948
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
959
|
+
##### [source](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L185)
|
|
949
960
|
|
|
950
961
|
> def source
|
|
951
962
|
|
|
@@ -957,7 +968,7 @@ __Returns:__
|
|
|
957
968
|
|
|
958
969
|
--
|
|
959
970
|
|
|
960
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
971
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L191)
|
|
961
972
|
|
|
962
973
|
> def get_source
|
|
963
974
|
|
|
@@ -969,7 +980,7 @@ __Returns:__
|
|
|
969
980
|
|
|
970
981
|
--
|
|
971
982
|
|
|
972
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
|
983
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L200)
|
|
973
984
|
|
|
974
985
|
> def find_name name
|
|
975
986
|
|
|
@@ -985,7 +996,7 @@ __Returns:__
|
|
|
985
996
|
|
|
986
997
|
--
|
|
987
998
|
|
|
988
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
|
999
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L208)
|
|
989
1000
|
|
|
990
1001
|
> def find_names name
|
|
991
1002
|
|
|
@@ -1001,7 +1012,7 @@ __Returns:__
|
|
|
1001
1012
|
|
|
1002
1013
|
--
|
|
1003
1014
|
|
|
1004
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1015
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L216)
|
|
1005
1016
|
|
|
1006
1017
|
> def tag tag_name
|
|
1007
1018
|
|
|
@@ -1017,7 +1028,7 @@ __Returns:__
|
|
|
1017
1028
|
|
|
1018
1029
|
--
|
|
1019
1030
|
|
|
1020
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1031
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L226)
|
|
1021
1032
|
|
|
1022
1033
|
> def px_to_window_rel opts={}
|
|
1023
1034
|
|
|
@@ -1029,7 +1040,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1029
1040
|
|
|
1030
1041
|
--
|
|
1031
1042
|
|
|
1032
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
1043
|
+
##### [value](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L32)
|
|
1033
1044
|
|
|
1034
1045
|
> def value
|
|
1035
1046
|
|
|
@@ -1039,7 +1050,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
1039
1050
|
|
|
1040
1051
|
--
|
|
1041
1052
|
|
|
1042
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
1053
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L39)
|
|
1043
1054
|
|
|
1044
1055
|
> def name
|
|
1045
1056
|
|
|
@@ -1049,7 +1060,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
1049
1060
|
|
|
1050
1061
|
--
|
|
1051
1062
|
|
|
1052
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
|
1063
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L46)
|
|
1053
1064
|
|
|
1054
1065
|
> def tag_name
|
|
1055
1066
|
|
|
@@ -1059,7 +1070,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
|
1059
1070
|
|
|
1060
1071
|
--
|
|
1061
1072
|
|
|
1062
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
1073
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L58)
|
|
1063
1074
|
|
|
1064
1075
|
> def location_rel
|
|
1065
1076
|
|
|
@@ -1077,7 +1088,7 @@ __Returns:__
|
|
|
1077
1088
|
|
|
1078
1089
|
--
|
|
1079
1090
|
|
|
1080
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
|
1091
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L16)
|
|
1081
1092
|
|
|
1082
1093
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
|
1083
1094
|
|
|
@@ -1085,7 +1096,7 @@ __Returns:__
|
|
|
1085
1096
|
|
|
1086
1097
|
--
|
|
1087
1098
|
|
|
1088
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
|
1099
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L18)
|
|
1089
1100
|
|
|
1090
1101
|
> def awesome_openstruct target
|
|
1091
1102
|
|
|
@@ -1093,7 +1104,7 @@ __Returns:__
|
|
|
1093
1104
|
|
|
1094
1105
|
--
|
|
1095
1106
|
|
|
1096
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
|
1107
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L28)
|
|
1097
1108
|
|
|
1098
1109
|
> def load_appium_txt opts
|
|
1099
1110
|
|
|
@@ -1110,7 +1121,7 @@ __Returns:__
|
|
|
1110
1121
|
|
|
1111
1122
|
--
|
|
1112
1123
|
|
|
1113
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
1124
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L165)
|
|
1114
1125
|
|
|
1115
1126
|
> def self.promote_appium_methods class_array
|
|
1116
1127
|
|
|
@@ -1128,7 +1139,7 @@ __Parameters:__
|
|
|
1128
1139
|
|
|
1129
1140
|
--
|
|
1130
1141
|
|
|
1131
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
1142
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L491)
|
|
1132
1143
|
|
|
1133
1144
|
> def default_wait
|
|
1134
1145
|
|
|
@@ -1141,7 +1152,7 @@ __Returns:__
|
|
|
1141
1152
|
|
|
1142
1153
|
--
|
|
1143
1154
|
|
|
1144
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
|
1155
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1145
1156
|
|
|
1146
1157
|
> def app_path
|
|
1147
1158
|
|
|
@@ -1149,7 +1160,7 @@ Returns the value of attribute app_path
|
|
|
1149
1160
|
|
|
1150
1161
|
--
|
|
1151
1162
|
|
|
1152
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
|
1163
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1153
1164
|
|
|
1154
1165
|
> def app_name
|
|
1155
1166
|
|
|
@@ -1157,7 +1168,7 @@ Returns the value of attribute app_name
|
|
|
1157
1168
|
|
|
1158
1169
|
--
|
|
1159
1170
|
|
|
1160
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
|
1171
|
+
##### [device](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1161
1172
|
|
|
1162
1173
|
> def device
|
|
1163
1174
|
|
|
@@ -1165,7 +1176,7 @@ Returns the value of attribute device
|
|
|
1165
1176
|
|
|
1166
1177
|
--
|
|
1167
1178
|
|
|
1168
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
|
1179
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1169
1180
|
|
|
1170
1181
|
> def app_package
|
|
1171
1182
|
|
|
@@ -1173,7 +1184,7 @@ Returns the value of attribute app_package
|
|
|
1173
1184
|
|
|
1174
1185
|
--
|
|
1175
1186
|
|
|
1176
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
|
1187
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1177
1188
|
|
|
1178
1189
|
> def app_activity
|
|
1179
1190
|
|
|
@@ -1181,7 +1192,7 @@ Returns the value of attribute app_activity
|
|
|
1181
1192
|
|
|
1182
1193
|
--
|
|
1183
1194
|
|
|
1184
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
|
1195
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1185
1196
|
|
|
1186
1197
|
> def app_wait_activity
|
|
1187
1198
|
|
|
@@ -1189,7 +1200,7 @@ Returns the value of attribute app_wait_activity
|
|
|
1189
1200
|
|
|
1190
1201
|
--
|
|
1191
1202
|
|
|
1192
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
1203
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1193
1204
|
|
|
1194
1205
|
> def sauce_username
|
|
1195
1206
|
|
|
@@ -1197,7 +1208,7 @@ Returns the value of attribute sauce_username
|
|
|
1197
1208
|
|
|
1198
1209
|
--
|
|
1199
1210
|
|
|
1200
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
1211
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1201
1212
|
|
|
1202
1213
|
> def sauce_access_key
|
|
1203
1214
|
|
|
@@ -1205,7 +1216,7 @@ Returns the value of attribute sauce_access_key
|
|
|
1205
1216
|
|
|
1206
1217
|
--
|
|
1207
1218
|
|
|
1208
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
|
1219
|
+
##### [port](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1209
1220
|
|
|
1210
1221
|
> def port
|
|
1211
1222
|
|
|
@@ -1213,7 +1224,7 @@ Returns the value of attribute port
|
|
|
1213
1224
|
|
|
1214
1225
|
--
|
|
1215
1226
|
|
|
1216
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
|
1227
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1217
1228
|
|
|
1218
1229
|
> def debug
|
|
1219
1230
|
|
|
@@ -1221,7 +1232,7 @@ Returns the value of attribute debug
|
|
|
1221
1232
|
|
|
1222
1233
|
--
|
|
1223
1234
|
|
|
1224
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
1235
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1225
1236
|
|
|
1226
1237
|
> def export_session
|
|
1227
1238
|
|
|
@@ -1229,7 +1240,7 @@ Returns the value of attribute export_session
|
|
|
1229
1240
|
|
|
1230
1241
|
--
|
|
1231
1242
|
|
|
1232
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
|
1243
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1233
1244
|
|
|
1234
1245
|
> def device_cap
|
|
1235
1246
|
|
|
@@ -1237,7 +1248,15 @@ Returns the value of attribute device_cap
|
|
|
1237
1248
|
|
|
1238
1249
|
--
|
|
1239
1250
|
|
|
1240
|
-
##### [
|
|
1251
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1252
|
+
|
|
1253
|
+
> def compress_xml
|
|
1254
|
+
|
|
1255
|
+
Returns the value of attribute compress_xml
|
|
1256
|
+
|
|
1257
|
+
--
|
|
1258
|
+
|
|
1259
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L200)
|
|
1241
1260
|
|
|
1242
1261
|
> def global_webdriver_http_sleep
|
|
1243
1262
|
|
|
@@ -1245,7 +1264,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1245
1264
|
|
|
1246
1265
|
--
|
|
1247
1266
|
|
|
1248
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
1267
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L200)
|
|
1249
1268
|
|
|
1250
1269
|
> def global_webdriver_http_sleep=(value)
|
|
1251
1270
|
|
|
@@ -1253,7 +1272,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1253
1272
|
|
|
1254
1273
|
--
|
|
1255
1274
|
|
|
1256
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1275
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L230)
|
|
1257
1276
|
|
|
1258
1277
|
> def initialize opts={}
|
|
1259
1278
|
|
|
@@ -1294,7 +1313,7 @@ __Returns:__
|
|
|
1294
1313
|
|
|
1295
1314
|
--
|
|
1296
1315
|
|
|
1297
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
|
1316
|
+
##### [status](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L335)
|
|
1298
1317
|
|
|
1299
1318
|
> def status
|
|
1300
1319
|
|
|
@@ -1320,7 +1339,7 @@ __Returns:__
|
|
|
1320
1339
|
|
|
1321
1340
|
--
|
|
1322
1341
|
|
|
1323
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
|
1342
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L341)
|
|
1324
1343
|
|
|
1325
1344
|
> def server_version
|
|
1326
1345
|
|
|
@@ -1332,7 +1351,7 @@ __Returns:__
|
|
|
1332
1351
|
|
|
1333
1352
|
--
|
|
1334
1353
|
|
|
1335
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
1354
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L381)
|
|
1336
1355
|
|
|
1337
1356
|
> def absolute_app_path
|
|
1338
1357
|
|
|
@@ -1344,7 +1363,7 @@ __Returns:__
|
|
|
1344
1363
|
|
|
1345
1364
|
--
|
|
1346
1365
|
|
|
1347
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
1366
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L401)
|
|
1348
1367
|
|
|
1349
1368
|
> def server_url
|
|
1350
1369
|
|
|
@@ -1356,7 +1375,7 @@ __Returns:__
|
|
|
1356
1375
|
|
|
1357
1376
|
--
|
|
1358
1377
|
|
|
1359
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
1378
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L411)
|
|
1360
1379
|
|
|
1361
1380
|
> def restart
|
|
1362
1381
|
|
|
@@ -1368,7 +1387,7 @@ __Returns:__
|
|
|
1368
1387
|
|
|
1369
1388
|
--
|
|
1370
1389
|
|
|
1371
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
1390
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L418)
|
|
1372
1391
|
|
|
1373
1392
|
> def driver
|
|
1374
1393
|
|
|
@@ -1380,7 +1399,7 @@ __Returns:__
|
|
|
1380
1399
|
|
|
1381
1400
|
--
|
|
1382
1401
|
|
|
1383
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
1402
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L428)
|
|
1384
1403
|
|
|
1385
1404
|
> def screenshot png_save_path
|
|
1386
1405
|
|
|
@@ -1398,7 +1417,7 @@ __Returns:__
|
|
|
1398
1417
|
|
|
1399
1418
|
--
|
|
1400
1419
|
|
|
1401
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
1420
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L435)
|
|
1402
1421
|
|
|
1403
1422
|
> def driver_quit
|
|
1404
1423
|
|
|
@@ -1410,7 +1429,7 @@ __Returns:__
|
|
|
1410
1429
|
|
|
1411
1430
|
--
|
|
1412
1431
|
|
|
1413
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
1432
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L443)
|
|
1414
1433
|
|
|
1415
1434
|
> def start_driver
|
|
1416
1435
|
|
|
@@ -1422,7 +1441,7 @@ __Returns:__
|
|
|
1422
1441
|
|
|
1423
1442
|
--
|
|
1424
1443
|
|
|
1425
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
1444
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L477)
|
|
1426
1445
|
|
|
1427
1446
|
> def no_wait
|
|
1428
1447
|
|
|
@@ -1430,7 +1449,7 @@ Set implicit wait to zero.
|
|
|
1430
1449
|
|
|
1431
1450
|
--
|
|
1432
1451
|
|
|
1433
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
1452
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L484)
|
|
1434
1453
|
|
|
1435
1454
|
> def set_wait timeout=@default_wait
|
|
1436
1455
|
|
|
@@ -1446,7 +1465,7 @@ __Returns:__
|
|
|
1446
1465
|
|
|
1447
1466
|
--
|
|
1448
1467
|
|
|
1449
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
1468
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L507)
|
|
1450
1469
|
|
|
1451
1470
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
|
1452
1471
|
|
|
@@ -1472,7 +1491,7 @@ __Returns:__
|
|
|
1472
1491
|
|
|
1473
1492
|
--
|
|
1474
1493
|
|
|
1475
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
1494
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L529)
|
|
1476
1495
|
|
|
1477
1496
|
> def execute_script script, *args
|
|
1478
1497
|
|
|
@@ -1490,7 +1509,7 @@ __Returns:__
|
|
|
1490
1509
|
|
|
1491
1510
|
--
|
|
1492
1511
|
|
|
1493
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
|
1512
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L545)
|
|
1494
1513
|
|
|
1495
1514
|
> def mobile method, *args
|
|
1496
1515
|
|
|
@@ -1516,7 +1535,7 @@ __Returns:__
|
|
|
1516
1535
|
|
|
1517
1536
|
--
|
|
1518
1537
|
|
|
1519
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
1538
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L556)
|
|
1520
1539
|
|
|
1521
1540
|
> def find_elements *args
|
|
1522
1541
|
|
|
@@ -1532,7 +1551,7 @@ __Returns:__
|
|
|
1532
1551
|
|
|
1533
1552
|
--
|
|
1534
1553
|
|
|
1535
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
1554
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L564)
|
|
1536
1555
|
|
|
1537
1556
|
> def find_element *args
|
|
1538
1557
|
|
|
@@ -1548,7 +1567,7 @@ __Returns:__
|
|
|
1548
1567
|
|
|
1549
1568
|
--
|
|
1550
1569
|
|
|
1551
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
1570
|
+
##### [x](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L571)
|
|
1552
1571
|
|
|
1553
1572
|
> def x
|
|
1554
1573
|
|