appium_lib 0.5.16 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/docs/android_docs.md +122 -104
- data/docs/docs.md +1 -0
- data/docs/ios_docs.md +121 -103
- data/lib/appium_lib/android/helper.rb +1 -1
- data/lib/appium_lib/common/version.rb +2 -2
- data/lib/appium_lib/driver.rb +38 -22
- data/lib/appium_lib/ios/patch.rb +4 -3
- data/readme.md +4 -2
- data/release_notes.md +19 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db8b3c02fbe928da61349a7ac9ac89dcd3c343b4
|
4
|
+
data.tar.gz: 781119eb179e7dd74cd71d85ec5b53d5a863c76e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2a31d0be6e0e26e280ac71301dd36a810fbe1c26e86d6ba999a7f4ecfac1c5f9119057e8dfc529b0938a068b1b8f2a922fac49f9bebb2ee5dfcec4575ee3bf9a
|
7
|
+
data.tar.gz: 5eecb803490b8798417f8a1ea4155831d38637c842427c53b38e4fa53b65de8968481eaee6d63b62d8068d17c673b5ca7f887ad9e60b89cab239b159293c99d7
|
data/Rakefile
CHANGED
@@ -130,7 +130,7 @@ task :notes do
|
|
130
130
|
tag = pair.split('...').last
|
131
131
|
dates.each do |line|
|
132
132
|
# regular tag, or tag on master.
|
133
|
-
if line.include?(
|
133
|
+
if line.include?(tag + ')') || line.include?(tag + ',')
|
134
134
|
tag_date.push tag + ' ' + line.match(/\d{4}-\d{2}-\d{2}/)[0]
|
135
135
|
break
|
136
136
|
end
|
data/docs/android_docs.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/
|
1
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L12)
|
2
2
|
|
3
3
|
> def load_appium_txt opts
|
4
4
|
|
@@ -11,11 +11,11 @@ __Parameters:__
|
|
11
11
|
|
12
12
|
__Returns:__
|
13
13
|
|
14
|
-
[
|
14
|
+
[Array<String>] the require files. nil if require doesn't exist
|
15
15
|
|
16
16
|
--
|
17
17
|
|
18
|
-
##### [default_wait](https://github.com/appium/ruby_lib/blob/
|
18
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L391)
|
19
19
|
|
20
20
|
> def default_wait
|
21
21
|
|
@@ -28,7 +28,7 @@ __Returns:__
|
|
28
28
|
|
29
29
|
--
|
30
30
|
|
31
|
-
##### [app_path](https://github.com/appium/ruby_lib/blob/
|
31
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
32
32
|
|
33
33
|
> def app_path
|
34
34
|
|
@@ -36,7 +36,7 @@ Returns the value of attribute app_path
|
|
36
36
|
|
37
37
|
--
|
38
38
|
|
39
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
39
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
40
40
|
|
41
41
|
> def app_name
|
42
42
|
|
@@ -44,7 +44,7 @@ Returns the value of attribute app_name
|
|
44
44
|
|
45
45
|
--
|
46
46
|
|
47
|
-
##### [selendroid](https://github.com/appium/ruby_lib/blob/
|
47
|
+
##### [selendroid](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
48
48
|
|
49
49
|
> def selendroid
|
50
50
|
|
@@ -52,7 +52,7 @@ Returns the value of attribute selendroid
|
|
52
52
|
|
53
53
|
--
|
54
54
|
|
55
|
-
##### [app_package](https://github.com/appium/ruby_lib/blob/
|
55
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
56
56
|
|
57
57
|
> def app_package
|
58
58
|
|
@@ -60,7 +60,7 @@ Returns the value of attribute app_package
|
|
60
60
|
|
61
61
|
--
|
62
62
|
|
63
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
63
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
64
64
|
|
65
65
|
> def app_activity
|
66
66
|
|
@@ -68,7 +68,7 @@ Returns the value of attribute app_activity
|
|
68
68
|
|
69
69
|
--
|
70
70
|
|
71
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
71
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
72
72
|
|
73
73
|
> def app_wait_activity
|
74
74
|
|
@@ -76,7 +76,7 @@ Returns the value of attribute app_wait_activity
|
|
76
76
|
|
77
77
|
--
|
78
78
|
|
79
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
79
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
80
80
|
|
81
81
|
> def sauce_username
|
82
82
|
|
@@ -84,7 +84,7 @@ Returns the value of attribute sauce_username
|
|
84
84
|
|
85
85
|
--
|
86
86
|
|
87
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
87
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
88
88
|
|
89
89
|
> def sauce_access_key
|
90
90
|
|
@@ -92,7 +92,7 @@ Returns the value of attribute sauce_access_key
|
|
92
92
|
|
93
93
|
--
|
94
94
|
|
95
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
95
|
+
##### [port](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
96
96
|
|
97
97
|
> def port
|
98
98
|
|
@@ -100,7 +100,7 @@ Returns the value of attribute port
|
|
100
100
|
|
101
101
|
--
|
102
102
|
|
103
|
-
##### [os](https://github.com/appium/ruby_lib/blob/
|
103
|
+
##### [os](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
104
104
|
|
105
105
|
> def os
|
106
106
|
|
@@ -108,7 +108,7 @@ Returns the value of attribute os
|
|
108
108
|
|
109
109
|
--
|
110
110
|
|
111
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
111
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
112
112
|
|
113
113
|
> def debug
|
114
114
|
|
@@ -116,7 +116,7 @@ Returns the value of attribute debug
|
|
116
116
|
|
117
117
|
--
|
118
118
|
|
119
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L138)
|
120
120
|
|
121
121
|
> def initialize opts={}
|
122
122
|
|
@@ -155,15 +155,33 @@ __Returns:__
|
|
155
155
|
|
156
156
|
--
|
157
157
|
|
158
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
158
|
+
##### [status](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L249)
|
159
159
|
|
160
160
|
> def status
|
161
161
|
|
162
162
|
Returns the status payload
|
163
163
|
|
164
|
+
```ruby
|
165
|
+
{"status"=>0,
|
166
|
+
"value"=>
|
167
|
+
{"build"=>
|
168
|
+
{"version"=>"0.8.2",
|
169
|
+
"revision"=>"f2a2bc3782e4b0370d97a097d7e04913cf008995"}},
|
170
|
+
"sessionId"=>"8f4b34a7-a9a9-4ac5-b125-36258143446a"}
|
171
|
+
```
|
172
|
+
|
173
|
+
Discover the Appium rev running on the server.
|
174
|
+
|
175
|
+
`status["value"]["build"]["revision"]`
|
176
|
+
`f2a2bc3782e4b0370d97a097d7e04913cf008995`
|
177
|
+
|
178
|
+
__Returns:__
|
179
|
+
|
180
|
+
[JSON]
|
181
|
+
|
164
182
|
--
|
165
183
|
|
166
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
184
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L255)
|
167
185
|
|
168
186
|
> def server_version
|
169
187
|
|
@@ -175,7 +193,7 @@ __Returns:__
|
|
175
193
|
|
176
194
|
--
|
177
195
|
|
178
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
196
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L296)
|
179
197
|
|
180
198
|
> def absolute_app_path
|
181
199
|
|
@@ -187,7 +205,7 @@ __Returns:__
|
|
187
205
|
|
188
206
|
--
|
189
207
|
|
190
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
208
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L312)
|
191
209
|
|
192
210
|
> def server_url
|
193
211
|
|
@@ -199,7 +217,7 @@ __Returns:__
|
|
199
217
|
|
200
218
|
--
|
201
219
|
|
202
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
220
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L322)
|
203
221
|
|
204
222
|
> def restart
|
205
223
|
|
@@ -211,7 +229,7 @@ __Returns:__
|
|
211
229
|
|
212
230
|
--
|
213
231
|
|
214
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
232
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L329)
|
215
233
|
|
216
234
|
> def driver
|
217
235
|
|
@@ -223,7 +241,7 @@ __Returns:__
|
|
223
241
|
|
224
242
|
--
|
225
243
|
|
226
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
244
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L339)
|
227
245
|
|
228
246
|
> def screenshot png_save_path
|
229
247
|
|
@@ -241,7 +259,7 @@ __Returns:__
|
|
241
259
|
|
242
260
|
--
|
243
261
|
|
244
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
262
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L345)
|
245
263
|
|
246
264
|
> def driver_quit
|
247
265
|
|
@@ -253,7 +271,7 @@ __Returns:__
|
|
253
271
|
|
254
272
|
--
|
255
273
|
|
256
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
274
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L353)
|
257
275
|
|
258
276
|
> def start_driver
|
259
277
|
|
@@ -265,7 +283,7 @@ __Returns:__
|
|
265
283
|
|
266
284
|
--
|
267
285
|
|
268
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
286
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L377)
|
269
287
|
|
270
288
|
> def no_wait
|
271
289
|
|
@@ -273,7 +291,7 @@ Set implicit wait to zero.
|
|
273
291
|
|
274
292
|
--
|
275
293
|
|
276
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
294
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L384)
|
277
295
|
|
278
296
|
> def set_wait timeout=@default_wait
|
279
297
|
|
@@ -289,7 +307,7 @@ __Returns:__
|
|
289
307
|
|
290
308
|
--
|
291
309
|
|
292
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
310
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L407)
|
293
311
|
|
294
312
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
295
313
|
|
@@ -315,7 +333,7 @@ __Returns:__
|
|
315
333
|
|
316
334
|
--
|
317
335
|
|
318
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
336
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L429)
|
319
337
|
|
320
338
|
> def execute_script script, *args
|
321
339
|
|
@@ -333,7 +351,7 @@ __Returns:__
|
|
333
351
|
|
334
352
|
--
|
335
353
|
|
336
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
354
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L445)
|
337
355
|
|
338
356
|
> def mobile method, *args
|
339
357
|
|
@@ -359,7 +377,7 @@ __Returns:__
|
|
359
377
|
|
360
378
|
--
|
361
379
|
|
362
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
380
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L456)
|
363
381
|
|
364
382
|
> def find_elements *args
|
365
383
|
|
@@ -375,7 +393,7 @@ __Returns:__
|
|
375
393
|
|
376
394
|
--
|
377
395
|
|
378
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
396
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L464)
|
379
397
|
|
380
398
|
> def find_element *args
|
381
399
|
|
@@ -391,7 +409,7 @@ __Returns:__
|
|
391
409
|
|
392
410
|
--
|
393
411
|
|
394
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
412
|
+
##### [x](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L471)
|
395
413
|
|
396
414
|
> def x
|
397
415
|
|
@@ -404,7 +422,7 @@ __Returns:__
|
|
404
422
|
|
405
423
|
--
|
406
424
|
|
407
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
425
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L33)
|
408
426
|
|
409
427
|
> def wait max_wait=30, interval=0.5, &block
|
410
428
|
|
@@ -431,7 +449,7 @@ __Returns:__
|
|
431
449
|
|
432
450
|
--
|
433
451
|
|
434
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
452
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L45)
|
435
453
|
|
436
454
|
> def ignore &block
|
437
455
|
|
@@ -439,7 +457,7 @@ Return block.call and ignore any exceptions.
|
|
439
457
|
|
440
458
|
--
|
441
459
|
|
442
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
460
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L55)
|
443
461
|
|
444
462
|
> def wait_true max_wait=30, interval=0.5, &block
|
445
463
|
|
@@ -460,7 +478,7 @@ __Returns:__
|
|
460
478
|
|
461
479
|
--
|
462
480
|
|
463
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
481
|
+
##### [id](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L69)
|
464
482
|
|
465
483
|
> def id id
|
466
484
|
|
@@ -476,7 +494,7 @@ __Returns:__
|
|
476
494
|
|
477
495
|
--
|
478
496
|
|
479
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
497
|
+
##### [back](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L75)
|
480
498
|
|
481
499
|
> def back
|
482
500
|
|
@@ -488,7 +506,7 @@ __Returns:__
|
|
488
506
|
|
489
507
|
--
|
490
508
|
|
491
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
509
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L80)
|
492
510
|
|
493
511
|
> def session_id
|
494
512
|
|
@@ -496,7 +514,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
496
514
|
|
497
515
|
--
|
498
516
|
|
499
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
517
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L88)
|
500
518
|
|
501
519
|
> def xpath xpath_str
|
502
520
|
|
@@ -512,7 +530,7 @@ __Returns:__
|
|
512
530
|
|
513
531
|
--
|
514
532
|
|
515
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
533
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L96)
|
516
534
|
|
517
535
|
> def xpaths xpath_str
|
518
536
|
|
@@ -528,7 +546,7 @@ __Returns:__
|
|
528
546
|
|
529
547
|
--
|
530
548
|
|
531
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
549
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L104)
|
532
550
|
|
533
551
|
> def ele_index tag_name, index
|
534
552
|
|
@@ -546,7 +564,7 @@ __Returns:__
|
|
546
564
|
|
547
565
|
--
|
548
566
|
|
549
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
567
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L112)
|
550
568
|
|
551
569
|
> def find_eles tag_name
|
552
570
|
|
@@ -562,7 +580,7 @@ __Returns:__
|
|
562
580
|
|
563
581
|
--
|
564
582
|
|
565
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
583
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L120)
|
566
584
|
|
567
585
|
> def find_ele_by_text tag, text
|
568
586
|
|
@@ -580,7 +598,7 @@ __Returns:__
|
|
580
598
|
|
581
599
|
--
|
582
600
|
|
583
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
601
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L128)
|
584
602
|
|
585
603
|
> def find_eles_by_text tag, text
|
586
604
|
|
@@ -598,7 +616,7 @@ __Returns:__
|
|
598
616
|
|
599
617
|
--
|
600
618
|
|
601
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
619
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L137)
|
602
620
|
|
603
621
|
> def find_ele_by_attr_include tag, attr, value
|
604
622
|
|
@@ -618,7 +636,7 @@ __Returns:__
|
|
618
636
|
|
619
637
|
--
|
620
638
|
|
621
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
639
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L146)
|
622
640
|
|
623
641
|
> def find_eles_by_attr_include tag, attr, value
|
624
642
|
|
@@ -638,7 +656,7 @@ __Returns:__
|
|
638
656
|
|
639
657
|
--
|
640
658
|
|
641
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
659
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L155)
|
642
660
|
|
643
661
|
> def find_ele_by_text_include tag, text
|
644
662
|
|
@@ -657,7 +675,7 @@ __Returns:__
|
|
657
675
|
|
658
676
|
--
|
659
677
|
|
660
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
678
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L164)
|
661
679
|
|
662
680
|
> def find_eles_by_text_include tag, text
|
663
681
|
|
@@ -676,7 +694,7 @@ __Returns:__
|
|
676
694
|
|
677
695
|
--
|
678
696
|
|
679
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
697
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L171)
|
680
698
|
|
681
699
|
> def first_ele tag_name
|
682
700
|
|
@@ -692,7 +710,7 @@ __Returns:__
|
|
692
710
|
|
693
711
|
--
|
694
712
|
|
695
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
713
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L179)
|
696
714
|
|
697
715
|
> def last_ele tag_name
|
698
716
|
|
@@ -708,7 +726,7 @@ __Returns:__
|
|
708
726
|
|
709
727
|
--
|
710
728
|
|
711
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
729
|
+
##### [source](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L185)
|
712
730
|
|
713
731
|
> def source
|
714
732
|
|
@@ -720,7 +738,7 @@ __Returns:__
|
|
720
738
|
|
721
739
|
--
|
722
740
|
|
723
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
741
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L191)
|
724
742
|
|
725
743
|
> def get_source
|
726
744
|
|
@@ -732,7 +750,7 @@ __Returns:__
|
|
732
750
|
|
733
751
|
--
|
734
752
|
|
735
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
753
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L200)
|
736
754
|
|
737
755
|
> def find_name name
|
738
756
|
|
@@ -748,7 +766,7 @@ __Returns:__
|
|
748
766
|
|
749
767
|
--
|
750
768
|
|
751
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
769
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L208)
|
752
770
|
|
753
771
|
> def find_names name
|
754
772
|
|
@@ -764,7 +782,7 @@ __Returns:__
|
|
764
782
|
|
765
783
|
--
|
766
784
|
|
767
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
785
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/helper.rb#L216)
|
768
786
|
|
769
787
|
> def tag tag_name
|
770
788
|
|
@@ -780,7 +798,7 @@ __Returns:__
|
|
780
798
|
|
781
799
|
--
|
782
800
|
|
783
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
801
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/text.rb#L8)
|
784
802
|
|
785
803
|
> def s_texts
|
786
804
|
|
@@ -792,7 +810,7 @@ __Returns:__
|
|
792
810
|
|
793
811
|
--
|
794
812
|
|
795
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
813
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/text.rb#L14)
|
796
814
|
|
797
815
|
> def e_s_texts
|
798
816
|
|
@@ -804,7 +822,7 @@ __Returns:__
|
|
804
822
|
|
805
823
|
--
|
806
824
|
|
807
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
825
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/text.rb#L20)
|
808
826
|
|
809
827
|
> def first_s_text
|
810
828
|
|
@@ -816,7 +834,7 @@ __Returns:__
|
|
816
834
|
|
817
835
|
--
|
818
836
|
|
819
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
837
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/text.rb#L26)
|
820
838
|
|
821
839
|
> def last_s_text
|
822
840
|
|
@@ -828,7 +846,7 @@ __Returns:__
|
|
828
846
|
|
829
847
|
--
|
830
848
|
|
831
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
849
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/text.rb#L33)
|
832
850
|
|
833
851
|
> def s_text text
|
834
852
|
|
@@ -844,7 +862,7 @@ __Returns:__
|
|
844
862
|
|
845
863
|
--
|
846
864
|
|
847
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
865
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/text.rb#L41)
|
848
866
|
|
849
867
|
> def s_text_exact text
|
850
868
|
|
@@ -860,7 +878,7 @@ __Returns:__
|
|
860
878
|
|
861
879
|
--
|
862
880
|
|
863
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
881
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/window.rb#L5)
|
864
882
|
|
865
883
|
> def window_size
|
866
884
|
|
@@ -868,7 +886,7 @@ Get the window's size
|
|
868
886
|
|
869
887
|
--
|
870
888
|
|
871
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
889
|
+
##### [button](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L8)
|
872
890
|
|
873
891
|
> def button text, number=0
|
874
892
|
|
@@ -886,7 +904,7 @@ __Returns:__
|
|
886
904
|
|
887
905
|
--
|
888
906
|
|
889
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
907
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L19)
|
890
908
|
|
891
909
|
> def buttons text=nil
|
892
910
|
|
@@ -902,7 +920,7 @@ __Returns:__
|
|
902
920
|
|
903
921
|
--
|
904
922
|
|
905
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
923
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L26)
|
906
924
|
|
907
925
|
> def first_button
|
908
926
|
|
@@ -914,7 +932,7 @@ __Returns:__
|
|
914
932
|
|
915
933
|
--
|
916
934
|
|
917
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
935
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L32)
|
918
936
|
|
919
937
|
> def last_button
|
920
938
|
|
@@ -926,7 +944,7 @@ __Returns:__
|
|
926
944
|
|
927
945
|
--
|
928
946
|
|
929
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
947
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L39)
|
930
948
|
|
931
949
|
> def button_exact text
|
932
950
|
|
@@ -942,7 +960,7 @@ __Returns:__
|
|
942
960
|
|
943
961
|
--
|
944
962
|
|
945
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
963
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L46)
|
946
964
|
|
947
965
|
> def buttons_exact text
|
948
966
|
|
@@ -958,7 +976,7 @@ __Returns:__
|
|
958
976
|
|
959
977
|
--
|
960
978
|
|
961
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
979
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L52)
|
962
980
|
|
963
981
|
> def e_buttons
|
964
982
|
|
@@ -970,7 +988,7 @@ __Returns:__
|
|
970
988
|
|
971
989
|
--
|
972
990
|
|
973
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
991
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/element/button.rb#L72)
|
974
992
|
|
975
993
|
> def button_num text, number=1
|
976
994
|
|
@@ -999,7 +1017,7 @@ __Returns:__
|
|
999
1017
|
|
1000
1018
|
--
|
1001
1019
|
|
1002
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
1020
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L6) android
|
1003
1021
|
|
1004
1022
|
> def tag_name_to_android tag_name
|
1005
1023
|
|
@@ -1015,7 +1033,7 @@ __Returns:__
|
|
1015
1033
|
|
1016
1034
|
--
|
1017
1035
|
|
1018
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L194) android
|
1019
1037
|
|
1020
1038
|
> def find_eles_attr tag_name, attribute=nil
|
1021
1039
|
|
@@ -1036,7 +1054,7 @@ __Returns:__
|
|
1036
1054
|
|
1037
1055
|
--
|
1038
1056
|
|
1039
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
1057
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L216) android
|
1040
1058
|
|
1041
1059
|
> def get_selendroid_inspect
|
1042
1060
|
|
@@ -1049,7 +1067,7 @@ __Returns:__
|
|
1049
1067
|
|
1050
1068
|
--
|
1051
1069
|
|
1052
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1070
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L278) android
|
1053
1071
|
|
1054
1072
|
> def get_page_class
|
1055
1073
|
|
@@ -1057,7 +1075,7 @@ __Returns:__
|
|
1057
1075
|
|
1058
1076
|
--
|
1059
1077
|
|
1060
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1078
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L305) android
|
1061
1079
|
|
1062
1080
|
> def page_class
|
1063
1081
|
|
@@ -1066,7 +1084,7 @@ Useful for appium_console.
|
|
1066
1084
|
|
1067
1085
|
--
|
1068
1086
|
|
1069
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1087
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L314) android
|
1070
1088
|
|
1071
1089
|
> def get_android_inspect
|
1072
1090
|
|
@@ -1080,7 +1098,7 @@ __Returns:__
|
|
1080
1098
|
|
1081
1099
|
--
|
1082
1100
|
|
1083
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
1101
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L363) android
|
1084
1102
|
|
1085
1103
|
> def get_inspect
|
1086
1104
|
|
@@ -1093,7 +1111,7 @@ __Returns:__
|
|
1093
1111
|
|
1094
1112
|
--
|
1095
1113
|
|
1096
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1114
|
+
##### [page](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L369) android
|
1097
1115
|
|
1098
1116
|
> def page
|
1099
1117
|
|
@@ -1102,7 +1120,7 @@ Inspects and prints the current page.
|
|
1102
1120
|
|
1103
1121
|
--
|
1104
1122
|
|
1105
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1123
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L382) android
|
1106
1124
|
|
1107
1125
|
> def fast_duration
|
1108
1126
|
|
@@ -1117,7 +1135,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
1117
1135
|
|
1118
1136
|
--
|
1119
1137
|
|
1120
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1138
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L389) android
|
1121
1139
|
|
1122
1140
|
> def xml_keys target
|
1123
1141
|
|
@@ -1133,7 +1151,7 @@ __Returns:__
|
|
1133
1151
|
|
1134
1152
|
--
|
1135
1153
|
|
1136
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1154
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L396) android
|
1137
1155
|
|
1138
1156
|
> def xml_values target
|
1139
1157
|
|
@@ -1149,7 +1167,7 @@ __Returns:__
|
|
1149
1167
|
|
1150
1168
|
--
|
1151
1169
|
|
1152
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1170
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L403) android
|
1153
1171
|
|
1154
1172
|
> def resolve_id id
|
1155
1173
|
|
@@ -1165,7 +1183,7 @@ __Returns:__
|
|
1165
1183
|
|
1166
1184
|
--
|
1167
1185
|
|
1168
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1186
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/helper.rb#L409) android
|
1169
1187
|
|
1170
1188
|
> def current_app
|
1171
1189
|
|
@@ -1174,7 +1192,7 @@ Works on local host only (not remote).
|
|
1174
1192
|
|
1175
1193
|
--
|
1176
1194
|
|
1177
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1195
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/alert.rb#L6) android
|
1178
1196
|
|
1179
1197
|
> def alert_click value
|
1180
1198
|
|
@@ -1190,7 +1208,7 @@ __Returns:__
|
|
1190
1208
|
|
1191
1209
|
--
|
1192
1210
|
|
1193
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1211
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/alert.rb#L13) android
|
1194
1212
|
|
1195
1213
|
> def alert_accept
|
1196
1214
|
|
@@ -1203,7 +1221,7 @@ __Returns:__
|
|
1203
1221
|
|
1204
1222
|
--
|
1205
1223
|
|
1206
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1224
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/alert.rb#L20) android
|
1207
1225
|
|
1208
1226
|
> def alert_accept_text
|
1209
1227
|
|
@@ -1216,7 +1234,7 @@ __Returns:__
|
|
1216
1234
|
|
1217
1235
|
--
|
1218
1236
|
|
1219
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1237
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/alert.rb#L27) android
|
1220
1238
|
|
1221
1239
|
> def alert_dismiss
|
1222
1240
|
|
@@ -1229,7 +1247,7 @@ __Returns:__
|
|
1229
1247
|
|
1230
1248
|
--
|
1231
1249
|
|
1232
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1250
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/alert.rb#L34) android
|
1233
1251
|
|
1234
1252
|
> def alert_dismiss_text
|
1235
1253
|
|
@@ -1242,7 +1260,7 @@ __Returns:__
|
|
1242
1260
|
|
1243
1261
|
--
|
1244
1262
|
|
1245
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1263
|
+
##### [find](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/generic.rb#L44) android
|
1246
1264
|
|
1247
1265
|
> def find val
|
1248
1266
|
|
@@ -1259,7 +1277,7 @@ __Returns:__
|
|
1259
1277
|
|
1260
1278
|
--
|
1261
1279
|
|
1262
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1280
|
+
##### [text](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/generic.rb#L70) android
|
1263
1281
|
|
1264
1282
|
> def text text
|
1265
1283
|
|
@@ -1275,7 +1293,7 @@ __Returns:__
|
|
1275
1293
|
|
1276
1294
|
--
|
1277
1295
|
|
1278
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1296
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/generic.rb#L79) android
|
1279
1297
|
|
1280
1298
|
> def texts text
|
1281
1299
|
|
@@ -1291,7 +1309,7 @@ __Returns:__
|
|
1291
1309
|
|
1292
1310
|
--
|
1293
1311
|
|
1294
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1312
|
+
##### [name](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/generic.rb#L88) android
|
1295
1313
|
|
1296
1314
|
> def name name
|
1297
1315
|
|
@@ -1309,7 +1327,7 @@ __Returns:__
|
|
1309
1327
|
|
1310
1328
|
--
|
1311
1329
|
|
1312
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1330
|
+
##### [names](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/generic.rb#L99) android
|
1313
1331
|
|
1314
1332
|
> def names name
|
1315
1333
|
|
@@ -1327,7 +1345,7 @@ __Returns:__
|
|
1327
1345
|
|
1328
1346
|
--
|
1329
1347
|
|
1330
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1348
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/generic.rb#L108) android
|
1331
1349
|
|
1332
1350
|
> def scroll_to text
|
1333
1351
|
|
@@ -1343,7 +1361,7 @@ __Returns:__
|
|
1343
1361
|
|
1344
1362
|
--
|
1345
1363
|
|
1346
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1364
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/textfield.rb#L7) android
|
1347
1365
|
|
1348
1366
|
> def textfields
|
1349
1367
|
|
@@ -1355,7 +1373,7 @@ __Returns:__
|
|
1355
1373
|
|
1356
1374
|
--
|
1357
1375
|
|
1358
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1376
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/textfield.rb#L13) android
|
1359
1377
|
|
1360
1378
|
> def e_textfields
|
1361
1379
|
|
@@ -1367,7 +1385,7 @@ __Returns:__
|
|
1367
1385
|
|
1368
1386
|
--
|
1369
1387
|
|
1370
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1388
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/textfield.rb#L19) android
|
1371
1389
|
|
1372
1390
|
> def first_textfield
|
1373
1391
|
|
@@ -1379,7 +1397,7 @@ __Returns:__
|
|
1379
1397
|
|
1380
1398
|
--
|
1381
1399
|
|
1382
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1400
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/textfield.rb#L25) android
|
1383
1401
|
|
1384
1402
|
> def last_textfield
|
1385
1403
|
|
@@ -1391,7 +1409,7 @@ __Returns:__
|
|
1391
1409
|
|
1392
1410
|
--
|
1393
1411
|
|
1394
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1412
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/textfield.rb#L32) android
|
1395
1413
|
|
1396
1414
|
> def textfield text
|
1397
1415
|
|
@@ -1407,7 +1425,7 @@ __Returns:__
|
|
1407
1425
|
|
1408
1426
|
--
|
1409
1427
|
|
1410
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1428
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/android/element/textfield.rb#L45) android
|
1411
1429
|
|
1412
1430
|
> def textfield_exact text
|
1413
1431
|
|
@@ -1423,7 +1441,7 @@ __Returns:__
|
|
1423
1441
|
|
1424
1442
|
--
|
1425
1443
|
|
1426
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1444
|
+
##### [value](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/patch.rb#L32)
|
1427
1445
|
|
1428
1446
|
> def value
|
1429
1447
|
|
@@ -1433,7 +1451,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1433
1451
|
|
1434
1452
|
--
|
1435
1453
|
|
1436
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1454
|
+
##### [name](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/patch.rb#L39)
|
1437
1455
|
|
1438
1456
|
> def name
|
1439
1457
|
|
@@ -1443,7 +1461,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1443
1461
|
|
1444
1462
|
--
|
1445
1463
|
|
1446
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1464
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/patch.rb#L46)
|
1447
1465
|
|
1448
1466
|
> def tag_name
|
1449
1467
|
|
@@ -1453,7 +1471,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1453
1471
|
|
1454
1472
|
--
|
1455
1473
|
|
1456
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1474
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/common/patch.rb#L58)
|
1457
1475
|
|
1458
1476
|
> def location_rel
|
1459
1477
|
|