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
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad3b9c138072bdd02f0cb7976aefc9abfd706414
|
|
4
|
+
data.tar.gz: 73c6b80592e136274d7882d2bff3bd54ec42d221
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bb489e1ffce21f24aa11a831274b5d3a61a6a150733b5150160d4a718cbbfa66bd100a33f2a43fb92e647ebff112005f9c3b68510614d4da018a47051f80d37d
|
|
7
|
+
data.tar.gz: cff2cf30b4d3881b3d0168ac19604c6bf21d504c301381684111819be21925b5b1f798bdbfccea6d1db39cd6a63f1529fa6ad7b84c5b8abb561d3fc824bf4661
|
data/docs/android_docs.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
|
1
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/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
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
|
220
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L6) android
|
|
221
221
|
|
|
222
222
|
> def tag_name_to_android tag_name
|
|
223
223
|
|
|
@@ -233,7 +233,7 @@ __Returns:__
|
|
|
233
233
|
|
|
234
234
|
--
|
|
235
235
|
|
|
236
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
|
236
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L194) android
|
|
237
237
|
|
|
238
238
|
> def find_eles_attr tag_name, attribute=nil
|
|
239
239
|
|
|
@@ -254,7 +254,7 @@ __Returns:__
|
|
|
254
254
|
|
|
255
255
|
--
|
|
256
256
|
|
|
257
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
|
257
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L216) android
|
|
258
258
|
|
|
259
259
|
> def get_selendroid_inspect
|
|
260
260
|
|
|
@@ -267,7 +267,7 @@ __Returns:__
|
|
|
267
267
|
|
|
268
268
|
--
|
|
269
269
|
|
|
270
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
|
270
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L278) android
|
|
271
271
|
|
|
272
272
|
> def get_page_class
|
|
273
273
|
|
|
@@ -275,7 +275,7 @@ __Returns:__
|
|
|
275
275
|
|
|
276
276
|
--
|
|
277
277
|
|
|
278
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
|
278
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L305) android
|
|
279
279
|
|
|
280
280
|
> def page_class
|
|
281
281
|
|
|
@@ -284,7 +284,15 @@ Useful for appium_console.
|
|
|
284
284
|
|
|
285
285
|
--
|
|
286
286
|
|
|
287
|
-
##### [
|
|
287
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L310) android
|
|
288
|
+
|
|
289
|
+
> def lazy_load_strings
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
--
|
|
294
|
+
|
|
295
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L318) android
|
|
288
296
|
|
|
289
297
|
> def get_android_inspect
|
|
290
298
|
|
|
@@ -298,7 +306,7 @@ __Returns:__
|
|
|
298
306
|
|
|
299
307
|
--
|
|
300
308
|
|
|
301
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
|
309
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L396) android
|
|
302
310
|
|
|
303
311
|
> def get_inspect
|
|
304
312
|
|
|
@@ -311,7 +319,7 @@ __Returns:__
|
|
|
311
319
|
|
|
312
320
|
--
|
|
313
321
|
|
|
314
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
322
|
+
##### [page](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L402) android
|
|
315
323
|
|
|
316
324
|
> def page
|
|
317
325
|
|
|
@@ -320,7 +328,7 @@ Inspects and prints the current page.
|
|
|
320
328
|
|
|
321
329
|
--
|
|
322
330
|
|
|
323
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
|
331
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L415) android
|
|
324
332
|
|
|
325
333
|
> def fast_duration
|
|
326
334
|
|
|
@@ -335,7 +343,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
|
335
343
|
|
|
336
344
|
--
|
|
337
345
|
|
|
338
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
|
346
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L422) android
|
|
339
347
|
|
|
340
348
|
> def xml_keys target
|
|
341
349
|
|
|
@@ -351,7 +359,7 @@ __Returns:__
|
|
|
351
359
|
|
|
352
360
|
--
|
|
353
361
|
|
|
354
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
|
362
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L430) android
|
|
355
363
|
|
|
356
364
|
> def xml_values target
|
|
357
365
|
|
|
@@ -367,7 +375,7 @@ __Returns:__
|
|
|
367
375
|
|
|
368
376
|
--
|
|
369
377
|
|
|
370
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
|
378
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L438) android
|
|
371
379
|
|
|
372
380
|
> def resolve_id id
|
|
373
381
|
|
|
@@ -383,7 +391,7 @@ __Returns:__
|
|
|
383
391
|
|
|
384
392
|
--
|
|
385
393
|
|
|
386
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
|
394
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/helper.rb#L445) android
|
|
387
395
|
|
|
388
396
|
> def current_app
|
|
389
397
|
|
|
@@ -392,7 +400,7 @@ Works on local host only (not remote).
|
|
|
392
400
|
|
|
393
401
|
--
|
|
394
402
|
|
|
395
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
403
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/alert.rb#L6) android
|
|
396
404
|
|
|
397
405
|
> def alert_click value
|
|
398
406
|
|
|
@@ -408,7 +416,7 @@ __Returns:__
|
|
|
408
416
|
|
|
409
417
|
--
|
|
410
418
|
|
|
411
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
419
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/alert.rb#L13) android
|
|
412
420
|
|
|
413
421
|
> def alert_accept
|
|
414
422
|
|
|
@@ -421,7 +429,7 @@ __Returns:__
|
|
|
421
429
|
|
|
422
430
|
--
|
|
423
431
|
|
|
424
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
432
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/alert.rb#L20) android
|
|
425
433
|
|
|
426
434
|
> def alert_accept_text
|
|
427
435
|
|
|
@@ -434,7 +442,7 @@ __Returns:__
|
|
|
434
442
|
|
|
435
443
|
--
|
|
436
444
|
|
|
437
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
445
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/alert.rb#L27) android
|
|
438
446
|
|
|
439
447
|
> def alert_dismiss
|
|
440
448
|
|
|
@@ -447,7 +455,7 @@ __Returns:__
|
|
|
447
455
|
|
|
448
456
|
--
|
|
449
457
|
|
|
450
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
458
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/alert.rb#L34) android
|
|
451
459
|
|
|
452
460
|
> def alert_dismiss_text
|
|
453
461
|
|
|
@@ -460,7 +468,7 @@ __Returns:__
|
|
|
460
468
|
|
|
461
469
|
--
|
|
462
470
|
|
|
463
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
471
|
+
##### [find](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/generic.rb#L44) android
|
|
464
472
|
|
|
465
473
|
> def find val
|
|
466
474
|
|
|
@@ -477,7 +485,7 @@ __Returns:__
|
|
|
477
485
|
|
|
478
486
|
--
|
|
479
487
|
|
|
480
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
488
|
+
##### [text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/generic.rb#L70) android
|
|
481
489
|
|
|
482
490
|
> def text text
|
|
483
491
|
|
|
@@ -493,7 +501,7 @@ __Returns:__
|
|
|
493
501
|
|
|
494
502
|
--
|
|
495
503
|
|
|
496
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
504
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/generic.rb#L79) android
|
|
497
505
|
|
|
498
506
|
> def texts text
|
|
499
507
|
|
|
@@ -509,7 +517,7 @@ __Returns:__
|
|
|
509
517
|
|
|
510
518
|
--
|
|
511
519
|
|
|
512
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
520
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/generic.rb#L88) android
|
|
513
521
|
|
|
514
522
|
> def name name
|
|
515
523
|
|
|
@@ -527,7 +535,7 @@ __Returns:__
|
|
|
527
535
|
|
|
528
536
|
--
|
|
529
537
|
|
|
530
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
|
538
|
+
##### [names](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/generic.rb#L99) android
|
|
531
539
|
|
|
532
540
|
> def names name
|
|
533
541
|
|
|
@@ -545,7 +553,7 @@ __Returns:__
|
|
|
545
553
|
|
|
546
554
|
--
|
|
547
555
|
|
|
548
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
|
556
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/generic.rb#L108) android
|
|
549
557
|
|
|
550
558
|
> def scroll_to text
|
|
551
559
|
|
|
@@ -561,7 +569,7 @@ __Returns:__
|
|
|
561
569
|
|
|
562
570
|
--
|
|
563
571
|
|
|
564
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
572
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/textfield.rb#L7) android
|
|
565
573
|
|
|
566
574
|
> def textfields
|
|
567
575
|
|
|
@@ -573,7 +581,7 @@ __Returns:__
|
|
|
573
581
|
|
|
574
582
|
--
|
|
575
583
|
|
|
576
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
|
584
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/textfield.rb#L13) android
|
|
577
585
|
|
|
578
586
|
> def e_textfields
|
|
579
587
|
|
|
@@ -585,7 +593,7 @@ __Returns:__
|
|
|
585
593
|
|
|
586
594
|
--
|
|
587
595
|
|
|
588
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
596
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/textfield.rb#L19) android
|
|
589
597
|
|
|
590
598
|
> def first_textfield
|
|
591
599
|
|
|
@@ -597,7 +605,7 @@ __Returns:__
|
|
|
597
605
|
|
|
598
606
|
--
|
|
599
607
|
|
|
600
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
608
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/textfield.rb#L25) android
|
|
601
609
|
|
|
602
610
|
> def last_textfield
|
|
603
611
|
|
|
@@ -609,7 +617,7 @@ __Returns:__
|
|
|
609
617
|
|
|
610
618
|
--
|
|
611
619
|
|
|
612
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
620
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/textfield.rb#L32) android
|
|
613
621
|
|
|
614
622
|
> def textfield text
|
|
615
623
|
|
|
@@ -625,7 +633,7 @@ __Returns:__
|
|
|
625
633
|
|
|
626
634
|
--
|
|
627
635
|
|
|
628
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
636
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/android/element/textfield.rb#L45) android
|
|
629
637
|
|
|
630
638
|
> def textfield_exact text
|
|
631
639
|
|
|
@@ -641,7 +649,7 @@ __Returns:__
|
|
|
641
649
|
|
|
642
650
|
--
|
|
643
651
|
|
|
644
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
652
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L33)
|
|
645
653
|
|
|
646
654
|
> def wait max_wait=30, interval=0.5, &block
|
|
647
655
|
|
|
@@ -668,7 +676,7 @@ __Returns:__
|
|
|
668
676
|
|
|
669
677
|
--
|
|
670
678
|
|
|
671
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
679
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L45)
|
|
672
680
|
|
|
673
681
|
> def ignore &block
|
|
674
682
|
|
|
@@ -676,7 +684,7 @@ Return block.call and ignore any exceptions.
|
|
|
676
684
|
|
|
677
685
|
--
|
|
678
686
|
|
|
679
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
687
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L55)
|
|
680
688
|
|
|
681
689
|
> def wait_true max_wait=30, interval=0.5, &block
|
|
682
690
|
|
|
@@ -697,7 +705,7 @@ __Returns:__
|
|
|
697
705
|
|
|
698
706
|
--
|
|
699
707
|
|
|
700
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
708
|
+
##### [id](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L69)
|
|
701
709
|
|
|
702
710
|
> def id id
|
|
703
711
|
|
|
@@ -713,7 +721,7 @@ __Returns:__
|
|
|
713
721
|
|
|
714
722
|
--
|
|
715
723
|
|
|
716
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
724
|
+
##### [back](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L75)
|
|
717
725
|
|
|
718
726
|
> def back
|
|
719
727
|
|
|
@@ -725,7 +733,7 @@ __Returns:__
|
|
|
725
733
|
|
|
726
734
|
--
|
|
727
735
|
|
|
728
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
736
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L80)
|
|
729
737
|
|
|
730
738
|
> def session_id
|
|
731
739
|
|
|
@@ -733,7 +741,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
733
741
|
|
|
734
742
|
--
|
|
735
743
|
|
|
736
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
744
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L88)
|
|
737
745
|
|
|
738
746
|
> def xpath xpath_str
|
|
739
747
|
|
|
@@ -749,7 +757,7 @@ __Returns:__
|
|
|
749
757
|
|
|
750
758
|
--
|
|
751
759
|
|
|
752
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
760
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L96)
|
|
753
761
|
|
|
754
762
|
> def xpaths xpath_str
|
|
755
763
|
|
|
@@ -765,7 +773,7 @@ __Returns:__
|
|
|
765
773
|
|
|
766
774
|
--
|
|
767
775
|
|
|
768
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
776
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L104)
|
|
769
777
|
|
|
770
778
|
> def ele_index tag_name, index
|
|
771
779
|
|
|
@@ -783,7 +791,7 @@ __Returns:__
|
|
|
783
791
|
|
|
784
792
|
--
|
|
785
793
|
|
|
786
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
|
794
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L112)
|
|
787
795
|
|
|
788
796
|
> def find_eles tag_name
|
|
789
797
|
|
|
@@ -799,7 +807,7 @@ __Returns:__
|
|
|
799
807
|
|
|
800
808
|
--
|
|
801
809
|
|
|
802
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
|
810
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L120)
|
|
803
811
|
|
|
804
812
|
> def find_ele_by_text tag, text
|
|
805
813
|
|
|
@@ -817,7 +825,7 @@ __Returns:__
|
|
|
817
825
|
|
|
818
826
|
--
|
|
819
827
|
|
|
820
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
|
828
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L128)
|
|
821
829
|
|
|
822
830
|
> def find_eles_by_text tag, text
|
|
823
831
|
|
|
@@ -835,7 +843,7 @@ __Returns:__
|
|
|
835
843
|
|
|
836
844
|
--
|
|
837
845
|
|
|
838
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
846
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L137)
|
|
839
847
|
|
|
840
848
|
> def find_ele_by_attr_include tag, attr, value
|
|
841
849
|
|
|
@@ -855,7 +863,7 @@ __Returns:__
|
|
|
855
863
|
|
|
856
864
|
--
|
|
857
865
|
|
|
858
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
866
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L146)
|
|
859
867
|
|
|
860
868
|
> def find_eles_by_attr_include tag, attr, value
|
|
861
869
|
|
|
@@ -875,7 +883,7 @@ __Returns:__
|
|
|
875
883
|
|
|
876
884
|
--
|
|
877
885
|
|
|
878
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
886
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L155)
|
|
879
887
|
|
|
880
888
|
> def find_ele_by_text_include tag, text
|
|
881
889
|
|
|
@@ -894,7 +902,7 @@ __Returns:__
|
|
|
894
902
|
|
|
895
903
|
--
|
|
896
904
|
|
|
897
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
905
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L164)
|
|
898
906
|
|
|
899
907
|
> def find_eles_by_text_include tag, text
|
|
900
908
|
|
|
@@ -913,7 +921,7 @@ __Returns:__
|
|
|
913
921
|
|
|
914
922
|
--
|
|
915
923
|
|
|
916
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
924
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L171)
|
|
917
925
|
|
|
918
926
|
> def first_ele tag_name
|
|
919
927
|
|
|
@@ -929,7 +937,7 @@ __Returns:__
|
|
|
929
937
|
|
|
930
938
|
--
|
|
931
939
|
|
|
932
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
940
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L179)
|
|
933
941
|
|
|
934
942
|
> def last_ele tag_name
|
|
935
943
|
|
|
@@ -945,7 +953,7 @@ __Returns:__
|
|
|
945
953
|
|
|
946
954
|
--
|
|
947
955
|
|
|
948
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
956
|
+
##### [source](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L185)
|
|
949
957
|
|
|
950
958
|
> def source
|
|
951
959
|
|
|
@@ -957,7 +965,7 @@ __Returns:__
|
|
|
957
965
|
|
|
958
966
|
--
|
|
959
967
|
|
|
960
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
968
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L191)
|
|
961
969
|
|
|
962
970
|
> def get_source
|
|
963
971
|
|
|
@@ -969,7 +977,7 @@ __Returns:__
|
|
|
969
977
|
|
|
970
978
|
--
|
|
971
979
|
|
|
972
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
|
980
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L200)
|
|
973
981
|
|
|
974
982
|
> def find_name name
|
|
975
983
|
|
|
@@ -985,7 +993,7 @@ __Returns:__
|
|
|
985
993
|
|
|
986
994
|
--
|
|
987
995
|
|
|
988
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
|
996
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L208)
|
|
989
997
|
|
|
990
998
|
> def find_names name
|
|
991
999
|
|
|
@@ -1001,7 +1009,7 @@ __Returns:__
|
|
|
1001
1009
|
|
|
1002
1010
|
--
|
|
1003
1011
|
|
|
1004
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1012
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L216)
|
|
1005
1013
|
|
|
1006
1014
|
> def tag tag_name
|
|
1007
1015
|
|
|
@@ -1017,7 +1025,7 @@ __Returns:__
|
|
|
1017
1025
|
|
|
1018
1026
|
--
|
|
1019
1027
|
|
|
1020
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1028
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/helper.rb#L226)
|
|
1021
1029
|
|
|
1022
1030
|
> def px_to_window_rel opts={}
|
|
1023
1031
|
|
|
@@ -1029,7 +1037,7 @@ px_to_window_rel x: 50, y: 150
|
|
|
1029
1037
|
|
|
1030
1038
|
--
|
|
1031
1039
|
|
|
1032
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
|
1040
|
+
##### [value](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L32)
|
|
1033
1041
|
|
|
1034
1042
|
> def value
|
|
1035
1043
|
|
|
@@ -1039,7 +1047,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
1039
1047
|
|
|
1040
1048
|
--
|
|
1041
1049
|
|
|
1042
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
1050
|
+
##### [name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L39)
|
|
1043
1051
|
|
|
1044
1052
|
> def name
|
|
1045
1053
|
|
|
@@ -1049,7 +1057,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
1049
1057
|
|
|
1050
1058
|
--
|
|
1051
1059
|
|
|
1052
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
|
1060
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L46)
|
|
1053
1061
|
|
|
1054
1062
|
> def tag_name
|
|
1055
1063
|
|
|
@@ -1059,7 +1067,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
|
1059
1067
|
|
|
1060
1068
|
--
|
|
1061
1069
|
|
|
1062
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
1070
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/common/patch.rb#L58)
|
|
1063
1071
|
|
|
1064
1072
|
> def location_rel
|
|
1065
1073
|
|
|
@@ -1077,7 +1085,7 @@ __Returns:__
|
|
|
1077
1085
|
|
|
1078
1086
|
--
|
|
1079
1087
|
|
|
1080
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
|
1088
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L16)
|
|
1081
1089
|
|
|
1082
1090
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
|
1083
1091
|
|
|
@@ -1085,7 +1093,7 @@ __Returns:__
|
|
|
1085
1093
|
|
|
1086
1094
|
--
|
|
1087
1095
|
|
|
1088
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
|
1096
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L18)
|
|
1089
1097
|
|
|
1090
1098
|
> def awesome_openstruct target
|
|
1091
1099
|
|
|
@@ -1093,7 +1101,7 @@ __Returns:__
|
|
|
1093
1101
|
|
|
1094
1102
|
--
|
|
1095
1103
|
|
|
1096
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
|
1104
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L28)
|
|
1097
1105
|
|
|
1098
1106
|
> def load_appium_txt opts
|
|
1099
1107
|
|
|
@@ -1110,7 +1118,7 @@ __Returns:__
|
|
|
1110
1118
|
|
|
1111
1119
|
--
|
|
1112
1120
|
|
|
1113
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
1121
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L165)
|
|
1114
1122
|
|
|
1115
1123
|
> def self.promote_appium_methods class_array
|
|
1116
1124
|
|
|
@@ -1128,7 +1136,7 @@ __Parameters:__
|
|
|
1128
1136
|
|
|
1129
1137
|
--
|
|
1130
1138
|
|
|
1131
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
1139
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L491)
|
|
1132
1140
|
|
|
1133
1141
|
> def default_wait
|
|
1134
1142
|
|
|
@@ -1141,7 +1149,7 @@ __Returns:__
|
|
|
1141
1149
|
|
|
1142
1150
|
--
|
|
1143
1151
|
|
|
1144
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
|
1152
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1145
1153
|
|
|
1146
1154
|
> def app_path
|
|
1147
1155
|
|
|
@@ -1149,7 +1157,7 @@ Returns the value of attribute app_path
|
|
|
1149
1157
|
|
|
1150
1158
|
--
|
|
1151
1159
|
|
|
1152
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
|
1160
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1153
1161
|
|
|
1154
1162
|
> def app_name
|
|
1155
1163
|
|
|
@@ -1157,7 +1165,7 @@ Returns the value of attribute app_name
|
|
|
1157
1165
|
|
|
1158
1166
|
--
|
|
1159
1167
|
|
|
1160
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
|
1168
|
+
##### [device](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1161
1169
|
|
|
1162
1170
|
> def device
|
|
1163
1171
|
|
|
@@ -1165,7 +1173,7 @@ Returns the value of attribute device
|
|
|
1165
1173
|
|
|
1166
1174
|
--
|
|
1167
1175
|
|
|
1168
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
|
1176
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1169
1177
|
|
|
1170
1178
|
> def app_package
|
|
1171
1179
|
|
|
@@ -1173,7 +1181,7 @@ Returns the value of attribute app_package
|
|
|
1173
1181
|
|
|
1174
1182
|
--
|
|
1175
1183
|
|
|
1176
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
|
1184
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1177
1185
|
|
|
1178
1186
|
> def app_activity
|
|
1179
1187
|
|
|
@@ -1181,7 +1189,7 @@ Returns the value of attribute app_activity
|
|
|
1181
1189
|
|
|
1182
1190
|
--
|
|
1183
1191
|
|
|
1184
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
|
1192
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1185
1193
|
|
|
1186
1194
|
> def app_wait_activity
|
|
1187
1195
|
|
|
@@ -1189,7 +1197,7 @@ Returns the value of attribute app_wait_activity
|
|
|
1189
1197
|
|
|
1190
1198
|
--
|
|
1191
1199
|
|
|
1192
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
1200
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1193
1201
|
|
|
1194
1202
|
> def sauce_username
|
|
1195
1203
|
|
|
@@ -1197,7 +1205,7 @@ Returns the value of attribute sauce_username
|
|
|
1197
1205
|
|
|
1198
1206
|
--
|
|
1199
1207
|
|
|
1200
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
1208
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1201
1209
|
|
|
1202
1210
|
> def sauce_access_key
|
|
1203
1211
|
|
|
@@ -1205,7 +1213,7 @@ Returns the value of attribute sauce_access_key
|
|
|
1205
1213
|
|
|
1206
1214
|
--
|
|
1207
1215
|
|
|
1208
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
|
1216
|
+
##### [port](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1209
1217
|
|
|
1210
1218
|
> def port
|
|
1211
1219
|
|
|
@@ -1213,7 +1221,7 @@ Returns the value of attribute port
|
|
|
1213
1221
|
|
|
1214
1222
|
--
|
|
1215
1223
|
|
|
1216
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
|
1224
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1217
1225
|
|
|
1218
1226
|
> def debug
|
|
1219
1227
|
|
|
@@ -1221,7 +1229,7 @@ Returns the value of attribute debug
|
|
|
1221
1229
|
|
|
1222
1230
|
--
|
|
1223
1231
|
|
|
1224
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
1232
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1225
1233
|
|
|
1226
1234
|
> def export_session
|
|
1227
1235
|
|
|
@@ -1229,7 +1237,7 @@ Returns the value of attribute export_session
|
|
|
1229
1237
|
|
|
1230
1238
|
--
|
|
1231
1239
|
|
|
1232
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
|
1240
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1233
1241
|
|
|
1234
1242
|
> def device_cap
|
|
1235
1243
|
|
|
@@ -1237,7 +1245,15 @@ Returns the value of attribute device_cap
|
|
|
1237
1245
|
|
|
1238
1246
|
--
|
|
1239
1247
|
|
|
1240
|
-
##### [
|
|
1248
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L194)
|
|
1249
|
+
|
|
1250
|
+
> def compress_xml
|
|
1251
|
+
|
|
1252
|
+
Returns the value of attribute compress_xml
|
|
1253
|
+
|
|
1254
|
+
--
|
|
1255
|
+
|
|
1256
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L200)
|
|
1241
1257
|
|
|
1242
1258
|
> def global_webdriver_http_sleep
|
|
1243
1259
|
|
|
@@ -1245,7 +1261,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1245
1261
|
|
|
1246
1262
|
--
|
|
1247
1263
|
|
|
1248
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
1264
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L200)
|
|
1249
1265
|
|
|
1250
1266
|
> def global_webdriver_http_sleep=(value)
|
|
1251
1267
|
|
|
@@ -1253,7 +1269,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1253
1269
|
|
|
1254
1270
|
--
|
|
1255
1271
|
|
|
1256
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1272
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L230)
|
|
1257
1273
|
|
|
1258
1274
|
> def initialize opts={}
|
|
1259
1275
|
|
|
@@ -1294,7 +1310,7 @@ __Returns:__
|
|
|
1294
1310
|
|
|
1295
1311
|
--
|
|
1296
1312
|
|
|
1297
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
|
1313
|
+
##### [status](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L335)
|
|
1298
1314
|
|
|
1299
1315
|
> def status
|
|
1300
1316
|
|
|
@@ -1320,7 +1336,7 @@ __Returns:__
|
|
|
1320
1336
|
|
|
1321
1337
|
--
|
|
1322
1338
|
|
|
1323
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
|
1339
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L341)
|
|
1324
1340
|
|
|
1325
1341
|
> def server_version
|
|
1326
1342
|
|
|
@@ -1332,7 +1348,7 @@ __Returns:__
|
|
|
1332
1348
|
|
|
1333
1349
|
--
|
|
1334
1350
|
|
|
1335
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
1351
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L381)
|
|
1336
1352
|
|
|
1337
1353
|
> def absolute_app_path
|
|
1338
1354
|
|
|
@@ -1344,7 +1360,7 @@ __Returns:__
|
|
|
1344
1360
|
|
|
1345
1361
|
--
|
|
1346
1362
|
|
|
1347
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
1363
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L401)
|
|
1348
1364
|
|
|
1349
1365
|
> def server_url
|
|
1350
1366
|
|
|
@@ -1356,7 +1372,7 @@ __Returns:__
|
|
|
1356
1372
|
|
|
1357
1373
|
--
|
|
1358
1374
|
|
|
1359
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
1375
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L411)
|
|
1360
1376
|
|
|
1361
1377
|
> def restart
|
|
1362
1378
|
|
|
@@ -1368,7 +1384,7 @@ __Returns:__
|
|
|
1368
1384
|
|
|
1369
1385
|
--
|
|
1370
1386
|
|
|
1371
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
1387
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L418)
|
|
1372
1388
|
|
|
1373
1389
|
> def driver
|
|
1374
1390
|
|
|
@@ -1380,7 +1396,7 @@ __Returns:__
|
|
|
1380
1396
|
|
|
1381
1397
|
--
|
|
1382
1398
|
|
|
1383
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
1399
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L428)
|
|
1384
1400
|
|
|
1385
1401
|
> def screenshot png_save_path
|
|
1386
1402
|
|
|
@@ -1398,7 +1414,7 @@ __Returns:__
|
|
|
1398
1414
|
|
|
1399
1415
|
--
|
|
1400
1416
|
|
|
1401
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
1417
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L435)
|
|
1402
1418
|
|
|
1403
1419
|
> def driver_quit
|
|
1404
1420
|
|
|
@@ -1410,7 +1426,7 @@ __Returns:__
|
|
|
1410
1426
|
|
|
1411
1427
|
--
|
|
1412
1428
|
|
|
1413
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
1429
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L443)
|
|
1414
1430
|
|
|
1415
1431
|
> def start_driver
|
|
1416
1432
|
|
|
@@ -1422,7 +1438,7 @@ __Returns:__
|
|
|
1422
1438
|
|
|
1423
1439
|
--
|
|
1424
1440
|
|
|
1425
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
1441
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L477)
|
|
1426
1442
|
|
|
1427
1443
|
> def no_wait
|
|
1428
1444
|
|
|
@@ -1430,7 +1446,7 @@ Set implicit wait to zero.
|
|
|
1430
1446
|
|
|
1431
1447
|
--
|
|
1432
1448
|
|
|
1433
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
1449
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L484)
|
|
1434
1450
|
|
|
1435
1451
|
> def set_wait timeout=@default_wait
|
|
1436
1452
|
|
|
@@ -1446,7 +1462,7 @@ __Returns:__
|
|
|
1446
1462
|
|
|
1447
1463
|
--
|
|
1448
1464
|
|
|
1449
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
1465
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L507)
|
|
1450
1466
|
|
|
1451
1467
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
|
1452
1468
|
|
|
@@ -1472,7 +1488,7 @@ __Returns:__
|
|
|
1472
1488
|
|
|
1473
1489
|
--
|
|
1474
1490
|
|
|
1475
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
1491
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L529)
|
|
1476
1492
|
|
|
1477
1493
|
> def execute_script script, *args
|
|
1478
1494
|
|
|
@@ -1490,7 +1506,7 @@ __Returns:__
|
|
|
1490
1506
|
|
|
1491
1507
|
--
|
|
1492
1508
|
|
|
1493
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
|
1509
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L545)
|
|
1494
1510
|
|
|
1495
1511
|
> def mobile method, *args
|
|
1496
1512
|
|
|
@@ -1516,7 +1532,7 @@ __Returns:__
|
|
|
1516
1532
|
|
|
1517
1533
|
--
|
|
1518
1534
|
|
|
1519
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
1535
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L556)
|
|
1520
1536
|
|
|
1521
1537
|
> def find_elements *args
|
|
1522
1538
|
|
|
@@ -1532,7 +1548,7 @@ __Returns:__
|
|
|
1532
1548
|
|
|
1533
1549
|
--
|
|
1534
1550
|
|
|
1535
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
1551
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L564)
|
|
1536
1552
|
|
|
1537
1553
|
> def find_element *args
|
|
1538
1554
|
|
|
@@ -1548,7 +1564,7 @@ __Returns:__
|
|
|
1548
1564
|
|
|
1549
1565
|
--
|
|
1550
1566
|
|
|
1551
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
1567
|
+
##### [x](https://github.com/appium/ruby_lib/blob/c8f3041049c2feb9ac85f67e85523118a6ce5a84/lib/appium_lib/driver.rb#L571)
|
|
1552
1568
|
|
|
1553
1569
|
> def x
|
|
1554
1570
|
|