watir-classic 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. data/CHANGES +721 -0
  2. data/LICENSE +34 -0
  3. data/README.rdoc +78 -0
  4. data/VERSION +1 -0
  5. data/bin/watir-console +5 -0
  6. data/lib/watir-classic.rb +14 -0
  7. data/lib/watir-classic/IEDialog/Release/IEDialog.dll +0 -0
  8. data/lib/watir-classic/assertions.rb +44 -0
  9. data/lib/watir-classic/browser.rb +149 -0
  10. data/lib/watir-classic/browsers.rb +7 -0
  11. data/lib/watir-classic/close_all.rb +31 -0
  12. data/lib/watir-classic/container.rb +110 -0
  13. data/lib/watir-classic/contrib/enabled_popup.rb +21 -0
  14. data/lib/watir-classic/contrib/ie-new-process.rb +27 -0
  15. data/lib/watir-classic/contrib/page_checker.rb +29 -0
  16. data/lib/watir-classic/cookies.rb +80 -0
  17. data/lib/watir-classic/core.rb +43 -0
  18. data/lib/watir-classic/dialogs/file_field.rb +34 -0
  19. data/lib/watir-classic/dialogs/javascript.rb +43 -0
  20. data/lib/watir-classic/drag_and_drop_helper.rb +68 -0
  21. data/lib/watir-classic/element.rb +438 -0
  22. data/lib/watir-classic/element_collection.rb +109 -0
  23. data/lib/watir-classic/element_extensions.rb +69 -0
  24. data/lib/watir-classic/exceptions.rb +50 -0
  25. data/lib/watir-classic/form.rb +96 -0
  26. data/lib/watir-classic/frame.rb +47 -0
  27. data/lib/watir-classic/ie-class.rb +767 -0
  28. data/lib/watir-classic/ie-process.rb +47 -0
  29. data/lib/watir-classic/ie.rb +20 -0
  30. data/lib/watir-classic/image.rb +111 -0
  31. data/lib/watir-classic/input_elements.rb +480 -0
  32. data/lib/watir-classic/irb-history.rb +31 -0
  33. data/lib/watir-classic/link.rb +46 -0
  34. data/lib/watir-classic/locator.rb +243 -0
  35. data/lib/watir-classic/logger.rb +19 -0
  36. data/lib/watir-classic/matches.rb +23 -0
  37. data/lib/watir-classic/modal_dialog.rb +72 -0
  38. data/lib/watir-classic/module.rb +12 -0
  39. data/lib/watir-classic/non_control_elements.rb +114 -0
  40. data/lib/watir-classic/options.rb +56 -0
  41. data/lib/watir-classic/page-container.rb +114 -0
  42. data/lib/watir-classic/process.rb +20 -0
  43. data/lib/watir-classic/screen_capture.rb +115 -0
  44. data/lib/watir-classic/supported_elements.rb +172 -0
  45. data/lib/watir-classic/table.rb +224 -0
  46. data/lib/watir-classic/testcase.rb +97 -0
  47. data/lib/watir-classic/util.rb +35 -0
  48. data/lib/watir-classic/version.rb +4 -0
  49. data/lib/watir-classic/wait.rb +41 -0
  50. data/lib/watir-classic/wait_helper.rb +12 -0
  51. data/lib/watir-classic/waiter.rb +98 -0
  52. data/lib/watir-classic/win32.rb +40 -0
  53. data/lib/watir-classic/win32ole.rb +16 -0
  54. data/lib/watir-classic/win32ole/1.8.7/win32ole.so +0 -0
  55. data/lib/watir-classic/win32ole/1.9.3/win32ole.so +0 -0
  56. data/lib/watir-classic/window.rb +68 -0
  57. data/lib/watir-classic/xpath_locator.rb +52 -0
  58. data/rakefile.rb +54 -0
  59. data/unittests/all_tests.rb +10 -0
  60. data/unittests/buttons_xpath_test.rb +68 -0
  61. data/unittests/checkbox_test.rb +163 -0
  62. data/unittests/checkbox_xpath_test.rb +106 -0
  63. data/unittests/click_no_wait_test.rb +23 -0
  64. data/unittests/close_all_test.rb +17 -0
  65. data/unittests/core_tests.rb +17 -0
  66. data/unittests/css_selector_test.rb +44 -0
  67. data/unittests/css_test.rb +38 -0
  68. data/unittests/dialog_test.rb +64 -0
  69. data/unittests/div2_xpath_test.rb +21 -0
  70. data/unittests/div_test.rb +170 -0
  71. data/unittests/div_xpath_test.rb +95 -0
  72. data/unittests/document_standards.rb +63 -0
  73. data/unittests/element_collection_indexes_test.rb +57 -0
  74. data/unittests/element_collections_test.rb +100 -0
  75. data/unittests/element_test.rb +47 -0
  76. data/unittests/errorchecker_test.rb +31 -0
  77. data/unittests/filefield_test.rb +43 -0
  78. data/unittests/filefield_xpath_test.rb +35 -0
  79. data/unittests/form_test.rb +282 -0
  80. data/unittests/form_xpath_test.rb +254 -0
  81. data/unittests/frame_test.rb +165 -0
  82. data/unittests/google_form_test.rb +15 -0
  83. data/unittests/html/JavascriptClick.html +39 -0
  84. data/unittests/html/blankpage.html +11 -0
  85. data/unittests/html/buttons1.html +40 -0
  86. data/unittests/html/checkboxes1.html +89 -0
  87. data/unittests/html/click_no_wait.html +14 -0
  88. data/unittests/html/complex_table.html +35 -0
  89. data/unittests/html/cssTest.html +42 -0
  90. data/unittests/html/depot_store.html +59 -0
  91. data/unittests/html/div.html +92 -0
  92. data/unittests/html/div_xml.html +21 -0
  93. data/unittests/html/fileupload.html +44 -0
  94. data/unittests/html/formTest1.html +38 -0
  95. data/unittests/html/forms2.html +44 -0
  96. data/unittests/html/forms3.html +131 -0
  97. data/unittests/html/forms4.html +26 -0
  98. data/unittests/html/frame_buttons.html +4 -0
  99. data/unittests/html/frame_links.html +4 -0
  100. data/unittests/html/frame_multi.html +5 -0
  101. data/unittests/html/google_india.html +119 -0
  102. data/unittests/html/ie7_document_standards.html +9 -0
  103. data/unittests/html/ie8_document_standards.html +9 -0
  104. data/unittests/html/ie9_document_standards.html +9 -0
  105. data/unittests/html/iframe.html +3 -0
  106. data/unittests/html/iframeTest.html +17 -0
  107. data/unittests/html/iframeTest1.html +7 -0
  108. data/unittests/html/iframeTest2.html +5 -0
  109. data/unittests/html/images/1.gif +0 -0
  110. data/unittests/html/images/2.GIF +0 -0
  111. data/unittests/html/images/3.GIF +0 -0
  112. data/unittests/html/images/button.jpg +0 -0
  113. data/unittests/html/images/circle.jpg +0 -0
  114. data/unittests/html/images/map.GIF +0 -0
  115. data/unittests/html/images/map2.gif +0 -0
  116. data/unittests/html/images/minus.GIF +0 -0
  117. data/unittests/html/images/originaltriangle.jpg +0 -0
  118. data/unittests/html/images/plus.gif +0 -0
  119. data/unittests/html/images/square.jpg +0 -0
  120. data/unittests/html/images/triangle.jpg +0 -0
  121. data/unittests/html/images1.html +65 -0
  122. data/unittests/html/javascriptevents.html +33 -0
  123. data/unittests/html/link_pass.html +11 -0
  124. data/unittests/html/links1.html +37 -0
  125. data/unittests/html/links2.html +11 -0
  126. data/unittests/html/links_multi.html +12 -0
  127. data/unittests/html/list_matters.html +720 -0
  128. data/unittests/html/lists.html +18 -0
  129. data/unittests/html/map_test.html +30 -0
  130. data/unittests/html/modal_dialog.html +10 -0
  131. data/unittests/html/modal_dialog_launcher.html +12 -0
  132. data/unittests/html/multiple_specifiers.html +64 -0
  133. data/unittests/html/nestedFrames.html +6 -0
  134. data/unittests/html/new_browser.html +17 -0
  135. data/unittests/html/pass.html +13 -0
  136. data/unittests/html/popups1.html +59 -0
  137. data/unittests/html/pre.html +29 -0
  138. data/unittests/html/quirks_document_standards.html +8 -0
  139. data/unittests/html/radioButtons1.html +71 -0
  140. data/unittests/html/select_tealeaf.html +54 -0
  141. data/unittests/html/selectboxes1.html +52 -0
  142. data/unittests/html/simple_table.html +25 -0
  143. data/unittests/html/simple_table_buttons.html +104 -0
  144. data/unittests/html/simple_table_columns.html +75 -0
  145. data/unittests/html/table1.html +179 -0
  146. data/unittests/html/tableCell_using_xpath.html +19 -0
  147. data/unittests/html/table_and_tablerow_to_a.html +174 -0
  148. data/unittests/html/textarea.html +30 -0
  149. data/unittests/html/textfields1.html +100 -0
  150. data/unittests/html/textsearch.html +44 -0
  151. data/unittests/html/wallofcheckboxes.html +1003 -0
  152. data/unittests/html/xpath_nbsp.html +11 -0
  153. data/unittests/html/zeroindex.html +11 -0
  154. data/unittests/ie_exists_test.rb +16 -0
  155. data/unittests/ie_mock.rb +94 -0
  156. data/unittests/ie_test.rb +54 -0
  157. data/unittests/images_test.rb +156 -0
  158. data/unittests/images_xpath_test.rb +90 -0
  159. data/unittests/index_specifier_test.rb +31 -0
  160. data/unittests/js_events_test.rb +31 -0
  161. data/unittests/links_multi_test.rb +34 -0
  162. data/unittests/links_test.rb +131 -0
  163. data/unittests/links_xpath_test.rb +38 -0
  164. data/unittests/lists_test.rb +23 -0
  165. data/unittests/map_test.rb +98 -0
  166. data/unittests/minmax_test.rb +37 -0
  167. data/unittests/navigate_test.rb +38 -0
  168. data/unittests/nbsp_xpath_test.rb +16 -0
  169. data/unittests/no_wait_test.rb +28 -0
  170. data/unittests/non_core_tests.rb +12 -0
  171. data/unittests/other/all_tests_concurrent.rb +57 -0
  172. data/unittests/other/navigate_exception_test.rb +24 -0
  173. data/unittests/other/rexml_unit_test.rb +27 -0
  174. data/unittests/other/screen_capture_test.rb +53 -0
  175. data/unittests/other/testcase_method_order_test.rb +36 -0
  176. data/unittests/other/testcase_verify_test.rb +25 -0
  177. data/unittests/other/wait_until_test.rb +102 -0
  178. data/unittests/pagecontainstext_test.rb +69 -0
  179. data/unittests/parent_child_test.rb +27 -0
  180. data/unittests/perf_test.rb +20 -0
  181. data/unittests/pre_test.rb +49 -0
  182. data/unittests/radios_test.rb +181 -0
  183. data/unittests/radios_xpath_test.rb +100 -0
  184. data/unittests/security_setting_test.rb +24 -0
  185. data/unittests/selectbox_test.rb +144 -0
  186. data/unittests/selectbox_xpath_test.rb +102 -0
  187. data/unittests/setup.rb +69 -0
  188. data/unittests/speed_settings_test.rb +67 -0
  189. data/unittests/table_cell_using_xpath_test.rb +34 -0
  190. data/unittests/table_test.rb +296 -0
  191. data/unittests/table_xpath_test.rb +109 -0
  192. data/unittests/test_tests.rb +9 -0
  193. data/unittests/textarea_test.rb +92 -0
  194. data/unittests/textarea_xpath_test.rb +77 -0
  195. data/unittests/textfield_for_ch_char_test.rb +32 -0
  196. data/unittests/textfields_test.rb +184 -0
  197. data/unittests/textfields_xpath_test.rb +110 -0
  198. data/unittests/version_test.rb +15 -0
  199. data/unittests/win32ole_so_test.rb +35 -0
  200. data/unittests/window_tests.rb +10 -0
  201. data/unittests/windows/attach_to_existing_window_test.rb +52 -0
  202. data/unittests/windows/attach_to_new_window_test.rb +74 -0
  203. data/unittests/windows/close_window_test.rb +20 -0
  204. data/unittests/windows/frame_links_test.rb +23 -0
  205. data/unittests/windows/ie-each_test.rb +46 -0
  206. data/unittests/windows/modal_dialog_test.rb +95 -0
  207. data/unittests/windows/new_process_test.rb +24 -0
  208. data/unittests/windows/new_test.rb +58 -0
  209. data/unittests/windows/open_close_test.rb +19 -0
  210. data/unittests/windows/send_keys_test.rb +26 -0
  211. data/unittests/xpath_tests.rb +11 -0
  212. data/watir-rdoc.rb +7 -0
  213. metadata +370 -0
data/CHANGES ADDED
@@ -0,0 +1,721 @@
1
+ == 3.0.0.rc4 - 2012/04/23
2
+
3
+ * Browser#status returns an empty string if status bar is disabled in IE9
4
+ * Browser#style fixed for IE9
5
+ * #execute_script evaluates JavaScript code inside of an anonymous function - use "return" statement if value is needed by Ruby
6
+ * #execute_script returns nil instead of 'undefined'
7
+ * drag and drop fixed for IE9
8
+ * Window#current? and Window#== are more robust
9
+
10
+ == 3.0.0.rc3 - 2012/03/18
11
+
12
+ * all html elements are now supported (even html5 ones)
13
+ * CookieManager removed
14
+ * cookies API support added (https://github.com/watir/watirspec/blob/master/cookies_spec.rb)
15
+ * drag and drop API support added (https://github.com/watir/watirspec/blob/master/drag_and_drop_spec.rb)
16
+ * Element#(before|after)? removed
17
+ * Element#(before|after)_text removed
18
+ * Browser#cell(s) and Browser#row(s) removed
19
+ * Browser#Element camelCase methods removed, use under_score methods instead
20
+ * Browser#element(s) supports only general attributes like :id, :title, :class_name, :text, :html and such
21
+ * Browser#modal_dialog improved
22
+ * Browser#send_keys and Element#send_keys have now same syntax as specified in WatirSpec
23
+ * Element#style returns internal styles only for IE9, inline style will be returned for IE8
24
+ * Table#each removed - use Table#(trs|rows).each instead
25
+ * Table#row(s) and Table#cell(s) added which ignore inner tables - use #td/#tr for all.
26
+ * raise an Exception if more locators are specified with :xpath/:css
27
+ * searching by :xpath and :css code rewritten
28
+
29
+ == 3.0.0.rc2 - 2012/02/04
30
+
31
+ * Browser#textarea(s) method for searching <textarea> elements
32
+ * Element#focus works with IE9
33
+ * Element#focused? returns the state of focus on that element
34
+ * Element#to_subtype returns Element if non-supported tag found instead of crashing
35
+ * searching by :class will match now partially like other tools behave (e.g. jQuery)
36
+
37
+ == 3.0.0.rc1 - 2012/01/13 - more conformance with WatirSpec
38
+
39
+ * Button#text returns value if exists instead of text
40
+ * Browser#goto prepends url automatically with http:// if scheme is missing
41
+ * Browser#element(s)_by_(xpath/css) are now private methods - use #element(:css => ...) and #element(:xpath => ...) instead
42
+ * Browser#label supports searching by :for attribute
43
+ * Browser#options method for searching <option> elements
44
+ * Browser#body, #thead, #tfoot, #tbody, #frameset and #fieldset added
45
+ * Browser#window and Browser#windows added implementing window switching API (https://github.com/jarib/watirspec/blob/master/window_switching_spec.rb)
46
+ * Element#present? returns false if exception is thrown by #exists? or #visible?
47
+ * Element#style returns CSS text instead of OLE object
48
+ * Element#text returns an empty string for non-visible elements
49
+ * Element#parent returns correct instance of Element class (e.g. Div instead of Element)
50
+ * Element#focus focuses document before focusing on the element
51
+ * Element#right_click and Element#double_click added
52
+ * Element#to_subtype added which returns specific instance of Watir::Element subclass
53
+ * Element#send_keys added
54
+ * Element#eql? as an alias for Element#== added
55
+ * Element#tag_name added
56
+ * ElementCollection#[] method supports negative indexes like regular Arrays
57
+ * ElementCollection#[] returns always an object, even if the index is out of bounds
58
+ * FileField#set and Image#save uses correct Windows file path (e.g. convert "\"-es into "/"-es)
59
+ * FileField#set raises Errno::ENOENT instead of WatirException if file doesn't exist
60
+ * FileField#value= as an alias for FileField#set added
61
+ * Font#color, #face and #size added
62
+ * Form#submit triggers onSubmit event and doesn't submit the form if event's callback returns false
63
+ * Frame#execute_script added
64
+ * Image#file_size, #height and #width return integer instead of a string
65
+ * Image#save blocking fixed
66
+ * Meta#content and #http_equiv added
67
+ * Option code rewritten, causing changes in its API
68
+ * SelectList code rewritten, causing changes in its API
69
+ * SelectList#(selected_)options returns now Options collection instead of an array of strings
70
+ * Table and its subelements code rewritten, causing changes in its API
71
+ * Table#strings and #hashes added
72
+ * TextField#label added
73
+ * searching elements will find only correct types - e.g. using Browser#div returns only DIV element even if all other provided selectors match
74
+ * all selectors and tag of the element needs to match even if searching by :id
75
+ * supporting html5 data-* attributes by using :data_* for locating and #data_* for retrieving attribute values
76
+ * many other internal changes
77
+
78
+ == Version 2.0.4 - 2011/10/29
79
+
80
+ * IE#execute_script escapes multi-line JavaScript scripts
81
+ * allow css and xpath locators for element collection methods, fixes http://jira.openqa.org/browse/WTR-493
82
+
83
+ == Version 2.0.3 - 2011/10/21
84
+
85
+ * fix ElementCollections#[]
86
+ * fix IE::Process.start for IE9 when opening multiple windows
87
+ * add support for Spanish JavaScript and file upload dialogs
88
+ * fix IE#execute_script for Ruby 1.9 with IE9
89
+
90
+ == Version 2.0.2 - 2011/09/10
91
+
92
+ * added support for del, ins, font, meta and ol tags
93
+ * added support for h1, h2, h3, h4, h5, h6 and ul collection methods
94
+ * Watir::IE#execute_script returns now the value of the JavaScript evaluation
95
+ * Watir::IE#fire_event now checks for the document mode in IE9
96
+ * Watir::Table#rows method iterates correctly over rows
97
+ * speed up dealing with html elements in some situations
98
+
99
+ == Version 2.0.1 - 2011/08/10
100
+
101
+ * fixed Watir::IE#close for Ruby 1.9.2 - fixes http://jira.openqa.org/browse/WTR-481
102
+ * fixed locating elements on Ruby 1.9.2
103
+
104
+ == Version 2.0.0 - 2011/08/10
105
+
106
+ * RIP FireWatir - there won't be any new releases due to the lack of JSSH extension for Firefox 4+ versions.
107
+ * all elements are using 0-based indexing instead of old 1-based indexing:
108
+ - disable it temporarily: require "watir"; Watir.options[:zero_based_indexing] = false
109
+ * #radio and #checkbox methods doesn't allow 3 parameters anymore for locating with "value"
110
+ - use browser.radio(:name => "something", :value => "some value") syntax instead for locating with "value"
111
+ * all element methods accept now multiple-specifiers with hash syntax, for example:
112
+ - browser.element(:class => "someclass", :name => "somename")
113
+ * all elements are searchable by :xpath and :css now (note that it's usually slower than searching by other specifiers)
114
+ * #button, #form and #frame doesn't accept single string as a specifier anymore to search by name:
115
+ - use browser.frame(:name => "name") or browser.frame(:name, "name") syntax instead
116
+ * :index => 0 is used as a default specifier if nothing is specified:
117
+ - browser.div(:id => "id").table.tr is same as browser.div(:id => "id").table(:index => 0).tr(:index => 0)
118
+ * all collection methods accept now specifiers too:
119
+ - browser.divs(:class => "someclass").each {|div| puts div.class_name} # => "someclass"
120
+ * removed FormElement class
121
+ * added aliases:
122
+ - tr => row
123
+ - trs => rows
124
+ - td => cell
125
+ - tds => cells
126
+ - a => link
127
+ - as => links
128
+ - img => image
129
+ - imgs => images
130
+
131
+ == Version 1.9.3 - 2011/07/24
132
+
133
+ * Only FireWatir version released to make a dependency for commonwatir to be less strict to make it possible to use FireWatir together with Watir 2+ versions if needed.
134
+
135
+ == Version 1.9.2 - 2011/07/11
136
+
137
+ === IE improvements
138
+ * Bump RAutomation dependency version to 0.6.2 to:
139
+ - fix/improve Watir::IE#send_keys.
140
+ - fix Watir::IE loading for certain Windows XP environments (http://jira.openqa.org/browse/WTR-484).
141
+ * Restored Watir::IE#autoit method to use RAutomation's AutoIt adapter with a deprecation warning.
142
+ * Cache IE.version result to not access registry with each execution - was causing slowness in TextField#set for example.
143
+ * Do not raise UnknownObjectException if parent element doesn't exist when calling Element#exists?
144
+ * Element#flash highlights elements again (http://jira.openqa.org/browse/WTR-478)
145
+
146
+ == Version 1.9.1 - 2011/06/30
147
+
148
+ * Bug fixes for IE9
149
+
150
+ == Version 1.9.0 - 2011/06/15
151
+
152
+ * Added support for IE9
153
+ * Updated watir/ie for Ruby 1.8.7 and are no longer supporting Ruby 1.8.6.
154
+ * Using RAutomation instead of Autoit, WinClicker and the WindowHelper
155
+ * New implementation of ie.file_field
156
+ * Replaced ie.dialog with ie.javascript_dialog
157
+ * Recompiled win32ole for 1.8.7 mingw and removed win32ole for 1.8.6
158
+
159
+
160
+ == Version 1.8.1 - 2011/04/08
161
+
162
+ === IE improvements
163
+
164
+ * Added #frames method (Ivan Kabluchkov).
165
+ * Added Frame#exists?, #src, #name and other Element methods (Ivan Kabluchkov).
166
+ * Added multiple locators support for #frame method (Ivan Kabluchkov).
167
+ * Added *_no_wait methods (Ivan Kabluchkov).
168
+
169
+ === Firefox improvements
170
+
171
+ * Nothing
172
+
173
+ === General improvements
174
+
175
+ * Using Watir::Util for better compatibility with ActiveSupport used by Rails 3. Closes http://jira.openqa.org/browse/WTR-474 (Jarmo Pertman)
176
+
177
+ == Version 1.8.0 - 2011/28/02
178
+
179
+ === IE improvements
180
+
181
+ * Improved speed of #click_no_wait by not loading RubyGems (Jarmo Pertman)
182
+ * Added check to maxlength so we don't clobber any incoming js events. (Charley Baker)
183
+
184
+ === Firefox improvements
185
+
186
+ * Removed dependency for ActiveSupport, making it possible to use FireWatir with Rails 3 (Jarmo Pertman)
187
+ * Removed :waitTime option and try to handle better firefox startup (Jarmo Pertman)
188
+ * Added #exists? with alias #exist? to FireWatir::Firefox browser object (Jarmo Pertman)
189
+
190
+ == Version 1.7.1 - 2011/01/10
191
+
192
+ === IE improvements
193
+
194
+ * Fixed Watir::IE.start_process/new_process. Doesn't completely close http://jira.openqa.org/browse/WTR-472 (Jarmo Pertman)
195
+
196
+ === Firefox improvements
197
+
198
+ - Nothing
199
+
200
+ Whole Changelog is available at http://github.com/bret/watir/compare/v1.7.1...v1.7.0
201
+
202
+ == Version 1.7.0 - 2011/01/06
203
+
204
+ === IE improvements
205
+
206
+ * Fixed Watir::IE#close_all to close all IE windows, even the ones with tabs. Closes http://jira.openqa.org/browse/WTR-463 (Jarmo Pertman)
207
+ * IE#wait waits now again until browser has a state of READYSTATE_COMPLETE due to strange timing issues. Closes http://jira.openqa.org/browse/WTR-466 (Jarmo Pertman)
208
+ * Added CSS3 selectors with usage like browser.text_field(:css => "input[name='text1']") (Jonas Tingeborn)
209
+ * Updated bundled version of AutoIt to 3.3.6.1. Closes http://jira.openqa.org/browse/WTR-440 (Jarmo Pertman)
210
+ Note: If you want to use this version of AutoIt, you'll need to manually uninstall all previously installed Watir and possibly manually installed AutoIt versions first.
211
+ When you run your Watir scripts, it will automatically install and use the new version.
212
+
213
+ === Firefox improvements
214
+
215
+ * Fixed Element#exists? for cases where nested elements were used for locating (Alok Menghrajani)
216
+ * Ignore uppercase tags in XHTML when searching for elements (Alok Menghrajani)
217
+
218
+ === General improvements
219
+
220
+ * Return Element#id correctly when using Element#when_present and friends methods. Closes http://jira.openqa.org/browse/WTR-469 (Jarmo Pertman)
221
+
222
+ Whole Changelog is available at http://github.com/bret/watir/compare/v1.6.7...v1.7.0
223
+
224
+ == Version 1.6.7 - 2010/10/26
225
+
226
+ === General improvements
227
+
228
+ * added new waiting methods for Watir::Element: #when_present, #wait_until_present and #wait_while_present (Jari Bakken and Jarmo Pertman)
229
+ * added new waiting methods for Watir::IE and Watir::Firefox: #wait_until and #wait_while (Jari Bakken and Jarmo Pertman)
230
+ * added method #present? for Watir::Element (Jari Bakken and Jarmo Pertman)
231
+ * deprecated old waiting methods in Watir::Waiter which will be removed in some future version - use Watir::Wait instead (Jarmo Pertman)
232
+
233
+ === IE improvements
234
+
235
+ * removed Watir::Simple (Željko Filipin)
236
+ * #click_no_wait was not working with frame elements. Closes http://jira.openqa.org/browse/WTR-459 (Jarmo Pertman)
237
+
238
+ === Firefox improvements
239
+
240
+ * get_attribute_value now works with attributes named something like "foo-bar" (Alan Shields)
241
+
242
+ === Cleanup & Maintenance
243
+
244
+ * cleaned up repo at GitHub
245
+ * merge licenses into one (Željko Filipin)
246
+ * Rakefile works now under non-Windows systems too (Alan Shields)
247
+ * Removed datahandler.rb
248
+
249
+
250
+ Whole Changelog is available at http://github.com/bret/watir/compare/v1.6.6...v1.6.7
251
+
252
+
253
+ == Version 1.6.6 - 2010/10/2
254
+
255
+ === IE improvements
256
+
257
+ * #elements_by_xpath uses now Nokogiri's xpath method instead of search (Matt Baker)
258
+ * Element#style returns now currentStyle. Closes http://jira.openqa.org/browse/WTR-444 (Jarmo Pertman)
259
+ * Element#visible? doesn't return false anymore for disabled elements (Charley Baker)
260
+ * TH elements texts are included into Table#to_a results. Closes http://jira.openqa.org/browse/WTR-445 (Jarmo Pertman)
261
+ * Added TableRow#to_a method which returns an array of the texts of the cells for the table row. Closes http://jira.openqa.org/browse/WTR-445 (Jarmo Pertman)
262
+ * Added an optional numeric parameter max_depth for Table#to_a and TableRow#to_a for getting text values for nested tables. Closes http://jira.openqa.org/browse/WTR-445 (Jarmo Pertman)
263
+ * #close will close the browser even if #wait raises an Exception. Closes http://jira.openqa.org/browse/WTR-443 (Jarmo Pertman)
264
+ * Added #element and #elements methods for locating non-specific elements. Closes http://jira.openqa.org/browse/WTR-103 (Hugh McGowan)
265
+ * #click_no_wait fixes and improvements. Closes http://jira.openqa.org/browse/WTR-320 and http://jira.openqa.org/browse/WTR-449 (Jarmo Pertman)
266
+ * #wait will raise a Timeout::Error if page hasn't been loaded within 5 minutes. Closes http://jira.openqa.org/browse/WTR-452 (Bret)
267
+ * Fixed a problem when #wait blocked forever. Closes http://jira.openqa.org/browse/WTR-446 (Jarmo Pertman)
268
+
269
+ === Firefox improvements
270
+
271
+ * Added close_all method to firefox. Closes http://jira.openqa.org/browse/WTR-222 (Angrez)
272
+ * Fixed status method for firefox. (Angrez)
273
+ * Fixed url method for firefox. Closes http://jira.openqa.org/browse/WTR-428 (Alister Scott)
274
+ * Added JRuby support (Ian Dees)
275
+ * Forcing to use ActiveSupport 2.3.9 due to incompatibilities with newer versions (Jarmo Pertman)
276
+
277
+ === Cleanup & Maintenance
278
+
279
+ * Some rdoc cleanup (marekj)
280
+ * README changes (Željko Filipin)
281
+ * Removed Watir::Utils (Jarmo Pertman)
282
+ * It is now possible to execute unit-tests within gems with `rake test` (Jarmo Pertman)
283
+ * Don't output unnecessary information to stdout in FireWatir unit-tests (Željko Filipin)
284
+ * Update the 3 gem projects to each use the common readme file (Bret)
285
+
286
+
287
+ Whole Changelog is available at http://github.com/bret/watir/compare/v1.6.5...v1.6.6
288
+
289
+
290
+ == Version 1.6.5
291
+
292
+ Charley Baker was release manager for this release of Watir.
293
+
294
+ === New Features (Both IE and Firefox)
295
+
296
+ * Browser.attach is now available.
297
+ * Browser.options and Browser.set_options are now available.
298
+ * Add support for definition lists, this adds these methods:
299
+ dd, dt, dl, dds, dts, dls. (Jarib)
300
+ * Added support for "visible?" method to both IE and Firefox. Closes
301
+ http://jira.openqa.org/browse/WTR-262 (Tony)
302
+ * Hidden#visible? should always return false. (Jarib)
303
+ * New method execute_script.
304
+ * Add ElementCollections#size as alias of length. (Jarib)
305
+ * Some camelCase => snake_case renames (with aliasing). (Jarib)
306
+ Image#fileCreatedDate => file_created_date
307
+ Image#fileSize => file_size
308
+ Image#hasLoaded? => loaded?
309
+ SelectList#getAllContents => options
310
+ SelectList#getSelectedItems => selected_options
311
+ SelectList#clearSelection => clear
312
+ SelectList#includes? => include?
313
+ TextField#dragContentsTo => drag_contents_to
314
+ Radio/Checkbox#isSet? => set?
315
+ * Patch for winclicker fix. http://jira.openqa.org/browse/WTR-279 (Derek Berner)
316
+ * Add support for using a Regexp as the third argument (value) when locating
317
+ checkboxes/radio buttons. (Jarib)
318
+ * Add support for <strong> element. (Jarib)
319
+ * Add support and tests for <em> element. (Jarib)
320
+ * SelectList#select now supports Numeric arguments. (Jarib)
321
+ * Additional inspect implementations for both IE and FF.
322
+ Closes http://jira.openqa.org/browse/WTR-158 (Jarib)
323
+ * Add ElementCollections#{first,last}. (Jarib)
324
+ * Fixes for running on Ruby 1.9. (Jarib)
325
+
326
+ === Firefox Improvements
327
+
328
+ * SelectList#set is now defined for Firefox. Like with IE, it is an alias for
329
+ SelectList#select. Closes http://jira.openqa.org/browse/WTR-271 (Bret)
330
+ * Element collections are now enumerable. This allows methods such as @select@
331
+ and @map@ to be used with methods such as @divs@ and @links@.
332
+ * FireWatir.attach is now available, analogous to IE.attach. Includes http://jira.openqa.org/browse/WTR-296
333
+ * Some Javascript errors that were being ignored, now raise Ruby exceptions.
334
+ * Added event handler which resets the context of document
335
+ * Fix bug that occurred when new page was automatically loaded. (Angrez, 3ef8b6)
336
+ when page gets loaded automatically (Angrez)
337
+ * Changed code to use document_var, body_var, window_var, browser_var instead of
338
+ "document", "body", "window", "browser" variables. (Angrez)
339
+ * Changed code to replace every quote (") in xpath query with (\") so that it
340
+ doesn't give error while executing the xpath query (Angrez)
341
+ * Fire onchange event for FireWatir file fields. Closes http://jira.openqa.org/browse/WTR-286. (Jarib)
342
+ * Fixes for running and closing Firefox on Mac OS X http://jira.openqa.org/browse/WTR-272 (Jarib)
343
+ * Added functionality to allow Watir::Browser.attach with no arguments to open
344
+ a new firefox window rather than taking over the existing focused window (Rob Aldred)
345
+ * Also modified some setup functions to correctly handle closed browsers,
346
+ browserless windows and others (Rob Aldred)
347
+ * Add test and implementation for Firefox#status http://jira.openqa.org/browse/WTR-250 (Jarib)
348
+ * 2 problems fixed with .click (jubishop)
349
+ a) When chaining together element calls the @container becomes an
350
+ HTMLElement, but there's no container_var defined for HTMLElement
351
+ b) When an <a tag has no href then element_type was returning nil.
352
+ * Fix bug in Firefox#document. Change creating error class by eval in jssh
353
+ socket to creating class with ruby. (Ethan)
354
+ * Add support for Browser#frames. (Ethan)
355
+ * Make the version dependencies for Watir and FireWatir be the same. (This change
356
+ will also be backported to 1.6.3.) (Bret)
357
+
358
+ === IE Improvements
359
+
360
+ * Allow attach timeout to be accessed as an option. Thus:
361
+ IE.set_options :attach_timeout => 5.0
362
+ This was previously available as class method.
363
+ * Fix for Autoit auto-registration. (Bret)
364
+ * Fixes http://jira.openqa.org/browse/WTR-290, http://jira.openqa.org/browse/WTR-308, http://jira.openqa.org/browse/WTR-298
365
+ * Fix for IE6, 7 and 8 file uploads. (Zeljko Filipin & Jarmo Pertman)
366
+ * Replaced REXML with Nokogiri for xml parsing. Fixes http://jira.openqa.org/browse/WTR-19 (Aidy Lewis)
367
+ * Option now supports :label attribute http://jira.openqa.org/browse/WTR-297
368
+ * Patch for IE.close causing WIN32OLE errors http://jira.openqa.org/browse/WTR-304 (Tony)
369
+ * Watir::IE.inspect issue fixed: http://jira.openqa.org/browse/WTR-180 (Jarib)
370
+ * Fix for Browser#execute_script on IE7. (Jarib)
371
+ * Removed ActiveSupport dependency. (Jarib)
372
+ * Fix Browser#status so it works even when the status bar is not visible. (Bret)
373
+ * Fix bug when using "each" with nested tables.
374
+ http://jira.openqa.org/browse/WTR-324 (Alan Baird)
375
+ * Now uses UTF-8 codepage by default http://jira.openqa.org/browse/WTR-219 (Jarib)
376
+
377
+ === Structure Improvements
378
+
379
+ * Lots of rework of the FireWatir code, including removing duplication and
380
+ dead code, renaming variables, and simplifying code. Also a few performance
381
+ improvements. (Bret & Charley)
382
+ * Rename source file names for consistency.
383
+
384
+ === Unit Tests
385
+
386
+ * Add tests demonstrating known bugs.
387
+ * Make the "window" tests run more reliably. (Bret)
388
+ * Relocate unreliable tests. (Bret)
389
+ * Tag tests that are known to fail on IE or Firefox.
390
+ * Fixed one test that was failing on non-English platforms. (Jarib)
391
+ * New Rake task (:test) runs all tests. (Jim Matthews)
392
+ * Use ci_reporter to provide more detailed test results for watirbuild.com.
393
+ Use xls transform to format results. (Jim Matthews)
394
+ * Add WatirSpec submodule + load it in Rakefile if available. (Jarib)
395
+
396
+ == Version 1.6.2
397
+
398
+ * Changed the method of setting Watir::Browser.default when the user does not
399
+ specify a browser option. This fixes the problem where it would be 'ie' on
400
+ Mac.
401
+
402
+ * Fixed FireWatir's "text" method to return the same character's as Watir's
403
+ method. It had been returning extra spaces and other characters.
404
+ Fix included contribution from Tony. Closes #266
405
+
406
+ * Fixed "activesupport" error. Users no longer need to have the latest version
407
+ installed.
408
+
409
+ == Version 1.6.1
410
+
411
+ * Fixed install/load errors reported by Marek J and Tony.
412
+
413
+ == Version 1.6.0
414
+
415
+ This release merges the Watir and FireWatir projects. It contains many
416
+ compatibility fixes,
417
+ as well as a new browser-independent interface your tests can use to allow you
418
+ to specify the browser at run time.
419
+
420
+ We have also updated our existing support for modal dialogs so that it now works
421
+ with Ruby 1.8.6. Users who have been using Ruby 1.8.2 because of this will now
422
+ need to upgrade to Ruby 1.8.6.
423
+
424
+ This release also contains many other fixes. Details below.
425
+
426
+ Watir and FireWatir are still distributed as separate gems. Installing the
427
+ Watir gem will automatically install FireWatir. Both gems now use common code
428
+ contained in the "commonwatir" gem.
429
+
430
+ This release is fully backwards compatible with previous versions of Watir and
431
+ FireWatir. Your existing scripts should continue to run without change.
432
+
433
+ === Installation
434
+
435
+ To install both Watir and FireWatir:
436
+
437
+ gem update --system
438
+ gem install watir
439
+
440
+ To only install FireWatir (e.g. on Mac or Linux)
441
+
442
+ gem update --system
443
+ gem install firewatir
444
+
445
+ To enable Firefox to work with Watir, you will also need to install the
446
+ JSSH plugin. See this page for details.
447
+ http://wiki.openqa.org/display/WTR/FireWatir+Installation#FireWatirInstallation-3%29InstalltheJSSHFirefoxExtension
448
+
449
+ === New Features
450
+ You can now replace references to Watir::IE.new (or FireWatir::Firefox.new)
451
+ with Watir::Browser.new to allow you to
452
+ specify which browser to run your tests against at run time. Details:
453
+ http://wiki.openqa.org/display/WTR/Browser.new
454
+
455
+ It takes two lines of code to allow Browser.new to support an additional Watir
456
+ implementation. The two lines necessary for SafariWatir (on Mac) are provided.
457
+ (See commonwatir/lib/watir/browsers.rb).
458
+
459
+ In addition to 'browser', options supported by Browser.new (on IE only right now)
460
+ are 'speed' and 'visible'.
461
+
462
+ Unit tests no longer run from the gems. You will need to get the source if you
463
+ want to run the unit tests.
464
+
465
+ === Compatibility Fixes
466
+ * FireWatir now raises Watir exceptions.
467
+ * FireWatir now supports multiple attributes for most page elements.
468
+ * Watir now supports multiple attributes for most page elements.
469
+ * Added support to FireWatir for many more element types.
470
+ * Added Radio#checked? and Checkbox#checked? methods to FireWatir.
471
+ * Now firefox.radio().set will click a radio button (as does IE) even if it
472
+ is already set. This is important if there is javascript attached to the
473
+ radio button.
474
+ * TextField#set now respects the maxlength of the field. Previously, FireWatir
475
+ could overrun the limit. FireWatir::TextField.maxlength now works correctly.
476
+ * Watir::SelectList#includes? and #selected now accept regexp arguments.
477
+ This functionality is still missing from FireWatir, but it is in Celerity.
478
+ From Jari Bakken. Fixes #261.
479
+ * FireWatir::Element#disabled is fixed.
480
+ * Added method Watir::Table#row_count_excluding_nested_tables. This works like
481
+ FireWatir::Table#row_count.
482
+ * Watir#wait_until is now available to FireWatir.
483
+ * Fixed versioning. With FireWatir 1.2.1, FireWatir::Firefox::VERSION
484
+ actually reported '1.1.1.'.
485
+ * FireWatir will now automatically starts Firefox on Mac (as it did previously
486
+ on Windows and Linux).
487
+
488
+ === IE Fixes
489
+ * Fix for: form field named "submit" causes "submit" method to not work.
490
+ Closes #223.
491
+ * Calling ie.radio().set now scrolls the page to the control, as with other
492
+ controls. Thanks to Jonathan Kohl for the fix. Closes #172.
493
+ * Fixed ie.speed, which was returning ":fast" when speed was actually ":zippy".
494
+ * Fix for visible? method not being inherited correctly. From Alan Baird.
495
+ Closes #253
496
+ * Added ie.forms method. Thanks to Jarmo P.
497
+ * Fix for "undefined method 'document'" error that was occuring when loading
498
+ pages with frames that were slow to load. Reported here:
499
+ http://groups.google.com/group/watir-general/browse_thread/thread/ddde6251e30588c9
500
+ * Fixed accessing checkboxes and radio buttons using :ole_object on IE.
501
+ Closes #217.
502
+
503
+ === Unit Test Improvements
504
+ * Unit tests no longer can be run from a gem install. Rather, you need to run them
505
+ from a complete source tree.
506
+ * New rake targets for Watir: test and cruise, each of which runs the core tests.
507
+ * Numerous fixes and cleanup to the unit test suite.
508
+ * The unit tests both both Watir and FireWatir now use the new Browser.new
509
+ interface and can be run
510
+ against either implementation (Watir::IE or FireWatir::Firefox or others for
511
+ that matter). See this page for details.
512
+ http://wiki.openqa.org/display/WTR/Running+Unit+Tests+in+Development
513
+ * Added tagging to unit tests. Tests which have known failures are now tagged
514
+ as ":fails_on_ie" or ":fails_on_firefox".
515
+ * Added coverage modes for running unit tests. These are documented on the wiki
516
+ page cited above.
517
+ * Updated tests that were still using obsolete Watir 1.0 interfaces.
518
+ * Started merging the Watir test suites into commonwatir.
519
+ * General test clean up.
520
+ * Test failures due to not setting IE security settings will now issue
521
+ helpful error message telling you how to fix your IE security settings.
522
+
523
+ === Structural Changes
524
+ * Moved library files into "lib" directories. Now Watir is like all the other
525
+ Ruby projects.
526
+ * Moved FireWatir classes into the FireWatir module.
527
+ * Removed examples. They are now on the wiki.
528
+ * Simplified code by removing duplication and unused code.
529
+ * The watir-console now works from the development tree.
530
+ * Renamed IE.defaults to IE.options and IE.defaults= to IE.set_options.
531
+ * Added top-level "rake gems" target. Only works on windows right now.
532
+
533
+
534
+ == Watir 1.5.6
535
+
536
+ To install this:
537
+
538
+ "gem update --system"
539
+ "gem install watir"
540
+
541
+ Installer Fix
542
+
543
+ This update fixes an installer problem in Watir 1.5.5 that affected some users.
544
+ If you installed 1.5.5 without error, there is no reason to get this update.
545
+
546
+ == Watir 1.5.5.
547
+
548
+ New Features
549
+
550
+ * Multiple attributes can now be specified for these elements:
551
+ li, ul, map, area, h1, h2, h3, h4, h5, h6. (This was claimed to work earlier,
552
+ but never did.)
553
+ http://jira.openqa.org/browse/WTR-196
554
+
555
+ Bug Fixes
556
+
557
+ * Statements such at ie.table().row() now work (no longer private).
558
+ http://jira.openqa.org/browse/WTR-117
559
+ * Fixed bug with images method when used with anything but ie. (Paul Rogers)
560
+ E.g. ie.div().images. http://jira.openqa.org/browse/WTR-211
561
+ * Fixed intermittent bug with ie.file_field().set. (Tomislav Car)
562
+ http://jira.openqa.org/browse/WTR-210
563
+ * When installing Watir 1.5.4 you could get extra, confusing
564
+ questions. This shouldn't happen anymore.
565
+ http://jira.openqa.org/browse/WTR-209
566
+ * Improved error message when element is not found using multiple attributes.
567
+ http://jira.openqa.org/browse/WTR-181
568
+ * Made examples and unit tests somewhat better examples: removed unnecessary
569
+ "include Watir" statements; started using "browser" instead of "$ie"; use
570
+ new methods 'goto_page' and 'uses_page' (this last improves performance of
571
+ unit tests).
572
+ http://jira.openqa.org/browse/WTR-159
573
+ * Moved brittle unit test that was causing cascading failures; renamed another
574
+ that was causing a namespace collision.
575
+ http://jira.openqa.org/browse/WTR-92
576
+
577
+ == Version 1.5.4
578
+
579
+ New Features
580
+
581
+ * Add new speed, :zippy. This is like fast, but, in effect, it does a TextField#value= instead of a TextField#set. If you have specific text fields that you never want this to happen to, use ie.text_field(:how, what).requires_typing.set instead.
582
+ http://svn.openqa.org/fisheye/changelog/watir/?cs=1295
583
+ * Add support for Chinese input as supplied by Vincent Xu.
584
+ http://jira.openqa.org/browse/WTR-71.
585
+
586
+ Bug Fixes
587
+
588
+ * Add dependency on windows-pr 0.6.6, which seems to be necessary on Vista.
589
+ * Fix for bug in IE.close_others provided by Paul Taylor.
590
+ http://jira.openqa.org/browse/WTR-194
591
+ * Fix for error when using verify_equal with ci_reporter, provided by Marcog.
592
+ http://svn.openqa.org/fisheye/changelog/watir/?cs=1301
593
+
594
+ == Version 1.5.3
595
+
596
+ Bug fixes and minor cleanup.
597
+
598
+ * Fix text areas bugs.
599
+ * Fix warning messages caused by redefined constants.
600
+ * Break out watir.rb into multiple files.
601
+ * Fix [WTR-90] error when running tests when installing gem.
602
+ http://jira.openqa.org/browse/WTR-90
603
+ * Fix tests.
604
+ * Update documentation.
605
+
606
+ Major Changes in 1.5.2
607
+ Support for IE's Modal Dialogs.
608
+ showModalDialog()
609
+ Any method can be used to specify an element (:text, :class, etc.).
610
+ ie.button(:class,'Button Menu').click
611
+ ie.div(:text, 'Type').text_field(:class, 'TextInput-input').set('my value')
612
+ ie.button(:text, 'Save').click
613
+ One can now use multiple attributes to specify an element.
614
+ ie.span(:class =>'Label', :text => 'Add new').click
615
+
616
+ Other Changes in 1.5.2
617
+ * Migrated IE.new_process from watir/contrib and improved its reliability. We now recommend IE.new_process over IE.new as a way to avoid numerous errors detailed in http://jira.openqa.org/browse/WTR-150.
618
+ * Added IE.start_process. This works like IE.start, but uses the new_process mechanism to start IE.
619
+ * Added IE.new_window and IE.start_window. This are synonyms for IE.new and IE.start.
620
+ * Added dependency on the win32-process gem.
621
+ * Added IE.each, which iterates through the various IE windows currently open.
622
+ * Updated WindowHelper and watir/dialog to work with IE7
623
+ * The wait method was completely rewritten. This should fix various errors seen in 1.5.1.1165 and 1.5.1.1158.
624
+ * Removed the "spinner".
625
+ * Fixed bug in Element#parent and updated unit test.
626
+ * HTML value attributes are checked as strings before converting, updated unit tests.
627
+ * Watir::wait_until clean up.
628
+ * Fix for winclicker when installed in directory with spaces.
629
+ * Rdoc changes and updates.
630
+ * A workaround for frame access errors in the wait command, swallowing access denied errors and rethrowing if other WIN32OLERuntimeErrors show up.
631
+ * Add support for "li" tag.
632
+ * Fix for bug in element_by_xpath. http://www.mail-archive.com/wtr-general@rubyforge.org/msg06742.html
633
+ * "Wait" method now is called recursively into nested frames. http://jira.openqa.org/browse/WTR-107
634
+ * Rdocs now only include the core Watir library (not contrib).
635
+ * Improve error reporting when IE#modal_dialog isn't found.
636
+ * Add method "ModalDialog#exists?"
637
+ * Add Watir::Win32.window_exists? method.
638
+ * Fix for winclicker setComboBoxTest and setTextBoxText http://jira.openqa.org/browse/WTR-124
639
+ * Improved Support for IE7
640
+ o Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
641
+ o Fix for IE7 with winclicker.
642
+ o Fix for check_for_http_error in IE7. http://jira.openqa.org/browse/WTR-141
643
+ * Fix for IE7 on ie.exists? http://jira.openqa.org/browse/WTR-123
644
+ * Rubyw is now used in winclicker to bypass command line windows.
645
+ * Autoit is registered before being used.
646
+ * Watir now checks for the right version of Ruby before loading our customized Win32ole library.
647
+ * ie.file_field has been fixed and unit test updated.
648
+ * rdoc generation has been fixed.
649
+ * page checker has been moved from the default behavior into contrib/page_checker.rb
650
+ * Fix for intermittent crashes occuring when using Watir with Ruby version > 1.8.2.
651
+ * Fix for http://jira.openqa.org/browse/WTR-86
652
+ This fix prevents the Watir-modified win32ole.so library (compiled against 1.8.2) from being used.
653
+ * Added Element#parent
654
+ * Add new methods Element#after? and Element#before?
655
+ * Added support for relative specifiers. E.g.:
656
+ link = $ie.link(:class => 'addtocart', :after? => @headline)
657
+ * Removed NAVIGATION_CHECKER from Watir.rb, added to contrib. This fixes rdoc generation and stops the frame access exception being thrown in the default installation.
658
+ * Open-code calls to def_creator, for easier debugging and rdoc generation of factory methods.
659
+ * Winclicker fix for too many callbacks defined error.
660
+ * Patch for rspec API changes
661
+ * You can now reference an iframe using IE#frame(:id, 'whatever'). Jira 109
662
+ * Added 'map' and 'area' element support.
663
+ * Moved Watir::Assertions into new file watir/assertions.rb so they can be used outside test cases.
664
+ * Fix and unit test for Jira 114, related to tag in HTML source.
665
+ * Added SelectList#include? and SelectList#selected?
666
+ * Added Element#visible?
667
+ * Fixes all reported bugs with contains_text.
668
+ * New Watir::TestCase#verify method (and verify_equal and verify_match).
669
+ * The click_no_wait method now works in frames.
670
+ * Released new IE.new_process method to 'watir/contrib/ie-new-process'. This starts up a new IE process for each IE window, which is really how it should be done. To close these use IE#kill. Any one getting intermittent RPC errors when opening windows may want to use this instead.
671
+ * Several examples have been updated.
672
+ * Moved enabled_popup to a new contrib directory.
673
+ * Added several tests.
674
+
675
+ Changes in 1.4
676
+ fix method name for accessing class name of P/Span/Div (change from style to class_name)
677
+ fix for bug 2152 (frame index in show_frames off by 1)
678
+ added alt as a property to image
679
+ added file_fields
680
+ fixed TextArea#to_s
681
+ moved reset button to buttons class
682
+ add IE#send_keys
683
+ frames can now be referenced using regexps and ids
684
+ added IE#minimize, IE#maximize, IE#restore
685
+ onChange and onBlur events now triggered by TextField#set
686
+ added default option to set for checkbox
687
+ added colspan method to tablecell
688
+ fix for bug reported by Scott P, wrong objects are sometimes found
689
+ fixed Bug with radio/checkboxes doing multiple fireevents
690
+ fix for table, id and reg exp
691
+ wait for page load before returning from IE.attach
692
+ update to select_list -- new interface still in progress
693
+ added .show method to iterators
694
+ fix for flashing objects in table cells
695
+ added flash for forms
696
+ flash returns nil instead of the curious '10'
697
+ removed ScreenCapture module from IE class
698
+
699
+ Changes in 1.3.1
700
+ Added P tag support
701
+ Bug fix for images and links in frames using each
702
+ Bug fixes for image#save
703
+
704
+ Changes in 1.3
705
+ added new row_values and column_value methods to tables
706
+ added ability to save an image - ie.image(:index,1).save('c:\temp\mypic.gif')
707
+ new method, html that applies to objects, not just a page - ie.button(:index,1).html => <INPUT id=b2 title="this is button1" onclick="javascript:document.location='pass.html';" type=button value="Click Me" name=b1>
708
+ now throws a NavigationException on 404, 500 errors
709
+ iterators now mixin Enumerable
710
+ added support for labels
711
+ added support for frames by index
712
+ added screen_capture
713
+ added hidden field support, and iterator method
714
+ table cells, span and div now act as containers, so can do ie.div(:index,1).button(:index.2).click
715
+ added index to print out from show_xx methods. Link shows img src if an image is used
716
+ added onKeyUp and onKeyDown to text_fields#set
717
+ installer now installs AutoIt to deal with javascript popups, file uploads etc
718
+ the spinner is now off by default
719
+ bug fix in text_fields iterator where it wasnt iterating through password or text ares. Added test for password fields
720
+ bug fix for flash for tables
721
+ bug fixes for images and links in cells