appium_lib 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/docs/android_docs.md +172 -128
- data/docs/ios_docs.md +160 -130
- data/lib/appium_lib/android/element/generic.rb +3 -1
- data/lib/appium_lib/common/version.rb +1 -1
- data/release_notes.md +20 -0
- metadata +1 -1
data/docs/ios_docs.md
CHANGED
@@ -1,4 +1,34 @@
|
|
1
|
-
##### [
|
1
|
+
##### [load_appium_txt](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L12)
|
2
|
+
|
3
|
+
> def load_appium_txt opts
|
4
|
+
|
5
|
+
Load appium.txt (toml format) into system ENV
|
6
|
+
the basedir of this file + appium.txt is what's used
|
7
|
+
|
8
|
+
__Parameters:__
|
9
|
+
|
10
|
+
[Hash] opts - file: '/path/to/appium.txt', verbose: true
|
11
|
+
|
12
|
+
__Returns:__
|
13
|
+
|
14
|
+
[nil]
|
15
|
+
|
16
|
+
--
|
17
|
+
|
18
|
+
##### [default_wait](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L344)
|
19
|
+
|
20
|
+
> def default_wait
|
21
|
+
|
22
|
+
Returns the default client side wait.
|
23
|
+
This value is independent of what the server is using
|
24
|
+
|
25
|
+
__Returns:__
|
26
|
+
|
27
|
+
[Integer]
|
28
|
+
|
29
|
+
--
|
30
|
+
|
31
|
+
##### [app_path](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
2
32
|
|
3
33
|
> def app_path
|
4
34
|
|
@@ -6,7 +36,7 @@ Returns the value of attribute app_path
|
|
6
36
|
|
7
37
|
--
|
8
38
|
|
9
|
-
##### [app_name](https://github.com/appium/ruby_lib/blob/
|
39
|
+
##### [app_name](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
10
40
|
|
11
41
|
> def app_name
|
12
42
|
|
@@ -14,7 +44,15 @@ Returns the value of attribute app_name
|
|
14
44
|
|
15
45
|
--
|
16
46
|
|
17
|
-
##### [
|
47
|
+
##### [selendroid](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
48
|
+
|
49
|
+
> def selendroid
|
50
|
+
|
51
|
+
Returns the value of attribute selendroid
|
52
|
+
|
53
|
+
--
|
54
|
+
|
55
|
+
##### [app_package](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
18
56
|
|
19
57
|
> def app_package
|
20
58
|
|
@@ -22,7 +60,7 @@ Returns the value of attribute app_package
|
|
22
60
|
|
23
61
|
--
|
24
62
|
|
25
|
-
##### [app_activity](https://github.com/appium/ruby_lib/blob/
|
63
|
+
##### [app_activity](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
26
64
|
|
27
65
|
> def app_activity
|
28
66
|
|
@@ -30,7 +68,7 @@ Returns the value of attribute app_activity
|
|
30
68
|
|
31
69
|
--
|
32
70
|
|
33
|
-
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/
|
71
|
+
##### [app_wait_activity](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
34
72
|
|
35
73
|
> def app_wait_activity
|
36
74
|
|
@@ -38,7 +76,7 @@ Returns the value of attribute app_wait_activity
|
|
38
76
|
|
39
77
|
--
|
40
78
|
|
41
|
-
##### [sauce_username](https://github.com/appium/ruby_lib/blob/
|
79
|
+
##### [sauce_username](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
42
80
|
|
43
81
|
> def sauce_username
|
44
82
|
|
@@ -46,7 +84,7 @@ Returns the value of attribute sauce_username
|
|
46
84
|
|
47
85
|
--
|
48
86
|
|
49
|
-
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/
|
87
|
+
##### [sauce_access_key](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
50
88
|
|
51
89
|
> def sauce_access_key
|
52
90
|
|
@@ -54,7 +92,7 @@ Returns the value of attribute sauce_access_key
|
|
54
92
|
|
55
93
|
--
|
56
94
|
|
57
|
-
##### [port](https://github.com/appium/ruby_lib/blob/
|
95
|
+
##### [port](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
58
96
|
|
59
97
|
> def port
|
60
98
|
|
@@ -62,7 +100,7 @@ Returns the value of attribute port
|
|
62
100
|
|
63
101
|
--
|
64
102
|
|
65
|
-
##### [os](https://github.com/appium/ruby_lib/blob/
|
103
|
+
##### [os](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
66
104
|
|
67
105
|
> def os
|
68
106
|
|
@@ -70,7 +108,7 @@ Returns the value of attribute os
|
|
70
108
|
|
71
109
|
--
|
72
110
|
|
73
|
-
##### [debug](https://github.com/appium/ruby_lib/blob/
|
111
|
+
##### [debug](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L87)
|
74
112
|
|
75
113
|
> def debug
|
76
114
|
|
@@ -78,9 +116,9 @@ Returns the value of attribute debug
|
|
78
116
|
|
79
117
|
--
|
80
118
|
|
81
|
-
##### [initialize](https://github.com/appium/ruby_lib/blob/
|
119
|
+
##### [initialize](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L117)
|
82
120
|
|
83
|
-
> def initialize
|
121
|
+
> def initialize opts={}
|
84
122
|
|
85
123
|
Creates a new driver.
|
86
124
|
|
@@ -109,7 +147,7 @@ Appium::Driver.new(apk).start_driver
|
|
109
147
|
|
110
148
|
__Parameters:__
|
111
149
|
|
112
|
-
[Object]
|
150
|
+
[Object] opts - A hash containing various options.
|
113
151
|
|
114
152
|
__Returns:__
|
115
153
|
|
@@ -117,7 +155,7 @@ __Returns:__
|
|
117
155
|
|
118
156
|
--
|
119
157
|
|
120
|
-
##### [status](https://github.com/appium/ruby_lib/blob/
|
158
|
+
##### [status](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L204)
|
121
159
|
|
122
160
|
> def status
|
123
161
|
|
@@ -125,7 +163,7 @@ Returns the status payload
|
|
125
163
|
|
126
164
|
--
|
127
165
|
|
128
|
-
##### [server_version](https://github.com/appium/ruby_lib/blob/
|
166
|
+
##### [server_version](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L210)
|
129
167
|
|
130
168
|
> def server_version
|
131
169
|
|
@@ -137,7 +175,7 @@ __Returns:__
|
|
137
175
|
|
138
176
|
--
|
139
177
|
|
140
|
-
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/
|
178
|
+
##### [absolute_app_path](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L251)
|
141
179
|
|
142
180
|
> def absolute_app_path
|
143
181
|
|
@@ -149,7 +187,7 @@ __Returns:__
|
|
149
187
|
|
150
188
|
--
|
151
189
|
|
152
|
-
##### [server_url](https://github.com/appium/ruby_lib/blob/
|
190
|
+
##### [server_url](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L265)
|
153
191
|
|
154
192
|
> def server_url
|
155
193
|
|
@@ -161,7 +199,7 @@ __Returns:__
|
|
161
199
|
|
162
200
|
--
|
163
201
|
|
164
|
-
##### [restart](https://github.com/appium/ruby_lib/blob/
|
202
|
+
##### [restart](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L275)
|
165
203
|
|
166
204
|
> def restart
|
167
205
|
|
@@ -173,7 +211,7 @@ __Returns:__
|
|
173
211
|
|
174
212
|
--
|
175
213
|
|
176
|
-
##### [driver](https://github.com/appium/ruby_lib/blob/
|
214
|
+
##### [driver](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L282)
|
177
215
|
|
178
216
|
> def driver
|
179
217
|
|
@@ -185,12 +223,14 @@ __Returns:__
|
|
185
223
|
|
186
224
|
--
|
187
225
|
|
188
|
-
##### [screenshot](https://github.com/appium/ruby_lib/blob/
|
226
|
+
##### [screenshot](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L292)
|
189
227
|
|
190
228
|
> def screenshot png_save_path
|
191
229
|
|
192
230
|
Takes a png screenshot and saves to the target path.
|
193
231
|
|
232
|
+
Example: screenshot '/tmp/hi.png'
|
233
|
+
|
194
234
|
__Parameters:__
|
195
235
|
|
196
236
|
[String] png_save_path - the full path to save the png
|
@@ -201,7 +241,7 @@ __Returns:__
|
|
201
241
|
|
202
242
|
--
|
203
243
|
|
204
|
-
##### [driver_quit](https://github.com/appium/ruby_lib/blob/
|
244
|
+
##### [driver_quit](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L298)
|
205
245
|
|
206
246
|
> def driver_quit
|
207
247
|
|
@@ -213,23 +253,19 @@ __Returns:__
|
|
213
253
|
|
214
254
|
--
|
215
255
|
|
216
|
-
##### [start_driver](https://github.com/appium/ruby_lib/blob/
|
256
|
+
##### [start_driver](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L306)
|
217
257
|
|
218
|
-
> def start_driver
|
258
|
+
> def start_driver
|
219
259
|
|
220
260
|
Creates a new global driver and quits the old one if it exists.
|
221
261
|
|
222
|
-
__Parameters:__
|
223
|
-
|
224
|
-
[Integer] wait - seconds to wait before timing out a command. defaults to 30 seconds
|
225
|
-
|
226
262
|
__Returns:__
|
227
263
|
|
228
264
|
[Selenium::WebDriver] the new global driver
|
229
265
|
|
230
266
|
--
|
231
267
|
|
232
|
-
##### [no_wait](https://github.com/appium/ruby_lib/blob/
|
268
|
+
##### [no_wait](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L330)
|
233
269
|
|
234
270
|
> def no_wait
|
235
271
|
|
@@ -237,7 +273,7 @@ Set implicit wait to zero.
|
|
237
273
|
|
238
274
|
--
|
239
275
|
|
240
|
-
##### [set_wait](https://github.com/appium/ruby_lib/blob/
|
276
|
+
##### [set_wait](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L337)
|
241
277
|
|
242
278
|
> def set_wait timeout=@default_wait
|
243
279
|
|
@@ -253,22 +289,9 @@ __Returns:__
|
|
253
289
|
|
254
290
|
--
|
255
291
|
|
256
|
-
##### [
|
257
|
-
|
258
|
-
> def default_wait
|
259
|
-
|
260
|
-
Returns the default client side wait.
|
261
|
-
This value is independent of what the server is using
|
292
|
+
##### [exists](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L360)
|
262
293
|
|
263
|
-
|
264
|
-
|
265
|
-
[Integer]
|
266
|
-
|
267
|
-
--
|
268
|
-
|
269
|
-
##### [exists](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/driver.rb#L306)
|
270
|
-
|
271
|
-
> def exists &search_block
|
294
|
+
> def exists pre_check=0, post_check=@default_wait, &search_block
|
272
295
|
|
273
296
|
Returns existence of element.
|
274
297
|
|
@@ -278,6 +301,12 @@ exists { button('sign in') } ? puts('true') : puts('false')
|
|
278
301
|
|
279
302
|
__Parameters:__
|
280
303
|
|
304
|
+
[Integer] pre_check - the amount in seconds to set the
|
305
|
+
wait to before checking existance
|
306
|
+
|
307
|
+
[Integer] post_check - the amount in seconds to set the
|
308
|
+
wait to after checking existance
|
309
|
+
|
281
310
|
[Block] search_block - the block to call
|
282
311
|
|
283
312
|
__Returns:__
|
@@ -286,7 +315,7 @@ __Returns:__
|
|
286
315
|
|
287
316
|
--
|
288
317
|
|
289
|
-
##### [execute_script](https://github.com/appium/ruby_lib/blob/
|
318
|
+
##### [execute_script](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L382)
|
290
319
|
|
291
320
|
> def execute_script script, *args
|
292
321
|
|
@@ -304,7 +333,7 @@ __Returns:__
|
|
304
333
|
|
305
334
|
--
|
306
335
|
|
307
|
-
##### [mobile](https://github.com/appium/ruby_lib/blob/
|
336
|
+
##### [mobile](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L398)
|
308
337
|
|
309
338
|
> def mobile method, *args
|
310
339
|
|
@@ -330,7 +359,7 @@ __Returns:__
|
|
330
359
|
|
331
360
|
--
|
332
361
|
|
333
|
-
##### [find_elements](https://github.com/appium/ruby_lib/blob/
|
362
|
+
##### [find_elements](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L409)
|
334
363
|
|
335
364
|
> def find_elements *args
|
336
365
|
|
@@ -346,7 +375,7 @@ __Returns:__
|
|
346
375
|
|
347
376
|
--
|
348
377
|
|
349
|
-
##### [find_element](https://github.com/appium/ruby_lib/blob/
|
378
|
+
##### [find_element](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L417)
|
350
379
|
|
351
380
|
> def find_element *args
|
352
381
|
|
@@ -362,7 +391,7 @@ __Returns:__
|
|
362
391
|
|
363
392
|
--
|
364
393
|
|
365
|
-
##### [x](https://github.com/appium/ruby_lib/blob/
|
394
|
+
##### [x](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/driver.rb#L424)
|
366
395
|
|
367
396
|
> def x
|
368
397
|
|
@@ -375,7 +404,7 @@ __Returns:__
|
|
375
404
|
|
376
405
|
--
|
377
406
|
|
378
|
-
##### [wait](https://github.com/appium/ruby_lib/blob/
|
407
|
+
##### [wait](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L33)
|
379
408
|
|
380
409
|
> def wait max_wait=30, interval=0.5, &block
|
381
410
|
|
@@ -389,7 +418,8 @@ Give up after 30 seconds.
|
|
389
418
|
|
390
419
|
__Parameters:__
|
391
420
|
|
392
|
-
[Integer] max_wait - the maximum time in seconds to wait for
|
421
|
+
[Integer] max_wait - the maximum time in seconds to wait for.
|
422
|
+
Note that max wait 0 means infinity.
|
393
423
|
|
394
424
|
[Float] interval - the time in seconds to wait after calling the block
|
395
425
|
|
@@ -401,7 +431,7 @@ __Returns:__
|
|
401
431
|
|
402
432
|
--
|
403
433
|
|
404
|
-
##### [wait_true](https://github.com/appium/ruby_lib/blob/
|
434
|
+
##### [wait_true](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L50)
|
405
435
|
|
406
436
|
> def wait_true max_wait=30, interval=0.5, &block
|
407
437
|
|
@@ -422,7 +452,7 @@ __Returns:__
|
|
422
452
|
|
423
453
|
--
|
424
454
|
|
425
|
-
##### [id](https://github.com/appium/ruby_lib/blob/
|
455
|
+
##### [id](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L64)
|
426
456
|
|
427
457
|
> def id id
|
428
458
|
|
@@ -438,7 +468,7 @@ __Returns:__
|
|
438
468
|
|
439
469
|
--
|
440
470
|
|
441
|
-
##### [back](https://github.com/appium/ruby_lib/blob/
|
471
|
+
##### [back](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L70)
|
442
472
|
|
443
473
|
> def back
|
444
474
|
|
@@ -450,7 +480,7 @@ __Returns:__
|
|
450
480
|
|
451
481
|
--
|
452
482
|
|
453
|
-
##### [session_id](https://github.com/appium/ruby_lib/blob/
|
483
|
+
##### [session_id](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L75)
|
454
484
|
|
455
485
|
> def session_id
|
456
486
|
|
@@ -458,7 +488,7 @@ For Sauce Labs reporting. Returns the current session id.
|
|
458
488
|
|
459
489
|
--
|
460
490
|
|
461
|
-
##### [xpath](https://github.com/appium/ruby_lib/blob/
|
491
|
+
##### [xpath](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L83)
|
462
492
|
|
463
493
|
> def xpath xpath_str
|
464
494
|
|
@@ -474,7 +504,7 @@ __Returns:__
|
|
474
504
|
|
475
505
|
--
|
476
506
|
|
477
|
-
##### [xpaths](https://github.com/appium/ruby_lib/blob/
|
507
|
+
##### [xpaths](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L91)
|
478
508
|
|
479
509
|
> def xpaths xpath_str
|
480
510
|
|
@@ -490,7 +520,7 @@ __Returns:__
|
|
490
520
|
|
491
521
|
--
|
492
522
|
|
493
|
-
##### [ele_index](https://github.com/appium/ruby_lib/blob/
|
523
|
+
##### [ele_index](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L99)
|
494
524
|
|
495
525
|
> def ele_index tag_name, index
|
496
526
|
|
@@ -508,7 +538,7 @@ __Returns:__
|
|
508
538
|
|
509
539
|
--
|
510
540
|
|
511
|
-
##### [find_eles](https://github.com/appium/ruby_lib/blob/
|
541
|
+
##### [find_eles](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L107)
|
512
542
|
|
513
543
|
> def find_eles tag_name
|
514
544
|
|
@@ -524,7 +554,7 @@ __Returns:__
|
|
524
554
|
|
525
555
|
--
|
526
556
|
|
527
|
-
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/
|
557
|
+
##### [find_ele_by_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L115)
|
528
558
|
|
529
559
|
> def find_ele_by_text tag, text
|
530
560
|
|
@@ -542,7 +572,7 @@ __Returns:__
|
|
542
572
|
|
543
573
|
--
|
544
574
|
|
545
|
-
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/
|
575
|
+
##### [find_eles_by_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L123)
|
546
576
|
|
547
577
|
> def find_eles_by_text tag, text
|
548
578
|
|
@@ -560,7 +590,7 @@ __Returns:__
|
|
560
590
|
|
561
591
|
--
|
562
592
|
|
563
|
-
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
593
|
+
##### [find_ele_by_attr_include](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L132)
|
564
594
|
|
565
595
|
> def find_ele_by_attr_include tag, attr, value
|
566
596
|
|
@@ -580,7 +610,7 @@ __Returns:__
|
|
580
610
|
|
581
611
|
--
|
582
612
|
|
583
|
-
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/
|
613
|
+
##### [find_eles_by_attr_include](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L141)
|
584
614
|
|
585
615
|
> def find_eles_by_attr_include tag, attr, value
|
586
616
|
|
@@ -600,7 +630,7 @@ __Returns:__
|
|
600
630
|
|
601
631
|
--
|
602
632
|
|
603
|
-
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/
|
633
|
+
##### [find_ele_by_text_include](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L150)
|
604
634
|
|
605
635
|
> def find_ele_by_text_include tag, text
|
606
636
|
|
@@ -619,7 +649,7 @@ __Returns:__
|
|
619
649
|
|
620
650
|
--
|
621
651
|
|
622
|
-
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/
|
652
|
+
##### [find_eles_by_text_include](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L159)
|
623
653
|
|
624
654
|
> def find_eles_by_text_include tag, text
|
625
655
|
|
@@ -638,7 +668,7 @@ __Returns:__
|
|
638
668
|
|
639
669
|
--
|
640
670
|
|
641
|
-
##### [first_ele](https://github.com/appium/ruby_lib/blob/
|
671
|
+
##### [first_ele](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L166)
|
642
672
|
|
643
673
|
> def first_ele tag_name
|
644
674
|
|
@@ -654,7 +684,7 @@ __Returns:__
|
|
654
684
|
|
655
685
|
--
|
656
686
|
|
657
|
-
##### [last_ele](https://github.com/appium/ruby_lib/blob/
|
687
|
+
##### [last_ele](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L174)
|
658
688
|
|
659
689
|
> def last_ele tag_name
|
660
690
|
|
@@ -670,7 +700,7 @@ __Returns:__
|
|
670
700
|
|
671
701
|
--
|
672
702
|
|
673
|
-
##### [source](https://github.com/appium/ruby_lib/blob/
|
703
|
+
##### [source](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L180)
|
674
704
|
|
675
705
|
> def source
|
676
706
|
|
@@ -682,7 +712,7 @@ __Returns:__
|
|
682
712
|
|
683
713
|
--
|
684
714
|
|
685
|
-
##### [get_source](https://github.com/appium/ruby_lib/blob/
|
715
|
+
##### [get_source](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L186)
|
686
716
|
|
687
717
|
> def get_source
|
688
718
|
|
@@ -694,15 +724,15 @@ __Returns:__
|
|
694
724
|
|
695
725
|
--
|
696
726
|
|
697
|
-
##### [find_name](https://github.com/appium/ruby_lib/blob/
|
727
|
+
##### [find_name](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L195)
|
698
728
|
|
699
729
|
> def find_name name
|
700
730
|
|
701
|
-
Returns the first element that matches name
|
731
|
+
Returns the first element that exactly matches name
|
702
732
|
|
703
733
|
__Parameters:__
|
704
734
|
|
705
|
-
[String] name - the name to match
|
735
|
+
[String] name - the name to exactly match
|
706
736
|
|
707
737
|
__Returns:__
|
708
738
|
|
@@ -710,15 +740,15 @@ __Returns:__
|
|
710
740
|
|
711
741
|
--
|
712
742
|
|
713
|
-
##### [find_names](https://github.com/appium/ruby_lib/blob/
|
743
|
+
##### [find_names](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/helper.rb#L203)
|
714
744
|
|
715
745
|
> def find_names name
|
716
746
|
|
717
|
-
Returns all elements that match name
|
747
|
+
Returns all elements that exactly match name
|
718
748
|
|
719
749
|
__Parameters:__
|
720
750
|
|
721
|
-
[String] name - the name to match
|
751
|
+
[String] name - the name to exactly match
|
722
752
|
|
723
753
|
__Returns:__
|
724
754
|
|
@@ -726,7 +756,7 @@ __Returns:__
|
|
726
756
|
|
727
757
|
--
|
728
758
|
|
729
|
-
##### [s_texts](https://github.com/appium/ruby_lib/blob/
|
759
|
+
##### [s_texts](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/text.rb#L8)
|
730
760
|
|
731
761
|
> def s_texts
|
732
762
|
|
@@ -738,7 +768,7 @@ __Returns:__
|
|
738
768
|
|
739
769
|
--
|
740
770
|
|
741
|
-
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/
|
771
|
+
##### [e_s_texts](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/text.rb#L14)
|
742
772
|
|
743
773
|
> def e_s_texts
|
744
774
|
|
@@ -750,9 +780,9 @@ __Returns:__
|
|
750
780
|
|
751
781
|
--
|
752
782
|
|
753
|
-
##### [
|
783
|
+
##### [first_s_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/text.rb#L20)
|
754
784
|
|
755
|
-
> def
|
785
|
+
> def first_s_text
|
756
786
|
|
757
787
|
Get the first text element.
|
758
788
|
|
@@ -762,9 +792,9 @@ __Returns:__
|
|
762
792
|
|
763
793
|
--
|
764
794
|
|
765
|
-
##### [
|
795
|
+
##### [last_s_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/text.rb#L26)
|
766
796
|
|
767
|
-
> def
|
797
|
+
> def last_s_text
|
768
798
|
|
769
799
|
Get the last text element
|
770
800
|
|
@@ -774,7 +804,7 @@ __Returns:__
|
|
774
804
|
|
775
805
|
--
|
776
806
|
|
777
|
-
##### [s_text](https://github.com/appium/ruby_lib/blob/
|
807
|
+
##### [s_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/text.rb#L33)
|
778
808
|
|
779
809
|
> def s_text text
|
780
810
|
|
@@ -790,7 +820,7 @@ __Returns:__
|
|
790
820
|
|
791
821
|
--
|
792
822
|
|
793
|
-
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/
|
823
|
+
##### [s_text_exact](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/text.rb#L41)
|
794
824
|
|
795
825
|
> def s_text_exact text
|
796
826
|
|
@@ -806,7 +836,15 @@ __Returns:__
|
|
806
836
|
|
807
837
|
--
|
808
838
|
|
809
|
-
##### [
|
839
|
+
##### [window_size](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/window.rb#L5)
|
840
|
+
|
841
|
+
> def window_size
|
842
|
+
|
843
|
+
Get the window's size
|
844
|
+
|
845
|
+
--
|
846
|
+
|
847
|
+
##### [button](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L8)
|
810
848
|
|
811
849
|
> def button text, number=0
|
812
850
|
|
@@ -824,7 +862,7 @@ __Returns:__
|
|
824
862
|
|
825
863
|
--
|
826
864
|
|
827
|
-
##### [buttons](https://github.com/appium/ruby_lib/blob/
|
865
|
+
##### [buttons](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L19)
|
828
866
|
|
829
867
|
> def buttons text=nil
|
830
868
|
|
@@ -840,7 +878,7 @@ __Returns:__
|
|
840
878
|
|
841
879
|
--
|
842
880
|
|
843
|
-
##### [first_button](https://github.com/appium/ruby_lib/blob/
|
881
|
+
##### [first_button](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L26)
|
844
882
|
|
845
883
|
> def first_button
|
846
884
|
|
@@ -852,7 +890,7 @@ __Returns:__
|
|
852
890
|
|
853
891
|
--
|
854
892
|
|
855
|
-
##### [last_button](https://github.com/appium/ruby_lib/blob/
|
893
|
+
##### [last_button](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L32)
|
856
894
|
|
857
895
|
> def last_button
|
858
896
|
|
@@ -864,7 +902,7 @@ __Returns:__
|
|
864
902
|
|
865
903
|
--
|
866
904
|
|
867
|
-
##### [button_exact](https://github.com/appium/ruby_lib/blob/
|
905
|
+
##### [button_exact](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L39)
|
868
906
|
|
869
907
|
> def button_exact text
|
870
908
|
|
@@ -880,7 +918,7 @@ __Returns:__
|
|
880
918
|
|
881
919
|
--
|
882
920
|
|
883
|
-
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/
|
921
|
+
##### [buttons_exact](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L46)
|
884
922
|
|
885
923
|
> def buttons_exact text
|
886
924
|
|
@@ -896,7 +934,7 @@ __Returns:__
|
|
896
934
|
|
897
935
|
--
|
898
936
|
|
899
|
-
##### [e_buttons](https://github.com/appium/ruby_lib/blob/
|
937
|
+
##### [e_buttons](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L52)
|
900
938
|
|
901
939
|
> def e_buttons
|
902
940
|
|
@@ -908,7 +946,7 @@ __Returns:__
|
|
908
946
|
|
909
947
|
--
|
910
948
|
|
911
|
-
##### [button_num](https://github.com/appium/ruby_lib/blob/
|
949
|
+
##### [button_num](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/element/button.rb#L72)
|
912
950
|
|
913
951
|
> def button_num text, number=1
|
914
952
|
|
@@ -937,15 +975,7 @@ __Returns:__
|
|
937
975
|
|
938
976
|
--
|
939
977
|
|
940
|
-
##### [
|
941
|
-
|
942
|
-
> def window_size
|
943
|
-
|
944
|
-
Get the window's size
|
945
|
-
|
946
|
-
--
|
947
|
-
|
948
|
-
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/849594bdd87bf6133cbb64c43d0a02f427f17467/lib/appium_lib/ios/helper.rb#L8) ios
|
978
|
+
##### [find_eles_attr](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L8) ios
|
949
979
|
|
950
980
|
> def find_eles_attr tag_name, attribute
|
951
981
|
|
@@ -964,7 +994,7 @@ __Returns:__
|
|
964
994
|
|
965
995
|
--
|
966
996
|
|
967
|
-
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/
|
997
|
+
##### [find_2_eles_attr](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L29) ios
|
968
998
|
|
969
999
|
> def find_2_eles_attr tag_name_1, tag_name_2, attribute
|
970
1000
|
|
@@ -985,7 +1015,7 @@ __Returns:__
|
|
985
1015
|
|
986
1016
|
--
|
987
1017
|
|
988
|
-
##### [password](https://github.com/appium/ruby_lib/blob/
|
1018
|
+
##### [password](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L50) ios
|
989
1019
|
|
990
1020
|
> def password length=1
|
991
1021
|
|
@@ -1003,7 +1033,7 @@ __Returns:__
|
|
1003
1033
|
|
1004
1034
|
--
|
1005
1035
|
|
1006
|
-
##### [get_page](https://github.com/appium/ruby_lib/blob/
|
1036
|
+
##### [get_page](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L58) ios
|
1007
1037
|
|
1008
1038
|
> def get_page element=get_source
|
1009
1039
|
|
@@ -1019,7 +1049,7 @@ __Returns:__
|
|
1019
1049
|
|
1020
1050
|
--
|
1021
1051
|
|
1022
|
-
##### [page](https://github.com/appium/ruby_lib/blob/
|
1052
|
+
##### [page](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L103) ios
|
1023
1053
|
|
1024
1054
|
> def page
|
1025
1055
|
|
@@ -1031,7 +1061,7 @@ __Returns:__
|
|
1031
1061
|
|
1032
1062
|
--
|
1033
1063
|
|
1034
|
-
##### [source_window](https://github.com/appium/ruby_lib/blob/
|
1064
|
+
##### [source_window](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L111) ios
|
1035
1065
|
|
1036
1066
|
> def source_window window_number=0
|
1037
1067
|
|
@@ -1047,7 +1077,7 @@ __Returns:__
|
|
1047
1077
|
|
1048
1078
|
--
|
1049
1079
|
|
1050
|
-
##### [page_window](https://github.com/appium/ruby_lib/blob/
|
1080
|
+
##### [page_window](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L118) ios
|
1051
1081
|
|
1052
1082
|
> def page_window window_number=0
|
1053
1083
|
|
@@ -1060,7 +1090,7 @@ __Parameters:__
|
|
1060
1090
|
|
1061
1091
|
--
|
1062
1092
|
|
1063
|
-
##### [fast_duration](https://github.com/appium/ruby_lib/blob/
|
1093
|
+
##### [fast_duration](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/helper.rb#L125) ios
|
1064
1094
|
|
1065
1095
|
> def fast_duration
|
1066
1096
|
|
@@ -1072,7 +1102,7 @@ __Returns:__
|
|
1072
1102
|
|
1073
1103
|
--
|
1074
1104
|
|
1075
|
-
##### [alert_click](https://github.com/appium/ruby_lib/blob/
|
1105
|
+
##### [alert_click](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/alert.rb#L14) ios
|
1076
1106
|
|
1077
1107
|
> def alert_click value
|
1078
1108
|
|
@@ -1095,7 +1125,7 @@ __Returns:__
|
|
1095
1125
|
|
1096
1126
|
--
|
1097
1127
|
|
1098
|
-
##### [alert_text](https://github.com/appium/ruby_lib/blob/
|
1128
|
+
##### [alert_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/alert.rb#L21) ios
|
1099
1129
|
|
1100
1130
|
> def alert_text
|
1101
1131
|
|
@@ -1107,7 +1137,7 @@ __Returns:__
|
|
1107
1137
|
|
1108
1138
|
--
|
1109
1139
|
|
1110
|
-
##### [alert_accept](https://github.com/appium/ruby_lib/blob/
|
1140
|
+
##### [alert_accept](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/alert.rb#L27) ios
|
1111
1141
|
|
1112
1142
|
> def alert_accept
|
1113
1143
|
|
@@ -1119,7 +1149,7 @@ __Returns:__
|
|
1119
1149
|
|
1120
1150
|
--
|
1121
1151
|
|
1122
|
-
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/
|
1152
|
+
##### [alert_accept_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/alert.rb#L34) ios
|
1123
1153
|
|
1124
1154
|
> def alert_accept_text
|
1125
1155
|
|
@@ -1132,7 +1162,7 @@ __Returns:__
|
|
1132
1162
|
|
1133
1163
|
--
|
1134
1164
|
|
1135
|
-
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/
|
1165
|
+
##### [alert_dismiss](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/alert.rb#L43) ios
|
1136
1166
|
|
1137
1167
|
> def alert_dismiss
|
1138
1168
|
|
@@ -1144,7 +1174,7 @@ __Returns:__
|
|
1144
1174
|
|
1145
1175
|
--
|
1146
1176
|
|
1147
|
-
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/
|
1177
|
+
##### [alert_dismiss_text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/alert.rb#L50) ios
|
1148
1178
|
|
1149
1179
|
> def alert_dismiss_text
|
1150
1180
|
|
@@ -1157,7 +1187,7 @@ __Returns:__
|
|
1157
1187
|
|
1158
1188
|
--
|
1159
1189
|
|
1160
|
-
##### [find](https://github.com/appium/ruby_lib/blob/
|
1190
|
+
##### [find](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/generic.rb#L61) ios
|
1161
1191
|
|
1162
1192
|
> def find text
|
1163
1193
|
|
@@ -1173,7 +1203,7 @@ __Returns:__
|
|
1173
1203
|
|
1174
1204
|
--
|
1175
1205
|
|
1176
|
-
##### [finds](https://github.com/appium/ruby_lib/blob/
|
1206
|
+
##### [finds](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/generic.rb#L69) ios
|
1177
1207
|
|
1178
1208
|
> def finds text
|
1179
1209
|
|
@@ -1189,7 +1219,7 @@ __Returns:__
|
|
1189
1219
|
|
1190
1220
|
--
|
1191
1221
|
|
1192
|
-
##### [text](https://github.com/appium/ruby_lib/blob/
|
1222
|
+
##### [text](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/generic.rb#L79) ios
|
1193
1223
|
|
1194
1224
|
> def text text
|
1195
1225
|
|
@@ -1205,7 +1235,7 @@ __Returns:__
|
|
1205
1235
|
|
1206
1236
|
--
|
1207
1237
|
|
1208
|
-
##### [texts](https://github.com/appium/ruby_lib/blob/
|
1238
|
+
##### [texts](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/generic.rb#L87) ios
|
1209
1239
|
|
1210
1240
|
> def texts text
|
1211
1241
|
|
@@ -1221,7 +1251,7 @@ __Returns:__
|
|
1221
1251
|
|
1222
1252
|
--
|
1223
1253
|
|
1224
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1254
|
+
##### [name](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/generic.rb#L99) ios
|
1225
1255
|
|
1226
1256
|
> def name name
|
1227
1257
|
|
@@ -1239,7 +1269,7 @@ __Returns:__
|
|
1239
1269
|
|
1240
1270
|
--
|
1241
1271
|
|
1242
|
-
##### [names](https://github.com/appium/ruby_lib/blob/
|
1272
|
+
##### [names](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/generic.rb#L108) ios
|
1243
1273
|
|
1244
1274
|
> def names name
|
1245
1275
|
|
@@ -1257,7 +1287,7 @@ __Returns:__
|
|
1257
1287
|
|
1258
1288
|
--
|
1259
1289
|
|
1260
|
-
##### [textfields](https://github.com/appium/ruby_lib/blob/
|
1290
|
+
##### [textfields](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/textfield.rb#L10) ios
|
1261
1291
|
|
1262
1292
|
> def textfields
|
1263
1293
|
|
@@ -1269,7 +1299,7 @@ __Returns:__
|
|
1269
1299
|
|
1270
1300
|
--
|
1271
1301
|
|
1272
|
-
##### [e_textfields](https://github.com/appium/ruby_lib/blob/
|
1302
|
+
##### [e_textfields](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/textfield.rb#L16) ios
|
1273
1303
|
|
1274
1304
|
> def e_textfields
|
1275
1305
|
|
@@ -1281,7 +1311,7 @@ __Returns:__
|
|
1281
1311
|
|
1282
1312
|
--
|
1283
1313
|
|
1284
|
-
##### [first_textfield](https://github.com/appium/ruby_lib/blob/
|
1314
|
+
##### [first_textfield](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/textfield.rb#L22) ios
|
1285
1315
|
|
1286
1316
|
> def first_textfield
|
1287
1317
|
|
@@ -1293,7 +1323,7 @@ __Returns:__
|
|
1293
1323
|
|
1294
1324
|
--
|
1295
1325
|
|
1296
|
-
##### [last_textfield](https://github.com/appium/ruby_lib/blob/
|
1326
|
+
##### [last_textfield](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/textfield.rb#L29) ios
|
1297
1327
|
|
1298
1328
|
> def last_textfield
|
1299
1329
|
|
@@ -1305,7 +1335,7 @@ __Returns:__
|
|
1305
1335
|
|
1306
1336
|
--
|
1307
1337
|
|
1308
|
-
##### [textfield](https://github.com/appium/ruby_lib/blob/
|
1338
|
+
##### [textfield](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/textfield.rb#L37) ios
|
1309
1339
|
|
1310
1340
|
> def textfield text
|
1311
1341
|
|
@@ -1321,7 +1351,7 @@ __Returns:__
|
|
1321
1351
|
|
1322
1352
|
--
|
1323
1353
|
|
1324
|
-
##### [textfield_include](https://github.com/appium/ruby_lib/blob/
|
1354
|
+
##### [textfield_include](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/textfield.rb#L51) ios
|
1325
1355
|
|
1326
1356
|
> def textfield_include text
|
1327
1357
|
|
@@ -1337,7 +1367,7 @@ __Returns:__
|
|
1337
1367
|
|
1338
1368
|
--
|
1339
1369
|
|
1340
|
-
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/
|
1370
|
+
##### [textfield_exact](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/ios/element/textfield.rb#L64) ios
|
1341
1371
|
|
1342
1372
|
> def textfield_exact text
|
1343
1373
|
|
@@ -1353,7 +1383,7 @@ __Returns:__
|
|
1353
1383
|
|
1354
1384
|
--
|
1355
1385
|
|
1356
|
-
##### [value](https://github.com/appium/ruby_lib/blob/
|
1386
|
+
##### [value](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/patch.rb#L32)
|
1357
1387
|
|
1358
1388
|
> def value
|
1359
1389
|
|
@@ -1363,7 +1393,7 @@ Fixes NoMethodError: undefined method `value' for Selenium::WebDriver::Element
|
|
1363
1393
|
|
1364
1394
|
--
|
1365
1395
|
|
1366
|
-
##### [name](https://github.com/appium/ruby_lib/blob/
|
1396
|
+
##### [name](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/patch.rb#L39)
|
1367
1397
|
|
1368
1398
|
> def name
|
1369
1399
|
|
@@ -1373,7 +1403,7 @@ Fixes NoMethodError: undefined method `name' for Selenium::WebDriver::Element
|
|
1373
1403
|
|
1374
1404
|
--
|
1375
1405
|
|
1376
|
-
##### [tag_name](https://github.com/appium/ruby_lib/blob/
|
1406
|
+
##### [tag_name](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/patch.rb#L46)
|
1377
1407
|
|
1378
1408
|
> def tag_name
|
1379
1409
|
|
@@ -1383,7 +1413,7 @@ Fixes Selenium::WebDriver::Error::UnknownError: Not yet implemented
|
|
1383
1413
|
|
1384
1414
|
--
|
1385
1415
|
|
1386
|
-
##### [location_rel](https://github.com/appium/ruby_lib/blob/
|
1416
|
+
##### [location_rel](https://github.com/appium/ruby_lib/blob/de58f7164230d7551df8462d65d0e43a3d0cfdab/lib/appium_lib/common/patch.rb#L58)
|
1387
1417
|
|
1388
1418
|
> def location_rel
|
1389
1419
|
|