page-object 2.2.6 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.coveralls.yml +1 -1
- data/.gitignore +8 -8
- data/.rspec +2 -2
- data/.ruby-gemset +1 -1
- data/.ruby-version +1 -1
- data/.travis.yml +17 -17
- data/ChangeLog +923 -916
- data/Gemfile +13 -13
- data/Guardfile +20 -20
- data/LICENSE +20 -20
- data/README.md +114 -114
- data/Rakefile +29 -29
- data/cucumber.yml +8 -8
- data/lib/page-object.rb +431 -420
- data/lib/page-object/accessors.rb +1201 -1175
- data/lib/page-object/element_locators.rb +21 -21
- data/lib/page-object/elements.rb +62 -61
- data/lib/page-object/elements/area.rb +9 -9
- data/lib/page-object/elements/audio.rb +9 -9
- data/lib/page-object/elements/bold.rb +9 -9
- data/lib/page-object/elements/button.rb +12 -12
- data/lib/page-object/elements/canvas.rb +10 -10
- data/lib/page-object/elements/check_box.rb +9 -9
- data/lib/page-object/elements/date_field.rb +10 -0
- data/lib/page-object/elements/div.rb +9 -9
- data/lib/page-object/elements/element.rb +212 -209
- data/lib/page-object/elements/file_field.rb +9 -9
- data/lib/page-object/elements/form.rb +9 -9
- data/lib/page-object/elements/heading.rb +14 -14
- data/lib/page-object/elements/hidden_field.rb +9 -9
- data/lib/page-object/elements/image.rb +10 -10
- data/lib/page-object/elements/italic.rb +9 -9
- data/lib/page-object/elements/label.rb +9 -9
- data/lib/page-object/elements/link.rb +9 -9
- data/lib/page-object/elements/list_item.rb +9 -9
- data/lib/page-object/elements/media.rb +11 -11
- data/lib/page-object/elements/option.rb +9 -9
- data/lib/page-object/elements/ordered_list.rb +43 -43
- data/lib/page-object/elements/paragraph.rb +9 -9
- data/lib/page-object/elements/radio_button.rb +9 -9
- data/lib/page-object/elements/select_list.rb +42 -42
- data/lib/page-object/elements/span.rb +9 -9
- data/lib/page-object/elements/table.rb +85 -85
- data/lib/page-object/elements/table_cell.rb +10 -10
- data/lib/page-object/elements/table_row.rb +52 -52
- data/lib/page-object/elements/text_area.rb +9 -9
- data/lib/page-object/elements/text_field.rb +10 -10
- data/lib/page-object/elements/unordered_list.rb +42 -42
- data/lib/page-object/elements/video.rb +9 -9
- data/lib/page-object/indexed_properties.rb +41 -41
- data/lib/page-object/javascript/angularjs.rb +14 -14
- data/lib/page-object/javascript/jquery.rb +14 -14
- data/lib/page-object/javascript/prototype.rb +14 -14
- data/lib/page-object/javascript/yui.rb +18 -18
- data/lib/page-object/javascript_framework_facade.rb +80 -80
- data/lib/page-object/locator_generator.rb +183 -182
- data/lib/page-object/nested_elements.rb +17 -17
- data/lib/page-object/page_factory.rb +108 -108
- data/lib/page-object/page_populator.rb +105 -105
- data/lib/page-object/platforms/watir.rb +50 -50
- data/lib/page-object/platforms/watir/page_object.rb +1155 -1124
- data/lib/page-object/section_collection.rb +16 -16
- data/lib/page-object/version.rb +4 -4
- data/lib/page-object/widgets.rb +98 -98
- data/page-object.gemspec +32 -32
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f76e44f7a82acac2a72297388f1c70e1da12c37bcfbe955f21b2e1a63b33dea7
|
4
|
+
data.tar.gz: f49ccf2b6d605aabd9d26b5cd15e7c8c20d4194dbb4b224b17508ae589ba4151
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5d9db2c0271954d01e3cd1a7190afa4452c253abd7ed147888325525c781526d84fbc39b997c608953300bd887d8a31975ff484850aba7ad404c8228abab3fc
|
7
|
+
data.tar.gz: 922475ff72bf61471db833f5dd657b55310ad616d71db0bcb07c224469b388ac13d960ec964adbb41f235041646a11ce394e12b8e4b080e3456a9ed6fb620580
|
data/.coveralls.yml
CHANGED
@@ -1 +1 @@
|
|
1
|
-
service_name: travis-ci
|
1
|
+
service_name: travis-ci
|
data/.gitignore
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
Gemfile.lock
|
2
|
-
.bundle
|
3
|
-
*.swp
|
4
|
-
.idea/
|
5
|
-
pkg
|
6
|
-
TAGS
|
7
|
-
chromedriver.log
|
8
|
-
coverage
|
1
|
+
Gemfile.lock
|
2
|
+
.bundle
|
3
|
+
*.swp
|
4
|
+
.idea/
|
5
|
+
pkg
|
6
|
+
TAGS
|
7
|
+
chromedriver.log
|
8
|
+
coverage
|
data/.rspec
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
--color
|
2
|
-
--format documentation
|
1
|
+
--color
|
2
|
+
--format documentation
|
data/.ruby-gemset
CHANGED
@@ -1 +1 @@
|
|
1
|
-
page-object
|
1
|
+
page-object
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-2.4.
|
1
|
+
ruby-2.4.6
|
data/.travis.yml
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
sudo: required
|
2
|
-
dist: trusty
|
3
|
-
rvm:
|
4
|
-
- 2.
|
5
|
-
- 2.
|
6
|
-
- 2.
|
7
|
-
cache: bundler
|
8
|
-
addons:
|
9
|
-
chrome: stable
|
10
|
-
before_script:
|
11
|
-
- export DISPLAY=:99.0
|
12
|
-
- sh -e /etc/init.d/xvfb start
|
13
|
-
|
14
|
-
script: bundle exec rake $RAKE_TASK
|
15
|
-
env:
|
16
|
-
- RAKE_TASK=spec
|
17
|
-
- RAKE_TASK=features
|
1
|
+
sudo: required
|
2
|
+
dist: trusty
|
3
|
+
rvm:
|
4
|
+
- 2.4.6
|
5
|
+
- 2.5.5
|
6
|
+
- 2.6.3
|
7
|
+
cache: bundler
|
8
|
+
addons:
|
9
|
+
chrome: stable
|
10
|
+
before_script:
|
11
|
+
- export DISPLAY=:99.0
|
12
|
+
- sh -e /etc/init.d/xvfb start
|
13
|
+
|
14
|
+
script: bundle exec rake $RAKE_TASK
|
15
|
+
env:
|
16
|
+
- RAKE_TASK=spec
|
17
|
+
- RAKE_TASK=features
|
data/ChangeLog
CHANGED
@@ -1,916 +1,923 @@
|
|
1
|
-
Version 2.
|
2
|
-
*
|
3
|
-
*
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
* Fixes
|
10
|
-
* Fixed
|
11
|
-
* Fixed
|
12
|
-
|
13
|
-
Version 2.2.
|
14
|
-
* Enhancements
|
15
|
-
*
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
* Added the
|
23
|
-
* Added the
|
24
|
-
|
25
|
-
|
26
|
-
*
|
27
|
-
*
|
28
|
-
|
29
|
-
|
30
|
-
*
|
31
|
-
*
|
32
|
-
|
33
|
-
|
34
|
-
*
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
* Fixed issue
|
39
|
-
|
40
|
-
Version 2.2 / 2017-
|
41
|
-
* Enhancements
|
42
|
-
*
|
43
|
-
|
44
|
-
*
|
45
|
-
*
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
*
|
50
|
-
*
|
51
|
-
|
52
|
-
|
53
|
-
* Fixes
|
54
|
-
*
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
*
|
68
|
-
|
69
|
-
*
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
*
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
*
|
92
|
-
* Added
|
93
|
-
*
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
*
|
101
|
-
* Added
|
102
|
-
|
103
|
-
*
|
104
|
-
*
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
* Added
|
109
|
-
* Added
|
110
|
-
*
|
111
|
-
|
112
|
-
|
113
|
-
*
|
114
|
-
*
|
115
|
-
*
|
116
|
-
* Added
|
117
|
-
* Added
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
*
|
124
|
-
* Added
|
125
|
-
|
126
|
-
*
|
127
|
-
* Fixed
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
*
|
134
|
-
*
|
135
|
-
* Fixes
|
136
|
-
*
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
*
|
142
|
-
* Fixes
|
143
|
-
*
|
144
|
-
|
145
|
-
=== Version 1.0 / 2014-
|
146
|
-
* Enhancements
|
147
|
-
*
|
148
|
-
*
|
149
|
-
|
150
|
-
*
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
*
|
157
|
-
*
|
158
|
-
|
159
|
-
|
160
|
-
*
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
*
|
165
|
-
|
166
|
-
=== Version 0.9.
|
167
|
-
* Enhancements
|
168
|
-
*
|
169
|
-
*
|
170
|
-
*
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
*
|
176
|
-
|
177
|
-
* Added
|
178
|
-
|
179
|
-
=== Version 0.9.
|
180
|
-
* Enhancements
|
181
|
-
*
|
182
|
-
* Added
|
183
|
-
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
* Added
|
189
|
-
*
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
*
|
195
|
-
* Added
|
196
|
-
* Updated to use the latest selenium-webdriver 2.
|
197
|
-
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
*
|
202
|
-
*
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
-
|
214
|
-
*
|
215
|
-
*
|
216
|
-
*
|
217
|
-
*
|
218
|
-
*
|
219
|
-
|
220
|
-
*
|
221
|
-
*
|
222
|
-
*
|
223
|
-
*
|
224
|
-
*
|
225
|
-
*
|
226
|
-
*
|
227
|
-
*
|
228
|
-
*
|
229
|
-
*
|
230
|
-
*
|
231
|
-
*
|
232
|
-
*
|
233
|
-
*
|
234
|
-
*
|
235
|
-
*
|
236
|
-
*
|
237
|
-
*
|
238
|
-
*
|
239
|
-
*
|
240
|
-
*
|
241
|
-
*
|
242
|
-
*
|
243
|
-
*
|
244
|
-
*
|
245
|
-
*
|
246
|
-
*
|
247
|
-
*
|
248
|
-
*
|
249
|
-
*
|
250
|
-
|
251
|
-
*
|
252
|
-
|
253
|
-
|
254
|
-
|
255
|
-
*
|
256
|
-
|
257
|
-
* Updated to use the latest
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
*
|
264
|
-
*
|
265
|
-
|
266
|
-
=== Version 0.8.
|
267
|
-
* Enhancements
|
268
|
-
*
|
269
|
-
*
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
*
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
*
|
285
|
-
*
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
*
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
*
|
297
|
-
|
298
|
-
|
299
|
-
*
|
300
|
-
*
|
301
|
-
|
302
|
-
|
303
|
-
|
304
|
-
|
305
|
-
*
|
306
|
-
|
307
|
-
*
|
308
|
-
*
|
309
|
-
*
|
310
|
-
|
311
|
-
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
*
|
319
|
-
*
|
320
|
-
*
|
321
|
-
*
|
322
|
-
*
|
323
|
-
*
|
324
|
-
*
|
325
|
-
*
|
326
|
-
*
|
327
|
-
*
|
328
|
-
*
|
329
|
-
*
|
330
|
-
*
|
331
|
-
*
|
332
|
-
*
|
333
|
-
*
|
334
|
-
*
|
335
|
-
*
|
336
|
-
*
|
337
|
-
*
|
338
|
-
*
|
339
|
-
*
|
340
|
-
*
|
341
|
-
*
|
342
|
-
|
343
|
-
|
344
|
-
*
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
*
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
*
|
358
|
-
*
|
359
|
-
*
|
360
|
-
*
|
361
|
-
*
|
362
|
-
*
|
363
|
-
*
|
364
|
-
*
|
365
|
-
*
|
366
|
-
*
|
367
|
-
*
|
368
|
-
*
|
369
|
-
*
|
370
|
-
*
|
371
|
-
*
|
372
|
-
*
|
373
|
-
*
|
374
|
-
*
|
375
|
-
*
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
*
|
386
|
-
*
|
387
|
-
*
|
388
|
-
*
|
389
|
-
*
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
*
|
394
|
-
* Fixed
|
395
|
-
|
396
|
-
|
397
|
-
*
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
*
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
*
|
406
|
-
* Added
|
407
|
-
* Added
|
408
|
-
*
|
409
|
-
*
|
410
|
-
|
411
|
-
=== Version 0.7.
|
412
|
-
* Enhancements
|
413
|
-
*
|
414
|
-
* Added
|
415
|
-
|
416
|
-
*
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
*
|
421
|
-
* Added
|
422
|
-
* Added
|
423
|
-
|
424
|
-
|
425
|
-
|
426
|
-
|
427
|
-
|
428
|
-
|
429
|
-
*
|
430
|
-
|
431
|
-
|
432
|
-
*
|
433
|
-
|
434
|
-
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
|
451
|
-
|
452
|
-
|
453
|
-
|
454
|
-
|
455
|
-
|
456
|
-
|
457
|
-
|
458
|
-
|
459
|
-
|
460
|
-
|
461
|
-
|
462
|
-
|
463
|
-
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
468
|
-
|
469
|
-
|
470
|
-
|
471
|
-
|
472
|
-
|
473
|
-
|
474
|
-
|
475
|
-
|
476
|
-
|
477
|
-
|
478
|
-
|
479
|
-
|
480
|
-
|
481
|
-
|
482
|
-
|
483
|
-
|
484
|
-
|
485
|
-
|
486
|
-
|
487
|
-
*
|
488
|
-
* Added
|
489
|
-
*
|
490
|
-
* Updated
|
491
|
-
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
*
|
498
|
-
* Updated
|
499
|
-
* Updated
|
500
|
-
|
501
|
-
*
|
502
|
-
|
503
|
-
|
504
|
-
|
505
|
-
|
506
|
-
|
507
|
-
*
|
508
|
-
*
|
509
|
-
|
510
|
-
|
511
|
-
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
*
|
516
|
-
*
|
517
|
-
*
|
518
|
-
|
519
|
-
|
520
|
-
*
|
521
|
-
*
|
522
|
-
|
523
|
-
*
|
524
|
-
*
|
525
|
-
|
526
|
-
|
527
|
-
|
528
|
-
|
529
|
-
*
|
530
|
-
*
|
531
|
-
*
|
532
|
-
|
533
|
-
*
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
*
|
540
|
-
*
|
541
|
-
|
542
|
-
|
543
|
-
*
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
* Added
|
548
|
-
|
549
|
-
|
550
|
-
*
|
551
|
-
*
|
552
|
-
|
553
|
-
|
554
|
-
*
|
555
|
-
* Added
|
556
|
-
*
|
557
|
-
*
|
558
|
-
* Updated to use
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
*
|
563
|
-
|
564
|
-
|
565
|
-
*
|
566
|
-
|
567
|
-
*
|
568
|
-
|
569
|
-
*
|
570
|
-
|
571
|
-
|
572
|
-
|
573
|
-
*
|
574
|
-
|
575
|
-
|
576
|
-
*
|
577
|
-
*
|
578
|
-
|
579
|
-
*
|
580
|
-
*
|
581
|
-
|
582
|
-
|
583
|
-
|
584
|
-
|
585
|
-
|
586
|
-
*
|
587
|
-
* Added
|
588
|
-
*
|
589
|
-
*
|
590
|
-
*
|
591
|
-
|
592
|
-
|
593
|
-
|
594
|
-
|
595
|
-
*
|
596
|
-
* Added
|
597
|
-
* Added
|
598
|
-
* Added
|
599
|
-
*
|
600
|
-
|
601
|
-
|
602
|
-
|
603
|
-
|
604
|
-
|
605
|
-
*
|
606
|
-
* Added
|
607
|
-
* Added
|
608
|
-
|
609
|
-
*
|
610
|
-
|
611
|
-
|
612
|
-
|
613
|
-
|
614
|
-
*
|
615
|
-
* Added
|
616
|
-
*
|
617
|
-
*
|
618
|
-
*
|
619
|
-
|
620
|
-
|
621
|
-
|
622
|
-
*
|
623
|
-
*
|
624
|
-
*
|
625
|
-
|
626
|
-
* Updated to
|
627
|
-
|
628
|
-
|
629
|
-
|
630
|
-
*
|
631
|
-
* Added
|
632
|
-
*
|
633
|
-
*
|
634
|
-
*
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
*
|
639
|
-
*
|
640
|
-
*
|
641
|
-
*
|
642
|
-
*
|
643
|
-
|
644
|
-
=== Version 0.
|
645
|
-
* Enhancements
|
646
|
-
*
|
647
|
-
*
|
648
|
-
*
|
649
|
-
*
|
650
|
-
|
651
|
-
=== Version 0.4.
|
652
|
-
* Enhancements
|
653
|
-
*
|
654
|
-
* Updated to use selenium-webdriver 2.
|
655
|
-
|
656
|
-
|
657
|
-
|
658
|
-
|
659
|
-
|
660
|
-
*
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
667
|
-
*
|
668
|
-
|
669
|
-
|
670
|
-
|
671
|
-
*
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
* Added
|
676
|
-
* Added
|
677
|
-
* Added
|
678
|
-
* Added
|
679
|
-
*
|
680
|
-
*
|
681
|
-
|
682
|
-
|
683
|
-
*
|
684
|
-
*
|
685
|
-
*
|
686
|
-
*
|
687
|
-
*
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
*
|
692
|
-
*
|
693
|
-
|
694
|
-
|
695
|
-
*
|
696
|
-
*
|
697
|
-
|
698
|
-
|
699
|
-
*
|
700
|
-
|
701
|
-
|
702
|
-
|
703
|
-
|
704
|
-
|
705
|
-
|
706
|
-
|
707
|
-
|
708
|
-
|
709
|
-
*
|
710
|
-
*
|
711
|
-
*
|
712
|
-
*
|
713
|
-
*
|
714
|
-
*
|
715
|
-
*
|
716
|
-
*
|
717
|
-
*
|
718
|
-
*
|
719
|
-
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
*
|
725
|
-
|
726
|
-
* Added
|
727
|
-
|
728
|
-
|
729
|
-
|
730
|
-
|
731
|
-
|
732
|
-
|
733
|
-
|
734
|
-
* #
|
735
|
-
* #
|
736
|
-
* #
|
737
|
-
* #
|
738
|
-
* #
|
739
|
-
* #
|
740
|
-
* #
|
741
|
-
* #
|
742
|
-
* #
|
743
|
-
* #
|
744
|
-
|
745
|
-
|
746
|
-
|
747
|
-
|
748
|
-
*
|
749
|
-
|
750
|
-
|
751
|
-
*
|
752
|
-
*
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
*
|
757
|
-
* Can
|
758
|
-
*
|
759
|
-
|
760
|
-
|
761
|
-
*
|
762
|
-
*
|
763
|
-
*
|
764
|
-
*
|
765
|
-
*
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
*
|
772
|
-
*
|
773
|
-
*
|
774
|
-
*
|
775
|
-
*
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
*
|
781
|
-
*
|
782
|
-
* Added #
|
783
|
-
|
784
|
-
*
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
*
|
789
|
-
|
790
|
-
|
791
|
-
*
|
792
|
-
*
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
*
|
800
|
-
* Added #
|
801
|
-
* Added
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
*
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
* Updated to use
|
811
|
-
|
812
|
-
=== Version 0.1 / 2011-07-
|
813
|
-
* Enhancements
|
814
|
-
* Support for
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
*
|
823
|
-
*
|
824
|
-
*
|
825
|
-
*
|
826
|
-
*
|
827
|
-
*
|
828
|
-
*
|
829
|
-
*
|
830
|
-
*
|
831
|
-
*
|
832
|
-
|
833
|
-
*
|
834
|
-
*
|
835
|
-
*
|
836
|
-
*
|
837
|
-
*
|
838
|
-
*
|
839
|
-
|
840
|
-
*
|
841
|
-
*
|
842
|
-
*
|
843
|
-
*
|
844
|
-
*
|
845
|
-
*
|
846
|
-
*
|
847
|
-
*
|
848
|
-
*
|
849
|
-
|
850
|
-
|
851
|
-
|
852
|
-
|
853
|
-
*
|
854
|
-
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
*
|
859
|
-
* Added
|
860
|
-
|
861
|
-
*
|
862
|
-
*
|
863
|
-
|
864
|
-
|
865
|
-
|
866
|
-
*
|
867
|
-
*
|
868
|
-
*
|
869
|
-
|
870
|
-
|
871
|
-
|
872
|
-
|
873
|
-
*
|
874
|
-
*
|
875
|
-
|
876
|
-
*
|
877
|
-
|
878
|
-
|
879
|
-
|
880
|
-
|
881
|
-
|
882
|
-
*
|
883
|
-
|
884
|
-
*
|
885
|
-
*
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
|
890
|
-
|
891
|
-
*
|
892
|
-
|
893
|
-
*
|
894
|
-
|
895
|
-
|
896
|
-
*
|
897
|
-
|
898
|
-
*
|
899
|
-
|
900
|
-
|
901
|
-
|
902
|
-
|
903
|
-
|
904
|
-
|
905
|
-
|
906
|
-
*
|
907
|
-
|
908
|
-
*
|
909
|
-
*
|
910
|
-
|
911
|
-
|
912
|
-
|
913
|
-
|
914
|
-
|
915
|
-
*
|
916
|
-
*
|
1
|
+
Version 2.3.0 / 2020/02/05
|
2
|
+
* Enhancements
|
3
|
+
* Added a date_field accessor
|
4
|
+
* Fixes
|
5
|
+
* Fixed PageObject#present? when using with ActiveSupport (Thanks Stephen Turley)
|
6
|
+
* Fixed exception when method does not exist
|
7
|
+
|
8
|
+
Version 2.2.6 / 2019/03/18
|
9
|
+
* Fixes
|
10
|
+
* Fixed deprecation warning in populate_page_with (#467)
|
11
|
+
* Fixed passing PageObject::Elements::Element to drag_and_drop_on (#422)
|
12
|
+
|
13
|
+
Version 2.2.5 / 2018/11/21
|
14
|
+
* Enhancements
|
15
|
+
* populate_page_with will work with anything that can be converted to a Hash (Thanks Titus Fortner)
|
16
|
+
* Fixes
|
17
|
+
* Fixed present? when using with ActiveSupport (Thanks Justin Ko)
|
18
|
+
* Fixed issues with when_visible and when_not_visible (Thanks Justin Ko)
|
19
|
+
|
20
|
+
Version 2.2.4 / 2017-9-23
|
21
|
+
* Enhancements
|
22
|
+
* Added the ability to get the values of a table column (Thanks sanvijay)
|
23
|
+
* Added the ability to populate sections with a nested entry from data_magic
|
24
|
+
|
25
|
+
Version 2.2.3 / 2017-8-30
|
26
|
+
* Enhancements
|
27
|
+
* Added the preceding_sibling method to Element
|
28
|
+
* Added the following_sibling method to Element
|
29
|
+
* Added the siblings method to Element
|
30
|
+
* Added the children method to Element
|
31
|
+
* Added the preceding_siblings method to Element
|
32
|
+
* Added the following_siblings method to Element
|
33
|
+
* Fixes
|
34
|
+
* Fixed issue that occurred when things were moved around in Watir 6.8
|
35
|
+
|
36
|
+
Version 2.2.2 / 2017-8-25
|
37
|
+
* Fixes
|
38
|
+
* Fixed issue when using text for table index with special characters (Thanks Jason Phebus)
|
39
|
+
|
40
|
+
Version 2.2.1 / 2017-8-22
|
41
|
+
* Enhancements
|
42
|
+
* Moved some functionality from PageObject to Watir (Thanks Titus Fortner)
|
43
|
+
* Fixes
|
44
|
+
* Fixed bug when selection option by text with populate_page_with (Thanks Jason Phebus)
|
45
|
+
* Fixed issue with wrapping the Selenium driver with Watir (Thanks Titus Fortner)
|
46
|
+
|
47
|
+
Version 2.2 / 2017-7-4
|
48
|
+
* Enhancements
|
49
|
+
* when_visible and when_not_visible now wait for element to be present before checking
|
50
|
+
* populate_page_with can populate select_list using values (Thanks vveliev)
|
51
|
+
* Removed all custom locator mappings
|
52
|
+
* Removed platform loading
|
53
|
+
* Fixes
|
54
|
+
* Moved net-http-persistent to a development dependency
|
55
|
+
* Fixed issue with frames, sections, and indexed properties
|
56
|
+
* Fixed issue impacting rspec be_visible/be_present DSL
|
57
|
+
* Fixed issue with getting content of empty multi-select
|
58
|
+
|
59
|
+
Version 2.1.1 / 2017-3-7
|
60
|
+
* Fixes
|
61
|
+
* Fixed issue with import ordering
|
62
|
+
|
63
|
+
Version 2.1 / 2017-3-6
|
64
|
+
This is the first of three quick releases that will undo a lot of
|
65
|
+
legacy code and end with a far more flexible gem.
|
66
|
+
* Enhancements
|
67
|
+
* Removed Selenium Platform.
|
68
|
+
Still support Selenium driver by wrapping it with a Watir browser.
|
69
|
+
* Added ability to locate indexed element by regex (Thanks Sean MacGahan)
|
70
|
+
* Removed all direct delegates. Now relies on method_missing to call Watir methods.
|
71
|
+
- You may have to change RSpec matchers to use method instead of predicate.
|
72
|
+
|
73
|
+
Version 2.0.0 / 2016-11-22
|
74
|
+
* Enhancements
|
75
|
+
* Added focused? method on element. (Thanks Joe Schulte)
|
76
|
+
* Updated to use Watir 6 instead of Watir-Webdriver (Thanks Robert MacCracken)
|
77
|
+
This change requires updates to your project. You will need to update your
|
78
|
+
Gemfile to use 'watir' instead of 'watir-webdriver' and you will need to
|
79
|
+
update any require statement you might have. Also, Watir 6 is more strick
|
80
|
+
with text_field and text_area. You will have to use the proper one or it
|
81
|
+
will not locate the element.
|
82
|
+
|
83
|
+
Version 1.2.2 / 2016-11-17
|
84
|
+
* Fixes
|
85
|
+
* Fixed a bug that was introduced in the latest release
|
86
|
+
|
87
|
+
Version 1.2.1 / 2016-11-11
|
88
|
+
* Enhancements
|
89
|
+
* Added numerous missing element types
|
90
|
+
* Support for Selenium 3 (Thanks Titus Fortner)
|
91
|
+
* Added new generated method for Image - (name)_loaded? (Thanks joesho112358)
|
92
|
+
* Added CSS support for Watir (Thanks Titus Fortner)
|
93
|
+
* Added two new methods that check without throwing exception
|
94
|
+
- check_visible
|
95
|
+
- check_exists
|
96
|
+
|
97
|
+
Version 1.2.0 / 2016-6-15
|
98
|
+
* Enhancements
|
99
|
+
* Added array methods to section collections (Thanks Cohen Carlisle)
|
100
|
+
* Ensuring that method_missing is always forwarded to the root element (Thanks Cohen Carlisle)
|
101
|
+
* Added ability to call style method with no parameters (Thanks Justin Watts)
|
102
|
+
- with Watir will return all styles; with Selenium will return empty string
|
103
|
+
* Cleaned up frame and iframe nesting (Thanks Jon Snow)
|
104
|
+
* Support for adding other platforms (Thanks pvmeerbe)
|
105
|
+
|
106
|
+
=== Version 1.1.1 / 2016-1-7
|
107
|
+
* Enhancements
|
108
|
+
* Added row accessor method and support for finding row elements directly (Thanks Ethan Hedrick)
|
109
|
+
* Added list_items method to UnorderedList to get an array of children.
|
110
|
+
* Speed optimizations for UnorderedList
|
111
|
+
* Added list_items method to OrderedList to get an array of children.
|
112
|
+
* Speed optimizations for OrderedList
|
113
|
+
* Added ability to check if a section is visible?, present?, or exists? (Thanks Donavan Stanley)
|
114
|
+
* Added support for the Italic (i) element (Thanks Sergey Morozov)
|
115
|
+
* Added size and location methods to all elements (Thanks Steve Jackson)
|
116
|
+
* Added width, height, and centre methods for elements (Thanks David Selby)
|
117
|
+
* Added missing right_click method for watir (Thanks David Selby)
|
118
|
+
|
119
|
+
=== Version 1.1.0 / 2015-5-2
|
120
|
+
* Enhancements
|
121
|
+
* Performance enhancements when initializing elements (Thanks Alexis Andersen)
|
122
|
+
* Enabled button elements to return text when using selenium-webdriver.
|
123
|
+
* Added support for :index identifier in indexed properties.
|
124
|
+
* Added page_section and page_sections accessor methods which can specify a page object of elements on another page object.
|
125
|
+
* Fixes
|
126
|
+
* Fixed issue causing exceptions when comparing equality of element to non-element objects.
|
127
|
+
* Fixed issue that causes indexed properties to return the same value for any index.
|
128
|
+
|
129
|
+
=== Version 1.0.3 / 2014-12-9
|
130
|
+
* Enhancements
|
131
|
+
* Added support for the bold tag (Thanks sedx)
|
132
|
+
* Added support for angularjs in wait_for_ajax (Thanks Owen Housden)
|
133
|
+
* Added hashes method to Table to return table contents as a Hash (Thanks Tobi)
|
134
|
+
* Fixed wait_for_expected_title so it detects if the title changes (Thanks Levi Wilson)
|
135
|
+
* Fixes
|
136
|
+
* Fixed issue that allows access to elements on other indexed properties (Thanks Alexis Andersen)
|
137
|
+
* Removed the method to clear radio buttons. It didn't work on selenium and threw an exception on watir. (Thanks Justin Ko)
|
138
|
+
|
139
|
+
=== Version 1.0.2 / 2014-7-21
|
140
|
+
* Enhancements
|
141
|
+
* Added support to use multiple identifiers when locating nested frames / iframes (Thanks Justin Ko)
|
142
|
+
* Fixes
|
143
|
+
* Reverted the method name check due to unintended consequences
|
144
|
+
|
145
|
+
=== Version 1.0.1 / 2014-7-19
|
146
|
+
* Enhancements
|
147
|
+
* Checks the name of generated methods to ensure they do not colide with existing page-object methods
|
148
|
+
* Removed old legacy css code and now delegate everything to Watir
|
149
|
+
* Fixes
|
150
|
+
* Added support for dynamically finding elements inside iframes (Thanks Justin Ko)
|
151
|
+
|
152
|
+
=== Version 1.0 / 2014-6-1
|
153
|
+
* Enhancements
|
154
|
+
* Better support for using Regexp
|
155
|
+
* Added new page_url_value method that is created when you define page_url to return the value
|
156
|
+
* Added better error message when nil is passed to the constructor of a PageObject
|
157
|
+
* Updated to use the latest watir-webdriver 0.6.9
|
158
|
+
* Updated to use the latest selenium-webdriver 2.42.0
|
159
|
+
* Fixes
|
160
|
+
* Improved handling of index locator
|
161
|
+
|
162
|
+
=== Version 0.9.8 / 2014-3-16
|
163
|
+
* Enhancements
|
164
|
+
* populate_page_with not supports radio groups
|
165
|
+
|
166
|
+
=== Version 0.9.7 / 2014-2-26
|
167
|
+
* Enhancements
|
168
|
+
* Table now supports exists?
|
169
|
+
* super called when factory method invoked with non PageObject class
|
170
|
+
* Updated to use the latest watir-webdriver 0.6.8
|
171
|
+
* Updated to use the latest selenium-webdriver 2.40.0
|
172
|
+
|
173
|
+
=== Version 0.9.6 / 2014-2-4
|
174
|
+
* Enhancements
|
175
|
+
* Updated to use the latest watir-webdriver 0.6.7
|
176
|
+
* Fixes
|
177
|
+
* Added in_iframe methods to match the updates to the watir-webdriver gem.
|
178
|
+
|
179
|
+
=== Version 0.9.5 / 2014-1-22
|
180
|
+
* Enhancements
|
181
|
+
* Updated to use the latest selenium-webdriver 2.39.0
|
182
|
+
* Added href method to Link
|
183
|
+
* Added generation of plural version of basic types on class
|
184
|
+
* Added new accessors for radio button group (Thanks Travis Fillmore)
|
185
|
+
|
186
|
+
=== Version 0.9.4 / 2013-11-29
|
187
|
+
* Enhancements
|
188
|
+
* Added ability for execute_scripts to accept arguments (Thanks Justin Ko)
|
189
|
+
* Added ability to identify frame using a regular expression when using Watir
|
190
|
+
|
191
|
+
=== Version 0.9.3 / 2013-10-24
|
192
|
+
* Enhancements
|
193
|
+
* Added class_name method to Element
|
194
|
+
* Added select_text method to Element
|
195
|
+
* Added wait_for_expected_title and expected_element_visible methods (Thanks smartkiwi)
|
196
|
+
* Updated to use the latest selenium-webdriver 2.37.0
|
197
|
+
* Fixes
|
198
|
+
* Fixed issue with custom widgets on Ruby 1.8.7 (Thanks X Zhang)
|
199
|
+
|
200
|
+
=== Version 0.9.2 / 2013-8-23
|
201
|
+
* Enhancements
|
202
|
+
* Added elements method to accessor so one can gen methods for generic collections of elements
|
203
|
+
* Updated to use the latest selenium-webdriver 2.35.0
|
204
|
+
|
205
|
+
=== Version 0.9.1 / 2013-7-16
|
206
|
+
* Enhancements
|
207
|
+
* Added css locator support for Image (Thanks Elben Shira)
|
208
|
+
* Fixes
|
209
|
+
* Corrected isse with generated method in widgets module
|
210
|
+
|
211
|
+
=== Version 0.9.0 / 2013-6-11
|
212
|
+
* Enhancements
|
213
|
+
* Added plural _elements methods for the following types:
|
214
|
+
* area
|
215
|
+
* canvas
|
216
|
+
* audio
|
217
|
+
* video
|
218
|
+
* svg
|
219
|
+
* Added basic element support for the following types:
|
220
|
+
* as
|
221
|
+
* blockquote
|
222
|
+
* body
|
223
|
+
* br
|
224
|
+
* caption
|
225
|
+
* col
|
226
|
+
* colgroup
|
227
|
+
* command
|
228
|
+
* data
|
229
|
+
* datalist
|
230
|
+
* del
|
231
|
+
* details
|
232
|
+
* dialog
|
233
|
+
* dl
|
234
|
+
* embed
|
235
|
+
* fieldset
|
236
|
+
* head
|
237
|
+
* hr
|
238
|
+
* ins
|
239
|
+
* keygen
|
240
|
+
* legend
|
241
|
+
* map
|
242
|
+
* menu
|
243
|
+
* meta
|
244
|
+
* meter
|
245
|
+
* object
|
246
|
+
* optgroup
|
247
|
+
* output
|
248
|
+
* param
|
249
|
+
* pre
|
250
|
+
* progress
|
251
|
+
* small
|
252
|
+
* strong
|
253
|
+
* style
|
254
|
+
* time
|
255
|
+
* title
|
256
|
+
* track
|
257
|
+
* Updated to use the latest selenium-webdriver 2.33.0
|
258
|
+
* Fixes
|
259
|
+
* Fixed issue when using the page and element accessors for html 5 elements.
|
260
|
+
|
261
|
+
=== Version 0.8.10 / 2013-5-3
|
262
|
+
* Enhancements
|
263
|
+
* Updated populate_page_with to also check if the element is visible prior to setting value
|
264
|
+
* Updated to use the latest watir-webdriver 0.6.4
|
265
|
+
|
266
|
+
=== Version 0.8.9 / 2013-4-13
|
267
|
+
* Enhancements
|
268
|
+
* Updated to use the latest watir-webdriver 0.6.3
|
269
|
+
* Updated to use the latest selenium-webdriver 2.32.1
|
270
|
+
* Fixes
|
271
|
+
* Fixed an issue when you try to find an element using no identifier (Thanks Alex Rodionov)
|
272
|
+
|
273
|
+
=== Version 0.8.8 / 2013-4-5
|
274
|
+
* Enhancements
|
275
|
+
* Added callback to widget classes to allow them to define their own accessors
|
276
|
+
* Added more support for using css when locating elements using Watir-webdriver (Neal Lindsay)
|
277
|
+
|
278
|
+
=== Version 0.8.7 / 2013-3-31
|
279
|
+
* Enhancements
|
280
|
+
* Added ability to find elements using any valid attribute
|
281
|
+
|
282
|
+
=== Version 0.8.6.1 / 2013-3-4
|
283
|
+
* Enhancements
|
284
|
+
* Added lable locators for checkbox, text area, select list, radio button and file field (Thanks Alex Rodionov)
|
285
|
+
* Updated to use the latest selenium-webdriver 2.31.0
|
286
|
+
* Updated to use the latest page_navigation 0.7
|
287
|
+
|
288
|
+
=== Version 0.8.6 / 2013-2-27
|
289
|
+
* Enhancements
|
290
|
+
* Added support for the svg element
|
291
|
+
* Fixes
|
292
|
+
* Fixed issue with nested generic element calls
|
293
|
+
|
294
|
+
=== Version 0.8.5 / 2013-2-21
|
295
|
+
* Enhancements
|
296
|
+
* Updated to use the latest selenium-webdriver 2.30 - support for Firefox 19
|
297
|
+
|
298
|
+
=== Version 0.8.4 / 2013-1-26
|
299
|
+
* Enhancements
|
300
|
+
* Extracted navigational methods into new gem named page_navigation
|
301
|
+
|
302
|
+
=== Version 0.8.3 / 2013-1-22
|
303
|
+
* Enhancements
|
304
|
+
* Updated to use the latest selenium-webdriver 2.29
|
305
|
+
* Added :using_params parameter to both on_page and if_page methods
|
306
|
+
* Fixes
|
307
|
+
* Fixed issue where has_expected_title? displays misleading error message (X Zhang)
|
308
|
+
* Fixed issue when getting basic Element element when using Selenium
|
309
|
+
* Fixed issue when using plural class methods multiple times on same object
|
310
|
+
|
311
|
+
=== Version 0.8.2 / 2013-1-13
|
312
|
+
* Enhancements
|
313
|
+
* Updated expected_element to ue the global default element wait by default
|
314
|
+
* Updated routes to accept more than two entries in the array which are passed as arguments
|
315
|
+
* Added new generated method for select_list to return options -> <name>_options (X Zhang)
|
316
|
+
* Added scroll_into_view method to Element
|
317
|
+
* Added *_element and *_elements methods to PageObject and Element for the following types
|
318
|
+
* addr
|
319
|
+
* address
|
320
|
+
* article
|
321
|
+
* aside
|
322
|
+
* bdi
|
323
|
+
* bdo
|
324
|
+
* cite
|
325
|
+
* code
|
326
|
+
* dd
|
327
|
+
* dfn
|
328
|
+
* dt
|
329
|
+
* em
|
330
|
+
* figcaption
|
331
|
+
* figure
|
332
|
+
* footer
|
333
|
+
* header
|
334
|
+
* hgroup
|
335
|
+
* kbd
|
336
|
+
* mark
|
337
|
+
* nav
|
338
|
+
* noscript
|
339
|
+
* rp
|
340
|
+
* rt
|
341
|
+
* ruby
|
342
|
+
* samp
|
343
|
+
* section
|
344
|
+
* sub
|
345
|
+
* summary
|
346
|
+
* sup
|
347
|
+
* var
|
348
|
+
* wbr
|
349
|
+
|
350
|
+
=== Version 0.8.1 / 2012-12-28
|
351
|
+
* Fixes
|
352
|
+
* Fixed issue when calling new multi-element class methods using a block
|
353
|
+
|
354
|
+
=== Version 0.8 / 2012-12-22
|
355
|
+
* Enhancements
|
356
|
+
* Added the following class level methods to return all elements matching the locator
|
357
|
+
* divs
|
358
|
+
* buttons
|
359
|
+
* text_fields
|
360
|
+
* hidden_fields
|
361
|
+
* text_areas
|
362
|
+
* select_lists
|
363
|
+
* links
|
364
|
+
* checkboxes
|
365
|
+
* radio_buttons
|
366
|
+
* spans
|
367
|
+
* tables
|
368
|
+
* cells
|
369
|
+
* images
|
370
|
+
* forms
|
371
|
+
* list_items
|
372
|
+
* unordered_lists
|
373
|
+
* ordered_lists
|
374
|
+
* h1s
|
375
|
+
* h2s
|
376
|
+
* h3s
|
377
|
+
* h4s
|
378
|
+
* h5s
|
379
|
+
* h6s
|
380
|
+
* paragraphs
|
381
|
+
* labels
|
382
|
+
* file_fields
|
383
|
+
* Added ability to register and use custom elements based on standard elements (William Powell)
|
384
|
+
* Added generated method to return text for a table
|
385
|
+
* Added generated method to return text for an unordered list
|
386
|
+
* Added generated method to return text for an ordered list
|
387
|
+
* Added html method to Element
|
388
|
+
* Updated to use the latest selenium-webdriver 2.27.2
|
389
|
+
* Updated to use the latest watir-webdriver 0.6.2
|
390
|
+
|
391
|
+
=== Version 0.7.6 / 2012-11-28
|
392
|
+
* Fixes
|
393
|
+
* Fixed attach_to_window workes with partial url on Selenium (George Shakhnazaryan)
|
394
|
+
* Fixed double click works on Selenium (William Powell)
|
395
|
+
* Enhancements
|
396
|
+
* Added css selector support for all elements when using Selenium (Brendan Mulholland)
|
397
|
+
* Added callback to initialize_accessors method during initialization (Theodore Robert Campbell Jr)
|
398
|
+
|
399
|
+
=== Version 0.7.5.1 / 2012-10-16
|
400
|
+
* Fixes
|
401
|
+
* Fixed issue when passing symbol to page_url and calling multiple times
|
402
|
+
|
403
|
+
=== Version 0.7.5 / 2012-10-14
|
404
|
+
* Enhancements
|
405
|
+
* Enhanced TabeleCell to return nil when there is no corresponding cell for a referenced column
|
406
|
+
* Added css selector support for SelectList and Div
|
407
|
+
* Added ability to pass clasname as string to visit_page, on_page, and if_page methods
|
408
|
+
* Added params class instance variable to hold hash values that can be used in the page
|
409
|
+
* Added ability to insert ERB into page_url string and have it access params
|
410
|
+
|
411
|
+
=== Version 0.7.4 / 2012-9-8
|
412
|
+
* Enhancements
|
413
|
+
* Added ability to find text_fields with :css when using Selenium
|
414
|
+
* Added selected_values method to SelectList to get values of all selected elements
|
415
|
+
* Fixes
|
416
|
+
* Fixed problem getting value from SelectList when it is in a Frame with Selenium
|
417
|
+
|
418
|
+
=== Version 0.7.3 / 2012-8-18
|
419
|
+
* Enhancements
|
420
|
+
* Improved handling of alert and confirm Javascript popups (George Shakhnazaryan)
|
421
|
+
* Added hover method to Element. Browser support is limited.
|
422
|
+
* Added method to get the id of an Element
|
423
|
+
* Added support for the following new elements
|
424
|
+
Video
|
425
|
+
|
426
|
+
=== Version 0.7.2 / 2012-8-1
|
427
|
+
* Enhancements
|
428
|
+
* Added ability to find list_item by :text
|
429
|
+
* Added support for the following new elements
|
430
|
+
Canvas
|
431
|
+
Audio
|
432
|
+
* Updated to use selenium-webdriver 2.25.0
|
433
|
+
* Updated to provide better support for table_row.find_index_by_title when tables have theads... (George Shakhnazaryan)
|
434
|
+
|
435
|
+
=== Version 0.7.1 / 2012-7-15
|
436
|
+
* Enhancements
|
437
|
+
* Added support for the following new elements
|
438
|
+
Area
|
439
|
+
* Added the following aliased methods to their corresponding Accessors method
|
440
|
+
a => link
|
441
|
+
hidden => hidden_field
|
442
|
+
img => image
|
443
|
+
li => list_item
|
444
|
+
ol => ordered_list
|
445
|
+
p => paragraph
|
446
|
+
radio => radio_button
|
447
|
+
select => select_list
|
448
|
+
td => cell
|
449
|
+
textarea => text_area
|
450
|
+
ul => unordered_list
|
451
|
+
* Added the following methods to return generic Element objects
|
452
|
+
abbr
|
453
|
+
address
|
454
|
+
article
|
455
|
+
aside
|
456
|
+
bdi
|
457
|
+
bdo
|
458
|
+
cite
|
459
|
+
code
|
460
|
+
dd
|
461
|
+
dfn
|
462
|
+
dt
|
463
|
+
em
|
464
|
+
figcaption
|
465
|
+
figure
|
466
|
+
footer
|
467
|
+
header
|
468
|
+
hgroup
|
469
|
+
kbd
|
470
|
+
mark
|
471
|
+
nav
|
472
|
+
noscript
|
473
|
+
rp
|
474
|
+
rt
|
475
|
+
ruby
|
476
|
+
samp
|
477
|
+
section
|
478
|
+
sub
|
479
|
+
summary
|
480
|
+
sup
|
481
|
+
var
|
482
|
+
wbr
|
483
|
+
|
484
|
+
=== Version 0.7.0 / 2012-6-30
|
485
|
+
* Enhancements
|
486
|
+
* Updated Table [] method to return a row that has matching partial text in any column (Thanks George Shakhnazaryan)
|
487
|
+
* Updated TableRow [] method to return column that matching partial text in any column (Thanks George Shakhnazaryan)
|
488
|
+
* Added if_page to PageFactory (Thanks Gregory Shayko)
|
489
|
+
* Added index_property for accessing sets of related fields (Thanks robkid)
|
490
|
+
* Updated to use selenium-webdriver 2.24.0
|
491
|
+
|
492
|
+
|
493
|
+
=== Version 0.6.9 / 2012-6-12
|
494
|
+
* Enhancements
|
495
|
+
* Added select_value method to SelectList
|
496
|
+
* Updated link to be able to identify by title
|
497
|
+
* Updated div to be able to identify by title
|
498
|
+
* Updated text_field to be able to identify by text and label
|
499
|
+
* Updated to use selenium-webdriver 2.22.2
|
500
|
+
* Fixes
|
501
|
+
* Fixed populate_page_with to work with text areas (Thanks ramyav85)
|
502
|
+
|
503
|
+
=== Version 0.6.8 / 2012-6-3
|
504
|
+
* Enhancements
|
505
|
+
* Updated [] method on Table to return nil when bad row header is provided
|
506
|
+
* Updated [] method on TableRow to return nil when bad column header is provided
|
507
|
+
* Updated to use watir-webdriver 0.6.1
|
508
|
+
* Updated to use selenium-webdriver 2.22.1
|
509
|
+
* Fixes
|
510
|
+
Modified text area methods so it clears before setting new text
|
511
|
+
Fixed clear method on SelectList when using Selenium to clear multi selects
|
512
|
+
|
513
|
+
=== Version 0.6.7 / 2012-5-16
|
514
|
+
* Enhancements
|
515
|
+
* Added flash method to Element to temporarily change the background color
|
516
|
+
* Added when_not_present method to Element
|
517
|
+
* Added default override for page level waits - PageObject.default_page_wait
|
518
|
+
* Added default override for element level waits - PageObject.default_element_wait
|
519
|
+
* Added the ability to find a TableRow by providing a String to the [] method from Table
|
520
|
+
* Added the ability to find a TableCell by providing a String to the [] method from TableRow
|
521
|
+
* Updated to use watir-webdriver 0.5.8
|
522
|
+
* Fixes
|
523
|
+
* Improved logic around selecting options from select lists
|
524
|
+
* TableCell now handles enabled? call gracefully
|
525
|
+
|
526
|
+
=== Version 0.6.6 / 2012-4-26
|
527
|
+
* Enhancements
|
528
|
+
* Added ability to find span's by title
|
529
|
+
* Changed order of initialization so initialize_page is called after goto
|
530
|
+
* Updated to use watir-webdriver 0.5.5
|
531
|
+
* Updated to use selenium-webdriver 2.21.2
|
532
|
+
* Fixes
|
533
|
+
* Fixed the problem with determining the existance of an Selenium element
|
534
|
+
|
535
|
+
=== Version 0.6.5 / 2012-4-12
|
536
|
+
* Enhancements
|
537
|
+
* Added a page level element method to return a generic Element object
|
538
|
+
* Added a method to retrieve all file fields on a page
|
539
|
+
* Updated all accessor methods to take a default identifier of {:index => 0}
|
540
|
+
* Updated all page level element locators to take a default identifier of {:index => 0}
|
541
|
+
* Updated all page level multi-element locators to take a default identifier of {}
|
542
|
+
* Updated deprecation warning to print to stderr (Thanks Josh Adell)
|
543
|
+
* Updated to use selenium-webdriver 2.21.0
|
544
|
+
|
545
|
+
=== Version 0.6.4 / 2012-3-27
|
546
|
+
* Enhancements
|
547
|
+
* Added support for finding the following elements by :css
|
548
|
+
Button
|
549
|
+
Link
|
550
|
+
* Added support for the label element (Thanks Paul Clewell)
|
551
|
+
* Added method to fetch generic element (Thanks Jim Holmes)
|
552
|
+
* Added direct_url alias for page_url
|
553
|
+
* Added visit alias for visit_page
|
554
|
+
* Added on alias for on_page
|
555
|
+
* Added element_with_focus method to return the element that has focus
|
556
|
+
* Changed Elements.element_class_for so parameters can be strings or symbols
|
557
|
+
* Changed page_url to accept a symbol that will cause it to call a corresponding method
|
558
|
+
* Updated to use watir-webdriver 0.5.4
|
559
|
+
|
560
|
+
=== Version 0.6.3 / 2012-3-1
|
561
|
+
* Enhancements
|
562
|
+
* Added #expected_title method to PageObject
|
563
|
+
* Added #expected_element method to PageObject
|
564
|
+
* Added #execute_script method to PageObject
|
565
|
+
* Updated to use selenium-webdriver 2.20.0
|
566
|
+
* Fixes
|
567
|
+
* Updates to the README - Thanks to p0deje and ivaravko
|
568
|
+
WARNING: This change breaks existing code
|
569
|
+
* Changed the generated getter for select_list to return the text instead of the value
|
570
|
+
|
571
|
+
=== Version 0.6.2 / 2012-2-12
|
572
|
+
* Enhancements
|
573
|
+
* Added #wait_for_ajax support for the jQuery framework
|
574
|
+
* Added #wait_for_ajax support for the Prototype framework
|
575
|
+
* Added the ability to add new Javascript Frameworks to PageObject via the #add_framework method
|
576
|
+
* Updated to use selenium-webdriver 2.19.0
|
577
|
+
* Updated to use watir-webdriver 0.5.3
|
578
|
+
* Fixes
|
579
|
+
* Fixed [] methods on OrderedList and UnorderedList so it only gets direct children
|
580
|
+
* Fixed items methods on OrderedList and UnorderedList so it returns count of direct children
|
581
|
+
|
582
|
+
=== Version 0.6.1 / 2012-1-18
|
583
|
+
* Enhancements
|
584
|
+
* Added #disabled? method to Element
|
585
|
+
* Added #selected_options method to SelectList
|
586
|
+
* Added #include? and #selected? to SelectList
|
587
|
+
* Added #append to TextField
|
588
|
+
* generates a method to determine if an element exists (Thanks Nicholas Munson)
|
589
|
+
* better message when calling platform method via method_missing (Thanks Alex Rodionov)
|
590
|
+
* Updated to use selenium-webdriver 2.17.0
|
591
|
+
|
592
|
+
=== Version 0.6 / 2012-1-10
|
593
|
+
* Enhancements
|
594
|
+
* Added ?_elements methods to ElementLocator so you can find all elements that match an identifier
|
595
|
+
* Added ?_elements methods to NestedElements so you can find all elements nested within others
|
596
|
+
* Added #navigate_to to PageFactory to navigate to a page through previous pages
|
597
|
+
* Added #continue_navigation_to to PageFactory which begins at @current_page
|
598
|
+
* Added routes to PageFactory to collect routes through the site
|
599
|
+
* Updated to use selenium-webdriver 2.16.0
|
600
|
+
|
601
|
+
=== Version 0.5.5 / 2011-12-27
|
602
|
+
* Enhancements
|
603
|
+
* Added ability to find Checkbox by :value
|
604
|
+
* Added ability to find HiddenField by :value
|
605
|
+
* Added ability to find a parent of an Element
|
606
|
+
* Added #fire_event method to Element
|
607
|
+
* Added #focus method to Element
|
608
|
+
* Fixes
|
609
|
+
* Updated #populate_page_with to no longer attempt to set a value in a field that is disabled
|
610
|
+
|
611
|
+
=== Version 0.5.4 / 2011-12-18
|
612
|
+
* Enhancements
|
613
|
+
* Added deprecation warning to the method_missing method on Element. This ability will be removed in 0.6
|
614
|
+
* Added full support for file_field element
|
615
|
+
* Added ability to find TextField by :title
|
616
|
+
* Added ability to find Form by :action
|
617
|
+
* Added ability to find Image by :alt
|
618
|
+
* Added ability to find Image by :src
|
619
|
+
|
620
|
+
=== Version 0.5.3 / 2011-12-11
|
621
|
+
* Enhancements
|
622
|
+
* Added new module PagePopulator with single method populate_page_with
|
623
|
+
* Updated to use selenium-webdriver 2.15.0
|
624
|
+
* Updated to use watir-webdriver 0.4.1
|
625
|
+
* Fixes
|
626
|
+
* Updated prompt method to make it compatible with latest dependencies
|
627
|
+
|
628
|
+
=== Version 0.5.2 / 2011-11-30
|
629
|
+
* Enhancements
|
630
|
+
* Added ability to find image buttons by src
|
631
|
+
* Added ability to find image button by alt
|
632
|
+
* Added first_row and last_row methods to Table
|
633
|
+
* Updated to use selenium-webdriver 2.14.0
|
634
|
+
* Updated to use watir-webdriver 0.3.9
|
635
|
+
|
636
|
+
=== Version 0.5.1 / 2011-11-18
|
637
|
+
* Enhancements
|
638
|
+
* Added instance level in_frame method
|
639
|
+
* Support for nesting all *_element instance methods inside in_frame call
|
640
|
+
* Support for nesting alerts inside an in_frame call
|
641
|
+
* Support for nesting confirms inside an in_frame call
|
642
|
+
* Support for nesting prompts inside an in_frame call
|
643
|
+
|
644
|
+
=== Version 0.5 / 2011-11-06
|
645
|
+
* Enhancements
|
646
|
+
* Validated support for JRuby
|
647
|
+
* Removed dependency on Mixology
|
648
|
+
* Updated to use selenium-webdriver 2.10.0
|
649
|
+
* Updated to use watir-webdriver 0.3.8
|
650
|
+
|
651
|
+
=== Version 0.4.4 / 2011-10-26
|
652
|
+
* Enhancements
|
653
|
+
* Can now find Radio buttons by value
|
654
|
+
* Updated to use selenium-webdriver 2.9.1
|
655
|
+
* Fixes
|
656
|
+
* Properly change context back to top level after interaction inside a frame with Watir
|
657
|
+
|
658
|
+
=== Version 0.4.3 / 2011-10-07
|
659
|
+
* Enhancements
|
660
|
+
* The new watir and selenium fix a fairly serious problem when working with modals and attaching to windows
|
661
|
+
* Updated to use selenium-webdriver 2.8.0
|
662
|
+
* Updated to use watir-webdriver 0.3.5
|
663
|
+
|
664
|
+
=== Version 0.4.2 / 2011-10-01
|
665
|
+
* Enhancements
|
666
|
+
* Proper handling of <button> elements
|
667
|
+
* Changed PageFactory so it also sets and instance variable @current_page to the newly created page
|
668
|
+
|
669
|
+
=== Version 0.4.1 / 2011-09-30
|
670
|
+
* Fixes
|
671
|
+
* Fixed error when loading plugins using Selenium
|
672
|
+
|
673
|
+
=== Version 0.4 / 2011-09-24
|
674
|
+
* Enhancements
|
675
|
+
* Added all of the h4 locators
|
676
|
+
* Added all of the h5 locators
|
677
|
+
* Added all of the h6 locators
|
678
|
+
* Added all of the paragraph locators
|
679
|
+
* Added the Paragraph class
|
680
|
+
* Added #click to Element
|
681
|
+
* Added #style to Element
|
682
|
+
* Added #inspect to Element
|
683
|
+
* Added #current_url to PageObject
|
684
|
+
* Added #clear_cookies to PageObject
|
685
|
+
* Added #save_screenshot to PageObject
|
686
|
+
* Updated to use selenium-webdriver 2.7.0
|
687
|
+
* Updated to use watir-webdriver 0.3.4
|
688
|
+
|
689
|
+
=== Version 0.3.2 / 2011-09-22
|
690
|
+
* Enhancements
|
691
|
+
* Element#when_present now returns the element object
|
692
|
+
* Element#when_visible now returns the element object
|
693
|
+
* Element#when_not_visible now returns the element object
|
694
|
+
* Added #clear method for TextArea
|
695
|
+
* Added support for Heading element
|
696
|
+
* Added all of the h1 locators
|
697
|
+
* Added all of the h2 locators
|
698
|
+
* Added all of the h3 locators
|
699
|
+
* Updated to use selenium-webdriver 2.6.0
|
700
|
+
|
701
|
+
=== Version 0.3.1 / 2011-09-08
|
702
|
+
* Enhancements
|
703
|
+
* Updated to use watir-webdriver 0.3.3
|
704
|
+
|
705
|
+
=== Version 0.3.0 / 2011-09-04
|
706
|
+
* Enhancements
|
707
|
+
* Changed namespace for selenium and watir to include webdriver
|
708
|
+
* Support for locating the following elements when nested
|
709
|
+
* Link
|
710
|
+
* Button
|
711
|
+
* TextField
|
712
|
+
* HiddenField
|
713
|
+
* TextArea
|
714
|
+
* SelectList
|
715
|
+
* Checkbox
|
716
|
+
* RadioButton
|
717
|
+
* Div
|
718
|
+
* Span
|
719
|
+
* Table
|
720
|
+
* TableCell
|
721
|
+
* Image
|
722
|
+
* Form
|
723
|
+
* OrderedList
|
724
|
+
* UnorderedList
|
725
|
+
* ListItem
|
726
|
+
* Added #modal_dialog to PageObject to override the default modal dialog behavior
|
727
|
+
* Changed element keys to include _webdriver
|
728
|
+
* Updated to use selenium-webdriver 2.5.0
|
729
|
+
|
730
|
+
=== Version 0.2.5 / 2011-08-19
|
731
|
+
* Enhancements
|
732
|
+
* #attach_to_window takes an optional block - will return to calling window after block executes
|
733
|
+
* Added the following instance methods to PageObject via ElementLocators
|
734
|
+
* #button_element
|
735
|
+
* #text_field_element
|
736
|
+
* #hidden_field_element
|
737
|
+
* #text_area_element
|
738
|
+
* #select_list_element
|
739
|
+
* #link_element
|
740
|
+
* #checkbox_element
|
741
|
+
* #radio_button_element
|
742
|
+
* #div_element
|
743
|
+
* #span_element
|
744
|
+
* #table_element
|
745
|
+
* #cell_element
|
746
|
+
* #image_element
|
747
|
+
* #form_element
|
748
|
+
* #list_item_element
|
749
|
+
* #unordered_list_element
|
750
|
+
* #ordered_list_element
|
751
|
+
* Updated to use selenium-webdriver 2.4.0
|
752
|
+
* Updated to use watir-webdriver 0.3.2
|
753
|
+
|
754
|
+
=== Version 0.2.4 / 2011-08-08
|
755
|
+
* Enhancements
|
756
|
+
* Can now find span by :text
|
757
|
+
* Can now find button by :value
|
758
|
+
* Added #forward and #back methods to PageObject
|
759
|
+
* Added #right_click and #double_click methods to Element
|
760
|
+
* Added #value= to TextField and TextArea
|
761
|
+
* Added #select to SelectList
|
762
|
+
* Added #check, #uncheck, and #checked? to CheckBox
|
763
|
+
* Added #select, #clear, and #selected? to RadioButton
|
764
|
+
* Can properly pass blocks to all accessor methods
|
765
|
+
* Updated to use watir-webdriver 0.3.0
|
766
|
+
|
767
|
+
=== Version 0.2.3 / 2011-08-01
|
768
|
+
* Enhancements
|
769
|
+
* Can now find a TableCell by its' text
|
770
|
+
* If we receive an error calling #attach_to_window, wait one second and try again
|
771
|
+
* Will call callback method #initialize_page method if it exists on a page object
|
772
|
+
* Renamed all *_<element_type> methods to *_element. Created alias for backward compatibility
|
773
|
+
* Delegating unknown method calls on Element to the driver element object
|
774
|
+
* Improved block handling when passed to element creation method
|
775
|
+
* Updated to use selenium-webdriver 2.3.2
|
776
|
+
|
777
|
+
=== Version 0.2.2 / 2011-07-31
|
778
|
+
* Enhancements
|
779
|
+
* Can find frame by name
|
780
|
+
* Added #clear method to Element
|
781
|
+
* Removed #switch_to_from from PageObject
|
782
|
+
* Added #in_frame to Accessors to handle frame and iframe access
|
783
|
+
* Fixes
|
784
|
+
* Clearing value from text_field before setting value on Selenium
|
785
|
+
|
786
|
+
=== Version 0.2.1 / 2011-07-29
|
787
|
+
* Enhancements
|
788
|
+
* Added ability to locate div by the contained text
|
789
|
+
* Added #attach_to_window so a page object and operate on another window
|
790
|
+
* Added #switch_to_frame to allow one to switch to a frame
|
791
|
+
* Added #send_keys to PageObject::Elements::Element
|
792
|
+
* Added #refresh to page object
|
793
|
+
* Work toward making drivers pluggable
|
794
|
+
* Updated to use selenium-webdriver 2.2.0
|
795
|
+
* Updated to use watir-webdriver 0.2.8
|
796
|
+
|
797
|
+
=== Version 0.2 / 2011-07-24
|
798
|
+
* Enhancements
|
799
|
+
* Async handling
|
800
|
+
* Added #wait_until to page object to support async events at page level
|
801
|
+
* Added the following methods to PageObject::Elements::Element
|
802
|
+
* #when_present
|
803
|
+
* #when_visible
|
804
|
+
* #when_not_visible
|
805
|
+
* #wait_until
|
806
|
+
* Handling popups
|
807
|
+
* Added #alert to page object to override default alert popup behavior
|
808
|
+
* Added #confirm to page object to override default confirm popup behavior
|
809
|
+
* Added #prompt to page object to override default prompt popup behavior
|
810
|
+
* Updated to use selenium-webdriver 2.1.0
|
811
|
+
|
812
|
+
=== Version 0.1.1 / 2011-07-16
|
813
|
+
* Enhancements
|
814
|
+
* Support for identifying hidden fields by text when using Selenium
|
815
|
+
* Support for identifying links by href when using Selenium
|
816
|
+
* Updated to use selenium-webdriver 2.0.1
|
817
|
+
* Updated to use watir-webdriver 0.2.6
|
818
|
+
|
819
|
+
=== Version 0.1 / 2011-07-01
|
820
|
+
* Enhancements
|
821
|
+
* Support for using multiple identifiers when locating the following element:
|
822
|
+
* Link
|
823
|
+
* TextField
|
824
|
+
* HiddenField
|
825
|
+
* TextArea
|
826
|
+
* SelectList
|
827
|
+
* CheckBox
|
828
|
+
* RadioButton
|
829
|
+
* Button
|
830
|
+
* Div
|
831
|
+
* Span
|
832
|
+
* Table
|
833
|
+
* TableCell
|
834
|
+
* Image
|
835
|
+
* Form
|
836
|
+
* ListItem
|
837
|
+
* UnorderedList
|
838
|
+
* OrderedList
|
839
|
+
* Selenium support for using index for the following elements:
|
840
|
+
* Link
|
841
|
+
* TextField
|
842
|
+
* HiddenField
|
843
|
+
* TextArea
|
844
|
+
* SelectList
|
845
|
+
* CheckBox
|
846
|
+
* RadioButton
|
847
|
+
* Button
|
848
|
+
* Div
|
849
|
+
* Span
|
850
|
+
* Table
|
851
|
+
* Image
|
852
|
+
* Form
|
853
|
+
* ListItem
|
854
|
+
* UnorderedList
|
855
|
+
* OrderedList
|
856
|
+
* Support name for identification across all elements in Watir
|
857
|
+
* Added [] method to SelectList to index Options
|
858
|
+
* Added options method to Select List
|
859
|
+
* Added support for the following elements
|
860
|
+
* Option
|
861
|
+
* Updated to use selenium-webdriver 0.2.2
|
862
|
+
* Updated to use watir-webdriver 0.2.5
|
863
|
+
|
864
|
+
=== Version 0.0.5 / 2011-06-15
|
865
|
+
* Enhancements
|
866
|
+
* Added rows method to Table to return number or rows
|
867
|
+
* Added columns method to TableRow to return the number of columns
|
868
|
+
* Table now supports Enumerable to iterate over the TableRows
|
869
|
+
* TableRow now supports Enumerable to iterate over TableCells
|
870
|
+
* Added items method to UnorderedList to return number of ListItems
|
871
|
+
* Added items method to OrderedList to return number of ListItems
|
872
|
+
* UnorderedList now supports Enumerable to iterate over the ListItems
|
873
|
+
* OrderedList now supports Enumerable to iterate over the ListItems
|
874
|
+
* All element methods now take an optional block that can be executed passing a browser
|
875
|
+
* Created PageFactory module to add factory methods to your step definitions
|
876
|
+
* Thanks Alister Scott for the idea
|
877
|
+
|
878
|
+
|
879
|
+
=== Version 0.0.4 / 2011-06-13
|
880
|
+
* Enhancements
|
881
|
+
* Added support for the following elements
|
882
|
+
* hidden field
|
883
|
+
* form
|
884
|
+
* list item
|
885
|
+
* unordered list
|
886
|
+
* ordered list
|
887
|
+
|
888
|
+
=== Version 0.0.3 / 2011-06-02
|
889
|
+
* Enhancements
|
890
|
+
* Added support for the following elements
|
891
|
+
* span
|
892
|
+
* image
|
893
|
+
* Added the following methods to Element
|
894
|
+
* value
|
895
|
+
* ==
|
896
|
+
* tag_name
|
897
|
+
* attribute
|
898
|
+
* click
|
899
|
+
* Updated to use selenium-webdriver 0.2.1
|
900
|
+
* Updated to use watir-webdriver 0.2.4
|
901
|
+
|
902
|
+
=== Version 0.0.2 / 2011-05-30
|
903
|
+
* Enhancements
|
904
|
+
* Added support for the following elements
|
905
|
+
* div
|
906
|
+
* button
|
907
|
+
* table
|
908
|
+
* table row
|
909
|
+
* table cell
|
910
|
+
* Added text method to element
|
911
|
+
|
912
|
+
=== Version 0.0.1 / 2011-05-22
|
913
|
+
* Enhancements
|
914
|
+
* Support for the following elements
|
915
|
+
* check box
|
916
|
+
* link
|
917
|
+
* radio button
|
918
|
+
* select list
|
919
|
+
* text field
|
920
|
+
* Support for the following page level functions
|
921
|
+
* text
|
922
|
+
* html
|
923
|
+
* title
|