appium_lib 0.6.0 → 0.6.1
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/docs/android_docs.md +108 -114
- data/docs/ios_docs.md +107 -113
- data/lib/appium_lib/common/version.rb +1 -1
- data/lib/appium_lib/driver.rb +40 -20
- data/release_notes.md +12 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b08291729cf4db416cef20ef088c96443ccdcf57
|
4
|
+
data.tar.gz: 554f01c8236bd97daed944dcce7f5a6fe57e6216
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48f30ce669a66ead1629d072b4fcc1600919c0f884bd811434c080fbccad3ceacb55f451c9087a711e77b965da6779eeecf6334bf9246541d60ecc62de4099ad
|
7
|
+
data.tar.gz: e7750b9daa55667ac3aa90937318a73334e4bd51df3ab8d37c0475c34b039fe5eb7b7b5d33bb986458f7c87be030d131d530710d0dd24595dd77361845e38ca7
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L12)
|
2
2
|
|
3
3
|
> def load_appium_txt opts
|
4
4
|
|
@@ -15,7 +15,7 @@ __Returns:__
|
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L407)
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
40
40
|
|
41
41
|
> def app_name
|
42
42
|
|
@@ -44,15 +44,15 @@ Returns the value of attribute app_name
|
|
44
44
|
|
45
45
|
--
|
46
46
|
|
47
|
-
##### [
|
47
|
+
##### [device](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
48
48
|
|
49
|
-
> def
|
49
|
+
> def device
|
50
50
|
|
51
|
-
Returns the value of attribute
|
51
|
+
Returns the value of attribute device
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
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/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
96
96
|
|
97
97
|
> def port
|
98
98
|
|
@@ -100,15 +100,7 @@ Returns the value of attribute port
|
|
100
100
|
|
101
101
|
--
|
102
102
|
|
103
|
-
##### [
|
104
|
-
|
105
|
-
> def os
|
106
|
-
|
107
|
-
Returns the value of attribute os
|
108
|
-
|
109
|
-
--
|
110
|
-
|
111
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/bd71fb4e430608d32923c583c8d4d592f11a96fc/lib/appium_lib/driver.rb#L108)
|
103
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L121)
|
112
104
|
|
113
105
|
> def debug
|
114
106
|
|
@@ -116,11 +108,12 @@ Returns the value of attribute debug
|
|
116
108
|
|
117
109
|
--
|
118
110
|
|
119
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
111
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L153)
|
120
112
|
|
121
113
|
> def initialize opts={}
|
122
114
|
|
123
115
|
Creates a new driver.
|
116
|
+
:device is :android, :ios, or :selendroid
|
124
117
|
|
125
118
|
```ruby
|
126
119
|
# Options include:
|
@@ -132,11 +125,12 @@ require 'rubygems'
|
|
132
125
|
require 'appium_lib'
|
133
126
|
|
134
127
|
# Start iOS driver
|
135
|
-
app = { app_path: '/path/to/MyiOS.app'}
|
128
|
+
app = { device: :ios, app_path: '/path/to/MyiOS.app'}
|
136
129
|
Appium::Driver.new(app).start_driver
|
137
130
|
|
138
131
|
# Start Android driver
|
139
|
-
apk = {
|
132
|
+
apk = { device: :android
|
133
|
+
app_path: '/path/to/the.apk',
|
140
134
|
app_package: 'com.example.pkg',
|
141
135
|
app_activity: 'act.Start',
|
142
136
|
app_wait_activity: 'act.Start'
|
@@ -155,7 +149,7 @@ __Returns:__
|
|
155
149
|
|
156
150
|
--
|
157
151
|
|
158
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
152
|
+
##### [status](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L265)
|
159
153
|
|
160
154
|
> def status
|
161
155
|
|
@@ -181,7 +175,7 @@ __Returns:__
|
|
181
175
|
|
182
176
|
--
|
183
177
|
|
184
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
178
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L271)
|
185
179
|
|
186
180
|
> def server_version
|
187
181
|
|
@@ -193,7 +187,7 @@ __Returns:__
|
|
193
187
|
|
194
188
|
--
|
195
189
|
|
196
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
190
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L312)
|
197
191
|
|
198
192
|
> def absolute_app_path
|
199
193
|
|
@@ -205,7 +199,7 @@ __Returns:__
|
|
205
199
|
|
206
200
|
--
|
207
201
|
|
208
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
202
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L328)
|
209
203
|
|
210
204
|
> def server_url
|
211
205
|
|
@@ -217,7 +211,7 @@ __Returns:__
|
|
217
211
|
|
218
212
|
--
|
219
213
|
|
220
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
214
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L338)
|
221
215
|
|
222
216
|
> def restart
|
223
217
|
|
@@ -229,7 +223,7 @@ __Returns:__
|
|
229
223
|
|
230
224
|
--
|
231
225
|
|
232
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L345)
|
233
227
|
|
234
228
|
> def driver
|
235
229
|
|
@@ -241,7 +235,7 @@ __Returns:__
|
|
241
235
|
|
242
236
|
--
|
243
237
|
|
244
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
238
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L355)
|
245
239
|
|
246
240
|
> def screenshot png_save_path
|
247
241
|
|
@@ -259,7 +253,7 @@ __Returns:__
|
|
259
253
|
|
260
254
|
--
|
261
255
|
|
262
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L361)
|
263
257
|
|
264
258
|
> def driver_quit
|
265
259
|
|
@@ -271,7 +265,7 @@ __Returns:__
|
|
271
265
|
|
272
266
|
--
|
273
267
|
|
274
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
268
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L369)
|
275
269
|
|
276
270
|
> def start_driver
|
277
271
|
|
@@ -283,7 +277,7 @@ __Returns:__
|
|
283
277
|
|
284
278
|
--
|
285
279
|
|
286
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
280
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L393)
|
287
281
|
|
288
282
|
> def no_wait
|
289
283
|
|
@@ -291,7 +285,7 @@ Set implicit wait to zero.
|
|
291
285
|
|
292
286
|
--
|
293
287
|
|
294
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
288
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L400)
|
295
289
|
|
296
290
|
> def set_wait timeout=@default_wait
|
297
291
|
|
@@ -307,7 +301,7 @@ __Returns:__
|
|
307
301
|
|
308
302
|
--
|
309
303
|
|
310
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/
|
304
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L423)
|
311
305
|
|
312
306
|
> def exists pre_check=0, post_check=@default_wait, &search_block
|
313
307
|
|
@@ -333,7 +327,7 @@ __Returns:__
|
|
333
327
|
|
334
328
|
--
|
335
329
|
|
336
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
330
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L445)
|
337
331
|
|
338
332
|
> def execute_script script, *args
|
339
333
|
|
@@ -351,7 +345,7 @@ __Returns:__
|
|
351
345
|
|
352
346
|
--
|
353
347
|
|
354
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
348
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L461)
|
355
349
|
|
356
350
|
> def mobile method, *args
|
357
351
|
|
@@ -377,7 +371,7 @@ __Returns:__
|
|
377
371
|
|
378
372
|
--
|
379
373
|
|
380
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
374
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L472)
|
381
375
|
|
382
376
|
> def find_elements *args
|
383
377
|
|
@@ -393,7 +387,7 @@ __Returns:__
|
|
393
387
|
|
394
388
|
--
|
395
389
|
|
396
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
390
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L480)
|
397
391
|
|
398
392
|
> def find_element *args
|
399
393
|
|
@@ -409,7 +403,7 @@ __Returns:__
|
|
409
403
|
|
410
404
|
--
|
411
405
|
|
412
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
406
|
+
##### [x](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/driver.rb#L487)
|
413
407
|
|
414
408
|
> def x
|
415
409
|
|
@@ -422,7 +416,7 @@ __Returns:__
|
|
422
416
|
|
423
417
|
--
|
424
418
|
|
425
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
419
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L33)
|
426
420
|
|
427
421
|
> def wait max_wait=30, interval=0.5, &block
|
428
422
|
|
@@ -449,7 +443,7 @@ __Returns:__
|
|
449
443
|
|
450
444
|
--
|
451
445
|
|
452
|
-
##### [ignore](https://github.com/appium/ruby_lib/blob/
|
446
|
+
##### [ignore](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L45)
|
453
447
|
|
454
448
|
> def ignore &block
|
455
449
|
|
@@ -457,7 +451,7 @@ Return block.call and ignore any exceptions.
|
|
457
451
|
|
458
452
|
--
|
459
453
|
|
460
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
454
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L55)
|
461
455
|
|
462
456
|
> def wait_true max_wait=30, interval=0.5, &block
|
463
457
|
|
@@ -478,7 +472,7 @@ __Returns:__
|
|
478
472
|
|
479
473
|
--
|
480
474
|
|
481
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
475
|
+
##### [id](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L69)
|
482
476
|
|
483
477
|
> def id id
|
484
478
|
|
@@ -494,7 +488,7 @@ __Returns:__
|
|
494
488
|
|
495
489
|
--
|
496
490
|
|
497
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
491
|
+
##### [back](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L75)
|
498
492
|
|
499
493
|
> def back
|
500
494
|
|
@@ -506,7 +500,7 @@ __Returns:__
|
|
506
500
|
|
507
501
|
--
|
508
502
|
|
509
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
503
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L80)
|
510
504
|
|
511
505
|
> def session_id
|
512
506
|
|
@@ -514,7 +508,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
514
508
|
|
515
509
|
--
|
516
510
|
|
517
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
511
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L88)
|
518
512
|
|
519
513
|
> def xpath xpath_str
|
520
514
|
|
@@ -530,7 +524,7 @@ __Returns:__
|
|
530
524
|
|
531
525
|
--
|
532
526
|
|
533
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
527
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L96)
|
534
528
|
|
535
529
|
> def xpaths xpath_str
|
536
530
|
|
@@ -546,7 +540,7 @@ __Returns:__
|
|
546
540
|
|
547
541
|
--
|
548
542
|
|
549
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
543
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L104)
|
550
544
|
|
551
545
|
> def ele_index tag_name, index
|
552
546
|
|
@@ -564,7 +558,7 @@ __Returns:__
|
|
564
558
|
|
565
559
|
--
|
566
560
|
|
567
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
561
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L112)
|
568
562
|
|
569
563
|
> def find_eles tag_name
|
570
564
|
|
@@ -580,7 +574,7 @@ __Returns:__
|
|
580
574
|
|
581
575
|
--
|
582
576
|
|
583
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
577
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L120)
|
584
578
|
|
585
579
|
> def find_ele_by_text tag, text
|
586
580
|
|
@@ -598,7 +592,7 @@ __Returns:__
|
|
598
592
|
|
599
593
|
--
|
600
594
|
|
601
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
595
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L128)
|
602
596
|
|
603
597
|
> def find_eles_by_text tag, text
|
604
598
|
|
@@ -616,7 +610,7 @@ __Returns:__
|
|
616
610
|
|
617
611
|
--
|
618
612
|
|
619
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
613
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L137)
|
620
614
|
|
621
615
|
> def find_ele_by_attr_include tag, attr, value
|
622
616
|
|
@@ -636,7 +630,7 @@ __Returns:__
|
|
636
630
|
|
637
631
|
--
|
638
632
|
|
639
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
633
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L146)
|
640
634
|
|
641
635
|
> def find_eles_by_attr_include tag, attr, value
|
642
636
|
|
@@ -656,7 +650,7 @@ __Returns:__
|
|
656
650
|
|
657
651
|
--
|
658
652
|
|
659
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
653
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L155)
|
660
654
|
|
661
655
|
> def find_ele_by_text_include tag, text
|
662
656
|
|
@@ -675,7 +669,7 @@ __Returns:__
|
|
675
669
|
|
676
670
|
--
|
677
671
|
|
678
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
672
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L164)
|
679
673
|
|
680
674
|
> def find_eles_by_text_include tag, text
|
681
675
|
|
@@ -694,7 +688,7 @@ __Returns:__
|
|
694
688
|
|
695
689
|
--
|
696
690
|
|
697
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
691
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L171)
|
698
692
|
|
699
693
|
> def first_ele tag_name
|
700
694
|
|
@@ -710,7 +704,7 @@ __Returns:__
|
|
710
704
|
|
711
705
|
--
|
712
706
|
|
713
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
707
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L179)
|
714
708
|
|
715
709
|
> def last_ele tag_name
|
716
710
|
|
@@ -726,7 +720,7 @@ __Returns:__
|
|
726
720
|
|
727
721
|
--
|
728
722
|
|
729
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
723
|
+
##### [source](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L185)
|
730
724
|
|
731
725
|
> def source
|
732
726
|
|
@@ -738,7 +732,7 @@ __Returns:__
|
|
738
732
|
|
739
733
|
--
|
740
734
|
|
741
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
735
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L191)
|
742
736
|
|
743
737
|
> def get_source
|
744
738
|
|
@@ -750,7 +744,7 @@ __Returns:__
|
|
750
744
|
|
751
745
|
--
|
752
746
|
|
753
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
747
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L200)
|
754
748
|
|
755
749
|
> def find_name name
|
756
750
|
|
@@ -766,7 +760,7 @@ __Returns:__
|
|
766
760
|
|
767
761
|
--
|
768
762
|
|
769
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
763
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L208)
|
770
764
|
|
771
765
|
> def find_names name
|
772
766
|
|
@@ -782,7 +776,7 @@ __Returns:__
|
|
782
776
|
|
783
777
|
--
|
784
778
|
|
785
|
-
##### [tag](https://github.com/appium/ruby_lib/blob/
|
779
|
+
##### [tag](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/helper.rb#L216)
|
786
780
|
|
787
781
|
> def tag tag_name
|
788
782
|
|
@@ -798,7 +792,7 @@ __Returns:__
|
|
798
792
|
|
799
793
|
--
|
800
794
|
|
801
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
795
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/text.rb#L8)
|
802
796
|
|
803
797
|
> def s_texts
|
804
798
|
|
@@ -810,7 +804,7 @@ __Returns:__
|
|
810
804
|
|
811
805
|
--
|
812
806
|
|
813
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/text.rb#L14)
|
814
808
|
|
815
809
|
> def e_s_texts
|
816
810
|
|
@@ -822,7 +816,7 @@ __Returns:__
|
|
822
816
|
|
823
817
|
--
|
824
818
|
|
825
|
-
##### [first_s_text](https://github.com/appium/ruby_lib/blob/
|
819
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/text.rb#L20)
|
826
820
|
|
827
821
|
> def first_s_text
|
828
822
|
|
@@ -834,7 +828,7 @@ __Returns:__
|
|
834
828
|
|
835
829
|
--
|
836
830
|
|
837
|
-
##### [last_s_text](https://github.com/appium/ruby_lib/blob/
|
831
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/text.rb#L26)
|
838
832
|
|
839
833
|
> def last_s_text
|
840
834
|
|
@@ -846,7 +840,7 @@ __Returns:__
|
|
846
840
|
|
847
841
|
--
|
848
842
|
|
849
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
843
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/text.rb#L33)
|
850
844
|
|
851
845
|
> def s_text text
|
852
846
|
|
@@ -862,7 +856,7 @@ __Returns:__
|
|
862
856
|
|
863
857
|
--
|
864
858
|
|
865
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
859
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/text.rb#L41)
|
866
860
|
|
867
861
|
> def s_text_exact text
|
868
862
|
|
@@ -878,7 +872,7 @@ __Returns:__
|
|
878
872
|
|
879
873
|
--
|
880
874
|
|
881
|
-
##### [window_size](https://github.com/appium/ruby_lib/blob/
|
875
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/window.rb#L5)
|
882
876
|
|
883
877
|
> def window_size
|
884
878
|
|
@@ -886,7 +880,7 @@ Get the window's size
|
|
886
880
|
|
887
881
|
--
|
888
882
|
|
889
|
-
##### [button](https://github.com/appium/ruby_lib/blob/
|
883
|
+
##### [button](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L8)
|
890
884
|
|
891
885
|
> def button text, number=0
|
892
886
|
|
@@ -904,7 +898,7 @@ __Returns:__
|
|
904
898
|
|
905
899
|
--
|
906
900
|
|
907
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
901
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L19)
|
908
902
|
|
909
903
|
> def buttons text=nil
|
910
904
|
|
@@ -920,7 +914,7 @@ __Returns:__
|
|
920
914
|
|
921
915
|
--
|
922
916
|
|
923
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
917
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L26)
|
924
918
|
|
925
919
|
> def first_button
|
926
920
|
|
@@ -932,7 +926,7 @@ __Returns:__
|
|
932
926
|
|
933
927
|
--
|
934
928
|
|
935
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
929
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L32)
|
936
930
|
|
937
931
|
> def last_button
|
938
932
|
|
@@ -944,7 +938,7 @@ __Returns:__
|
|
944
938
|
|
945
939
|
--
|
946
940
|
|
947
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
941
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L39)
|
948
942
|
|
949
943
|
> def button_exact text
|
950
944
|
|
@@ -960,7 +954,7 @@ __Returns:__
|
|
960
954
|
|
961
955
|
--
|
962
956
|
|
963
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
957
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L46)
|
964
958
|
|
965
959
|
> def buttons_exact text
|
966
960
|
|
@@ -976,7 +970,7 @@ __Returns:__
|
|
976
970
|
|
977
971
|
--
|
978
972
|
|
979
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
973
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L52)
|
980
974
|
|
981
975
|
> def e_buttons
|
982
976
|
|
@@ -988,7 +982,7 @@ __Returns:__
|
|
988
982
|
|
989
983
|
--
|
990
984
|
|
991
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
985
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/element/button.rb#L72)
|
992
986
|
|
993
987
|
> def button_num text, number=1
|
994
988
|
|
@@ -1017,7 +1011,7 @@ __Returns:__
|
|
1017
1011
|
|
1018
1012
|
--
|
1019
1013
|
|
1020
|
-
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [tag_name_to_android](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L6) android
|
1021
1015
|
|
1022
1016
|
> def tag_name_to_android tag_name
|
1023
1017
|
|
@@ -1033,7 +1027,7 @@ __Returns:__
|
|
1033
1027
|
|
1034
1028
|
--
|
1035
1029
|
|
1036
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1030
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L194) android
|
1037
1031
|
|
1038
1032
|
> def find_eles_attr tag_name, attribute=nil
|
1039
1033
|
|
@@ -1054,7 +1048,7 @@ __Returns:__
|
|
1054
1048
|
|
1055
1049
|
--
|
1056
1050
|
|
1057
|
-
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/
|
1051
|
+
##### [get_selendroid_inspect](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L216) android
|
1058
1052
|
|
1059
1053
|
> def get_selendroid_inspect
|
1060
1054
|
|
@@ -1067,7 +1061,7 @@ __Returns:__
|
|
1067
1061
|
|
1068
1062
|
--
|
1069
1063
|
|
1070
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L278) android
|
1071
1065
|
|
1072
1066
|
> def get_page_class
|
1073
1067
|
|
@@ -1075,7 +1069,7 @@ __Returns:__
|
|
1075
1069
|
|
1076
1070
|
--
|
1077
1071
|
|
1078
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1072
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L305) android
|
1079
1073
|
|
1080
1074
|
> def page_class
|
1081
1075
|
|
@@ -1084,7 +1078,7 @@ Useful for appium_console.
|
|
1084
1078
|
|
1085
1079
|
--
|
1086
1080
|
|
1087
|
-
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/
|
1081
|
+
##### [get_android_inspect](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L314) android
|
1088
1082
|
|
1089
1083
|
> def get_android_inspect
|
1090
1084
|
|
@@ -1098,7 +1092,7 @@ __Returns:__
|
|
1098
1092
|
|
1099
1093
|
--
|
1100
1094
|
|
1101
|
-
##### [get_inspect](https://github.com/appium/ruby_lib/blob/
|
1095
|
+
##### [get_inspect](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L363) android
|
1102
1096
|
|
1103
1097
|
> def get_inspect
|
1104
1098
|
|
@@ -1111,7 +1105,7 @@ __Returns:__
|
|
1111
1105
|
|
1112
1106
|
--
|
1113
1107
|
|
1114
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1108
|
+
##### [page](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L369) android
|
1115
1109
|
|
1116
1110
|
> def page
|
1117
1111
|
|
@@ -1120,7 +1114,7 @@ Inspects and prints the current page.
|
|
1120
1114
|
|
1121
1115
|
--
|
1122
1116
|
|
1123
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1117
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L382) android
|
1124
1118
|
|
1125
1119
|
> def fast_duration
|
1126
1120
|
|
@@ -1135,7 +1129,7 @@ We want steps to be exactly 1. If it's zero then a tap is used instead of a swip
|
|
1135
1129
|
|
1136
1130
|
--
|
1137
1131
|
|
1138
|
-
##### [xml_keys](https://github.com/appium/ruby_lib/blob/
|
1132
|
+
##### [xml_keys](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L389) android
|
1139
1133
|
|
1140
1134
|
> def xml_keys target
|
1141
1135
|
|
@@ -1151,7 +1145,7 @@ __Returns:__
|
|
1151
1145
|
|
1152
1146
|
--
|
1153
1147
|
|
1154
|
-
##### [xml_values](https://github.com/appium/ruby_lib/blob/
|
1148
|
+
##### [xml_values](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L396) android
|
1155
1149
|
|
1156
1150
|
> def xml_values target
|
1157
1151
|
|
@@ -1167,7 +1161,7 @@ __Returns:__
|
|
1167
1161
|
|
1168
1162
|
--
|
1169
1163
|
|
1170
|
-
##### [resolve_id](https://github.com/appium/ruby_lib/blob/
|
1164
|
+
##### [resolve_id](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L403) android
|
1171
1165
|
|
1172
1166
|
> def resolve_id id
|
1173
1167
|
|
@@ -1183,7 +1177,7 @@ __Returns:__
|
|
1183
1177
|
|
1184
1178
|
--
|
1185
1179
|
|
1186
|
-
##### [current_app](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [current_app](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/helper.rb#L409) android
|
1187
1181
|
|
1188
1182
|
> def current_app
|
1189
1183
|
|
@@ -1192,7 +1186,7 @@ Works on local host only (not remote).
|
|
1192
1186
|
|
1193
1187
|
--
|
1194
1188
|
|
1195
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1189
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/alert.rb#L6) android
|
1196
1190
|
|
1197
1191
|
> def alert_click value
|
1198
1192
|
|
@@ -1208,7 +1202,7 @@ __Returns:__
|
|
1208
1202
|
|
1209
1203
|
--
|
1210
1204
|
|
1211
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1205
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/alert.rb#L13) android
|
1212
1206
|
|
1213
1207
|
> def alert_accept
|
1214
1208
|
|
@@ -1221,7 +1215,7 @@ __Returns:__
|
|
1221
1215
|
|
1222
1216
|
--
|
1223
1217
|
|
1224
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1218
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/alert.rb#L20) android
|
1225
1219
|
|
1226
1220
|
> def alert_accept_text
|
1227
1221
|
|
@@ -1234,7 +1228,7 @@ __Returns:__
|
|
1234
1228
|
|
1235
1229
|
--
|
1236
1230
|
|
1237
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1231
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/alert.rb#L27) android
|
1238
1232
|
|
1239
1233
|
> def alert_dismiss
|
1240
1234
|
|
@@ -1247,7 +1241,7 @@ __Returns:__
|
|
1247
1241
|
|
1248
1242
|
--
|
1249
1243
|
|
1250
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1244
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/alert.rb#L34) android
|
1251
1245
|
|
1252
1246
|
> def alert_dismiss_text
|
1253
1247
|
|
@@ -1260,7 +1254,7 @@ __Returns:__
|
|
1260
1254
|
|
1261
1255
|
--
|
1262
1256
|
|
1263
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1257
|
+
##### [find](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/generic.rb#L44) android
|
1264
1258
|
|
1265
1259
|
> def find val
|
1266
1260
|
|
@@ -1277,7 +1271,7 @@ __Returns:__
|
|
1277
1271
|
|
1278
1272
|
--
|
1279
1273
|
|
1280
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1274
|
+
##### [text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/generic.rb#L70) android
|
1281
1275
|
|
1282
1276
|
> def text text
|
1283
1277
|
|
@@ -1293,7 +1287,7 @@ __Returns:__
|
|
1293
1287
|
|
1294
1288
|
--
|
1295
1289
|
|
1296
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1290
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/generic.rb#L79) android
|
1297
1291
|
|
1298
1292
|
> def texts text
|
1299
1293
|
|
@@ -1309,7 +1303,7 @@ __Returns:__
|
|
1309
1303
|
|
1310
1304
|
--
|
1311
1305
|
|
1312
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1306
|
+
##### [name](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/generic.rb#L88) android
|
1313
1307
|
|
1314
1308
|
> def name name
|
1315
1309
|
|
@@ -1327,7 +1321,7 @@ __Returns:__
|
|
1327
1321
|
|
1328
1322
|
--
|
1329
1323
|
|
1330
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1324
|
+
##### [names](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/generic.rb#L99) android
|
1331
1325
|
|
1332
1326
|
> def names name
|
1333
1327
|
|
@@ -1345,7 +1339,7 @@ __Returns:__
|
|
1345
1339
|
|
1346
1340
|
--
|
1347
1341
|
|
1348
|
-
##### [scroll_to](https://github.com/appium/ruby_lib/blob/
|
1342
|
+
##### [scroll_to](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/generic.rb#L108) android
|
1349
1343
|
|
1350
1344
|
> def scroll_to text
|
1351
1345
|
|
@@ -1361,7 +1355,7 @@ __Returns:__
|
|
1361
1355
|
|
1362
1356
|
--
|
1363
1357
|
|
1364
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1358
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/textfield.rb#L7) android
|
1365
1359
|
|
1366
1360
|
> def textfields
|
1367
1361
|
|
@@ -1373,7 +1367,7 @@ __Returns:__
|
|
1373
1367
|
|
1374
1368
|
--
|
1375
1369
|
|
1376
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1370
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/textfield.rb#L13) android
|
1377
1371
|
|
1378
1372
|
> def e_textfields
|
1379
1373
|
|
@@ -1385,7 +1379,7 @@ __Returns:__
|
|
1385
1379
|
|
1386
1380
|
--
|
1387
1381
|
|
1388
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1382
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/textfield.rb#L19) android
|
1389
1383
|
|
1390
1384
|
> def first_textfield
|
1391
1385
|
|
@@ -1397,7 +1391,7 @@ __Returns:__
|
|
1397
1391
|
|
1398
1392
|
--
|
1399
1393
|
|
1400
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1394
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/textfield.rb#L25) android
|
1401
1395
|
|
1402
1396
|
> def last_textfield
|
1403
1397
|
|
@@ -1409,7 +1403,7 @@ __Returns:__
|
|
1409
1403
|
|
1410
1404
|
--
|
1411
1405
|
|
1412
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/textfield.rb#L32) android
|
1413
1407
|
|
1414
1408
|
> def textfield text
|
1415
1409
|
|
@@ -1425,7 +1419,7 @@ __Returns:__
|
|
1425
1419
|
|
1426
1420
|
--
|
1427
1421
|
|
1428
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1422
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/android/element/textfield.rb#L45) android
|
1429
1423
|
|
1430
1424
|
> def textfield_exact text
|
1431
1425
|
|
@@ -1441,7 +1435,7 @@ __Returns:__
|
|
1441
1435
|
|
1442
1436
|
--
|
1443
1437
|
|
1444
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1438
|
+
##### [value](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/patch.rb#L32)
|
1445
1439
|
|
1446
1440
|
> def value
|
1447
1441
|
|
@@ -1451,7 +1445,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1451
1445
|
|
1452
1446
|
--
|
1453
1447
|
|
1454
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1448
|
+
##### [name](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/patch.rb#L39)
|
1455
1449
|
|
1456
1450
|
> def name
|
1457
1451
|
|
@@ -1461,7 +1455,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1461
1455
|
|
1462
1456
|
--
|
1463
1457
|
|
1464
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1458
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/patch.rb#L46)
|
1465
1459
|
|
1466
1460
|
> def tag_name
|
1467
1461
|
|
@@ -1471,7 +1465,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1471
1465
|
|
1472
1466
|
--
|
1473
1467
|
|
1474
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1468
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/common/patch.rb#L58)
|
1475
1469
|
|
1476
1470
|
> def location_rel
|
1477
1471
|
|