appium_lib 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/appium_lib.gemspec +1 -0
- data/docs/android_docs.md +93 -117
- data/docs/docs.md +2 -2
- data/docs/ios_docs.md +123 -118
- data/lib/appium_lib/{common → android}/dynamic.rb +1 -0
- data/lib/appium_lib/android/helper.rb +33 -1
- data/lib/appium_lib/common/element/text.rb +2 -2
- data/lib/appium_lib/common/helper.rb +6 -5
- data/lib/appium_lib/common/patch.rb +2 -0
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +81 -30
- data/release_notes.md +7 -0
- metadata +17 -3
data/docs/docs.md
CHANGED
@@ -81,8 +81,8 @@ The Static Text methods have been prefixed with `s_` to avoid conflicting with t
|
|
81
81
|
|
82
82
|
0. `(Text) s_text(index)` Find a text by index.
|
83
83
|
0. `(Array<Text>) s_e_texts` Get an array of text elements.
|
84
|
-
0. `(Text)
|
85
|
-
0. `(Text)
|
84
|
+
0. `(Text) first_s_text` Get the first text element.
|
85
|
+
0. `(Text) last_s_text` Get the last text element.
|
86
86
|
0. `(Text) s_text(text)` Get the first element that matches text.
|
87
87
|
0. `(Text) s_text_include(text)` Get the first textfield that includes text.
|
88
88
|
0. `(Array<String>) s_texts` Get an array of text texts.
|
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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/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/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L68)
|
82
82
|
|
83
83
|
> def initialize options={}
|
84
84
|
|
@@ -117,7 +117,7 @@ __Returns:__
|
|
117
117
|
|
118
118
|
--
|
119
119
|
|
120
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
120
|
+
##### [status](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L153)
|
121
121
|
|
122
122
|
> def status
|
123
123
|
|
@@ -125,7 +125,7 @@ Returns the status payload
|
|
125
125
|
|
126
126
|
--
|
127
127
|
|
128
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
128
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L159)
|
129
129
|
|
130
130
|
> def server_version
|
131
131
|
|
@@ -137,7 +137,7 @@ __Returns:__
|
|
137
137
|
|
138
138
|
--
|
139
139
|
|
140
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
140
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L200)
|
141
141
|
|
142
142
|
> def absolute_app_path
|
143
143
|
|
@@ -149,7 +149,7 @@ __Returns:__
|
|
149
149
|
|
150
150
|
--
|
151
151
|
|
152
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L214)
|
153
153
|
|
154
154
|
> def server_url
|
155
155
|
|
@@ -161,7 +161,7 @@ __Returns:__
|
|
161
161
|
|
162
162
|
--
|
163
163
|
|
164
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
164
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L224)
|
165
165
|
|
166
166
|
> def restart
|
167
167
|
|
@@ -173,7 +173,7 @@ __Returns:__
|
|
173
173
|
|
174
174
|
--
|
175
175
|
|
176
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
176
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L231)
|
177
177
|
|
178
178
|
> def driver
|
179
179
|
|
@@ -185,7 +185,7 @@ __Returns:__
|
|
185
185
|
|
186
186
|
--
|
187
187
|
|
188
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
188
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L239)
|
189
189
|
|
190
190
|
> def screenshot png_save_path
|
191
191
|
|
@@ -201,7 +201,7 @@ __Returns:__
|
|
201
201
|
|
202
202
|
--
|
203
203
|
|
204
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
204
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L245)
|
205
205
|
|
206
206
|
> def driver_quit
|
207
207
|
|
@@ -213,7 +213,7 @@ __Returns:__
|
|
213
213
|
|
214
214
|
--
|
215
215
|
|
216
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
216
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L254)
|
217
217
|
|
218
218
|
> def start_driver wait=30
|
219
219
|
|
@@ -229,7 +229,7 @@ __Returns:__
|
|
229
229
|
|
230
230
|
--
|
231
231
|
|
232
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
232
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L280)
|
233
233
|
|
234
234
|
> def no_wait
|
235
235
|
|
@@ -237,7 +237,7 @@ Set implicit wait to zero.
|
|
237
237
|
|
238
238
|
--
|
239
239
|
|
240
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
240
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L287)
|
241
241
|
|
242
242
|
> def set_wait timeout=@default_wait
|
243
243
|
|
@@ -253,7 +253,7 @@ __Returns:__
|
|
253
253
|
|
254
254
|
--
|
255
255
|
|
256
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L294)
|
257
257
|
|
258
258
|
> def default_wait
|
259
259
|
|
@@ -266,7 +266,7 @@ __Returns:__
|
|
266
266
|
|
267
267
|
--
|
268
268
|
|
269
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
269
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L306)
|
270
270
|
|
271
271
|
> def exists &search_block
|
272
272
|
|
@@ -286,7 +286,7 @@ __Returns:__
|
|
286
286
|
|
287
287
|
--
|
288
288
|
|
289
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
289
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L331)
|
290
290
|
|
291
291
|
> def execute_script script, *args
|
292
292
|
|
@@ -304,7 +304,7 @@ __Returns:__
|
|
304
304
|
|
305
305
|
--
|
306
306
|
|
307
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
307
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L347)
|
308
308
|
|
309
309
|
> def mobile method, *args
|
310
310
|
|
@@ -330,7 +330,7 @@ __Returns:__
|
|
330
330
|
|
331
331
|
--
|
332
332
|
|
333
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
333
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L358)
|
334
334
|
|
335
335
|
> def find_elements *args
|
336
336
|
|
@@ -346,7 +346,7 @@ __Returns:__
|
|
346
346
|
|
347
347
|
--
|
348
348
|
|
349
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
349
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L366)
|
350
350
|
|
351
351
|
> def find_element *args
|
352
352
|
|
@@ -362,7 +362,7 @@ __Returns:__
|
|
362
362
|
|
363
363
|
--
|
364
364
|
|
365
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
365
|
+
##### [x](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L373)
|
366
366
|
|
367
367
|
> def x
|
368
368
|
|
@@ -375,7 +375,7 @@ __Returns:__
|
|
375
375
|
|
376
376
|
--
|
377
377
|
|
378
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L32)
|
379
379
|
|
380
380
|
> def wait max_wait=30, interval=0.5, &block
|
381
381
|
|
@@ -401,7 +401,7 @@ __Returns:__
|
|
401
401
|
|
402
402
|
--
|
403
403
|
|
404
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
404
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L49)
|
405
405
|
|
406
406
|
> def wait_true max_wait=30, interval=0.5, &block
|
407
407
|
|
@@ -422,7 +422,7 @@ __Returns:__
|
|
422
422
|
|
423
423
|
--
|
424
424
|
|
425
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
425
|
+
##### [id](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L63)
|
426
426
|
|
427
427
|
> def id id
|
428
428
|
|
@@ -438,7 +438,7 @@ __Returns:__
|
|
438
438
|
|
439
439
|
--
|
440
440
|
|
441
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
441
|
+
##### [back](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L69)
|
442
442
|
|
443
443
|
> def back
|
444
444
|
|
@@ -450,7 +450,7 @@ __Returns:__
|
|
450
450
|
|
451
451
|
--
|
452
452
|
|
453
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
453
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L74)
|
454
454
|
|
455
455
|
> def session_id
|
456
456
|
|
@@ -458,7 +458,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
458
458
|
|
459
459
|
--
|
460
460
|
|
461
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
461
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L82)
|
462
462
|
|
463
463
|
> def xpath xpath_str
|
464
464
|
|
@@ -474,7 +474,7 @@ __Returns:__
|
|
474
474
|
|
475
475
|
--
|
476
476
|
|
477
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
477
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L90)
|
478
478
|
|
479
479
|
> def xpaths xpath_str
|
480
480
|
|
@@ -490,7 +490,7 @@ __Returns:__
|
|
490
490
|
|
491
491
|
--
|
492
492
|
|
493
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
493
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L98)
|
494
494
|
|
495
495
|
> def ele_index tag_name, index
|
496
496
|
|
@@ -508,7 +508,7 @@ __Returns:__
|
|
508
508
|
|
509
509
|
--
|
510
510
|
|
511
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
511
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L106)
|
512
512
|
|
513
513
|
> def find_eles tag_name
|
514
514
|
|
@@ -524,7 +524,7 @@ __Returns:__
|
|
524
524
|
|
525
525
|
--
|
526
526
|
|
527
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L114)
|
528
528
|
|
529
529
|
> def find_ele_by_text tag, text
|
530
530
|
|
@@ -542,7 +542,7 @@ __Returns:__
|
|
542
542
|
|
543
543
|
--
|
544
544
|
|
545
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
545
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L122)
|
546
546
|
|
547
547
|
> def find_eles_by_text tag, text
|
548
548
|
|
@@ -560,7 +560,7 @@ __Returns:__
|
|
560
560
|
|
561
561
|
--
|
562
562
|
|
563
|
-
##### [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/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L131)
|
564
564
|
|
565
565
|
> def find_ele_by_attr_include tag, attr, value
|
566
566
|
|
@@ -580,7 +580,7 @@ __Returns:__
|
|
580
580
|
|
581
581
|
--
|
582
582
|
|
583
|
-
##### [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/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L140)
|
584
584
|
|
585
585
|
> def find_eles_by_attr_include tag, attr, value
|
586
586
|
|
@@ -600,7 +600,7 @@ __Returns:__
|
|
600
600
|
|
601
601
|
--
|
602
602
|
|
603
|
-
##### [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/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L149)
|
604
604
|
|
605
605
|
> def find_ele_by_text_include tag, text
|
606
606
|
|
@@ -619,7 +619,7 @@ __Returns:__
|
|
619
619
|
|
620
620
|
--
|
621
621
|
|
622
|
-
##### [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/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L158)
|
623
623
|
|
624
624
|
> def find_eles_by_text_include tag, text
|
625
625
|
|
@@ -638,7 +638,7 @@ __Returns:__
|
|
638
638
|
|
639
639
|
--
|
640
640
|
|
641
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
641
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L165)
|
642
642
|
|
643
643
|
> def first_ele tag_name
|
644
644
|
|
@@ -654,7 +654,7 @@ __Returns:__
|
|
654
654
|
|
655
655
|
--
|
656
656
|
|
657
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
657
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L173)
|
658
658
|
|
659
659
|
> def last_ele tag_name
|
660
660
|
|
@@ -670,7 +670,7 @@ __Returns:__
|
|
670
670
|
|
671
671
|
--
|
672
672
|
|
673
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
673
|
+
##### [source](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L179)
|
674
674
|
|
675
675
|
> def source
|
676
676
|
|
@@ -682,7 +682,7 @@ __Returns:__
|
|
682
682
|
|
683
683
|
--
|
684
684
|
|
685
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
685
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L185)
|
686
686
|
|
687
687
|
> def get_source
|
688
688
|
|
@@ -694,7 +694,7 @@ __Returns:__
|
|
694
694
|
|
695
695
|
--
|
696
696
|
|
697
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
697
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L194)
|
698
698
|
|
699
699
|
> def find_name name
|
700
700
|
|
@@ -710,7 +710,7 @@ __Returns:__
|
|
710
710
|
|
711
711
|
--
|
712
712
|
|
713
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
713
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/helper.rb#L202)
|
714
714
|
|
715
715
|
> def find_names name
|
716
716
|
|
@@ -726,15 +726,7 @@ __Returns:__
|
|
726
726
|
|
727
727
|
--
|
728
728
|
|
729
|
-
##### [
|
730
|
-
|
731
|
-
> def dynamic_code_to_string code, value=false
|
732
|
-
|
733
|
-
|
734
|
-
|
735
|
-
--
|
736
|
-
|
737
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/element/text.rb#L8)
|
729
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/text.rb#L8)
|
738
730
|
|
739
731
|
> def s_texts
|
740
732
|
|
@@ -746,7 +738,7 @@ __Returns:__
|
|
746
738
|
|
747
739
|
--
|
748
740
|
|
749
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/text.rb#L14)
|
750
742
|
|
751
743
|
> def e_s_texts
|
752
744
|
|
@@ -758,7 +750,7 @@ __Returns:__
|
|
758
750
|
|
759
751
|
--
|
760
752
|
|
761
|
-
##### [s_first_text](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [s_first_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/text.rb#L20)
|
762
754
|
|
763
755
|
> def s_first_text
|
764
756
|
|
@@ -770,7 +762,7 @@ __Returns:__
|
|
770
762
|
|
771
763
|
--
|
772
764
|
|
773
|
-
##### [s_last_text](https://github.com/appium/ruby_lib/blob/
|
765
|
+
##### [s_last_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/text.rb#L26)
|
774
766
|
|
775
767
|
> def s_last_text
|
776
768
|
|
@@ -782,7 +774,7 @@ __Returns:__
|
|
782
774
|
|
783
775
|
--
|
784
776
|
|
785
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
777
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/text.rb#L33)
|
786
778
|
|
787
779
|
> def s_text text
|
788
780
|
|
@@ -798,7 +790,7 @@ __Returns:__
|
|
798
790
|
|
799
791
|
--
|
800
792
|
|
801
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
793
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/text.rb#L41)
|
802
794
|
|
803
795
|
> def s_text_exact text
|
804
796
|
|
@@ -814,7 +806,7 @@ __Returns:__
|
|
814
806
|
|
815
807
|
--
|
816
808
|
|
817
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
809
|
+
##### [button](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L8)
|
818
810
|
|
819
811
|
> def button text, number=0
|
820
812
|
|
@@ -832,7 +824,7 @@ __Returns:__
|
|
832
824
|
|
833
825
|
--
|
834
826
|
|
835
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
827
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L19)
|
836
828
|
|
837
829
|
> def buttons text=nil
|
838
830
|
|
@@ -848,7 +840,7 @@ __Returns:__
|
|
848
840
|
|
849
841
|
--
|
850
842
|
|
851
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L26)
|
852
844
|
|
853
845
|
> def first_button
|
854
846
|
|
@@ -860,7 +852,7 @@ __Returns:__
|
|
860
852
|
|
861
853
|
--
|
862
854
|
|
863
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
855
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L32)
|
864
856
|
|
865
857
|
> def last_button
|
866
858
|
|
@@ -872,7 +864,7 @@ __Returns:__
|
|
872
864
|
|
873
865
|
--
|
874
866
|
|
875
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
867
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L39)
|
876
868
|
|
877
869
|
> def button_exact text
|
878
870
|
|
@@ -888,7 +880,7 @@ __Returns:__
|
|
888
880
|
|
889
881
|
--
|
890
882
|
|
891
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
883
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L46)
|
892
884
|
|
893
885
|
> def buttons_exact text
|
894
886
|
|
@@ -904,7 +896,7 @@ __Returns:__
|
|
904
896
|
|
905
897
|
--
|
906
898
|
|
907
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
899
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L52)
|
908
900
|
|
909
901
|
> def e_buttons
|
910
902
|
|
@@ -916,7 +908,7 @@ __Returns:__
|
|
916
908
|
|
917
909
|
--
|
918
910
|
|
919
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
911
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/button.rb#L72)
|
920
912
|
|
921
913
|
> def button_num text, number=1
|
922
914
|
|
@@ -945,7 +937,7 @@ __Returns:__
|
|
945
937
|
|
946
938
|
--
|
947
939
|
|
948
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
940
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/element/window.rb#L5)
|
949
941
|
|
950
942
|
> def window_size
|
951
943
|
|
@@ -953,7 +945,7 @@ Get the window's size
|
|
953
945
|
|
954
946
|
--
|
955
947
|
|
956
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
948
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L8) ios
|
957
949
|
|
958
950
|
> def find_eles_attr tag_name, attribute
|
959
951
|
|
@@ -972,7 +964,7 @@ __Returns:__
|
|
972
964
|
|
973
965
|
--
|
974
966
|
|
975
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
967
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L29) ios
|
976
968
|
|
977
969
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
978
970
|
|
@@ -993,7 +985,7 @@ __Returns:__
|
|
993
985
|
|
994
986
|
--
|
995
987
|
|
996
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
988
|
+
##### [password](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L50) ios
|
997
989
|
|
998
990
|
> def password length=1
|
999
991
|
|
@@ -1011,7 +1003,7 @@ __Returns:__
|
|
1011
1003
|
|
1012
1004
|
--
|
1013
1005
|
|
1014
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1006
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L58) ios
|
1015
1007
|
|
1016
1008
|
> def get_page element=get_source
|
1017
1009
|
|
@@ -1027,7 +1019,7 @@ __Returns:__
|
|
1027
1019
|
|
1028
1020
|
--
|
1029
1021
|
|
1030
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1022
|
+
##### [page](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L103) ios
|
1031
1023
|
|
1032
1024
|
> def page
|
1033
1025
|
|
@@ -1039,7 +1031,36 @@ __Returns:__
|
|
1039
1031
|
|
1040
1032
|
--
|
1041
1033
|
|
1042
|
-
##### [
|
1034
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L111) ios
|
1035
|
+
|
1036
|
+
> def source_window window_number=0
|
1037
|
+
|
1038
|
+
Gets the JSON source of window number
|
1039
|
+
|
1040
|
+
__Parameters:__
|
1041
|
+
|
1042
|
+
[Integer] window_number - the int index of the target window
|
1043
|
+
|
1044
|
+
__Returns:__
|
1045
|
+
|
1046
|
+
[JSON]
|
1047
|
+
|
1048
|
+
--
|
1049
|
+
|
1050
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L118) ios
|
1051
|
+
|
1052
|
+
> def page_window window_number=0
|
1053
|
+
|
1054
|
+
Prints parsed page source to console.
|
1055
|
+
example: page_window 0
|
1056
|
+
|
1057
|
+
__Parameters:__
|
1058
|
+
|
1059
|
+
[Integer] window_number - the int index of the target window
|
1060
|
+
|
1061
|
+
--
|
1062
|
+
|
1063
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L125) ios
|
1043
1064
|
|
1044
1065
|
> def fast_duration
|
1045
1066
|
|
@@ -1051,7 +1072,7 @@ __Returns:__
|
|
1051
1072
|
|
1052
1073
|
--
|
1053
1074
|
|
1054
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1075
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/alert.rb#L14) ios
|
1055
1076
|
|
1056
1077
|
> def alert_click value
|
1057
1078
|
|
@@ -1074,7 +1095,7 @@ __Returns:__
|
|
1074
1095
|
|
1075
1096
|
--
|
1076
1097
|
|
1077
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
1098
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/alert.rb#L21) ios
|
1078
1099
|
|
1079
1100
|
> def alert_text
|
1080
1101
|
|
@@ -1086,7 +1107,7 @@ __Returns:__
|
|
1086
1107
|
|
1087
1108
|
--
|
1088
1109
|
|
1089
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1110
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/alert.rb#L27) ios
|
1090
1111
|
|
1091
1112
|
> def alert_accept
|
1092
1113
|
|
@@ -1098,7 +1119,7 @@ __Returns:__
|
|
1098
1119
|
|
1099
1120
|
--
|
1100
1121
|
|
1101
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1122
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/alert.rb#L34) ios
|
1102
1123
|
|
1103
1124
|
> def alert_accept_text
|
1104
1125
|
|
@@ -1111,7 +1132,7 @@ __Returns:__
|
|
1111
1132
|
|
1112
1133
|
--
|
1113
1134
|
|
1114
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1135
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/alert.rb#L43) ios
|
1115
1136
|
|
1116
1137
|
> def alert_dismiss
|
1117
1138
|
|
@@ -1123,7 +1144,7 @@ __Returns:__
|
|
1123
1144
|
|
1124
1145
|
--
|
1125
1146
|
|
1126
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1147
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/alert.rb#L50) ios
|
1127
1148
|
|
1128
1149
|
> def alert_dismiss_text
|
1129
1150
|
|
@@ -1136,7 +1157,7 @@ __Returns:__
|
|
1136
1157
|
|
1137
1158
|
--
|
1138
1159
|
|
1139
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1160
|
+
##### [find](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/generic.rb#L61) ios
|
1140
1161
|
|
1141
1162
|
> def find text
|
1142
1163
|
|
@@ -1152,7 +1173,7 @@ __Returns:__
|
|
1152
1173
|
|
1153
1174
|
--
|
1154
1175
|
|
1155
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1176
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/generic.rb#L69) ios
|
1156
1177
|
|
1157
1178
|
> def finds text
|
1158
1179
|
|
@@ -1168,7 +1189,7 @@ __Returns:__
|
|
1168
1189
|
|
1169
1190
|
--
|
1170
1191
|
|
1171
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [text](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/generic.rb#L79) ios
|
1172
1193
|
|
1173
1194
|
> def text text
|
1174
1195
|
|
@@ -1184,7 +1205,7 @@ __Returns:__
|
|
1184
1205
|
|
1185
1206
|
--
|
1186
1207
|
|
1187
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1208
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/generic.rb#L87) ios
|
1188
1209
|
|
1189
1210
|
> def texts text
|
1190
1211
|
|
@@ -1200,7 +1221,7 @@ __Returns:__
|
|
1200
1221
|
|
1201
1222
|
--
|
1202
1223
|
|
1203
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1224
|
+
##### [name](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/generic.rb#L99) ios
|
1204
1225
|
|
1205
1226
|
> def name name
|
1206
1227
|
|
@@ -1218,7 +1239,7 @@ __Returns:__
|
|
1218
1239
|
|
1219
1240
|
--
|
1220
1241
|
|
1221
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1242
|
+
##### [names](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/generic.rb#L108) ios
|
1222
1243
|
|
1223
1244
|
> def names name
|
1224
1245
|
|
@@ -1236,7 +1257,7 @@ __Returns:__
|
|
1236
1257
|
|
1237
1258
|
--
|
1238
1259
|
|
1239
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1260
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
1240
1261
|
|
1241
1262
|
> def textfields
|
1242
1263
|
|
@@ -1248,7 +1269,7 @@ __Returns:__
|
|
1248
1269
|
|
1249
1270
|
--
|
1250
1271
|
|
1251
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
1252
1273
|
|
1253
1274
|
> def e_textfields
|
1254
1275
|
|
@@ -1260,7 +1281,7 @@ __Returns:__
|
|
1260
1281
|
|
1261
1282
|
--
|
1262
1283
|
|
1263
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1284
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
1264
1285
|
|
1265
1286
|
> def first_textfield
|
1266
1287
|
|
@@ -1272,7 +1293,7 @@ __Returns:__
|
|
1272
1293
|
|
1273
1294
|
--
|
1274
1295
|
|
1275
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1296
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
1276
1297
|
|
1277
1298
|
> def last_textfield
|
1278
1299
|
|
@@ -1284,7 +1305,7 @@ __Returns:__
|
|
1284
1305
|
|
1285
1306
|
--
|
1286
1307
|
|
1287
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1308
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
1288
1309
|
|
1289
1310
|
> def textfield text
|
1290
1311
|
|
@@ -1300,7 +1321,7 @@ __Returns:__
|
|
1300
1321
|
|
1301
1322
|
--
|
1302
1323
|
|
1303
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
1304
1325
|
|
1305
1326
|
> def textfield_include text
|
1306
1327
|
|
@@ -1316,7 +1337,7 @@ __Returns:__
|
|
1316
1337
|
|
1317
1338
|
--
|
1318
1339
|
|
1319
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1340
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
1320
1341
|
|
1321
1342
|
> def textfield_exact text
|
1322
1343
|
|
@@ -1332,23 +1353,7 @@ __Returns:__
|
|
1332
1353
|
|
1333
1354
|
--
|
1334
1355
|
|
1335
|
-
##### [
|
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)
|
1356
|
+
##### [value](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/patch.rb#L32)
|
1352
1357
|
|
1353
1358
|
> def value
|
1354
1359
|
|
@@ -1358,7 +1363,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1358
1363
|
|
1359
1364
|
--
|
1360
1365
|
|
1361
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1366
|
+
##### [name](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/patch.rb#L39)
|
1362
1367
|
|
1363
1368
|
> def name
|
1364
1369
|
|
@@ -1368,7 +1373,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1368
1373
|
|
1369
1374
|
--
|
1370
1375
|
|
1371
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/patch.rb#L46)
|
1372
1377
|
|
1373
1378
|
> def tag_name
|
1374
1379
|
|
@@ -1378,7 +1383,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1378
1383
|
|
1379
1384
|
--
|
1380
1385
|
|
1381
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1386
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/common/patch.rb#L58)
|
1382
1387
|
|
1383
1388
|
> def location_rel
|
1384
1389
|
|