page-object 2.2.3 → 2.3.1

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