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
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODMwNDlkYjUyYTA0ZWFlNzAwNzhiY2M2ZjNmZjMwNjBmMmQ0NjEyNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjE1NTk4NWQ0NjViYTlkNTFmMzA4YmFkYWJhMTIwOTZhMjBiYjZmNg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTE4NjlmN2VkMzc0YWYyZTcxZjE0N2VjYTRiNzg3ZjI2NWViNTc4NmVmMTcx
|
10
|
+
ZGZhOTI0MjM2YmI0NjRkNTkwMWYzNzE1YmZiZGY3ZDI5N2ZhZmIzZTIwNDUw
|
11
|
+
MDFhNTc4ZWIzZTg4MDRiNDlmZmQ5NTkxY2ZlZjcyNTFhYmVlMzc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZmY3NWU0ZmJkMzAyZmEwMTNmNzk1MjdhMjQ5ZDBmNGJmNDhjODk1NTY4NjFl
|
14
|
+
Y2RlNjFhODg5Mjg1ZGNjZjE4NDQ5YjNlMzI0Yzg1YzlkN2JkMjBlYzA4Njgz
|
15
|
+
OTdkMzIwMmEwMjkzNDRlZjdlZTg1NDY3OWVjYWQxMGNlOGM5NDA=
|
data/Rakefile
CHANGED
@@ -58,8 +58,9 @@ task :release => :gem do
|
|
58
58
|
sh "git commit --allow-empty -am 'Release #{version}'"
|
59
59
|
sh 'git pull'
|
60
60
|
sh "git tag v#{version}"
|
61
|
-
# update notes now that there's a new tag
|
61
|
+
# update notes and docs now that there's a new tag
|
62
62
|
Rake::Task['notes'].execute
|
63
|
+
Rake::Task['docs'].execute
|
63
64
|
sh "git commit --allow-empty -am 'Update release notes'"
|
64
65
|
sh 'git push origin master'
|
65
66
|
sh "git push origin v#{version}"
|
data/docs/android_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
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
956
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/helper.rb#L6) android
|
937
957
|
|
938
958
|
> def tag_name_to_android tag_name
|
939
959
|
|
@@ -949,7 +969,7 @@ __Returns:__
|
|
949
969
|
|
950
970
|
--
|
951
971
|
|
952
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
972
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/helper.rb#L44) android
|
953
973
|
|
954
974
|
> def find_eles_attr tag_name
|
955
975
|
|
@@ -966,7 +986,7 @@ __Returns:__
|
|
966
986
|
|
967
987
|
--
|
968
988
|
|
969
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
989
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/helper.rb#L66) android
|
970
990
|
|
971
991
|
> def get_selendroid_inspect
|
972
992
|
|
@@ -979,7 +999,7 @@ __Returns:__
|
|
979
999
|
|
980
1000
|
--
|
981
1001
|
|
982
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1002
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/helper.rb#L131) android
|
983
1003
|
|
984
1004
|
> def get_android_inspect
|
985
1005
|
|
@@ -992,7 +1012,7 @@ __Returns:__
|
|
992
1012
|
|
993
1013
|
--
|
994
1014
|
|
995
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
1015
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/helper.rb#L180) android
|
996
1016
|
|
997
1017
|
> def get_inspect
|
998
1018
|
|
@@ -1005,7 +1025,7 @@ __Returns:__
|
|
1005
1025
|
|
1006
1026
|
--
|
1007
1027
|
|
1008
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1028
|
+
##### [page](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/helper.rb#L186) android
|
1009
1029
|
|
1010
1030
|
> def page
|
1011
1031
|
|
@@ -1014,7 +1034,7 @@ Inspects and prints the current page.
|
|
1014
1034
|
|
1015
1035
|
--
|
1016
1036
|
|
1017
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1037
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/helper.rb#L199) android
|
1018
1038
|
|
1019
1039
|
> def fast_duration
|
1020
1040
|
|
@@ -1029,7 +1049,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
1029
1049
|
|
1030
1050
|
--
|
1031
1051
|
|
1032
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/alert.rb#L6) android
|
1033
1053
|
|
1034
1054
|
> def alert_click value
|
1035
1055
|
|
@@ -1045,7 +1065,7 @@ __Returns:__
|
|
1045
1065
|
|
1046
1066
|
--
|
1047
1067
|
|
1048
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1068
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/alert.rb#L13) android
|
1049
1069
|
|
1050
1070
|
> def alert_accept
|
1051
1071
|
|
@@ -1058,7 +1078,7 @@ __Returns:__
|
|
1058
1078
|
|
1059
1079
|
--
|
1060
1080
|
|
1061
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/alert.rb#L20) android
|
1062
1082
|
|
1063
1083
|
> def alert_accept_text
|
1064
1084
|
|
@@ -1071,7 +1091,7 @@ __Returns:__
|
|
1071
1091
|
|
1072
1092
|
--
|
1073
1093
|
|
1074
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1094
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/alert.rb#L27) android
|
1075
1095
|
|
1076
1096
|
> def alert_dismiss
|
1077
1097
|
|
@@ -1084,7 +1104,7 @@ __Returns:__
|
|
1084
1104
|
|
1085
1105
|
--
|
1086
1106
|
|
1087
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1107
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/alert.rb#L34) android
|
1088
1108
|
|
1089
1109
|
> def alert_dismiss_text
|
1090
1110
|
|
@@ -1097,7 +1117,7 @@ __Returns:__
|
|
1097
1117
|
|
1098
1118
|
--
|
1099
1119
|
|
1100
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1120
|
+
##### [find](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/generic.rb#L44) android
|
1101
1121
|
|
1102
1122
|
> def find val
|
1103
1123
|
|
@@ -1114,7 +1134,7 @@ __Returns:__
|
|
1114
1134
|
|
1115
1135
|
--
|
1116
1136
|
|
1117
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1137
|
+
##### [text](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/generic.rb#L70) android
|
1118
1138
|
|
1119
1139
|
> def text text
|
1120
1140
|
|
@@ -1130,7 +1150,7 @@ __Returns:__
|
|
1130
1150
|
|
1131
1151
|
--
|
1132
1152
|
|
1133
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1153
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/generic.rb#L79) android
|
1134
1154
|
|
1135
1155
|
> def texts text
|
1136
1156
|
|
@@ -1146,7 +1166,7 @@ __Returns:__
|
|
1146
1166
|
|
1147
1167
|
--
|
1148
1168
|
|
1149
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1169
|
+
##### [name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/generic.rb#L88) android
|
1150
1170
|
|
1151
1171
|
> def name name
|
1152
1172
|
|
@@ -1164,7 +1184,7 @@ __Returns:__
|
|
1164
1184
|
|
1165
1185
|
--
|
1166
1186
|
|
1167
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1187
|
+
##### [names](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/generic.rb#L99) android
|
1168
1188
|
|
1169
1189
|
> def names name
|
1170
1190
|
|
@@ -1182,7 +1202,7 @@ __Returns:__
|
|
1182
1202
|
|
1183
1203
|
--
|
1184
1204
|
|
1185
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/generic.rb#L106) android
|
1186
1206
|
|
1187
1207
|
> def scroll_to text
|
1188
1208
|
|
@@ -1198,7 +1218,7 @@ __Returns:__
|
|
1198
1218
|
|
1199
1219
|
--
|
1200
1220
|
|
1201
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1221
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/textfield.rb#L7) android
|
1202
1222
|
|
1203
1223
|
> def textfields
|
1204
1224
|
|
@@ -1210,7 +1230,7 @@ __Returns:__
|
|
1210
1230
|
|
1211
1231
|
--
|
1212
1232
|
|
1213
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1233
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/textfield.rb#L13) android
|
1214
1234
|
|
1215
1235
|
> def e_textfields
|
1216
1236
|
|
@@ -1222,7 +1242,7 @@ __Returns:__
|
|
1222
1242
|
|
1223
1243
|
--
|
1224
1244
|
|
1225
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1245
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/textfield.rb#L19) android
|
1226
1246
|
|
1227
1247
|
> def first_textfield
|
1228
1248
|
|
@@ -1234,7 +1254,7 @@ __Returns:__
|
|
1234
1254
|
|
1235
1255
|
--
|
1236
1256
|
|
1237
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/textfield.rb#L25) android
|
1238
1258
|
|
1239
1259
|
> def last_textfield
|
1240
1260
|
|
@@ -1246,7 +1266,7 @@ __Returns:__
|
|
1246
1266
|
|
1247
1267
|
--
|
1248
1268
|
|
1249
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1269
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/textfield.rb#L32) android
|
1250
1270
|
|
1251
1271
|
> def textfield text
|
1252
1272
|
|
@@ -1262,7 +1282,7 @@ __Returns:__
|
|
1262
1282
|
|
1263
1283
|
--
|
1264
1284
|
|
1265
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1285
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/android/element/textfield.rb#L45) android
|
1266
1286
|
|
1267
1287
|
> def textfield_exact text
|
1268
1288
|
|
@@ -1278,7 +1298,23 @@ __Returns:__
|
|
1278
1298
|
|
1279
1299
|
--
|
1280
1300
|
|
1281
|
-
##### [
|
1301
|
+
##### [status](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L6)
|
1302
|
+
|
1303
|
+
> def status
|
1304
|
+
|
1305
|
+
|
1306
|
+
|
1307
|
+
--
|
1308
|
+
|
1309
|
+
##### [status](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L12)
|
1310
|
+
|
1311
|
+
> def status
|
1312
|
+
|
1313
|
+
|
1314
|
+
|
1315
|
+
--
|
1316
|
+
|
1317
|
+
##### [value](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L30)
|
1282
1318
|
|
1283
1319
|
> def value
|
1284
1320
|
|
@@ -1288,7 +1324,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1288
1324
|
|
1289
1325
|
--
|
1290
1326
|
|
1291
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1327
|
+
##### [name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L37)
|
1292
1328
|
|
1293
1329
|
> def name
|
1294
1330
|
|
@@ -1298,7 +1334,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1298
1334
|
|
1299
1335
|
--
|
1300
1336
|
|
1301
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1337
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L44)
|
1302
1338
|
|
1303
1339
|
> def tag_name
|
1304
1340
|
|
@@ -1308,7 +1344,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1308
1344
|
|
1309
1345
|
--
|
1310
1346
|
|
1311
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1347
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/53c6a8fc40669bdd29aef9236498f94c41976098/lib/appium_lib/common/patch.rb#L56)
|
1312
1348
|
|
1313
1349
|
> def location_rel
|
1314
1350
|
|