page_object 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.rspec +2 -0
- data/.ruby-gemset +1 -0
- data/.ruby-version +1 -0
- data/.travis.yml +7 -0
- data/ChangeLog +809 -0
- data/Gemfile +14 -0
- data/Guardfile +20 -0
- data/LICENSE +20 -0
- data/README.md +111 -0
- data/Rakefile +35 -0
- data/cucumber.yml +10 -0
- data/features/area.feature +35 -0
- data/features/async.feature +30 -0
- data/features/audio.feature +68 -0
- data/features/bold.feature +21 -0
- data/features/button.feature +98 -0
- data/features/canvas.feature +37 -0
- data/features/check_box.feature +55 -0
- data/features/div.feature +45 -0
- data/features/element.feature +322 -0
- data/features/file_field.feature +40 -0
- data/features/form.feature +43 -0
- data/features/frames.feature +75 -0
- data/features/generic_elements.feature +29 -0
- data/features/gxt_table_extension.feature +24 -0
- data/features/headings.feature +97 -0
- data/features/hidden_field.feature +45 -0
- data/features/html/04-Death_Becomes_Fur.mp4 +0 -0
- data/features/html/04-Death_Becomes_Fur.oga +0 -0
- data/features/html/async.html +36 -0
- data/features/html/double_click.html +13 -0
- data/features/html/failure.html +8 -0
- data/features/html/frame_1.html +18 -0
- data/features/html/frame_2.html +16 -0
- data/features/html/frame_3.html +14 -0
- data/features/html/frames.html +12 -0
- data/features/html/hover.html +12 -0
- data/features/html/iframes.html +12 -0
- data/features/html/images/circle.png +0 -0
- data/features/html/images/img_pulpit.jpg +0 -0
- data/features/html/images/submit.gif +0 -0
- data/features/html/indexed_property.html +55 -0
- data/features/html/modal.html +17 -0
- data/features/html/modal_1.html +38 -0
- data/features/html/modal_2.html +27 -0
- data/features/html/movie.mp4 +0 -0
- data/features/html/movie.ogg +0 -0
- data/features/html/multi_elements.html +144 -0
- data/features/html/nested_elements.html +77 -0
- data/features/html/nested_frame_1.html +1 -0
- data/features/html/nested_frame_2.html +11 -0
- data/features/html/nested_frame_3.html +14 -0
- data/features/html/nested_frames.html +10 -0
- data/features/html/planets.gif +0 -0
- data/features/html/static_elements.html +207 -0
- data/features/html/success.html +8 -0
- data/features/html/sun.gif +0 -0
- data/features/html/sun.html +7 -0
- data/features/image.feature +50 -0
- data/features/indexed_property.feature +117 -0
- data/features/javascript.feature +28 -0
- data/features/label.feature +46 -0
- data/features/link.feature +52 -0
- data/features/list_item.feature +36 -0
- data/features/modal_dialog.feature +15 -0
- data/features/multi_elements.feature +492 -0
- data/features/nested_elements.feature +117 -0
- data/features/ordered_list.feature +56 -0
- data/features/page_level_actions.feature +90 -0
- data/features/paragraph.feature +35 -0
- data/features/radio_button.feature +58 -0
- data/features/radio_button_group.feature +29 -0
- data/features/sample-app/public/jquery-1.3.2.js +4376 -0
- data/features/sample-app/public/jquery.html +30 -0
- data/features/sample-app/public/prototype-1.6.0.3.js +4320 -0
- data/features/sample-app/public/prototype.html +35 -0
- data/features/sample-app/sample_app.rb +35 -0
- data/features/section.feature +132 -0
- data/features/select_list.feature +86 -0
- data/features/span.feature +37 -0
- data/features/step_definitions/accessor_steps.rb +64 -0
- data/features/step_definitions/area_steps.rb +19 -0
- data/features/step_definitions/async_steps.rb +83 -0
- data/features/step_definitions/audio_steps.rb +27 -0
- data/features/step_definitions/bold_steps.rb +12 -0
- data/features/step_definitions/button_steps.rb +48 -0
- data/features/step_definitions/canvas_steps.rb +15 -0
- data/features/step_definitions/check_box_steps.rb +35 -0
- data/features/step_definitions/div_steps.rb +19 -0
- data/features/step_definitions/element_steps.rb +266 -0
- data/features/step_definitions/file_field_steps.rb +19 -0
- data/features/step_definitions/form_steps.rb +19 -0
- data/features/step_definitions/frames_steps.rb +159 -0
- data/features/step_definitions/generic_element_steps.rb +31 -0
- data/features/step_definitions/gxt_table_steps.rb +58 -0
- data/features/step_definitions/headings_steps.rb +12 -0
- data/features/step_definitions/hidden_field_steps.rb +27 -0
- data/features/step_definitions/image_steps.rb +27 -0
- data/features/step_definitions/indexed_property_steps.rb +163 -0
- data/features/step_definitions/javascript_steps.rb +53 -0
- data/features/step_definitions/label_steps.rb +19 -0
- data/features/step_definitions/link_steps.rb +40 -0
- data/features/step_definitions/list_item_steps.rb +19 -0
- data/features/step_definitions/modal_dialog_steps.rb +62 -0
- data/features/step_definitions/multi_elements_steps.rb +541 -0
- data/features/step_definitions/nested_elements_steps.rb +212 -0
- data/features/step_definitions/ordered_list_steps.rb +23 -0
- data/features/step_definitions/page_level_actions_steps.rb +135 -0
- data/features/step_definitions/page_traversal_steps.rb +4 -0
- data/features/step_definitions/paragraph_steps.rb +28 -0
- data/features/step_definitions/radio_button_group_steps.rb +36 -0
- data/features/step_definitions/radio_button_steps.rb +27 -0
- data/features/step_definitions/section_steps.rb +268 -0
- data/features/step_definitions/select_list_steps.rb +65 -0
- data/features/step_definitions/span_steps.rb +19 -0
- data/features/step_definitions/table_cell_steps.rb +15 -0
- data/features/step_definitions/table_row_steps.rb +23 -0
- data/features/step_definitions/table_steps.rb +70 -0
- data/features/step_definitions/text_area_steps.rb +35 -0
- data/features/step_definitions/text_field_steps.rb +35 -0
- data/features/step_definitions/unordered_list_steps.rb +23 -0
- data/features/step_definitions/video_steps.rb +45 -0
- data/features/support/ajax_text_environment.rb +26 -0
- data/features/support/env.rb +8 -0
- data/features/support/hooks.rb +8 -0
- data/features/support/page.rb +382 -0
- data/features/support/persistent_browser.rb +70 -0
- data/features/support/targets/firefox14_osx.rb +6 -0
- data/features/support/targets/firefox14_windows7.rb +6 -0
- data/features/support/url_helper.rb +57 -0
- data/features/table.feature +122 -0
- data/features/table_cell.feature +45 -0
- data/features/table_row.feature +43 -0
- data/features/text_area.feature +51 -0
- data/features/text_field.feature +70 -0
- data/features/unordered_list.feature +56 -0
- data/features/video.feature +73 -0
- data/lib/page-object.rb +421 -0
- data/lib/page-object/accessors.rb +1412 -0
- data/lib/page-object/core_ext/string.rb +5 -0
- data/lib/page-object/element_locators.rb +21 -0
- data/lib/page-object/elements.rb +60 -0
- data/lib/page-object/elements/area.rb +31 -0
- data/lib/page-object/elements/audio.rb +9 -0
- data/lib/page-object/elements/bold.rb +11 -0
- data/lib/page-object/elements/button.rb +35 -0
- data/lib/page-object/elements/canvas.rb +23 -0
- data/lib/page-object/elements/check_box.rb +37 -0
- data/lib/page-object/elements/div.rb +19 -0
- data/lib/page-object/elements/element.rb +226 -0
- data/lib/page-object/elements/file_field.rb +38 -0
- data/lib/page-object/elements/form.rb +36 -0
- data/lib/page-object/elements/heading.rb +15 -0
- data/lib/page-object/elements/hidden_field.rb +22 -0
- data/lib/page-object/elements/image.rb +36 -0
- data/lib/page-object/elements/label.rb +19 -0
- data/lib/page-object/elements/link.rb +46 -0
- data/lib/page-object/elements/list_item.rb +19 -0
- data/lib/page-object/elements/media.rb +45 -0
- data/lib/page-object/elements/option.rb +10 -0
- data/lib/page-object/elements/ordered_list.rb +50 -0
- data/lib/page-object/elements/paragraph.rb +9 -0
- data/lib/page-object/elements/radio_button.rb +37 -0
- data/lib/page-object/elements/select_list.rb +42 -0
- data/lib/page-object/elements/span.rb +19 -0
- data/lib/page-object/elements/table.rb +79 -0
- data/lib/page-object/elements/table_cell.rb +28 -0
- data/lib/page-object/elements/table_row.rb +50 -0
- data/lib/page-object/elements/text_area.rb +38 -0
- data/lib/page-object/elements/text_field.rb +42 -0
- data/lib/page-object/elements/unordered_list.rb +51 -0
- data/lib/page-object/elements/video.rb +18 -0
- data/lib/page-object/indexed_properties.rb +40 -0
- data/lib/page-object/javascript/angularjs.rb +14 -0
- data/lib/page-object/javascript/jquery.rb +14 -0
- data/lib/page-object/javascript/prototype.rb +14 -0
- data/lib/page-object/javascript/yui.rb +19 -0
- data/lib/page-object/javascript_framework_facade.rb +80 -0
- data/lib/page-object/loads_platform.rb +45 -0
- data/lib/page-object/locator_generator.rb +131 -0
- data/lib/page-object/nested_elements.rb +17 -0
- data/lib/page-object/page_factory.rb +108 -0
- data/lib/page-object/page_populator.rb +83 -0
- data/lib/page-object/platforms.rb +18 -0
- data/lib/page-object/platforms/selenium_webdriver.rb +30 -0
- data/lib/page-object/platforms/selenium_webdriver/button.rb +15 -0
- data/lib/page-object/platforms/selenium_webdriver/check_box.rb +29 -0
- data/lib/page-object/platforms/selenium_webdriver/element.rb +291 -0
- data/lib/page-object/platforms/selenium_webdriver/file_field.rb +16 -0
- data/lib/page-object/platforms/selenium_webdriver/form.rb +16 -0
- data/lib/page-object/platforms/selenium_webdriver/image.rb +28 -0
- data/lib/page-object/platforms/selenium_webdriver/link.rb +23 -0
- data/lib/page-object/platforms/selenium_webdriver/ordered_list.rb +39 -0
- data/lib/page-object/platforms/selenium_webdriver/page_object.rb +1237 -0
- data/lib/page-object/platforms/selenium_webdriver/radio_button.rb +22 -0
- data/lib/page-object/platforms/selenium_webdriver/select_list.rb +93 -0
- data/lib/page-object/platforms/selenium_webdriver/surrogate_selenium_element.rb +42 -0
- data/lib/page-object/platforms/selenium_webdriver/table.rb +42 -0
- data/lib/page-object/platforms/selenium_webdriver/table_row.rb +43 -0
- data/lib/page-object/platforms/selenium_webdriver/text_area.rb +17 -0
- data/lib/page-object/platforms/selenium_webdriver/text_field.rb +17 -0
- data/lib/page-object/platforms/selenium_webdriver/unordered_list.rb +39 -0
- data/lib/page-object/platforms/watir_webdriver.rb +30 -0
- data/lib/page-object/platforms/watir_webdriver/check_box.rb +29 -0
- data/lib/page-object/platforms/watir_webdriver/element.rb +249 -0
- data/lib/page-object/platforms/watir_webdriver/file_field.rb +16 -0
- data/lib/page-object/platforms/watir_webdriver/form.rb +16 -0
- data/lib/page-object/platforms/watir_webdriver/image.rb +22 -0
- data/lib/page-object/platforms/watir_webdriver/link.rb +15 -0
- data/lib/page-object/platforms/watir_webdriver/ordered_list.rb +35 -0
- data/lib/page-object/platforms/watir_webdriver/page_object.rb +1082 -0
- data/lib/page-object/platforms/watir_webdriver/radio_button.rb +22 -0
- data/lib/page-object/platforms/watir_webdriver/select_list.rb +74 -0
- data/lib/page-object/platforms/watir_webdriver/table.rb +38 -0
- data/lib/page-object/platforms/watir_webdriver/table_row.rb +37 -0
- data/lib/page-object/platforms/watir_webdriver/text_area.rb +23 -0
- data/lib/page-object/platforms/watir_webdriver/text_field.rb +16 -0
- data/lib/page-object/platforms/watir_webdriver/unordered_list.rb +36 -0
- data/lib/page-object/sections.rb +29 -0
- data/lib/page-object/version.rb +4 -0
- data/lib/page-object/widgets.rb +133 -0
- data/page_object.gemspec +31 -0
- data/pageobject.gems +1 -0
- data/spec/page-object/accessors_spec.rb +40 -0
- data/spec/page-object/element_locators_spec.rb +1122 -0
- data/spec/page-object/elements/area_spec.rb +45 -0
- data/spec/page-object/elements/bold_spec.rb +29 -0
- data/spec/page-object/elements/button_spec.rb +64 -0
- data/spec/page-object/elements/canvas_spec.rb +40 -0
- data/spec/page-object/elements/check_box_spec.rb +49 -0
- data/spec/page-object/elements/div_spec.rb +28 -0
- data/spec/page-object/elements/element_spec.rb +114 -0
- data/spec/page-object/elements/file_field_spec.rb +39 -0
- data/spec/page-object/elements/form_spec.rb +28 -0
- data/spec/page-object/elements/heading_spec.rb +48 -0
- data/spec/page-object/elements/hidden_field_spec.rb +28 -0
- data/spec/page-object/elements/image_spec.rb +66 -0
- data/spec/page-object/elements/label_spec.rb +29 -0
- data/spec/page-object/elements/link_spec.rb +49 -0
- data/spec/page-object/elements/list_item_spec.rb +29 -0
- data/spec/page-object/elements/nested_element_spec.rb +254 -0
- data/spec/page-object/elements/option_spec.rb +11 -0
- data/spec/page-object/elements/ordered_list_spec.rb +94 -0
- data/spec/page-object/elements/paragraph_spec.rb +27 -0
- data/spec/page-object/elements/select_list_spec.rb +142 -0
- data/spec/page-object/elements/selenium/radio_button_spec.rb +44 -0
- data/spec/page-object/elements/selenium/text_field_spec.rb +49 -0
- data/spec/page-object/elements/selenium_element_spec.rb +177 -0
- data/spec/page-object/elements/span_spec.rb +26 -0
- data/spec/page-object/elements/table_cell_spec.rb +21 -0
- data/spec/page-object/elements/table_row_spec.rb +70 -0
- data/spec/page-object/elements/table_spec.rb +98 -0
- data/spec/page-object/elements/text_area_spec.rb +39 -0
- data/spec/page-object/elements/unordered_list_spec.rb +94 -0
- data/spec/page-object/elements/watir_element_spec.rb +145 -0
- data/spec/page-object/javascript_framework_facade_spec.rb +61 -0
- data/spec/page-object/loads_platform_spec.rb +53 -0
- data/spec/page-object/page-object_spec.rb +407 -0
- data/spec/page-object/page_factory_spec.rb +238 -0
- data/spec/page-object/page_populator_spec.rb +122 -0
- data/spec/page-object/page_section_spec.rb +73 -0
- data/spec/page-object/platforms/selenium_webdriver/selenium_page_object_spec.rb +68 -0
- data/spec/page-object/platforms/selenium_webdriver_spec.rb +29 -0
- data/spec/page-object/platforms/watir_webdriver/watir_page_object_spec.rb +29 -0
- data/spec/page-object/platforms/watir_webdriver_spec.rb +9 -0
- data/spec/page-object/selenium_accessors_spec.rb +609 -0
- data/spec/page-object/watir_accessors_spec.rb +1134 -0
- data/spec/page-object/widget_spec.rb +226 -0
- data/spec/spec_helper.rb +47 -0
- metadata +601 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: e5daee20accfb18f8c4f1adc3a09b393d0dd440c
|
4
|
+
data.tar.gz: e7f299c37a39148f11e71089b98b7ce09b6a3a5a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 62ca3cf3d47db792139911becaeaea12be23484bb28769918d984e49359dc9408a5d2397c7b2b05a85c945bc54a99c899265698d5e6791bf2c8a20e447db9663
|
7
|
+
data.tar.gz: 6b0cbd370727190bfe546c2c5a9c8685090502ec3c0620710e30676128c2d9fae87c2516a6c8f0cca9abae9098211c48eda0f620e2d1e656b2bd9ed914b4f4e5
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.ruby-gemset
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
page-object
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.1.2
|
data/.travis.yml
ADDED
data/ChangeLog
ADDED
@@ -0,0 +1,809 @@
|
|
1
|
+
=== Version 1.1.1
|
2
|
+
* Enhancements
|
3
|
+
* Added row accessor method and support for finding row elements directly (Thanks Ethan Hedrick)
|
4
|
+
|
5
|
+
=== Version 1.1.0
|
6
|
+
* Enhancements
|
7
|
+
* Performance enhancements when initializing elements (Thanks Dane Andersen)
|
8
|
+
* Enabled button elements to return text when using selenium-webdriver.
|
9
|
+
* Added support for :index identifier in indexed properties.
|
10
|
+
* Added page_section and page_sections accessor methods which can specify a page object of elements on another page object.
|
11
|
+
* Fixes
|
12
|
+
* Fixed issue causing exceptions when comparing equality of element to non-element objects.
|
13
|
+
* Fixed issue that causes indexed properties to return the same value for any index.
|
14
|
+
|
15
|
+
=== Version 1.0.3 / 2014-12-9
|
16
|
+
* Enhancements
|
17
|
+
* Added support for the bold tag (Thanks sedx)
|
18
|
+
* Added support for angularjs in wait_for_ajax (Thanks Owen Housden)
|
19
|
+
* Added hashes method to Table to return table contents as a Hash (Thanks Tobi)
|
20
|
+
* Fixed wait_for_expected_title so it detects if the title changes (Thanks Levi Wilson)
|
21
|
+
* Fixes
|
22
|
+
* Fixed issue that allows access to elements on other indexed properties (Thanks Dane Andersen)
|
23
|
+
* Removed the method to clear radio buttons. It didn't work on selenium and threw an exception on watir. (Thanks Justin Ko)
|
24
|
+
|
25
|
+
=== Version 1.0.2 / 2014-7-21
|
26
|
+
* Enhancements
|
27
|
+
* Added support to use multiple identifiers when locating nested frames / iframes (Thanks Justin Ko)
|
28
|
+
* Fixes
|
29
|
+
* Reverted the method name check due to unintended consequences
|
30
|
+
|
31
|
+
=== Version 1.0.1 / 2014-7-19
|
32
|
+
* Enhancements
|
33
|
+
* Checks the name of generated methods to ensure they do not colide with existing page-object methods
|
34
|
+
* Removed old legacy css code and now delegate everything to Watir
|
35
|
+
* Fixes
|
36
|
+
* Added support for dynamically finding elements inside iframes (Thanks Justin Ko)
|
37
|
+
|
38
|
+
=== Version 1.0 / 2014-6-1
|
39
|
+
* Enhancements
|
40
|
+
* Better support for using Regexp
|
41
|
+
* Added new page_url_value method that is created when you define page_url to return the value
|
42
|
+
* Added better error message when nil is passed to the constructor of a PageObject
|
43
|
+
* Updated to use the latest watir-webdriver 0.6.9
|
44
|
+
* Updated to use the latest selenium-webdriver 2.42.0
|
45
|
+
* Fixes
|
46
|
+
* Improved handling of index locator
|
47
|
+
|
48
|
+
=== Version 0.9.8 / 2014-3-16
|
49
|
+
* Enhancements
|
50
|
+
* populate_page_with not supports radio groups
|
51
|
+
|
52
|
+
=== Version 0.9.7 / 2014-2-26
|
53
|
+
* Enhancements
|
54
|
+
* Table now supports exists?
|
55
|
+
* super called when factory method invoked with non PageObject class
|
56
|
+
* Updated to use the latest watir-webdriver 0.6.8
|
57
|
+
* Updated to use the latest selenium-webdriver 2.40.0
|
58
|
+
|
59
|
+
=== Version 0.9.6 / 2014-2-4
|
60
|
+
* Enhancements
|
61
|
+
* Updated to use the latest watir-webdriver 0.6.7
|
62
|
+
* Fixes
|
63
|
+
* Added in_iframe methods to match the updates to the watir-webdriver gem.
|
64
|
+
|
65
|
+
=== Version 0.9.5 / 2014-1-22
|
66
|
+
* Enhancements
|
67
|
+
* Updated to use the latest selenium-webdriver 2.39.0
|
68
|
+
* Added href method to Link
|
69
|
+
* Added generation of plural version of basic types on class
|
70
|
+
* Added new accessors for radio button group (Thanks Travis Fillmore)
|
71
|
+
|
72
|
+
=== Version 0.9.4 / 2013-11-29
|
73
|
+
* Enhancements
|
74
|
+
* Added ability for execute_scripts to accept arguments (Thanks Justin Ko)
|
75
|
+
* Added ability to identify frame using a regular expression when using Watir
|
76
|
+
|
77
|
+
=== Version 0.9.3 / 2013-10-24
|
78
|
+
* Enhancements
|
79
|
+
* Added class_name method to Element
|
80
|
+
* Added select_text method to Element
|
81
|
+
* Added wait_for_expected_title and expected_element_visible methods (Thanks smartkiwi)
|
82
|
+
* Updated to use the latest selenium-webdriver 2.37.0
|
83
|
+
* Fixes
|
84
|
+
* Fixed issue with custom widgets on Ruby 1.8.7 (Thanks X Zhang)
|
85
|
+
|
86
|
+
=== Version 0.9.2 / 2013-8-23
|
87
|
+
* Enhancements
|
88
|
+
* Added elements method to accessor so one can gen methods for generic collections of elements
|
89
|
+
* Updated to use the latest selenium-webdriver 2.35.0
|
90
|
+
|
91
|
+
=== Version 0.9.1 / 2013-7-16
|
92
|
+
* Enhancements
|
93
|
+
* Added css locator support for Image (Thanks Elben Shira)
|
94
|
+
* Fixes
|
95
|
+
* Corrected isse with generated method in widgets module
|
96
|
+
|
97
|
+
=== Version 0.9.0 / 2013-6-11
|
98
|
+
* Enhancements
|
99
|
+
* Added plural _elements methods for the following types:
|
100
|
+
* area
|
101
|
+
* canvas
|
102
|
+
* audio
|
103
|
+
* video
|
104
|
+
* svg
|
105
|
+
* Added basic element support for the following types:
|
106
|
+
* as
|
107
|
+
* blockquote
|
108
|
+
* body
|
109
|
+
* br
|
110
|
+
* caption
|
111
|
+
* col
|
112
|
+
* colgroup
|
113
|
+
* command
|
114
|
+
* data
|
115
|
+
* datalist
|
116
|
+
* del
|
117
|
+
* details
|
118
|
+
* dialog
|
119
|
+
* dl
|
120
|
+
* embed
|
121
|
+
* fieldset
|
122
|
+
* head
|
123
|
+
* hr
|
124
|
+
* ins
|
125
|
+
* keygen
|
126
|
+
* legend
|
127
|
+
* map
|
128
|
+
* menu
|
129
|
+
* meta
|
130
|
+
* meter
|
131
|
+
* object
|
132
|
+
* optgroup
|
133
|
+
* output
|
134
|
+
* param
|
135
|
+
* pre
|
136
|
+
* progress
|
137
|
+
* small
|
138
|
+
* strong
|
139
|
+
* style
|
140
|
+
* time
|
141
|
+
* title
|
142
|
+
* track
|
143
|
+
* Updated to use the latest selenium-webdriver 2.33.0
|
144
|
+
* Fixes
|
145
|
+
* Fixed issue when using the page and element accessors for html 5 elements.
|
146
|
+
|
147
|
+
=== Version 0.8.10 / 2013-5-3
|
148
|
+
* Enhancements
|
149
|
+
* Updated populate_page_with to also check if the element is visible prior to setting value
|
150
|
+
* Updated to use the latest watir-webdriver 0.6.4
|
151
|
+
|
152
|
+
=== Version 0.8.9 / 2013-4-13
|
153
|
+
* Enhancements
|
154
|
+
* Updated to use the latest watir-webdriver 0.6.3
|
155
|
+
* Updated to use the latest selenium-webdriver 2.32.1
|
156
|
+
* Fixes
|
157
|
+
* Fixed an issue when you try to find an element using no identifier (Thanks Alex Rodionov)
|
158
|
+
|
159
|
+
=== Version 0.8.8 / 2013-4-5
|
160
|
+
* Enhancements
|
161
|
+
* Added callback to widget classes to allow them to define their own accessors
|
162
|
+
* Added more support for using css when locating elements using Watir-webdriver (Neal Lindsay)
|
163
|
+
|
164
|
+
=== Version 0.8.7 / 2013-3-31
|
165
|
+
* Enhancements
|
166
|
+
* Added ability to find elements using any valid attribute
|
167
|
+
|
168
|
+
=== Version 0.8.6.1 / 2013-3-4
|
169
|
+
* Enhancements
|
170
|
+
* Added lable locators for checkbox, text area, select list, radio button and file field (Thanks Alex Rodionov)
|
171
|
+
* Updated to use the latest selenium-webdriver 2.31.0
|
172
|
+
* Updated to use the latest page_navigation 0.7
|
173
|
+
|
174
|
+
=== Version 0.8.6 / 2013-2-27
|
175
|
+
* Enhancements
|
176
|
+
* Added support for the svg element
|
177
|
+
* Fixes
|
178
|
+
* Fixed issue with nested generic element calls
|
179
|
+
|
180
|
+
=== Version 0.8.5 / 2013-2-21
|
181
|
+
* Enhancements
|
182
|
+
* Updated to use the latest selenium-webdriver 2.30 - support for Firefox 19
|
183
|
+
|
184
|
+
=== Version 0.8.4 / 2013-1-26
|
185
|
+
* Enhancements
|
186
|
+
* Extracted navigational methods into new gem named page_navigation
|
187
|
+
|
188
|
+
=== Version 0.8.3 / 2013-1-22
|
189
|
+
* Enhancements
|
190
|
+
* Updated to use the latest selenium-webdriver 2.29
|
191
|
+
* Added :using_params parameter to both on_page and if_page methods
|
192
|
+
* Fixes
|
193
|
+
* Fixed issue where has_expected_title? displays misleading error message (X Zhang)
|
194
|
+
* Fixed issue when getting basic Element element when using Selenium
|
195
|
+
* Fixed issue when using plural class methods multiple times on same object
|
196
|
+
|
197
|
+
=== Version 0.8.2 / 2013-1-13
|
198
|
+
* Enhancements
|
199
|
+
* Updated expected_element to ue the global default element wait by default
|
200
|
+
* Updated routes to accept more than two entries in the array which are passed as arguments
|
201
|
+
* Added new generated method for select_list to return options -> <name>_options (X Zhang)
|
202
|
+
* Added scroll_into_view method to Element
|
203
|
+
* Added *_element and *_elements methods to PageObject and Element for the following types
|
204
|
+
* addr
|
205
|
+
* address
|
206
|
+
* article
|
207
|
+
* aside
|
208
|
+
* bdi
|
209
|
+
* bdo
|
210
|
+
* cite
|
211
|
+
* code
|
212
|
+
* dd
|
213
|
+
* dfn
|
214
|
+
* dt
|
215
|
+
* em
|
216
|
+
* figcaption
|
217
|
+
* figure
|
218
|
+
* footer
|
219
|
+
* header
|
220
|
+
* hgroup
|
221
|
+
* kbd
|
222
|
+
* mark
|
223
|
+
* nav
|
224
|
+
* noscript
|
225
|
+
* rp
|
226
|
+
* rt
|
227
|
+
* ruby
|
228
|
+
* samp
|
229
|
+
* section
|
230
|
+
* sub
|
231
|
+
* summary
|
232
|
+
* sup
|
233
|
+
* var
|
234
|
+
* wbr
|
235
|
+
|
236
|
+
=== Version 0.8.1 / 2012-12-28
|
237
|
+
* Fixes
|
238
|
+
* Fixed issue when calling new multi-element class methods using a block
|
239
|
+
|
240
|
+
=== Version 0.8 / 2012-12-22
|
241
|
+
* Enhancements
|
242
|
+
* Added the following class level methods to return all elements matching the locator
|
243
|
+
* divs
|
244
|
+
* buttons
|
245
|
+
* text_fields
|
246
|
+
* hidden_fields
|
247
|
+
* text_areas
|
248
|
+
* select_lists
|
249
|
+
* links
|
250
|
+
* checkboxes
|
251
|
+
* radio_buttons
|
252
|
+
* spans
|
253
|
+
* tables
|
254
|
+
* cells
|
255
|
+
* images
|
256
|
+
* forms
|
257
|
+
* list_items
|
258
|
+
* unordered_lists
|
259
|
+
* ordered_lists
|
260
|
+
* h1s
|
261
|
+
* h2s
|
262
|
+
* h3s
|
263
|
+
* h4s
|
264
|
+
* h5s
|
265
|
+
* h6s
|
266
|
+
* paragraphs
|
267
|
+
* labels
|
268
|
+
* file_fields
|
269
|
+
* Added ability to register and use custom elements based on standard elements (William Powell)
|
270
|
+
* Added generated method to return text for a table
|
271
|
+
* Added generated method to return text for an unordered list
|
272
|
+
* Added generated method to return text for an ordered list
|
273
|
+
* Added html method to Element
|
274
|
+
* Updated to use the latest selenium-webdriver 2.27.2
|
275
|
+
* Updated to use the latest watir-webdriver 0.6.2
|
276
|
+
|
277
|
+
=== Version 0.7.6 / 2012-11-28
|
278
|
+
* Fixes
|
279
|
+
* Fixed attach_to_window workes with partial url on Selenium (George Shakhnazaryan)
|
280
|
+
* Fixed double click works on Selenium (William Powell)
|
281
|
+
* Enhancements
|
282
|
+
* Added css selector support for all elements when using Selenium (Brendan Mulholland)
|
283
|
+
* Added callback to initialize_accessors method during initialization (Theodore Robert Campbell Jr)
|
284
|
+
|
285
|
+
=== Version 0.7.5.1 / 2012-10-16
|
286
|
+
* Fixes
|
287
|
+
* Fixed issue when passing symbol to page_url and calling multiple times
|
288
|
+
|
289
|
+
=== Version 0.7.5 / 2012-10-14
|
290
|
+
* Enhancements
|
291
|
+
* Enhanced TabeleCell to return nil when there is no corresponding cell for a referenced column
|
292
|
+
* Added css selector support for SelectList and Div
|
293
|
+
* Added ability to pass clasname as string to visit_page, on_page, and if_page methods
|
294
|
+
* Added params class instance variable to hold hash values that can be used in the page
|
295
|
+
* Added ability to insert ERB into page_url string and have it access params
|
296
|
+
|
297
|
+
=== Version 0.7.4 / 2012-9-8
|
298
|
+
* Enhancements
|
299
|
+
* Added ability to find text_fields with :css when using Selenium
|
300
|
+
* Added selected_values method to SelectList to get values of all selected elements
|
301
|
+
* Fixes
|
302
|
+
* Fixed problem getting value from SelectList when it is in a Frame with Selenium
|
303
|
+
|
304
|
+
=== Version 0.7.3 / 2012-8-18
|
305
|
+
* Enhancements
|
306
|
+
* Improved handling of alert and confirm Javascript popups (George Shakhnazaryan)
|
307
|
+
* Added hover method to Element. Browser support is limited.
|
308
|
+
* Added method to get the id of an Element
|
309
|
+
* Added support for the following new elements
|
310
|
+
Video
|
311
|
+
|
312
|
+
=== Version 0.7.2 / 2012-8-1
|
313
|
+
* Enhancements
|
314
|
+
* Added ability to find list_item by :text
|
315
|
+
* Added support for the following new elements
|
316
|
+
Canvas
|
317
|
+
Audio
|
318
|
+
* Updated to use selenium-webdriver 2.25.0
|
319
|
+
* Updated to provide better support for table_row.find_index_by_title when tables have theads... (George Shakhnazaryan)
|
320
|
+
|
321
|
+
=== Version 0.7.1 / 2012-7-15
|
322
|
+
* Enhancements
|
323
|
+
* Added support for the following new elements
|
324
|
+
Area
|
325
|
+
* Added the following aliased methods to their corresponding Accessors method
|
326
|
+
a => link
|
327
|
+
hidden => hidden_field
|
328
|
+
img => image
|
329
|
+
li => list_item
|
330
|
+
ol => ordered_list
|
331
|
+
p => paragraph
|
332
|
+
radio => radio_button
|
333
|
+
select => select_list
|
334
|
+
td => cell
|
335
|
+
textarea => text_area
|
336
|
+
ul => unordered_list
|
337
|
+
* Added the following methods to return generic Element objects
|
338
|
+
abbr
|
339
|
+
address
|
340
|
+
article
|
341
|
+
aside
|
342
|
+
bdi
|
343
|
+
bdo
|
344
|
+
cite
|
345
|
+
code
|
346
|
+
dd
|
347
|
+
dfn
|
348
|
+
dt
|
349
|
+
em
|
350
|
+
figcaption
|
351
|
+
figure
|
352
|
+
footer
|
353
|
+
header
|
354
|
+
hgroup
|
355
|
+
kbd
|
356
|
+
mark
|
357
|
+
nav
|
358
|
+
noscript
|
359
|
+
rp
|
360
|
+
rt
|
361
|
+
ruby
|
362
|
+
samp
|
363
|
+
section
|
364
|
+
sub
|
365
|
+
summary
|
366
|
+
sup
|
367
|
+
var
|
368
|
+
wbr
|
369
|
+
|
370
|
+
=== Version 0.7.0 / 2012-6-30
|
371
|
+
* Enhancements
|
372
|
+
* Updated Table [] method to return a row that has matching partial text in any column (Thanks George Shakhnazaryan)
|
373
|
+
* Updated TableRow [] method to return column that matching partial text in any column (Thanks George Shakhnazaryan)
|
374
|
+
* Added if_page to PageFactory (Thanks Gregory Shayko)
|
375
|
+
* Added index_property for accessing sets of related fields (Thanks robkid)
|
376
|
+
* Updated to use selenium-webdriver 2.24.0
|
377
|
+
|
378
|
+
|
379
|
+
=== Version 0.6.9 / 2012-6-12
|
380
|
+
* Enhancements
|
381
|
+
* Added select_value method to SelectList
|
382
|
+
* Updated link to be able to identify by title
|
383
|
+
* Updated div to be able to identify by title
|
384
|
+
* Updated text_field to be able to identify by text and label
|
385
|
+
* Updated to use selenium-webdriver 2.22.2
|
386
|
+
* Fixes
|
387
|
+
* Fixed populate_page_with to work with text areas (Thanks ramyav85)
|
388
|
+
|
389
|
+
=== Version 0.6.8 / 2012-6-3
|
390
|
+
* Enhancements
|
391
|
+
* Updated [] method on Table to return nil when bad row header is provided
|
392
|
+
* Updated [] method on TableRow to return nil when bad column header is provided
|
393
|
+
* Updated to use watir-webdriver 0.6.1
|
394
|
+
* Updated to use selenium-webdriver 2.22.1
|
395
|
+
* Fixes
|
396
|
+
Modified text area methods so it clears before setting new text
|
397
|
+
Fixed clear method on SelectList when using Selenium to clear multi selects
|
398
|
+
|
399
|
+
=== Version 0.6.7 / 2012-5-16
|
400
|
+
* Enhancements
|
401
|
+
* Added flash method to Element to temporarily change the background color
|
402
|
+
* Added when_not_present method to Element
|
403
|
+
* Added default override for page level waits - PageObject.default_page_wait
|
404
|
+
* Added default override for element level waits - PageObject.default_element_wait
|
405
|
+
* Added the ability to find a TableRow by providing a String to the [] method from Table
|
406
|
+
* Added the ability to find a TableCell by providing a String to the [] method from TableRow
|
407
|
+
* Updated to use watir-webdriver 0.5.8
|
408
|
+
* Fixes
|
409
|
+
* Improved logic around selecting options from select lists
|
410
|
+
* TableCell now handles enabled? call gracefully
|
411
|
+
|
412
|
+
=== Version 0.6.6 / 2012-4-26
|
413
|
+
* Enhancements
|
414
|
+
* Added ability to find span's by title
|
415
|
+
* Changed order of initialization so initialize_page is called after goto
|
416
|
+
* Updated to use watir-webdriver 0.5.5
|
417
|
+
* Updated to use selenium-webdriver 2.21.2
|
418
|
+
* Fixes
|
419
|
+
* Fixed the problem with determining the existance of an Selenium element
|
420
|
+
|
421
|
+
=== Version 0.6.5 / 2012-4-12
|
422
|
+
* Enhancements
|
423
|
+
* Added a page level element method to return a generic Element object
|
424
|
+
* Added a method to retrieve all file fields on a page
|
425
|
+
* Updated all accessor methods to take a default identifier of {:index => 0}
|
426
|
+
* Updated all page level element locators to take a default identifier of {:index => 0}
|
427
|
+
* Updated all page level multi-element locators to take a default identifier of {}
|
428
|
+
* Updated deprecation warning to print to stderr (Thanks Josh Adell)
|
429
|
+
* Updated to use selenium-webdriver 2.21.0
|
430
|
+
|
431
|
+
=== Version 0.6.4 / 2012-3-27
|
432
|
+
* Enhancements
|
433
|
+
* Added support for finding the following elements by :css
|
434
|
+
Button
|
435
|
+
Link
|
436
|
+
* Added support for the label element (Thanks Paul Clewell)
|
437
|
+
* Added method to fetch generic element (Thanks Jim Holmes)
|
438
|
+
* Added direct_url alias for page_url
|
439
|
+
* Added visit alias for visit_page
|
440
|
+
* Added on alias for on_page
|
441
|
+
* Added element_with_focus method to return the element that has focus
|
442
|
+
* Changed Elements.element_class_for so parameters can be strings or symbols
|
443
|
+
* Changed page_url to accept a symbol that will cause it to call a corresponding method
|
444
|
+
* Updated to use watir-webdriver 0.5.4
|
445
|
+
|
446
|
+
=== Version 0.6.3 / 2012-3-1
|
447
|
+
* Enhancements
|
448
|
+
* Added #expected_title method to PageObject
|
449
|
+
* Added #expected_element method to PageObject
|
450
|
+
* Added #execute_script method to PageObject
|
451
|
+
* Updated to use selenium-webdriver 2.20.0
|
452
|
+
* Fixes
|
453
|
+
* Updates to the README - Thanks to p0deje and ivaravko
|
454
|
+
WARNING: This change breaks existing code
|
455
|
+
* Changed the generated getter for select_list to return the text instead of the value
|
456
|
+
|
457
|
+
=== Version 0.6.2 / 2012-2-12
|
458
|
+
* Enhancements
|
459
|
+
* Added #wait_for_ajax support for the jQuery framework
|
460
|
+
* Added #wait_for_ajax support for the Prototype framework
|
461
|
+
* Added the ability to add new Javascript Frameworks to PageObject via the #add_framework method
|
462
|
+
* Updated to use selenium-webdriver 2.19.0
|
463
|
+
* Updated to use watir-webdriver 0.5.3
|
464
|
+
* Fixes
|
465
|
+
* Fixed [] methods on OrderedList and UnorderedList so it only gets direct children
|
466
|
+
* Fixed items methods on OrderedList and UnorderedList so it returns count of direct children
|
467
|
+
|
468
|
+
=== Version 0.6.1 / 2012-1-18
|
469
|
+
* Enhancements
|
470
|
+
* Added #disabled? method to Element
|
471
|
+
* Added #selected_options method to SelectList
|
472
|
+
* Added #include? and #selected? to SelectList
|
473
|
+
* Added #append to TextField
|
474
|
+
* generates a method to determine if an element exists (Thanks Nicholas Munson)
|
475
|
+
* better message when calling platform method via method_missing (Thanks Alex Rodionov)
|
476
|
+
* Updated to use selenium-webdriver 2.17.0
|
477
|
+
|
478
|
+
=== Version 0.6 / 2012-1-10
|
479
|
+
* Enhancements
|
480
|
+
* Added ?_elements methods to ElementLocator so you can find all elements that match an identifier
|
481
|
+
* Added ?_elements methods to NestedElements so you can find all elements nested within others
|
482
|
+
* Added #navigate_to to PageFactory to navigate to a page through previous pages
|
483
|
+
* Added #continue_navigation_to to PageFactory which begins at @current_page
|
484
|
+
* Added routes to PageFactory to collect routes through the site
|
485
|
+
* Updated to use selenium-webdriver 2.16.0
|
486
|
+
|
487
|
+
=== Version 0.5.5 / 2011-12-27
|
488
|
+
* Enhancements
|
489
|
+
* Added ability to find Checkbox by :value
|
490
|
+
* Added ability to find HiddenField by :value
|
491
|
+
* Added ability to find a parent of an Element
|
492
|
+
* Added #fire_event method to Element
|
493
|
+
* Added #focus method to Element
|
494
|
+
* Fixes
|
495
|
+
* Updated #populate_page_with to no longer attempt to set a value in a field that is disabled
|
496
|
+
|
497
|
+
=== Version 0.5.4 / 2011-12-18
|
498
|
+
* Enhancements
|
499
|
+
* Added deprecation warning to the method_missing method on Element. This ability will be removed in 0.6
|
500
|
+
* Added full support for file_field element
|
501
|
+
* Added ability to find TextField by :title
|
502
|
+
* Added ability to find Form by :action
|
503
|
+
* Added ability to find Image by :alt
|
504
|
+
* Added ability to find Image by :src
|
505
|
+
|
506
|
+
=== Version 0.5.3 / 2011-12-11
|
507
|
+
* Enhancements
|
508
|
+
* Added new module PagePopulator with single method populate_page_with
|
509
|
+
* Updated to use selenium-webdriver 2.15.0
|
510
|
+
* Updated to use watir-webdriver 0.4.1
|
511
|
+
* Fixes
|
512
|
+
* Updated prompt method to make it compatible with latest dependencies
|
513
|
+
|
514
|
+
=== Version 0.5.2 / 2011-11-30
|
515
|
+
* Enhancements
|
516
|
+
* Added ability to find image buttons by src
|
517
|
+
* Added ability to find image button by alt
|
518
|
+
* Added first_row and last_row methods to Table
|
519
|
+
* Updated to use selenium-webdriver 2.14.0
|
520
|
+
* Updated to use watir-webdriver 0.3.9
|
521
|
+
|
522
|
+
=== Version 0.5.1 / 2011-11-18
|
523
|
+
* Enhancements
|
524
|
+
* Added instance level in_frame method
|
525
|
+
* Support for nesting all *_element instance methods inside in_frame call
|
526
|
+
* Support for nesting alerts inside an in_frame call
|
527
|
+
* Support for nesting confirms inside an in_frame call
|
528
|
+
* Support for nesting prompts inside an in_frame call
|
529
|
+
|
530
|
+
=== Version 0.5 / 2011-11-06
|
531
|
+
* Enhancements
|
532
|
+
* Validated support for JRuby
|
533
|
+
* Removed dependency on Mixology
|
534
|
+
* Updated to use selenium-webdriver 2.10.0
|
535
|
+
* Updated to use watir-webdriver 0.3.8
|
536
|
+
|
537
|
+
=== Version 0.4.4 / 2011-10-26
|
538
|
+
* Enhancements
|
539
|
+
* Can now find Radio buttons by value
|
540
|
+
* Updated to use selenium-webdriver 2.9.1
|
541
|
+
* Fixes
|
542
|
+
* Properly change context back to top level after interaction inside a frame with Watir
|
543
|
+
|
544
|
+
=== Version 0.4.3 / 2011-10-07
|
545
|
+
* Enhancements
|
546
|
+
* The new watir and selenium fix a fairly serious problem when working with modals and attaching to windows
|
547
|
+
* Updated to use selenium-webdriver 2.8.0
|
548
|
+
* Updated to use watir-webdriver 0.3.5
|
549
|
+
|
550
|
+
=== Version 0.4.2 / 2011-10-01
|
551
|
+
* Enhancements
|
552
|
+
* Proper handling of <button> elements
|
553
|
+
* Changed PageFactory so it also sets and instance variable @current_page to the newly created page
|
554
|
+
|
555
|
+
=== Version 0.4.1 / 2011-09-30
|
556
|
+
* Fixes
|
557
|
+
* Fixed error when loading plugins using Selenium
|
558
|
+
|
559
|
+
=== Version 0.4 / 2011-09-24
|
560
|
+
* Enhancements
|
561
|
+
* Added all of the h4 locators
|
562
|
+
* Added all of the h5 locators
|
563
|
+
* Added all of the h6 locators
|
564
|
+
* Added all of the paragraph locators
|
565
|
+
* Added the Paragraph class
|
566
|
+
* Added #click to Element
|
567
|
+
* Added #style to Element
|
568
|
+
* Added #inspect to Element
|
569
|
+
* Added #current_url to PageObject
|
570
|
+
* Added #clear_cookies to PageObject
|
571
|
+
* Added #save_screenshot to PageObject
|
572
|
+
* Updated to use selenium-webdriver 2.7.0
|
573
|
+
* Updated to use watir-webdriver 0.3.4
|
574
|
+
|
575
|
+
=== Version 0.3.2 / 2011-09-22
|
576
|
+
* Enhancements
|
577
|
+
* Element#when_present now returns the element object
|
578
|
+
* Element#when_visible now returns the element object
|
579
|
+
* Element#when_not_visible now returns the element object
|
580
|
+
* Added #clear method for TextArea
|
581
|
+
* Added support for Heading element
|
582
|
+
* Added all of the h1 locators
|
583
|
+
* Added all of the h2 locators
|
584
|
+
* Added all of the h3 locators
|
585
|
+
* Updated to use selenium-webdriver 2.6.0
|
586
|
+
|
587
|
+
=== Version 0.3.1 / 2011-09-08
|
588
|
+
* Enhancements
|
589
|
+
* Updated to use watir-webdriver 0.3.3
|
590
|
+
|
591
|
+
=== Version 0.3.0 / 2011-09-04
|
592
|
+
* Enhancements
|
593
|
+
* Changed namespace for selenium and watir to include webdriver
|
594
|
+
* Support for locating the following elements when nested
|
595
|
+
* Link
|
596
|
+
* Button
|
597
|
+
* TextField
|
598
|
+
* HiddenField
|
599
|
+
* TextArea
|
600
|
+
* SelectList
|
601
|
+
* Checkbox
|
602
|
+
* RadioButton
|
603
|
+
* Div
|
604
|
+
* Span
|
605
|
+
* Table
|
606
|
+
* TableCell
|
607
|
+
* Image
|
608
|
+
* Form
|
609
|
+
* OrderedList
|
610
|
+
* UnorderedList
|
611
|
+
* ListItem
|
612
|
+
* Added #modal_dialog to PageObject to override the default modal dialog behavior
|
613
|
+
* Changed element keys to include _webdriver
|
614
|
+
* Updated to use selenium-webdriver 2.5.0
|
615
|
+
|
616
|
+
=== Version 0.2.5 / 2011-08-19
|
617
|
+
* Enhancements
|
618
|
+
* #attach_to_window takes an optional block - will return to calling window after block executes
|
619
|
+
* Added the following instance methods to PageObject via ElementLocators
|
620
|
+
* #button_element
|
621
|
+
* #text_field_element
|
622
|
+
* #hidden_field_element
|
623
|
+
* #text_area_element
|
624
|
+
* #select_list_element
|
625
|
+
* #link_element
|
626
|
+
* #checkbox_element
|
627
|
+
* #radio_button_element
|
628
|
+
* #div_element
|
629
|
+
* #span_element
|
630
|
+
* #table_element
|
631
|
+
* #cell_element
|
632
|
+
* #image_element
|
633
|
+
* #form_element
|
634
|
+
* #list_item_element
|
635
|
+
* #unordered_list_element
|
636
|
+
* #ordered_list_element
|
637
|
+
* Updated to use selenium-webdriver 2.4.0
|
638
|
+
* Updated to use watir-webdriver 0.3.2
|
639
|
+
|
640
|
+
=== Version 0.2.4 / 2011-08-08
|
641
|
+
* Enhancements
|
642
|
+
* Can now find span by :text
|
643
|
+
* Can now find button by :value
|
644
|
+
* Added #forward and #back methods to PageObject
|
645
|
+
* Added #right_click and #double_click methods to Element
|
646
|
+
* Added #value= to TextField and TextArea
|
647
|
+
* Added #select to SelectList
|
648
|
+
* Added #check, #uncheck, and #checked? to CheckBox
|
649
|
+
* Added #select, #clear, and #selected? to RadioButton
|
650
|
+
* Can properly pass blocks to all accessor methods
|
651
|
+
* Updated to use watir-webdriver 0.3.0
|
652
|
+
|
653
|
+
=== Version 0.2.3 / 2011-08-01
|
654
|
+
* Enhancements
|
655
|
+
* Can now find a TableCell by its' text
|
656
|
+
* If we receive an error calling #attach_to_window, wait one second and try again
|
657
|
+
* Will call callback method #initialize_page method if it exists on a page object
|
658
|
+
* Renamed all *_<element_type> methods to *_element. Created alias for backward compatibility
|
659
|
+
* Delegating unknown method calls on Element to the driver element object
|
660
|
+
* Improved block handling when passed to element creation method
|
661
|
+
* Updated to use selenium-webdriver 2.3.2
|
662
|
+
|
663
|
+
=== Version 0.2.2 / 2011-07-31
|
664
|
+
* Enhancements
|
665
|
+
* Can find frame by name
|
666
|
+
* Added #clear method to Element
|
667
|
+
* Removed #switch_to_from from PageObject
|
668
|
+
* Added #in_frame to Accessors to handle frame and iframe access
|
669
|
+
* Fixes
|
670
|
+
* Clearing value from text_field before setting value on Selenium
|
671
|
+
|
672
|
+
=== Version 0.2.1 / 2011-07-29
|
673
|
+
* Enhancements
|
674
|
+
* Added ability to locate div by the contained text
|
675
|
+
* Added #attach_to_window so a page object and operate on another window
|
676
|
+
* Added #switch_to_frame to allow one to switch to a frame
|
677
|
+
* Added #send_keys to PageObject::Elements::Element
|
678
|
+
* Added #refresh to page object
|
679
|
+
* Work toward making drivers pluggable
|
680
|
+
* Updated to use selenium-webdriver 2.2.0
|
681
|
+
* Updated to use watir-webdriver 0.2.8
|
682
|
+
|
683
|
+
=== Version 0.2 / 2011-07-24
|
684
|
+
* Enhancements
|
685
|
+
* Async handling
|
686
|
+
* Added #wait_until to page object to support async events at page level
|
687
|
+
* Added the following methods to PageObject::Elements::Element
|
688
|
+
* #when_present
|
689
|
+
* #when_visible
|
690
|
+
* #when_not_visible
|
691
|
+
* #wait_until
|
692
|
+
* Handling popups
|
693
|
+
* Added #alert to page object to override default alert popup behavior
|
694
|
+
* Added #confirm to page object to override default confirm popup behavior
|
695
|
+
* Added #prompt to page object to override default prompt popup behavior
|
696
|
+
* Updated to use selenium-webdriver 2.1.0
|
697
|
+
|
698
|
+
=== Version 0.1.1 / 2011-07-16
|
699
|
+
* Enhancements
|
700
|
+
* Support for identifying hidden fields by text when using Selenium
|
701
|
+
* Support for identifying links by href when using Selenium
|
702
|
+
* Updated to use selenium-webdriver 2.0.1
|
703
|
+
* Updated to use watir-webdriver 0.2.6
|
704
|
+
|
705
|
+
=== Version 0.1 / 2011-07-01
|
706
|
+
* Enhancements
|
707
|
+
* Support for using multiple identifiers when locating the following element:
|
708
|
+
* Link
|
709
|
+
* TextField
|
710
|
+
* HiddenField
|
711
|
+
* TextArea
|
712
|
+
* SelectList
|
713
|
+
* CheckBox
|
714
|
+
* RadioButton
|
715
|
+
* Button
|
716
|
+
* Div
|
717
|
+
* Span
|
718
|
+
* Table
|
719
|
+
* TableCell
|
720
|
+
* Image
|
721
|
+
* Form
|
722
|
+
* ListItem
|
723
|
+
* UnorderedList
|
724
|
+
* OrderedList
|
725
|
+
* Selenium support for using index for the following elements:
|
726
|
+
* Link
|
727
|
+
* TextField
|
728
|
+
* HiddenField
|
729
|
+
* TextArea
|
730
|
+
* SelectList
|
731
|
+
* CheckBox
|
732
|
+
* RadioButton
|
733
|
+
* Button
|
734
|
+
* Div
|
735
|
+
* Span
|
736
|
+
* Table
|
737
|
+
* Image
|
738
|
+
* Form
|
739
|
+
* ListItem
|
740
|
+
* UnorderedList
|
741
|
+
* OrderedList
|
742
|
+
* Support name for identification across all elements in Watir
|
743
|
+
* Added [] method to SelectList to index Options
|
744
|
+
* Added options method to Select List
|
745
|
+
* Added support for the following elements
|
746
|
+
* Option
|
747
|
+
* Updated to use selenium-webdriver 0.2.2
|
748
|
+
* Updated to use watir-webdriver 0.2.5
|
749
|
+
|
750
|
+
=== Version 0.0.5 / 2011-06-15
|
751
|
+
* Enhancements
|
752
|
+
* Added rows method to Table to return number or rows
|
753
|
+
* Added columns method to TableRow to return the number of columns
|
754
|
+
* Table now supports Enumerable to iterate over the TableRows
|
755
|
+
* TableRow now supports Enumerable to iterate over TableCells
|
756
|
+
* Added items method to UnorderedList to return number of ListItems
|
757
|
+
* Added items method to OrderedList to return number of ListItems
|
758
|
+
* UnorderedList now supports Enumerable to iterate over the ListItems
|
759
|
+
* OrderedList now supports Enumerable to iterate over the ListItems
|
760
|
+
* All element methods now take an optional block that can be executed passing a browser
|
761
|
+
* Created PageFactory module to add factory methods to your step definitions
|
762
|
+
* Thanks Alister Scott for the idea
|
763
|
+
|
764
|
+
|
765
|
+
=== Version 0.0.4 / 2011-06-13
|
766
|
+
* Enhancements
|
767
|
+
* Added support for the following elements
|
768
|
+
* hidden field
|
769
|
+
* form
|
770
|
+
* list item
|
771
|
+
* unordered list
|
772
|
+
* ordered list
|
773
|
+
|
774
|
+
=== Version 0.0.3 / 2011-06-02
|
775
|
+
* Enhancements
|
776
|
+
* Added support for the following elements
|
777
|
+
* span
|
778
|
+
* image
|
779
|
+
* Added the following methods to Element
|
780
|
+
* value
|
781
|
+
* ==
|
782
|
+
* tag_name
|
783
|
+
* attribute
|
784
|
+
* click
|
785
|
+
* Updated to use selenium-webdriver 0.2.1
|
786
|
+
* Updated to use watir-webdriver 0.2.4
|
787
|
+
|
788
|
+
=== Version 0.0.2 / 2011-05-30
|
789
|
+
* Enhancements
|
790
|
+
* Added support for the following elements
|
791
|
+
* div
|
792
|
+
* button
|
793
|
+
* table
|
794
|
+
* table row
|
795
|
+
* table cell
|
796
|
+
* Added text method to element
|
797
|
+
|
798
|
+
=== Version 0.0.1 / 2011-05-22
|
799
|
+
* Enhancements
|
800
|
+
* Support for the following elements
|
801
|
+
* check box
|
802
|
+
* link
|
803
|
+
* radio button
|
804
|
+
* select list
|
805
|
+
* text field
|
806
|
+
* Support for the following page level functions
|
807
|
+
* text
|
808
|
+
* html
|
809
|
+
* title
|