appium_lib 0.4.1 → 0.4.2
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 +8 -8
- data/Rakefile +2 -1
- data/docs/android_docs.md +128 -92
- data/docs/ios_docs.md +129 -93
- data/lib/appium_lib/common/version.rb +1 -1
- data/lib/appium_lib/ios/helper.rb +15 -0
- data/release_notes.md +8 -0
- metadata +1 -1
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
2
2
|
|
3
3
|
> def app_path
|
4
4
|
|
@@ -6,7 +6,7 @@ Returns the value of attribute app_path
|
|
6
6
|
|
7
7
|
--
|
8
8
|
|
9
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
9
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
10
10
|
|
11
11
|
> def app_name
|
12
12
|
|
@@ -14,7 +14,7 @@ Returns the value of attribute app_name
|
|
14
14
|
|
15
15
|
--
|
16
16
|
|
17
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
17
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
18
18
|
|
19
19
|
> def app_package
|
20
20
|
|
@@ -22,7 +22,7 @@ Returns the value of attribute app_package
|
|
22
22
|
|
23
23
|
--
|
24
24
|
|
25
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
25
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
26
26
|
|
27
27
|
> def app_activity
|
28
28
|
|
@@ -30,7 +30,7 @@ Returns the value of attribute app_activity
|
|
30
30
|
|
31
31
|
--
|
32
32
|
|
33
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
33
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
34
34
|
|
35
35
|
> def app_wait_activity
|
36
36
|
|
@@ -38,7 +38,7 @@ Returns the value of attribute app_wait_activity
|
|
38
38
|
|
39
39
|
--
|
40
40
|
|
41
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
41
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
42
42
|
|
43
43
|
> def sauce_username
|
44
44
|
|
@@ -46,7 +46,7 @@ Returns the value of attribute sauce_username
|
|
46
46
|
|
47
47
|
--
|
48
48
|
|
49
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
49
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
50
50
|
|
51
51
|
> def sauce_access_key
|
52
52
|
|
@@ -54,7 +54,7 @@ Returns the value of attribute sauce_access_key
|
|
54
54
|
|
55
55
|
--
|
56
56
|
|
57
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
57
|
+
##### [port](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
58
58
|
|
59
59
|
> def port
|
60
60
|
|
@@ -62,7 +62,7 @@ Returns the value of attribute port
|
|
62
62
|
|
63
63
|
--
|
64
64
|
|
65
|
-
##### [os](https://github.com/appium/ruby_lib/blob/
|
65
|
+
##### [os](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
66
66
|
|
67
67
|
> def os
|
68
68
|
|
@@ -70,7 +70,7 @@ Returns the value of attribute os
|
|
70
70
|
|
71
71
|
--
|
72
72
|
|
73
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
73
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L38)
|
74
74
|
|
75
75
|
> def debug
|
76
76
|
|
@@ -78,7 +78,7 @@ Returns the value of attribute debug
|
|
78
78
|
|
79
79
|
--
|
80
80
|
|
81
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
81
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L68)
|
82
82
|
|
83
83
|
> def initialize options={}
|
84
84
|
|
@@ -117,7 +117,27 @@ __Returns:__
|
|
117
117
|
|
118
118
|
--
|
119
119
|
|
120
|
-
##### [
|
120
|
+
##### [status](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L153)
|
121
|
+
|
122
|
+
> def status
|
123
|
+
|
124
|
+
Returns the status payload
|
125
|
+
|
126
|
+
--
|
127
|
+
|
128
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L159)
|
129
|
+
|
130
|
+
> def server_version
|
131
|
+
|
132
|
+
Returns the server's version string
|
133
|
+
|
134
|
+
__Returns:__
|
135
|
+
|
136
|
+
[String]
|
137
|
+
|
138
|
+
--
|
139
|
+
|
140
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L200)
|
121
141
|
|
122
142
|
> def absolute_app_path
|
123
143
|
|
@@ -129,7 +149,7 @@ __Returns:__
|
|
129
149
|
|
130
150
|
--
|
131
151
|
|
132
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L214)
|
133
153
|
|
134
154
|
> def server_url
|
135
155
|
|
@@ -141,7 +161,7 @@ __Returns:__
|
|
141
161
|
|
142
162
|
--
|
143
163
|
|
144
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L224)
|
145
165
|
|
146
166
|
> def restart
|
147
167
|
|
@@ -153,7 +173,7 @@ __Returns:__
|
|
153
173
|
|
154
174
|
--
|
155
175
|
|
156
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
176
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L231)
|
157
177
|
|
158
178
|
> def driver
|
159
179
|
|
@@ -165,7 +185,7 @@ __Returns:__
|
|
165
185
|
|
166
186
|
--
|
167
187
|
|
168
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L239)
|
169
189
|
|
170
190
|
> def screenshot png_save_path
|
171
191
|
|
@@ -181,7 +201,7 @@ __Returns:__
|
|
181
201
|
|
182
202
|
--
|
183
203
|
|
184
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L245)
|
185
205
|
|
186
206
|
> def driver_quit
|
187
207
|
|
@@ -193,7 +213,7 @@ __Returns:__
|
|
193
213
|
|
194
214
|
--
|
195
215
|
|
196
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
216
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L254)
|
197
217
|
|
198
218
|
> def start_driver wait=30
|
199
219
|
|
@@ -209,7 +229,7 @@ __Returns:__
|
|
209
229
|
|
210
230
|
--
|
211
231
|
|
212
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
232
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L280)
|
213
233
|
|
214
234
|
> def no_wait
|
215
235
|
|
@@ -217,7 +237,7 @@ Set implicit wait to zero.
|
|
217
237
|
|
218
238
|
--
|
219
239
|
|
220
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
240
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L287)
|
221
241
|
|
222
242
|
> def set_wait timeout=@default_wait
|
223
243
|
|
@@ -233,7 +253,7 @@ __Returns:__
|
|
233
253
|
|
234
254
|
--
|
235
255
|
|
236
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L294)
|
237
257
|
|
238
258
|
> def default_wait
|
239
259
|
|
@@ -246,7 +266,7 @@ __Returns:__
|
|
246
266
|
|
247
267
|
--
|
248
268
|
|
249
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
269
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L306)
|
250
270
|
|
251
271
|
> def exists &search_block
|
252
272
|
|
@@ -266,7 +286,7 @@ __Returns:__
|
|
266
286
|
|
267
287
|
--
|
268
288
|
|
269
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
289
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L331)
|
270
290
|
|
271
291
|
> def execute_script script, *args
|
272
292
|
|
@@ -284,7 +304,7 @@ __Returns:__
|
|
284
304
|
|
285
305
|
--
|
286
306
|
|
287
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L347)
|
288
308
|
|
289
309
|
> def mobile method, *args
|
290
310
|
|
@@ -310,7 +330,7 @@ __Returns:__
|
|
310
330
|
|
311
331
|
--
|
312
332
|
|
313
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
333
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L358)
|
314
334
|
|
315
335
|
> def find_elements *args
|
316
336
|
|
@@ -326,7 +346,7 @@ __Returns:__
|
|
326
346
|
|
327
347
|
--
|
328
348
|
|
329
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
349
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L366)
|
330
350
|
|
331
351
|
> def find_element *args
|
332
352
|
|
@@ -342,7 +362,7 @@ __Returns:__
|
|
342
362
|
|
343
363
|
--
|
344
364
|
|
345
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
365
|
+
##### [x](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/driver.rb#L373)
|
346
366
|
|
347
367
|
> def x
|
348
368
|
|
@@ -355,7 +375,7 @@ __Returns:__
|
|
355
375
|
|
356
376
|
--
|
357
377
|
|
358
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L32)
|
359
379
|
|
360
380
|
> def wait max_wait=30, interval=0.5, &block
|
361
381
|
|
@@ -381,7 +401,7 @@ __Returns:__
|
|
381
401
|
|
382
402
|
--
|
383
403
|
|
384
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
404
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L49)
|
385
405
|
|
386
406
|
> def wait_true max_wait=30, interval=0.5, &block
|
387
407
|
|
@@ -402,7 +422,7 @@ __Returns:__
|
|
402
422
|
|
403
423
|
--
|
404
424
|
|
405
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
425
|
+
##### [id](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L63)
|
406
426
|
|
407
427
|
> def id id
|
408
428
|
|
@@ -418,7 +438,7 @@ __Returns:__
|
|
418
438
|
|
419
439
|
--
|
420
440
|
|
421
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
441
|
+
##### [back](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L69)
|
422
442
|
|
423
443
|
> def back
|
424
444
|
|
@@ -430,7 +450,7 @@ __Returns:__
|
|
430
450
|
|
431
451
|
--
|
432
452
|
|
433
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
453
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L74)
|
434
454
|
|
435
455
|
> def session_id
|
436
456
|
|
@@ -438,7 +458,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
438
458
|
|
439
459
|
--
|
440
460
|
|
441
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L82)
|
442
462
|
|
443
463
|
> def xpath xpath_str
|
444
464
|
|
@@ -454,7 +474,7 @@ __Returns:__
|
|
454
474
|
|
455
475
|
--
|
456
476
|
|
457
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
477
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L90)
|
458
478
|
|
459
479
|
> def xpaths xpath_str
|
460
480
|
|
@@ -470,7 +490,7 @@ __Returns:__
|
|
470
490
|
|
471
491
|
--
|
472
492
|
|
473
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
493
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L98)
|
474
494
|
|
475
495
|
> def ele_index tag_name, index
|
476
496
|
|
@@ -488,7 +508,7 @@ __Returns:__
|
|
488
508
|
|
489
509
|
--
|
490
510
|
|
491
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
511
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L106)
|
492
512
|
|
493
513
|
> def find_eles tag_name
|
494
514
|
|
@@ -504,7 +524,7 @@ __Returns:__
|
|
504
524
|
|
505
525
|
--
|
506
526
|
|
507
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L114)
|
508
528
|
|
509
529
|
> def find_ele_by_text tag, text
|
510
530
|
|
@@ -522,7 +542,7 @@ __Returns:__
|
|
522
542
|
|
523
543
|
--
|
524
544
|
|
525
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
545
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L122)
|
526
546
|
|
527
547
|
> def find_eles_by_text tag, text
|
528
548
|
|
@@ -540,7 +560,7 @@ __Returns:__
|
|
540
560
|
|
541
561
|
--
|
542
562
|
|
543
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
563
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L131)
|
544
564
|
|
545
565
|
> def find_ele_by_attr_include tag, attr, value
|
546
566
|
|
@@ -560,7 +580,7 @@ __Returns:__
|
|
560
580
|
|
561
581
|
--
|
562
582
|
|
563
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
583
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L140)
|
564
584
|
|
565
585
|
> def find_eles_by_attr_include tag, attr, value
|
566
586
|
|
@@ -580,7 +600,7 @@ __Returns:__
|
|
580
600
|
|
581
601
|
--
|
582
602
|
|
583
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
603
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L149)
|
584
604
|
|
585
605
|
> def find_ele_by_text_include tag, text
|
586
606
|
|
@@ -599,7 +619,7 @@ __Returns:__
|
|
599
619
|
|
600
620
|
--
|
601
621
|
|
602
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
622
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L158)
|
603
623
|
|
604
624
|
> def find_eles_by_text_include tag, text
|
605
625
|
|
@@ -618,7 +638,7 @@ __Returns:__
|
|
618
638
|
|
619
639
|
--
|
620
640
|
|
621
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
641
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L165)
|
622
642
|
|
623
643
|
> def first_ele tag_name
|
624
644
|
|
@@ -634,7 +654,7 @@ __Returns:__
|
|
634
654
|
|
635
655
|
--
|
636
656
|
|
637
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
657
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L173)
|
638
658
|
|
639
659
|
> def last_ele tag_name
|
640
660
|
|
@@ -650,7 +670,7 @@ __Returns:__
|
|
650
670
|
|
651
671
|
--
|
652
672
|
|
653
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
673
|
+
##### [source](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L179)
|
654
674
|
|
655
675
|
> def source
|
656
676
|
|
@@ -662,7 +682,7 @@ __Returns:__
|
|
662
682
|
|
663
683
|
--
|
664
684
|
|
665
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
685
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L185)
|
666
686
|
|
667
687
|
> def get_source
|
668
688
|
|
@@ -674,7 +694,7 @@ __Returns:__
|
|
674
694
|
|
675
695
|
--
|
676
696
|
|
677
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
697
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L194)
|
678
698
|
|
679
699
|
> def find_name name
|
680
700
|
|
@@ -690,7 +710,7 @@ __Returns:__
|
|
690
710
|
|
691
711
|
--
|
692
712
|
|
693
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
713
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/helper.rb#L202)
|
694
714
|
|
695
715
|
> def find_names name
|
696
716
|
|
@@ -706,7 +726,7 @@ __Returns:__
|
|
706
726
|
|
707
727
|
--
|
708
728
|
|
709
|
-
##### [dynamic_code_to_string](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [dynamic_code_to_string](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/dynamic.rb#L38)
|
710
730
|
|
711
731
|
> def dynamic_code_to_string code, value=false
|
712
732
|
|
@@ -714,7 +734,7 @@ __Returns:__
|
|
714
734
|
|
715
735
|
--
|
716
736
|
|
717
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
737
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/text.rb#L8)
|
718
738
|
|
719
739
|
> def s_texts
|
720
740
|
|
@@ -726,7 +746,7 @@ __Returns:__
|
|
726
746
|
|
727
747
|
--
|
728
748
|
|
729
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
749
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/text.rb#L14)
|
730
750
|
|
731
751
|
> def e_s_texts
|
732
752
|
|
@@ -738,7 +758,7 @@ __Returns:__
|
|
738
758
|
|
739
759
|
--
|
740
760
|
|
741
|
-
##### [s_first_text](https://github.com/appium/ruby_lib/blob/
|
761
|
+
##### [s_first_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/text.rb#L20)
|
742
762
|
|
743
763
|
> def s_first_text
|
744
764
|
|
@@ -750,7 +770,7 @@ __Returns:__
|
|
750
770
|
|
751
771
|
--
|
752
772
|
|
753
|
-
##### [s_last_text](https://github.com/appium/ruby_lib/blob/
|
773
|
+
##### [s_last_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/text.rb#L26)
|
754
774
|
|
755
775
|
> def s_last_text
|
756
776
|
|
@@ -762,7 +782,7 @@ __Returns:__
|
|
762
782
|
|
763
783
|
--
|
764
784
|
|
765
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
785
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/text.rb#L33)
|
766
786
|
|
767
787
|
> def s_text text
|
768
788
|
|
@@ -778,7 +798,7 @@ __Returns:__
|
|
778
798
|
|
779
799
|
--
|
780
800
|
|
781
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
801
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/text.rb#L41)
|
782
802
|
|
783
803
|
> def s_text_exact text
|
784
804
|
|
@@ -794,7 +814,7 @@ __Returns:__
|
|
794
814
|
|
795
815
|
--
|
796
816
|
|
797
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
817
|
+
##### [button](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L8)
|
798
818
|
|
799
819
|
> def button text, number=0
|
800
820
|
|
@@ -812,7 +832,7 @@ __Returns:__
|
|
812
832
|
|
813
833
|
--
|
814
834
|
|
815
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
835
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L19)
|
816
836
|
|
817
837
|
> def buttons text=nil
|
818
838
|
|
@@ -828,7 +848,7 @@ __Returns:__
|
|
828
848
|
|
829
849
|
--
|
830
850
|
|
831
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
851
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L26)
|
832
852
|
|
833
853
|
> def first_button
|
834
854
|
|
@@ -840,7 +860,7 @@ __Returns:__
|
|
840
860
|
|
841
861
|
--
|
842
862
|
|
843
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
863
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L32)
|
844
864
|
|
845
865
|
> def last_button
|
846
866
|
|
@@ -852,7 +872,7 @@ __Returns:__
|
|
852
872
|
|
853
873
|
--
|
854
874
|
|
855
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
875
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L39)
|
856
876
|
|
857
877
|
> def button_exact text
|
858
878
|
|
@@ -868,7 +888,7 @@ __Returns:__
|
|
868
888
|
|
869
889
|
--
|
870
890
|
|
871
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
891
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L46)
|
872
892
|
|
873
893
|
> def buttons_exact text
|
874
894
|
|
@@ -884,7 +904,7 @@ __Returns:__
|
|
884
904
|
|
885
905
|
--
|
886
906
|
|
887
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
907
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L52)
|
888
908
|
|
889
909
|
> def e_buttons
|
890
910
|
|
@@ -896,7 +916,7 @@ __Returns:__
|
|
896
916
|
|
897
917
|
--
|
898
918
|
|
899
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
919
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/button.rb#L72)
|
900
920
|
|
901
921
|
> def button_num text, number=1
|
902
922
|
|
@@ -925,7 +945,7 @@ __Returns:__
|
|
925
945
|
|
926
946
|
--
|
927
947
|
|
928
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
948
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/window.rb#L5)
|
929
949
|
|
930
950
|
> def window_size
|
931
951
|
|
@@ -933,7 +953,7 @@ Get the window's size
|
|
933
953
|
|
934
954
|
--
|
935
955
|
|
936
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
956
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/helper.rb#L8) ios
|
937
957
|
|
938
958
|
> def find_eles_attr tag_name, attribute
|
939
959
|
|
@@ -952,7 +972,7 @@ __Returns:__
|
|
952
972
|
|
953
973
|
--
|
954
974
|
|
955
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
975
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/helper.rb#L29) ios
|
956
976
|
|
957
977
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
958
978
|
|
@@ -973,7 +993,7 @@ __Returns:__
|
|
973
993
|
|
974
994
|
--
|
975
995
|
|
976
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
996
|
+
##### [password](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/helper.rb#L50) ios
|
977
997
|
|
978
998
|
> def password length=1
|
979
999
|
|
@@ -991,7 +1011,7 @@ __Returns:__
|
|
991
1011
|
|
992
1012
|
--
|
993
1013
|
|
994
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/helper.rb#L58) ios
|
995
1015
|
|
996
1016
|
> def get_page element=get_source
|
997
1017
|
|
@@ -1007,7 +1027,7 @@ __Returns:__
|
|
1007
1027
|
|
1008
1028
|
--
|
1009
1029
|
|
1010
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1030
|
+
##### [page](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/helper.rb#L103) ios
|
1011
1031
|
|
1012
1032
|
> def page
|
1013
1033
|
|
@@ -1019,7 +1039,7 @@ __Returns:__
|
|
1019
1039
|
|
1020
1040
|
--
|
1021
1041
|
|
1022
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1042
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/helper.rb#L110) ios
|
1023
1043
|
|
1024
1044
|
> def fast_duration
|
1025
1045
|
|
@@ -1031,7 +1051,7 @@ __Returns:__
|
|
1031
1051
|
|
1032
1052
|
--
|
1033
1053
|
|
1034
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1054
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/alert.rb#L14) ios
|
1035
1055
|
|
1036
1056
|
> def alert_click value
|
1037
1057
|
|
@@ -1054,7 +1074,7 @@ __Returns:__
|
|
1054
1074
|
|
1055
1075
|
--
|
1056
1076
|
|
1057
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
1077
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/alert.rb#L21) ios
|
1058
1078
|
|
1059
1079
|
> def alert_text
|
1060
1080
|
|
@@ -1066,7 +1086,7 @@ __Returns:__
|
|
1066
1086
|
|
1067
1087
|
--
|
1068
1088
|
|
1069
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1089
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/alert.rb#L27) ios
|
1070
1090
|
|
1071
1091
|
> def alert_accept
|
1072
1092
|
|
@@ -1078,7 +1098,7 @@ __Returns:__
|
|
1078
1098
|
|
1079
1099
|
--
|
1080
1100
|
|
1081
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/alert.rb#L34) ios
|
1082
1102
|
|
1083
1103
|
> def alert_accept_text
|
1084
1104
|
|
@@ -1091,7 +1111,7 @@ __Returns:__
|
|
1091
1111
|
|
1092
1112
|
--
|
1093
1113
|
|
1094
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1114
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/alert.rb#L43) ios
|
1095
1115
|
|
1096
1116
|
> def alert_dismiss
|
1097
1117
|
|
@@ -1103,7 +1123,7 @@ __Returns:__
|
|
1103
1123
|
|
1104
1124
|
--
|
1105
1125
|
|
1106
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1126
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/alert.rb#L50) ios
|
1107
1127
|
|
1108
1128
|
> def alert_dismiss_text
|
1109
1129
|
|
@@ -1116,7 +1136,7 @@ __Returns:__
|
|
1116
1136
|
|
1117
1137
|
--
|
1118
1138
|
|
1119
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1139
|
+
##### [find](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/generic.rb#L61) ios
|
1120
1140
|
|
1121
1141
|
> def find text
|
1122
1142
|
|
@@ -1132,7 +1152,7 @@ __Returns:__
|
|
1132
1152
|
|
1133
1153
|
--
|
1134
1154
|
|
1135
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1155
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/generic.rb#L69) ios
|
1136
1156
|
|
1137
1157
|
> def finds text
|
1138
1158
|
|
@@ -1148,7 +1168,7 @@ __Returns:__
|
|
1148
1168
|
|
1149
1169
|
--
|
1150
1170
|
|
1151
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1171
|
+
##### [text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/generic.rb#L79) ios
|
1152
1172
|
|
1153
1173
|
> def text text
|
1154
1174
|
|
@@ -1164,7 +1184,7 @@ __Returns:__
|
|
1164
1184
|
|
1165
1185
|
--
|
1166
1186
|
|
1167
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1187
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/generic.rb#L87) ios
|
1168
1188
|
|
1169
1189
|
> def texts text
|
1170
1190
|
|
@@ -1180,7 +1200,7 @@ __Returns:__
|
|
1180
1200
|
|
1181
1201
|
--
|
1182
1202
|
|
1183
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1203
|
+
##### [name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/generic.rb#L99) ios
|
1184
1204
|
|
1185
1205
|
> def name name
|
1186
1206
|
|
@@ -1198,7 +1218,7 @@ __Returns:__
|
|
1198
1218
|
|
1199
1219
|
--
|
1200
1220
|
|
1201
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [names](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/generic.rb#L108) ios
|
1202
1222
|
|
1203
1223
|
> def names name
|
1204
1224
|
|
@@ -1216,7 +1236,7 @@ __Returns:__
|
|
1216
1236
|
|
1217
1237
|
--
|
1218
1238
|
|
1219
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1239
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
1220
1240
|
|
1221
1241
|
> def textfields
|
1222
1242
|
|
@@ -1228,7 +1248,7 @@ __Returns:__
|
|
1228
1248
|
|
1229
1249
|
--
|
1230
1250
|
|
1231
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1251
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
1232
1252
|
|
1233
1253
|
> def e_textfields
|
1234
1254
|
|
@@ -1240,7 +1260,7 @@ __Returns:__
|
|
1240
1260
|
|
1241
1261
|
--
|
1242
1262
|
|
1243
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
1244
1264
|
|
1245
1265
|
> def first_textfield
|
1246
1266
|
|
@@ -1252,7 +1272,7 @@ __Returns:__
|
|
1252
1272
|
|
1253
1273
|
--
|
1254
1274
|
|
1255
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1275
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
1256
1276
|
|
1257
1277
|
> def last_textfield
|
1258
1278
|
|
@@ -1264,7 +1284,7 @@ __Returns:__
|
|
1264
1284
|
|
1265
1285
|
--
|
1266
1286
|
|
1267
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1287
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
1268
1288
|
|
1269
1289
|
> def textfield text
|
1270
1290
|
|
@@ -1280,7 +1300,7 @@ __Returns:__
|
|
1280
1300
|
|
1281
1301
|
--
|
1282
1302
|
|
1283
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
1303
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
1284
1304
|
|
1285
1305
|
> def textfield_include text
|
1286
1306
|
|
@@ -1296,7 +1316,7 @@ __Returns:__
|
|
1296
1316
|
|
1297
1317
|
--
|
1298
1318
|
|
1299
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1319
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
1300
1320
|
|
1301
1321
|
> def textfield_exact text
|
1302
1322
|
|
@@ -1312,7 +1332,23 @@ __Returns:__
|
|
1312
1332
|
|
1313
1333
|
--
|
1314
1334
|
|
1315
|
-
##### [
|
1335
|
+
##### [status](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L6)
|
1336
|
+
|
1337
|
+
> def status
|
1338
|
+
|
1339
|
+
|
1340
|
+
|
1341
|
+
--
|
1342
|
+
|
1343
|
+
##### [status](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L12)
|
1344
|
+
|
1345
|
+
> def status
|
1346
|
+
|
1347
|
+
|
1348
|
+
|
1349
|
+
--
|
1350
|
+
|
1351
|
+
##### [value](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L30)
|
1316
1352
|
|
1317
1353
|
> def value
|
1318
1354
|
|
@@ -1322,7 +1358,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1322
1358
|
|
1323
1359
|
--
|
1324
1360
|
|
1325
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1361
|
+
##### [name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L37)
|
1326
1362
|
|
1327
1363
|
> def name
|
1328
1364
|
|
@@ -1332,7 +1368,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1332
1368
|
|
1333
1369
|
--
|
1334
1370
|
|
1335
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1371
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L44)
|
1336
1372
|
|
1337
1373
|
> def tag_name
|
1338
1374
|
|
@@ -1342,7 +1378,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1342
1378
|
|
1343
1379
|
--
|
1344
1380
|
|
1345
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1381
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L56)
|
1346
1382
|
|
1347
1383
|
> def location_rel
|
1348
1384
|
|