appium_lib 0.7.1 → 0.8.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/Rakefile +12 -1
- data/docs/android_docs.md +172 -164
- data/docs/ios_docs.md +174 -118
- data/lib/appium_lib/android/helper.rb +10 -0
- data/lib/appium_lib/common/helper.rb +6 -7
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/ios/element/textfield.rb +13 -8
- data/lib/appium_lib/ios/helper.rb +9 -0
- data/release_notes.md +9 -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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/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/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/helper.rb#L81) ios
|
|
287
287
|
|
|
288
288
|
> def page_class
|
|
289
289
|
|
|
@@ -291,15 +291,7 @@ Returns a string of class counts.
|
|
|
291
291
|
|
|
292
292
|
--
|
|
293
293
|
|
|
294
|
-
##### [
|
|
295
|
-
|
|
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
|
|
294
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/helper.rb#L93) ios
|
|
303
295
|
|
|
304
296
|
> def get_page element=source_window(0)
|
|
305
297
|
|
|
@@ -318,7 +310,7 @@ __Returns:__
|
|
|
318
310
|
|
|
319
311
|
--
|
|
320
312
|
|
|
321
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
|
313
|
+
##### [page](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/helper.rb#L154) ios
|
|
322
314
|
|
|
323
315
|
> def page
|
|
324
316
|
|
|
@@ -330,7 +322,7 @@ __Returns:__
|
|
|
330
322
|
|
|
331
323
|
--
|
|
332
324
|
|
|
333
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
|
325
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/helper.rb#L162) ios
|
|
334
326
|
|
|
335
327
|
> def source_window window_number=0
|
|
336
328
|
|
|
@@ -346,7 +338,7 @@ __Returns:__
|
|
|
346
338
|
|
|
347
339
|
--
|
|
348
340
|
|
|
349
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
|
341
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/helper.rb#L169) ios
|
|
350
342
|
|
|
351
343
|
> def page_window window_number=0
|
|
352
344
|
|
|
@@ -359,7 +351,7 @@ __Parameters:__
|
|
|
359
351
|
|
|
360
352
|
--
|
|
361
353
|
|
|
362
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
|
354
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/helper.rb#L176) ios
|
|
363
355
|
|
|
364
356
|
> def fast_duration
|
|
365
357
|
|
|
@@ -371,7 +363,7 @@ __Returns:__
|
|
|
371
363
|
|
|
372
364
|
--
|
|
373
365
|
|
|
374
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
|
366
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/alert.rb#L14) ios
|
|
375
367
|
|
|
376
368
|
> def alert_click value
|
|
377
369
|
|
|
@@ -394,7 +386,7 @@ __Returns:__
|
|
|
394
386
|
|
|
395
387
|
--
|
|
396
388
|
|
|
397
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
|
389
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/alert.rb#L21) ios
|
|
398
390
|
|
|
399
391
|
> def alert_text
|
|
400
392
|
|
|
@@ -406,7 +398,7 @@ __Returns:__
|
|
|
406
398
|
|
|
407
399
|
--
|
|
408
400
|
|
|
409
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
|
401
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/alert.rb#L30) ios
|
|
410
402
|
|
|
411
403
|
> def alert_accept
|
|
412
404
|
|
|
@@ -418,7 +410,7 @@ __Returns:__
|
|
|
418
410
|
|
|
419
411
|
--
|
|
420
412
|
|
|
421
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
|
413
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/alert.rb#L39) ios
|
|
422
414
|
|
|
423
415
|
> def alert_accept_text
|
|
424
416
|
|
|
@@ -431,7 +423,7 @@ __Returns:__
|
|
|
431
423
|
|
|
432
424
|
--
|
|
433
425
|
|
|
434
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
|
426
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/alert.rb#L48) ios
|
|
435
427
|
|
|
436
428
|
> def alert_dismiss
|
|
437
429
|
|
|
@@ -443,7 +435,7 @@ __Returns:__
|
|
|
443
435
|
|
|
444
436
|
--
|
|
445
437
|
|
|
446
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
|
438
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/alert.rb#L57) ios
|
|
447
439
|
|
|
448
440
|
> def alert_dismiss_text
|
|
449
441
|
|
|
@@ -456,7 +448,7 @@ __Returns:__
|
|
|
456
448
|
|
|
457
449
|
--
|
|
458
450
|
|
|
459
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
|
451
|
+
##### [find](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/generic.rb#L61) ios
|
|
460
452
|
|
|
461
453
|
> def find text
|
|
462
454
|
|
|
@@ -472,7 +464,7 @@ __Returns:__
|
|
|
472
464
|
|
|
473
465
|
--
|
|
474
466
|
|
|
475
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
|
467
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/generic.rb#L83) ios
|
|
476
468
|
|
|
477
469
|
> def finds text
|
|
478
470
|
|
|
@@ -488,7 +480,7 @@ __Returns:__
|
|
|
488
480
|
|
|
489
481
|
--
|
|
490
482
|
|
|
491
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
|
483
|
+
##### [text](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/generic.rb#L97) ios
|
|
492
484
|
|
|
493
485
|
> def text text
|
|
494
486
|
|
|
@@ -504,7 +496,7 @@ __Returns:__
|
|
|
504
496
|
|
|
505
497
|
--
|
|
506
498
|
|
|
507
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
|
499
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/generic.rb#L105) ios
|
|
508
500
|
|
|
509
501
|
> def texts text
|
|
510
502
|
|
|
@@ -520,7 +512,7 @@ __Returns:__
|
|
|
520
512
|
|
|
521
513
|
--
|
|
522
514
|
|
|
523
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
515
|
+
##### [name](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/generic.rb#L117) ios
|
|
524
516
|
|
|
525
517
|
> def name name
|
|
526
518
|
|
|
@@ -538,7 +530,7 @@ __Returns:__
|
|
|
538
530
|
|
|
539
531
|
--
|
|
540
532
|
|
|
541
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
|
533
|
+
##### [names](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/generic.rb#L126) ios
|
|
542
534
|
|
|
543
535
|
> def names name
|
|
544
536
|
|
|
@@ -556,7 +548,7 @@ __Returns:__
|
|
|
556
548
|
|
|
557
549
|
--
|
|
558
550
|
|
|
559
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
|
551
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
|
560
552
|
|
|
561
553
|
> def textfields
|
|
562
554
|
|
|
@@ -568,7 +560,7 @@ __Returns:__
|
|
|
568
560
|
|
|
569
561
|
--
|
|
570
562
|
|
|
571
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
|
563
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
|
572
564
|
|
|
573
565
|
> def e_textfields
|
|
574
566
|
|
|
@@ -580,7 +572,7 @@ __Returns:__
|
|
|
580
572
|
|
|
581
573
|
--
|
|
582
574
|
|
|
583
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
|
575
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
|
584
576
|
|
|
585
577
|
> def first_textfield
|
|
586
578
|
|
|
@@ -592,7 +584,7 @@ __Returns:__
|
|
|
592
584
|
|
|
593
585
|
--
|
|
594
586
|
|
|
595
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
|
587
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
|
596
588
|
|
|
597
589
|
> def last_textfield
|
|
598
590
|
|
|
@@ -604,7 +596,7 @@ __Returns:__
|
|
|
604
596
|
|
|
605
597
|
--
|
|
606
598
|
|
|
607
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
|
599
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
|
608
600
|
|
|
609
601
|
> def textfield text
|
|
610
602
|
|
|
@@ -620,7 +612,7 @@ __Returns:__
|
|
|
620
612
|
|
|
621
613
|
--
|
|
622
614
|
|
|
623
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
|
615
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
|
624
616
|
|
|
625
617
|
> def textfield_include text
|
|
626
618
|
|
|
@@ -636,7 +628,7 @@ __Returns:__
|
|
|
636
628
|
|
|
637
629
|
--
|
|
638
630
|
|
|
639
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
|
631
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
|
640
632
|
|
|
641
633
|
> def textfield_exact text
|
|
642
634
|
|
|
@@ -652,7 +644,7 @@ __Returns:__
|
|
|
652
644
|
|
|
653
645
|
--
|
|
654
646
|
|
|
655
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
|
647
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L33)
|
|
656
648
|
|
|
657
649
|
> def wait max_wait=30, interval=0.5, &block
|
|
658
650
|
|
|
@@ -679,7 +671,7 @@ __Returns:__
|
|
|
679
671
|
|
|
680
672
|
--
|
|
681
673
|
|
|
682
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
|
674
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L45)
|
|
683
675
|
|
|
684
676
|
> def ignore &block
|
|
685
677
|
|
|
@@ -687,7 +679,7 @@ Return block.call and ignore any exceptions.
|
|
|
687
679
|
|
|
688
680
|
--
|
|
689
681
|
|
|
690
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
|
682
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L55)
|
|
691
683
|
|
|
692
684
|
> def wait_true max_wait=30, interval=0.5, &block
|
|
693
685
|
|
|
@@ -708,7 +700,7 @@ __Returns:__
|
|
|
708
700
|
|
|
709
701
|
--
|
|
710
702
|
|
|
711
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
|
703
|
+
##### [id](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L69)
|
|
712
704
|
|
|
713
705
|
> def id id
|
|
714
706
|
|
|
@@ -724,7 +716,7 @@ __Returns:__
|
|
|
724
716
|
|
|
725
717
|
--
|
|
726
718
|
|
|
727
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
|
719
|
+
##### [back](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L75)
|
|
728
720
|
|
|
729
721
|
> def back
|
|
730
722
|
|
|
@@ -736,7 +728,7 @@ __Returns:__
|
|
|
736
728
|
|
|
737
729
|
--
|
|
738
730
|
|
|
739
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
|
731
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L80)
|
|
740
732
|
|
|
741
733
|
> def session_id
|
|
742
734
|
|
|
@@ -744,7 +736,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
|
744
736
|
|
|
745
737
|
--
|
|
746
738
|
|
|
747
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
|
739
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L88)
|
|
748
740
|
|
|
749
741
|
> def xpath xpath_str
|
|
750
742
|
|
|
@@ -760,7 +752,7 @@ __Returns:__
|
|
|
760
752
|
|
|
761
753
|
--
|
|
762
754
|
|
|
763
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
|
755
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L96)
|
|
764
756
|
|
|
765
757
|
> def xpaths xpath_str
|
|
766
758
|
|
|
@@ -776,7 +768,7 @@ __Returns:__
|
|
|
776
768
|
|
|
777
769
|
--
|
|
778
770
|
|
|
779
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
|
771
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L104)
|
|
780
772
|
|
|
781
773
|
> def ele_index tag_name, index
|
|
782
774
|
|
|
@@ -794,7 +786,7 @@ __Returns:__
|
|
|
794
786
|
|
|
795
787
|
--
|
|
796
788
|
|
|
797
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
|
789
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L112)
|
|
798
790
|
|
|
799
791
|
> def find_eles tag_name
|
|
800
792
|
|
|
@@ -810,7 +802,7 @@ __Returns:__
|
|
|
810
802
|
|
|
811
803
|
--
|
|
812
804
|
|
|
813
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
|
805
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L120)
|
|
814
806
|
|
|
815
807
|
> def find_ele_by_text tag, text
|
|
816
808
|
|
|
@@ -828,7 +820,7 @@ __Returns:__
|
|
|
828
820
|
|
|
829
821
|
--
|
|
830
822
|
|
|
831
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
|
823
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L128)
|
|
832
824
|
|
|
833
825
|
> def find_eles_by_text tag, text
|
|
834
826
|
|
|
@@ -846,7 +838,7 @@ __Returns:__
|
|
|
846
838
|
|
|
847
839
|
--
|
|
848
840
|
|
|
849
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
841
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L137)
|
|
850
842
|
|
|
851
843
|
> def find_ele_by_attr_include tag, attr, value
|
|
852
844
|
|
|
@@ -866,7 +858,7 @@ __Returns:__
|
|
|
866
858
|
|
|
867
859
|
--
|
|
868
860
|
|
|
869
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
|
861
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L146)
|
|
870
862
|
|
|
871
863
|
> def find_eles_by_attr_include tag, attr, value
|
|
872
864
|
|
|
@@ -886,7 +878,7 @@ __Returns:__
|
|
|
886
878
|
|
|
887
879
|
--
|
|
888
880
|
|
|
889
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
881
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L155)
|
|
890
882
|
|
|
891
883
|
> def find_ele_by_text_include tag, text
|
|
892
884
|
|
|
@@ -905,7 +897,7 @@ __Returns:__
|
|
|
905
897
|
|
|
906
898
|
--
|
|
907
899
|
|
|
908
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
|
900
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L164)
|
|
909
901
|
|
|
910
902
|
> def find_eles_by_text_include tag, text
|
|
911
903
|
|
|
@@ -924,7 +916,7 @@ __Returns:__
|
|
|
924
916
|
|
|
925
917
|
--
|
|
926
918
|
|
|
927
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
|
919
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L171)
|
|
928
920
|
|
|
929
921
|
> def first_ele tag_name
|
|
930
922
|
|
|
@@ -940,7 +932,7 @@ __Returns:__
|
|
|
940
932
|
|
|
941
933
|
--
|
|
942
934
|
|
|
943
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
|
935
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L179)
|
|
944
936
|
|
|
945
937
|
> def last_ele tag_name
|
|
946
938
|
|
|
@@ -956,7 +948,7 @@ __Returns:__
|
|
|
956
948
|
|
|
957
949
|
--
|
|
958
950
|
|
|
959
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
|
951
|
+
##### [source](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L185)
|
|
960
952
|
|
|
961
953
|
> def source
|
|
962
954
|
|
|
@@ -968,7 +960,7 @@ __Returns:__
|
|
|
968
960
|
|
|
969
961
|
--
|
|
970
962
|
|
|
971
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
|
963
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L191)
|
|
972
964
|
|
|
973
965
|
> def get_source
|
|
974
966
|
|
|
@@ -980,7 +972,7 @@ __Returns:__
|
|
|
980
972
|
|
|
981
973
|
--
|
|
982
974
|
|
|
983
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
|
975
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L200)
|
|
984
976
|
|
|
985
977
|
> def find_name name
|
|
986
978
|
|
|
@@ -996,7 +988,7 @@ __Returns:__
|
|
|
996
988
|
|
|
997
989
|
--
|
|
998
990
|
|
|
999
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
|
991
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L208)
|
|
1000
992
|
|
|
1001
993
|
> def find_names name
|
|
1002
994
|
|
|
@@ -1012,7 +1004,7 @@ __Returns:__
|
|
|
1012
1004
|
|
|
1013
1005
|
--
|
|
1014
1006
|
|
|
1015
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
|
1007
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L216)
|
|
1016
1008
|
|
|
1017
1009
|
> def tag tag_name
|
|
1018
1010
|
|
|
@@ -1028,7 +1020,7 @@ __Returns:__
|
|
|
1028
1020
|
|
|
1029
1021
|
--
|
|
1030
1022
|
|
|
1031
|
-
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/
|
|
1023
|
+
##### [px_to_window_rel](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L226)
|
|
1032
1024
|
|
|
1033
1025
|
> def px_to_window_rel opts={}
|
|
1034
1026
|
|
|
@@ -1040,7 +1032,63 @@ px_to_window_rel x: 50, y: 150
|
|
|
1040
1032
|
|
|
1041
1033
|
--
|
|
1042
1034
|
|
|
1043
|
-
##### [
|
|
1035
|
+
##### [lazy_load_strings](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L236)
|
|
1036
|
+
|
|
1037
|
+
> def lazy_load_strings
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
--
|
|
1042
|
+
|
|
1043
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L243)
|
|
1044
|
+
|
|
1045
|
+
> def xml_keys target
|
|
1046
|
+
|
|
1047
|
+
Search strings.xml's values for target.
|
|
1048
|
+
|
|
1049
|
+
__Parameters:__
|
|
1050
|
+
|
|
1051
|
+
[String] target - the target to search for in strings.xml values
|
|
1052
|
+
|
|
1053
|
+
__Returns:__
|
|
1054
|
+
|
|
1055
|
+
[Array]
|
|
1056
|
+
|
|
1057
|
+
--
|
|
1058
|
+
|
|
1059
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L251)
|
|
1060
|
+
|
|
1061
|
+
> def xml_values target
|
|
1062
|
+
|
|
1063
|
+
Search strings.xml's keys for target.
|
|
1064
|
+
|
|
1065
|
+
__Parameters:__
|
|
1066
|
+
|
|
1067
|
+
[String] target - the target to search for in strings.xml keys
|
|
1068
|
+
|
|
1069
|
+
__Returns:__
|
|
1070
|
+
|
|
1071
|
+
[Array]
|
|
1072
|
+
|
|
1073
|
+
--
|
|
1074
|
+
|
|
1075
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/helper.rb#L259)
|
|
1076
|
+
|
|
1077
|
+
> def resolve_id id
|
|
1078
|
+
|
|
1079
|
+
Resolve id in strings.xml and return the value.
|
|
1080
|
+
|
|
1081
|
+
__Parameters:__
|
|
1082
|
+
|
|
1083
|
+
[String] id - the id to resolve
|
|
1084
|
+
|
|
1085
|
+
__Returns:__
|
|
1086
|
+
|
|
1087
|
+
[String]
|
|
1088
|
+
|
|
1089
|
+
--
|
|
1090
|
+
|
|
1091
|
+
##### [value](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/patch.rb#L32)
|
|
1044
1092
|
|
|
1045
1093
|
> def value
|
|
1046
1094
|
|
|
@@ -1050,7 +1098,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
|
1050
1098
|
|
|
1051
1099
|
--
|
|
1052
1100
|
|
|
1053
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
|
1101
|
+
##### [name](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/patch.rb#L39)
|
|
1054
1102
|
|
|
1055
1103
|
> def name
|
|
1056
1104
|
|
|
@@ -1060,7 +1108,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
|
1060
1108
|
|
|
1061
1109
|
--
|
|
1062
1110
|
|
|
1063
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
|
1111
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/patch.rb#L46)
|
|
1064
1112
|
|
|
1065
1113
|
> def tag_name
|
|
1066
1114
|
|
|
@@ -1070,7 +1118,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
|
1070
1118
|
|
|
1071
1119
|
--
|
|
1072
1120
|
|
|
1073
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
|
1121
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/common/patch.rb#L58)
|
|
1074
1122
|
|
|
1075
1123
|
> def location_rel
|
|
1076
1124
|
|
|
@@ -1088,7 +1136,7 @@ __Returns:__
|
|
|
1088
1136
|
|
|
1089
1137
|
--
|
|
1090
1138
|
|
|
1091
|
-
##### [CORE](https://github.com/appium/ruby_lib/blob/
|
|
1139
|
+
##### [CORE](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L16)
|
|
1092
1140
|
|
|
1093
1141
|
> CORE = [ :array, :hash, :class, :file, :dir, :bigdecimal, :rational, :struct, :openstruct, :method, :unboundmethod ]
|
|
1094
1142
|
|
|
@@ -1096,7 +1144,7 @@ __Returns:__
|
|
|
1096
1144
|
|
|
1097
1145
|
--
|
|
1098
1146
|
|
|
1099
|
-
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/
|
|
1147
|
+
##### [awesome_openstruct](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L18)
|
|
1100
1148
|
|
|
1101
1149
|
> def awesome_openstruct target
|
|
1102
1150
|
|
|
@@ -1104,7 +1152,7 @@ __Returns:__
|
|
|
1104
1152
|
|
|
1105
1153
|
--
|
|
1106
1154
|
|
|
1107
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
|
1155
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L28)
|
|
1108
1156
|
|
|
1109
1157
|
> def load_appium_txt opts
|
|
1110
1158
|
|
|
@@ -1121,7 +1169,7 @@ __Returns:__
|
|
|
1121
1169
|
|
|
1122
1170
|
--
|
|
1123
1171
|
|
|
1124
|
-
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/
|
|
1172
|
+
##### [promote_appium_methods](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L165)
|
|
1125
1173
|
|
|
1126
1174
|
> def self.promote_appium_methods class_array
|
|
1127
1175
|
|
|
@@ -1139,7 +1187,7 @@ __Parameters:__
|
|
|
1139
1187
|
|
|
1140
1188
|
--
|
|
1141
1189
|
|
|
1142
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
|
1190
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L494)
|
|
1143
1191
|
|
|
1144
1192
|
> def default_wait
|
|
1145
1193
|
|
|
@@ -1152,7 +1200,7 @@ __Returns:__
|
|
|
1152
1200
|
|
|
1153
1201
|
--
|
|
1154
1202
|
|
|
1155
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
|
1203
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1156
1204
|
|
|
1157
1205
|
> def app_path
|
|
1158
1206
|
|
|
@@ -1160,7 +1208,7 @@ Returns the value of attribute app_path
|
|
|
1160
1208
|
|
|
1161
1209
|
--
|
|
1162
1210
|
|
|
1163
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
|
1211
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1164
1212
|
|
|
1165
1213
|
> def app_name
|
|
1166
1214
|
|
|
@@ -1168,7 +1216,7 @@ Returns the value of attribute app_name
|
|
|
1168
1216
|
|
|
1169
1217
|
--
|
|
1170
1218
|
|
|
1171
|
-
##### [device](https://github.com/appium/ruby_lib/blob/
|
|
1219
|
+
##### [device](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1172
1220
|
|
|
1173
1221
|
> def device
|
|
1174
1222
|
|
|
@@ -1176,7 +1224,7 @@ Returns the value of attribute device
|
|
|
1176
1224
|
|
|
1177
1225
|
--
|
|
1178
1226
|
|
|
1179
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
|
1227
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1180
1228
|
|
|
1181
1229
|
> def app_package
|
|
1182
1230
|
|
|
@@ -1184,7 +1232,7 @@ Returns the value of attribute app_package
|
|
|
1184
1232
|
|
|
1185
1233
|
--
|
|
1186
1234
|
|
|
1187
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
|
1235
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1188
1236
|
|
|
1189
1237
|
> def app_activity
|
|
1190
1238
|
|
|
@@ -1192,7 +1240,7 @@ Returns the value of attribute app_activity
|
|
|
1192
1240
|
|
|
1193
1241
|
--
|
|
1194
1242
|
|
|
1195
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
|
1243
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1196
1244
|
|
|
1197
1245
|
> def app_wait_activity
|
|
1198
1246
|
|
|
@@ -1200,7 +1248,7 @@ Returns the value of attribute app_wait_activity
|
|
|
1200
1248
|
|
|
1201
1249
|
--
|
|
1202
1250
|
|
|
1203
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
|
1251
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1204
1252
|
|
|
1205
1253
|
> def sauce_username
|
|
1206
1254
|
|
|
@@ -1208,7 +1256,7 @@ Returns the value of attribute sauce_username
|
|
|
1208
1256
|
|
|
1209
1257
|
--
|
|
1210
1258
|
|
|
1211
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
|
1259
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1212
1260
|
|
|
1213
1261
|
> def sauce_access_key
|
|
1214
1262
|
|
|
@@ -1216,7 +1264,7 @@ Returns the value of attribute sauce_access_key
|
|
|
1216
1264
|
|
|
1217
1265
|
--
|
|
1218
1266
|
|
|
1219
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
|
1267
|
+
##### [port](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1220
1268
|
|
|
1221
1269
|
> def port
|
|
1222
1270
|
|
|
@@ -1224,7 +1272,7 @@ Returns the value of attribute port
|
|
|
1224
1272
|
|
|
1225
1273
|
--
|
|
1226
1274
|
|
|
1227
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
|
1275
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1228
1276
|
|
|
1229
1277
|
> def debug
|
|
1230
1278
|
|
|
@@ -1232,7 +1280,7 @@ Returns the value of attribute debug
|
|
|
1232
1280
|
|
|
1233
1281
|
--
|
|
1234
1282
|
|
|
1235
|
-
##### [export_session](https://github.com/appium/ruby_lib/blob/
|
|
1283
|
+
##### [export_session](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1236
1284
|
|
|
1237
1285
|
> def export_session
|
|
1238
1286
|
|
|
@@ -1240,7 +1288,7 @@ Returns the value of attribute export_session
|
|
|
1240
1288
|
|
|
1241
1289
|
--
|
|
1242
1290
|
|
|
1243
|
-
##### [device_cap](https://github.com/appium/ruby_lib/blob/
|
|
1291
|
+
##### [device_cap](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1244
1292
|
|
|
1245
1293
|
> def device_cap
|
|
1246
1294
|
|
|
@@ -1248,7 +1296,7 @@ Returns the value of attribute device_cap
|
|
|
1248
1296
|
|
|
1249
1297
|
--
|
|
1250
1298
|
|
|
1251
|
-
##### [compress_xml](https://github.com/appium/ruby_lib/blob/
|
|
1299
|
+
##### [compress_xml](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1252
1300
|
|
|
1253
1301
|
> def compress_xml
|
|
1254
1302
|
|
|
@@ -1256,7 +1304,15 @@ Returns the value of attribute compress_xml
|
|
|
1256
1304
|
|
|
1257
1305
|
--
|
|
1258
1306
|
|
|
1259
|
-
##### [
|
|
1307
|
+
##### [custom_url](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L194)
|
|
1308
|
+
|
|
1309
|
+
> def custom_url
|
|
1310
|
+
|
|
1311
|
+
Returns the value of attribute custom_url
|
|
1312
|
+
|
|
1313
|
+
--
|
|
1314
|
+
|
|
1315
|
+
##### [global_webdriver_http_sleep](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L200)
|
|
1260
1316
|
|
|
1261
1317
|
> def global_webdriver_http_sleep
|
|
1262
1318
|
|
|
@@ -1264,7 +1320,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1264
1320
|
|
|
1265
1321
|
--
|
|
1266
1322
|
|
|
1267
|
-
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/
|
|
1323
|
+
##### [global_webdriver_http_sleep=](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L200)
|
|
1268
1324
|
|
|
1269
1325
|
> def global_webdriver_http_sleep=(value)
|
|
1270
1326
|
|
|
@@ -1272,7 +1328,7 @@ The amount to sleep in seconds before every webdriver http call.
|
|
|
1272
1328
|
|
|
1273
1329
|
--
|
|
1274
1330
|
|
|
1275
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
|
1331
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L230)
|
|
1276
1332
|
|
|
1277
1333
|
> def initialize opts={}
|
|
1278
1334
|
|
|
@@ -1313,7 +1369,7 @@ __Returns:__
|
|
|
1313
1369
|
|
|
1314
1370
|
--
|
|
1315
1371
|
|
|
1316
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
|
1372
|
+
##### [status](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L337)
|
|
1317
1373
|
|
|
1318
1374
|
> def status
|
|
1319
1375
|
|
|
@@ -1339,7 +1395,7 @@ __Returns:__
|
|
|
1339
1395
|
|
|
1340
1396
|
--
|
|
1341
1397
|
|
|
1342
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
|
1398
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L343)
|
|
1343
1399
|
|
|
1344
1400
|
> def server_version
|
|
1345
1401
|
|
|
@@ -1351,7 +1407,7 @@ __Returns:__
|
|
|
1351
1407
|
|
|
1352
1408
|
--
|
|
1353
1409
|
|
|
1354
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
|
1410
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L383)
|
|
1355
1411
|
|
|
1356
1412
|
> def absolute_app_path
|
|
1357
1413
|
|
|
@@ -1363,7 +1419,7 @@ __Returns:__
|
|
|
1363
1419
|
|
|
1364
1420
|
--
|
|
1365
1421
|
|
|
1366
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
|
1422
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L403)
|
|
1367
1423
|
|
|
1368
1424
|
> def server_url
|
|
1369
1425
|
|
|
@@ -1375,7 +1431,7 @@ __Returns:__
|
|
|
1375
1431
|
|
|
1376
1432
|
--
|
|
1377
1433
|
|
|
1378
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
|
1434
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L414)
|
|
1379
1435
|
|
|
1380
1436
|
> def restart
|
|
1381
1437
|
|
|
@@ -1387,7 +1443,7 @@ __Returns:__
|
|
|
1387
1443
|
|
|
1388
1444
|
--
|
|
1389
1445
|
|
|
1390
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
|
1446
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L421)
|
|
1391
1447
|
|
|
1392
1448
|
> def driver
|
|
1393
1449
|
|
|
@@ -1399,7 +1455,7 @@ __Returns:__
|
|
|
1399
1455
|
|
|
1400
1456
|
--
|
|
1401
1457
|
|
|
1402
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
|
1458
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L431)
|
|
1403
1459
|
|
|
1404
1460
|
> def screenshot png_save_path
|
|
1405
1461
|
|
|
@@ -1417,7 +1473,7 @@ __Returns:__
|
|
|
1417
1473
|
|
|
1418
1474
|
--
|
|
1419
1475
|
|
|
1420
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
|
1476
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L438)
|
|
1421
1477
|
|
|
1422
1478
|
> def driver_quit
|
|
1423
1479
|
|
|
@@ -1429,7 +1485,7 @@ __Returns:__
|
|
|
1429
1485
|
|
|
1430
1486
|
--
|
|
1431
1487
|
|
|
1432
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
|
1488
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L446)
|
|
1433
1489
|
|
|
1434
1490
|
> def start_driver
|
|
1435
1491
|
|
|
@@ -1441,7 +1497,7 @@ __Returns:__
|
|
|
1441
1497
|
|
|
1442
1498
|
--
|
|
1443
1499
|
|
|
1444
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
|
1500
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L480)
|
|
1445
1501
|
|
|
1446
1502
|
> def no_wait
|
|
1447
1503
|
|
|
@@ -1449,7 +1505,7 @@ Set implicit wait to zero.
|
|
|
1449
1505
|
|
|
1450
1506
|
--
|
|
1451
1507
|
|
|
1452
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
|
1508
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L487)
|
|
1453
1509
|
|
|
1454
1510
|
> def set_wait timeout=@default_wait
|
|
1455
1511
|
|
|
@@ -1465,7 +1521,7 @@ __Returns:__
|
|
|
1465
1521
|
|
|
1466
1522
|
--
|
|
1467
1523
|
|
|
1468
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
|
1524
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L510)
|
|
1469
1525
|
|
|
1470
1526
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
|
1471
1527
|
|
|
@@ -1491,7 +1547,7 @@ __Returns:__
|
|
|
1491
1547
|
|
|
1492
1548
|
--
|
|
1493
1549
|
|
|
1494
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
|
1550
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L532)
|
|
1495
1551
|
|
|
1496
1552
|
> def execute_script script, *args
|
|
1497
1553
|
|
|
@@ -1509,7 +1565,7 @@ __Returns:__
|
|
|
1509
1565
|
|
|
1510
1566
|
--
|
|
1511
1567
|
|
|
1512
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
|
1568
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L548)
|
|
1513
1569
|
|
|
1514
1570
|
> def mobile method, *args
|
|
1515
1571
|
|
|
@@ -1535,7 +1591,7 @@ __Returns:__
|
|
|
1535
1591
|
|
|
1536
1592
|
--
|
|
1537
1593
|
|
|
1538
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
|
1594
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L559)
|
|
1539
1595
|
|
|
1540
1596
|
> def find_elements *args
|
|
1541
1597
|
|
|
@@ -1551,7 +1607,7 @@ __Returns:__
|
|
|
1551
1607
|
|
|
1552
1608
|
--
|
|
1553
1609
|
|
|
1554
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
|
1610
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L567)
|
|
1555
1611
|
|
|
1556
1612
|
> def find_element *args
|
|
1557
1613
|
|
|
@@ -1567,7 +1623,7 @@ __Returns:__
|
|
|
1567
1623
|
|
|
1568
1624
|
--
|
|
1569
1625
|
|
|
1570
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
|
1626
|
+
##### [x](https://github.com/appium/ruby_lib/blob/1e0f36e22833246873b6ecb8cc4d2bf3544de2c8/lib/appium_lib/driver.rb#L574)
|
|
1571
1627
|
|
|
1572
1628
|
> def x
|
|
1573
1629
|
|