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
data/docs/ios_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
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1014
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L8) ios
|
1021
1015
|
|
1022
1016
|
> def find_eles_attr tag_name, attribute
|
1023
1017
|
|
@@ -1036,7 +1030,7 @@ __Returns:__
|
|
1036
1030
|
|
1037
1031
|
--
|
1038
1032
|
|
1039
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
1033
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L29) ios
|
1040
1034
|
|
1041
1035
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
1042
1036
|
|
@@ -1057,7 +1051,7 @@ __Returns:__
|
|
1057
1051
|
|
1058
1052
|
--
|
1059
1053
|
|
1060
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
1054
|
+
##### [password](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L50) ios
|
1061
1055
|
|
1062
1056
|
> def password length=1
|
1063
1057
|
|
@@ -1075,7 +1069,7 @@ __Returns:__
|
|
1075
1069
|
|
1076
1070
|
--
|
1077
1071
|
|
1078
|
-
##### [get_page_class](https://github.com/appium/ruby_lib/blob/
|
1072
|
+
##### [get_page_class](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L55) ios
|
1079
1073
|
|
1080
1074
|
> def get_page_class
|
1081
1075
|
|
@@ -1083,7 +1077,7 @@ Returns a string of class counts.
|
|
1083
1077
|
|
1084
1078
|
--
|
1085
1079
|
|
1086
|
-
##### [page_class](https://github.com/appium/ruby_lib/blob/
|
1080
|
+
##### [page_class](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L81) ios
|
1087
1081
|
|
1088
1082
|
> def page_class
|
1089
1083
|
|
@@ -1091,7 +1085,7 @@ Returns a string of class counts.
|
|
1091
1085
|
|
1092
1086
|
--
|
1093
1087
|
|
1094
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1088
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L90) ios
|
1095
1089
|
|
1096
1090
|
> def get_page element=get_source
|
1097
1091
|
|
@@ -1107,7 +1101,7 @@ __Returns:__
|
|
1107
1101
|
|
1108
1102
|
--
|
1109
1103
|
|
1110
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1104
|
+
##### [page](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L135) ios
|
1111
1105
|
|
1112
1106
|
> def page
|
1113
1107
|
|
@@ -1119,7 +1113,7 @@ __Returns:__
|
|
1119
1113
|
|
1120
1114
|
--
|
1121
1115
|
|
1122
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1116
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L143) ios
|
1123
1117
|
|
1124
1118
|
> def source_window window_number=0
|
1125
1119
|
|
@@ -1135,7 +1129,7 @@ __Returns:__
|
|
1135
1129
|
|
1136
1130
|
--
|
1137
1131
|
|
1138
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1132
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L150) ios
|
1139
1133
|
|
1140
1134
|
> def page_window window_number=0
|
1141
1135
|
|
@@ -1148,7 +1142,7 @@ __Parameters:__
|
|
1148
1142
|
|
1149
1143
|
--
|
1150
1144
|
|
1151
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1145
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/helper.rb#L157) ios
|
1152
1146
|
|
1153
1147
|
> def fast_duration
|
1154
1148
|
|
@@ -1160,7 +1154,7 @@ __Returns:__
|
|
1160
1154
|
|
1161
1155
|
--
|
1162
1156
|
|
1163
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1157
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/alert.rb#L14) ios
|
1164
1158
|
|
1165
1159
|
> def alert_click value
|
1166
1160
|
|
@@ -1183,7 +1177,7 @@ __Returns:__
|
|
1183
1177
|
|
1184
1178
|
--
|
1185
1179
|
|
1186
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
1180
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/alert.rb#L21) ios
|
1187
1181
|
|
1188
1182
|
> def alert_text
|
1189
1183
|
|
@@ -1195,7 +1189,7 @@ __Returns:__
|
|
1195
1189
|
|
1196
1190
|
--
|
1197
1191
|
|
1198
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1192
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/alert.rb#L30) ios
|
1199
1193
|
|
1200
1194
|
> def alert_accept
|
1201
1195
|
|
@@ -1207,7 +1201,7 @@ __Returns:__
|
|
1207
1201
|
|
1208
1202
|
--
|
1209
1203
|
|
1210
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1204
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/alert.rb#L39) ios
|
1211
1205
|
|
1212
1206
|
> def alert_accept_text
|
1213
1207
|
|
@@ -1220,7 +1214,7 @@ __Returns:__
|
|
1220
1214
|
|
1221
1215
|
--
|
1222
1216
|
|
1223
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1217
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/alert.rb#L48) ios
|
1224
1218
|
|
1225
1219
|
> def alert_dismiss
|
1226
1220
|
|
@@ -1232,7 +1226,7 @@ __Returns:__
|
|
1232
1226
|
|
1233
1227
|
--
|
1234
1228
|
|
1235
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1229
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/alert.rb#L57) ios
|
1236
1230
|
|
1237
1231
|
> def alert_dismiss_text
|
1238
1232
|
|
@@ -1245,7 +1239,7 @@ __Returns:__
|
|
1245
1239
|
|
1246
1240
|
--
|
1247
1241
|
|
1248
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1242
|
+
##### [find](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/generic.rb#L61) ios
|
1249
1243
|
|
1250
1244
|
> def find text
|
1251
1245
|
|
@@ -1261,7 +1255,7 @@ __Returns:__
|
|
1261
1255
|
|
1262
1256
|
--
|
1263
1257
|
|
1264
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1258
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/generic.rb#L83) ios
|
1265
1259
|
|
1266
1260
|
> def finds text
|
1267
1261
|
|
@@ -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/ios/element/generic.rb#L97) ios
|
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/ios/element/generic.rb#L105) ios
|
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/ios/element/generic.rb#L117) ios
|
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/ios/element/generic.rb#L126) ios
|
1331
1325
|
|
1332
1326
|
> def names name
|
1333
1327
|
|
@@ -1345,7 +1339,7 @@ __Returns:__
|
|
1345
1339
|
|
1346
1340
|
--
|
1347
1341
|
|
1348
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1342
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
1349
1343
|
|
1350
1344
|
> def textfields
|
1351
1345
|
|
@@ -1357,7 +1351,7 @@ __Returns:__
|
|
1357
1351
|
|
1358
1352
|
--
|
1359
1353
|
|
1360
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
1361
1355
|
|
1362
1356
|
> def e_textfields
|
1363
1357
|
|
@@ -1369,7 +1363,7 @@ __Returns:__
|
|
1369
1363
|
|
1370
1364
|
--
|
1371
1365
|
|
1372
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1366
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
1373
1367
|
|
1374
1368
|
> def first_textfield
|
1375
1369
|
|
@@ -1381,7 +1375,7 @@ __Returns:__
|
|
1381
1375
|
|
1382
1376
|
--
|
1383
1377
|
|
1384
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1378
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
1385
1379
|
|
1386
1380
|
> def last_textfield
|
1387
1381
|
|
@@ -1393,7 +1387,7 @@ __Returns:__
|
|
1393
1387
|
|
1394
1388
|
--
|
1395
1389
|
|
1396
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1390
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
1397
1391
|
|
1398
1392
|
> def textfield text
|
1399
1393
|
|
@@ -1409,7 +1403,7 @@ __Returns:__
|
|
1409
1403
|
|
1410
1404
|
--
|
1411
1405
|
|
1412
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/09aa23d8c1b769b054c7d0e24ec86cf55d6bc027/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
1413
1407
|
|
1414
1408
|
> def textfield_include 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/ios/element/textfield.rb#L64) ios
|
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
|
|