forked from cheezy/page-object
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathChangeLog
435 lines (397 loc) · 14.9 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
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
=== Version 0.7.0
* Enhancements
* Updated to use selenium-webdriver 2.24.0
=== Version 0.6.9 / 2012-6-12
* Enhancements
* Added select_value method to SelectList
* Updated link to be able to identify by title
* Updated div to be able to identify by title
* Updated text_field to be able to identify by text and label
* Updated to use selenium-webdriver 2.22.2
* Fixes
* Fixed populate_page_with to work with text areas (Thanks ramyav85)
=== Version 0.6.8 / 2012-6-3
* Enhancements
* Updated [] method on Table to return nil when bad row header is provided
* Updated [] method on TableRow to return nil when bad column header is provided
* Updated to use watir-webdriver 0.6.1
* Updated to use selenium-webdriver 2.22.1
* Fixes
Modified text area methods so it clears before setting new text
Fixed clear method on SelectList when using Selenium to clear multi selects
=== Version 0.6.7 / 2012-5-16
* Enhancements
* Added flash method to Element to temporarily change the background color
* Added when_not_present method to Element
* Added default override for page level waits - PageObject.default_page_wait
* Added default override for element level waits - PageObject.default_element_wait
* Added the ability to find a TableRow by providing a String to the [] method from Table
* Added the ability to find a TableCell by providing a String to the [] method from TableRow
* Updated to use watir-webdriver 0.5.8
* Fixes
* Improved logic around selecting options from select lists
* TableCell now handles enabled? call gracefully
=== Version 0.6.6 / 2012-4-26
* Enhancements
* Added ability to find span's by title
* Changed order of initialization so initialize_page is called after goto
* Updated to use watir-webdriver 0.5.5
* Updated to use selenium-webdriver 2.21.2
* Fixes
* Fixed the problem with determining the existance of an Selenium element
=== Version 0.6.5 / 2012-4-12
* Enhancements
* Added a page level element method to return a generic Element object
* Added a method to retrieve all file fields on a page
* Updated all accessor methods to take a default identifier of {:index => 0}
* Updated all page level element locators to take a default identifier of {:index => 0}
* Updated all page level multi-element locators to take a default identifier of {}
* Updated deprecation warning to print to stderr (Thanks Josh Adell)
* Updated to use selenium-webdriver 2.21.0
=== Version 0.6.4 / 2012-3-27
* Enhancements
* Added support for finding the following elements by :css
Button
Link
* Added support for the label element (Thanks Paul Clewell)
* Added method to fetch generic element (Thanks Jim Holmes)
* Added direct_url alias for page_url
* Added visit alias for visit_page
* Added on alias for on_page
* Added element_with_focus method to return the element that has focus
* Changed Elements.element_class_for so parameters can be strings or symbols
* Changed page_url to accept a symbol that will cause it to call a corresponding method
* Updated to use watir-webdriver 0.5.4
=== 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
* Updates 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