caius-celerity 0.0.6.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +75 -0
- data/License.txt +621 -0
- data/README.txt +73 -0
- data/Rakefile +12 -0
- data/lib/celerity/browser.rb +823 -0
- data/lib/celerity/clickable_element.rb +69 -0
- data/lib/celerity/collections.rb +156 -0
- data/lib/celerity/container.rb +788 -0
- data/lib/celerity/default_viewer.rb +10 -0
- data/lib/celerity/disabled_element.rb +40 -0
- data/lib/celerity/element.rb +313 -0
- data/lib/celerity/element_collection.rb +107 -0
- data/lib/celerity/element_locator.rb +170 -0
- data/lib/celerity/elements/button.rb +43 -0
- data/lib/celerity/elements/file_field.rb +25 -0
- data/lib/celerity/elements/form.rb +23 -0
- data/lib/celerity/elements/frame.rb +75 -0
- data/lib/celerity/elements/image.rb +76 -0
- data/lib/celerity/elements/label.rb +11 -0
- data/lib/celerity/elements/link.rb +30 -0
- data/lib/celerity/elements/meta.rb +6 -0
- data/lib/celerity/elements/non_control_elements.rb +106 -0
- data/lib/celerity/elements/option.rb +32 -0
- data/lib/celerity/elements/radio_check.rb +115 -0
- data/lib/celerity/elements/select_list.rb +121 -0
- data/lib/celerity/elements/table.rb +144 -0
- data/lib/celerity/elements/table_cell.rb +29 -0
- data/lib/celerity/elements/table_elements.rb +42 -0
- data/lib/celerity/elements/table_row.rb +48 -0
- data/lib/celerity/elements/text_field.rb +169 -0
- data/lib/celerity/exception.rb +77 -0
- data/lib/celerity/htmlunit/commons-codec-1.3.jar +0 -0
- data/lib/celerity/htmlunit/commons-collections-3.2.1.jar +0 -0
- data/lib/celerity/htmlunit/commons-httpclient-3.1.jar +0 -0
- data/lib/celerity/htmlunit/commons-io-1.4.jar +0 -0
- data/lib/celerity/htmlunit/commons-lang-2.4.jar +0 -0
- data/lib/celerity/htmlunit/commons-logging-1.1.1.jar +0 -0
- data/lib/celerity/htmlunit/cssparser-0.9.5.jar +0 -0
- data/lib/celerity/htmlunit/htmlunit-2.6-SNAPSHOT.jar +0 -0
- data/lib/celerity/htmlunit/htmlunit-core-js-2.5.jar +0 -0
- data/lib/celerity/htmlunit/nekohtml-1.9.13-20090507.082850-2.jar +0 -0
- data/lib/celerity/htmlunit/sac-1.3.jar +0 -0
- data/lib/celerity/htmlunit/serializer-2.7.1.jar +0 -0
- data/lib/celerity/htmlunit/xalan-2.7.1.jar +0 -0
- data/lib/celerity/htmlunit/xercesImpl-2.8.1.jar +0 -0
- data/lib/celerity/htmlunit/xml-apis-1.3.04.jar +0 -0
- data/lib/celerity/htmlunit.rb +61 -0
- data/lib/celerity/identifier.rb +11 -0
- data/lib/celerity/input_element.rb +25 -0
- data/lib/celerity/listener.rb +141 -0
- data/lib/celerity/resources/no_viewer.png +0 -0
- data/lib/celerity/short_inspect.rb +20 -0
- data/lib/celerity/util.rb +91 -0
- data/lib/celerity/version.rb +10 -0
- data/lib/celerity/watir_compatibility.rb +84 -0
- data/lib/celerity.rb +74 -0
- data/tasks/jar.rake +57 -0
- data/tasks/rdoc.rake +4 -0
- metadata +130 -0
data/History.txt
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
== 0.0.6 2009-03-19
|
|
2
|
+
* Support for meta, strong, dl, dt, dd, and em HTML elements.
|
|
3
|
+
* Update to HtmlUnit 2.5-SNAPSHOT.
|
|
4
|
+
* New options for Browser#new: :proxy, :charset, :render, :log_level
|
|
5
|
+
* Methods added:
|
|
6
|
+
- Browser#add_cookie
|
|
7
|
+
- Browser#asynchronized
|
|
8
|
+
- Browser#add_listener
|
|
9
|
+
- Browser#content_type
|
|
10
|
+
- Browser#cookies
|
|
11
|
+
- Browser#debug_web_connection
|
|
12
|
+
- Browser#focused_element
|
|
13
|
+
- Browser#io
|
|
14
|
+
- Browser#remove_cookie
|
|
15
|
+
- Browser#response_headers
|
|
16
|
+
- Browser#wait
|
|
17
|
+
- Browser#xml
|
|
18
|
+
- Browser#{element,elements}_by_xpath
|
|
19
|
+
- ClickableElement#{double,right}_click
|
|
20
|
+
- ElementCollection#{first,last}
|
|
21
|
+
* Methods removed:
|
|
22
|
+
- Browser#show_*
|
|
23
|
+
* Methods renamed:
|
|
24
|
+
- SelectList#get_all_contents => SelectList#options
|
|
25
|
+
- SelectList#get_selected_items => selected_options
|
|
26
|
+
- SelectList#clear_selection => SelectList#clear
|
|
27
|
+
* Add support for finding elements by their corresponding <label>.
|
|
28
|
+
* Recognize buttons of type image, reset, submit.
|
|
29
|
+
* Proxy support (see Browser.new)
|
|
30
|
+
* Lots of refactorings, bug fixes and minor enhancements.
|
|
31
|
+
|
|
32
|
+
Thanks to Hirobumi Hama, Kamal Fariz Mahyuddin and Thomas Marek for contributions in this release.
|
|
33
|
+
|
|
34
|
+
== 0.0.4 2008-08-18
|
|
35
|
+
* Minor enhancements
|
|
36
|
+
* Update HtmlUnit to 2.2
|
|
37
|
+
* New methods: Element#focus, Element#parent, Table#child_row, Table#child_cell, TableRow#child_cell
|
|
38
|
+
* Rename Celerity::IE -> Celerity::Browser (but Celerity::IE still points to the class)
|
|
39
|
+
* Add Celerity::Browser.new(:browser => :firefox) to use HtmlUnit's Firefox mode.
|
|
40
|
+
* Make it easier to run the spec suite against other implementations.
|
|
41
|
+
* Bugfixes:
|
|
42
|
+
- Image#click
|
|
43
|
+
- Finding elements by id could give weird errors if multiple elements had the same id.
|
|
44
|
+
- If getElementById returns an element with the wrong tag name, output a warning and find the correct element by iteration instead.
|
|
45
|
+
- Browser#goto regexp
|
|
46
|
+
- Frames (collection) support
|
|
47
|
+
|
|
48
|
+
== 0.0.3 2008-05-26
|
|
49
|
+
* 3 major enhancements:
|
|
50
|
+
* Added support for <ul>, <ol>, <thead>, <tfoot>, <h1>, <h2>, <h3>, <h4>, <h5> and <h6> elements
|
|
51
|
+
* Better support for <tbody>, <tr> and <option> elements. They are now accessible from the top level in the same way as every other element, meaning you can do ie.option(:id, 'some_id'), or ie.row(:index, 1).
|
|
52
|
+
* Better HTTPS support
|
|
53
|
+
* 8 minor enhancements:
|
|
54
|
+
* Improved CelerityViewer
|
|
55
|
+
* Watir-like show methods (IE#show_divs, IE#show_tables, etc.)
|
|
56
|
+
* All HTML elements now has a default how parameter, see http://celerity.rubyforge.org/wiki/wiki.pl?ListOfSupportedHtmlElementsAndTheirDefaultHowParameter
|
|
57
|
+
* Raketask cleanup
|
|
58
|
+
* Separated out Watir compatibility specific stuff
|
|
59
|
+
* Form#submit implemented
|
|
60
|
+
* Updated ATTRIBUTES constants for all element classes
|
|
61
|
+
* TextField#type bug fixed
|
|
62
|
+
|
|
63
|
+
== 0.0.2 2008-05-15
|
|
64
|
+
* 3 major enhancements:
|
|
65
|
+
* Support for multiple how => what conditions
|
|
66
|
+
* Fixed performance issue with collections
|
|
67
|
+
* Specs will now run on Windows
|
|
68
|
+
* 3 minor enhancements:
|
|
69
|
+
* Benchmark scripts
|
|
70
|
+
* Method generator
|
|
71
|
+
* Fixed multi-byte characters issue for text fields
|
|
72
|
+
|
|
73
|
+
== 0.0.1 2008-05-07
|
|
74
|
+
* 1 major enhancement:
|
|
75
|
+
* Initial release
|