forked from cheezy/page-object
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
368 lines (336 loc) · 12 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
=== Version 0.6.4
* Enhancements
* Added support for finding buttons using :css
=== Version 0.6.3 / 2012-3-1
* Enhancements
* Added #expected_title method to PageObject
* Added #expected_element method to PageObject
* Added #execute_script method to PageObject
* Updated to use selenium-webdriver 2.20.0
* Fixes
* Udates to the README - Thanks to p0deje and ivaravko
WARNING: This change breaks existing code
* Changed the generated getter for select_list to return the text instead of the value
=== Version 0.6.2 / 2012-2-12
* Enhancements
* Added #wait_for_ajax support for the jQuery framework
* Added #wait_for_ajax support for the Prototype framework
* Added the ability to add new Javascript Frameworks to PageObject via the #add_framework method
* Updated to use selenium-webdriver 2.19.0
* Updated to use watir-webdriver 0.5.3
* Fixes
* Fixed [] methods on OrderedList and UnorderedList so it only gets direct children
* Fixed items methods on OrderedList and UnorderedList so it returns count of direct children
=== Version 0.6.1 / 2012-1-18
* Enhancements
* Added #disabled? method to Element
* Added #selected_options method to SelectList
* Added #include? and #selected? to SelectList
* Added #append to TextField
* generates a method to determine if an element exists (Thanks Nicholas Munson)
* better message when calling platform method via method_missing (Thanks Alex Rodionov)
* Updated to use selenium-webdriver 2.17.0
=== Version 0.6 / 2012-1-10
* Enhancements
* Added ?_elements methods to ElementLocator so you can find all elements that match an identifier
* Added ?_elements methods to NestedElements so you can find all elements nested within others
* Added #navigate_to to PageFactory to navigate to a page through previous pages
* Added #continue_navigation_to to PageFactory which begins at @current_page
* Added routes to PageFactory to collect routes through the site
* Updated to use selenium-webdriver 2.16.0
=== Version 0.5.5 / 2011-12-27
* Enhancements
* Added ability to find Checkbox by :value
* Added ability to find HiddenField by :value
* Added ability to find a parent of an Element
* Added #fire_event method to Element
* Added #focus method to Element
* Fixes
* Updated #populate_page_with to no longer attempt to set a value in a field that is disabled
=== Version 0.5.4 / 2011-12-18
* Enhancements
* Added deprecation warning to the method_missing method on Element. This ability will be removed in 0.6
* Added full support for file_field element
* Added ability to find TextField by :title
* Added ability to find Form by :action
* Added ability to find Image by :alt
* Added ability to find Image by :src
=== Version 0.5.3 / 2011-12-11
* Enhancements
* Added new module PagePopulator with single method populate_page_with
* Updated to use selenium-webdriver 2.15.0
* Updated to use watir-webdriver 0.4.1
* Fixes
* Updated prompt method to make it compatible with latest dependencies
=== Version 0.5.2 / 2011-11-30
* Enhancements
* Added ability to find image buttons by src
* Added ability to find image button by alt
* Added first_row and last_row methods to Table
* Updated to use selenium-webdriver 2.14.0
* Updated to use watir-webdriver 0.3.9
=== Version 0.5.1 / 2011-11-18
* Enhancements
* Added instance level in_frame method
* Support for nesting all *_element instance methods inside in_frame call
* Support for nesting alerts inside an in_frame call
* Support for nesting confirms inside an in_frame call
* Support for nesting prompts inside an in_frame call
=== Version 0.5 / 2011-11-06
* Enhancements
* Validated support for JRuby
* Removed dependency on Mixology
* Updated to use selenium-webdriver 2.10.0
* Updated to use watir-webdriver 0.3.8
=== Version 0.4.4 / 2011-10-26
* Enhancements
* Can now find Radio buttons by value
* Updated to use selenium-webdriver 2.9.1
* Fixes
* Properly change context back to top level after interaction inside a frame with Watir
=== Version 0.4.3 / 2011-10-07
* Enhancements
* The new watir and selenium fix a fairly serious problem when working with modals and attaching to windows
* Updated to use selenium-webdriver 2.8.0
* Updated to use watir-webdriver 0.3.5
=== Version 0.4.2 / 2011-10-01
* Enhancements
* Proper handling of <button> elements
* Changed PageFactory so it also sets and instance variable @current_page to the newly created page
=== Version 0.4.1 / 2011-09-30
* Fixes
* Fixed error when loading plugins using Selenium
=== Version 0.4 / 2011-09-24
* Enhancements
* Added all of the h4 locators
* Added all of the h5 locators
* Added all of the h6 locators
* Added all of the paragraph locators
* Added the Paragraph class
* Added #click to Element
* Added #style to Element
* Added #inspect to Element
* Added #current_url to PageObject
* Added #clear_cookies to PageObject
* Added #save_screenshot to PageObject
* Updated to use selenium-webdriver 2.7.0
* Updated to use watir-webdriver 0.3.4
=== Version 0.3.2 / 2011-09-22
* Enhancements
* Element#when_present now returns the element object
* Element#when_visible now returns the element object
* Element#when_not_visible now returns the element object
* Added #clear method for TextArea
* Added support for Heading element
* Added all of the h1 locators
* Added all of the h2 locators
* Added all of the h3 locators
* Updated to use selenium-webdriver 2.6.0
=== Version 0.3.1 / 2011-09-08
* Enhancements
* Updated to use watir-webdriver 0.3.3
=== Version 0.3.0 / 2011-09-04
* Enhancements
* Changed namespace for selenium and watir to include webdriver
* Support for locating the following elements when nested
* Link
* Button
* TextField
* HiddenField
* TextArea
* SelectList
* Checkbox
* RadioButton
* Div
* Span
* Table
* TableCell
* Image
* Form
* OrderedList
* UnorderedList
* ListItem
* Added #modal_dialog to PageObject to override the default modal dialog behavior
* Changed element keys to include _webdriver
* Updated to use selenium-webdriver 2.5.0
=== Version 0.2.5 / 2011-08-19
* Enhancements
* #attach_to_window takes an optional block - will return to calling window after block executes
* Added the following instance methods to PageObject via ElementLocators
* #button_element
* #text_field_element
* #hidden_field_element
* #text_area_element
* #select_list_element
* #link_element
* #checkbox_element
* #radio_button_element
* #div_element
* #span_element
* #table_element
* #cell_element
* #image_element
* #form_element
* #list_item_element
* #unordered_list_element
* #ordered_list_element
* Updated to use selenium-webdriver 2.4.0
* Updated to use watir-webdriver 0.3.2
=== Version 0.2.4 / 2011-08-08
* Enhancements
* Can now find span by :text
* Can now find button by :value
* Added #forward and #back methods to PageObject
* Added #right_click and #double_click methods to Element
* Added #value= to TextField and TextArea
* Added #select to SelectList
* Added #check, #uncheck, and #checked? to CheckBox
* Added #select, #clear, and #selected? to RadioButton
* Can properly pass blocks to all accessor methods
* Updated to use watir-webdriver 0.3.0
=== Version 0.2.3 / 2011-08-01
* Enhancements
* Can now find a TableCell by its' text
* If we receive an error calling #attach_to_window, wait one second and try again
* Will call callback method #initialize_page method if it exists on a page object
* Renamed all *_<element_type> methods to *_element. Created alias for backward compatibility
* Delegating unknown method calls on Element to the driver element object
* Improved block handling when passed to element creation method
* Updated to use selenium-webdriver 2.3.2
=== Version 0.2.2 / 2011-07-31
* Enhancements
* Can find frame by name
* Added #clear method to Element
* Removed #switch_to_from from PageObject
* Added #in_frame to Accessors to handle frame and iframe access
* Fixes
* Clearing value from text_field before setting value on Selenium
=== Version 0.2.1 / 2011-07-29
* Enhancements
* Added ability to locate div by the contained text
* Added #attach_to_window so a page object and operate on another window
* Added #switch_to_frame to allow one to switch to a frame
* Added #send_keys to PageObject::Elements::Element
* Added #refresh to page object
* Work toward making drivers pluggable
* Updated to use selenium-webdriver 2.2.0
* Updated to use watir-webdriver 0.2.8
=== Version 0.2 / 2011-07-24
* Enhancements
* Async handling
* Added #wait_until to page object to support async events at page level
* Added the following methods to PageObject::Elements::Element
* #when_present
* #when_visible
* #when_not_visible
* #wait_until
* Handling popups
* Added #alert to page object to override default alert popup behavior
* Added #confirm to page object to override default confirm popup behavior
* Added #prompt to page object to override default prompt popup behavior
* Updated to use selenium-webdriver 2.1.0
=== Version 0.1.1 / 2011-07-16
* Enhancements
* Support for identifying hidden fields by text when using Selenium
* Support for identifying links by href when using Selenium
* Updated to use selenium-webdriver 2.0.1
* Updated to use watir-webdriver 0.2.6
=== Version 0.1 / 2011-07-01
* Enhancements
* Support for using multiple identifiers when locating the following element:
* Link
* TextField
* HiddenField
* TextArea
* SelectList
* CheckBox
* RadioButton
* Button
* Div
* Span
* Table
* TableCell
* Image
* Form
* ListItem
* UnorderedList
* OrderedList
* Selenium support for using index for the following elements:
* Link
* TextField
* HiddenField
* TextArea
* SelectList
* CheckBox
* RadioButton
* Button
* Div
* Span
* Table
* Image
* Form
* ListItem
* UnorderedList
* OrderedList
* Support name for identification across all elements in Watir
* Added [] method to SelectList to index Options
* Added options method to Select List
* Added support for the following elements
* Option
* Updated to use selenium-webdriver 0.2.2
* Updated to use watir-webdriver 0.2.5
=== Version 0.0.5 / 2011-06-15
* Enhancements
* Added rows method to Table to return number or rows
* Added columns method to TableRow to return the number of columns
* Table now supports Enumerable to iterate over the TableRows
* TableRow now supports Enumerable to iterate over TableCells
* Added items method to UnorderedList to return number of ListItems
* Added items method to OrderedList to return number of ListItems
* UnorderedList now supports Enumerable to iterate over the ListItems
* OrderedList now supports Enumerable to iterate over the ListItems
* All element methods now take an optional block that can be executed passing a browser
* Created PageFactory module to add factory methods to your step definitions
* Thanks Alister Scott for the idea
=== Version 0.0.4 / 2011-06-13
* Enhancements
* Added support for the following elements
* hidden field
* form
* list item
* unordered list
* ordered list
=== Version 0.0.3 / 2011-06-02
* Enhancements
* Added support for the following elements
* span
* image
* Added the following methods to Element
* value
* ==
* tag_name
* attribute
* click
* Updated to use selenium-webdriver 0.2.1
* Updated to use watir-webdriver 0.2.4
=== Version 0.0.2 / 2011-05-30
* Enhancements
* Added support for the following elements
* div
* button
* table
* table row
* table cell
* Added text method to element
=== Version 0.0.1 / 2011-05-22
* Enhancements
* Support for the following elements
* check box
* link
* radio button
* select list
* text field
* Support for the following page level functions
* text
* html
* title