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