oki-celerity 0.8.1.dev
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +111 -0
- data/LICENSE +621 -0
- data/README.rdoc +80 -0
- data/Rakefile +11 -0
- data/VERSION.yml +5 -0
- data/celerity.gemspec +126 -0
- data/lib/celerity/browser.rb +908 -0
- data/lib/celerity/clickable_element.rb +73 -0
- data/lib/celerity/collections.rb +164 -0
- data/lib/celerity/container.rb +800 -0
- data/lib/celerity/default_viewer.rb +14 -0
- data/lib/celerity/disabled_element.rb +40 -0
- data/lib/celerity/element.rb +311 -0
- data/lib/celerity/element_collection.rb +107 -0
- data/lib/celerity/element_locator.rb +164 -0
- data/lib/celerity/elements/button.rb +54 -0
- data/lib/celerity/elements/file_field.rb +29 -0
- data/lib/celerity/elements/form.rb +22 -0
- data/lib/celerity/elements/frame.rb +86 -0
- data/lib/celerity/elements/image.rb +89 -0
- data/lib/celerity/elements/label.rb +16 -0
- data/lib/celerity/elements/link.rb +43 -0
- data/lib/celerity/elements/meta.rb +14 -0
- data/lib/celerity/elements/non_control_elements.rb +124 -0
- data/lib/celerity/elements/option.rb +38 -0
- data/lib/celerity/elements/radio_check.rb +114 -0
- data/lib/celerity/elements/select_list.rb +146 -0
- data/lib/celerity/elements/table.rb +153 -0
- data/lib/celerity/elements/table_cell.rb +36 -0
- data/lib/celerity/elements/table_elements.rb +42 -0
- data/lib/celerity/elements/table_row.rb +49 -0
- data/lib/celerity/elements/text_field.rb +168 -0
- data/lib/celerity/exception.rb +83 -0
- data/lib/celerity/htmlunit/apache-mime4j-0.6.jar +0 -0
- data/lib/celerity/htmlunit/commons-codec-1.4.jar +0 -0
- data/lib/celerity/htmlunit/commons-collections-3.2.1.jar +0 -0
- data/lib/celerity/htmlunit/commons-io-1.4.jar +0 -0
- data/lib/celerity/htmlunit/commons-lang-2.5.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.9-SNAPSHOT.jar +0 -0
- data/lib/celerity/htmlunit/htmlunit-core-js-2.8.jar +0 -0
- data/lib/celerity/htmlunit/httpclient-4.0.1.jar +0 -0
- data/lib/celerity/htmlunit/httpcore-4.0.1.jar +0 -0
- data/lib/celerity/htmlunit/httpmime-4.0.1.jar +0 -0
- data/lib/celerity/htmlunit/nekohtml-1.9.14.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.9.1.jar +0 -0
- data/lib/celerity/htmlunit/xml-apis-1.3.04.jar +0 -0
- data/lib/celerity/htmlunit.rb +64 -0
- data/lib/celerity/identifier.rb +28 -0
- data/lib/celerity/ignoring_web_connection.rb +15 -0
- data/lib/celerity/input_element.rb +25 -0
- data/lib/celerity/javascript_debugger.rb +32 -0
- data/lib/celerity/listener.rb +143 -0
- data/lib/celerity/resources/no_viewer.png +0 -0
- data/lib/celerity/short_inspect.rb +20 -0
- data/lib/celerity/util.rb +129 -0
- data/lib/celerity/version.rb +3 -0
- data/lib/celerity/viewer_connection.rb +89 -0
- data/lib/celerity/watir_compatibility.rb +70 -0
- data/lib/celerity/xpath_support.rb +52 -0
- data/lib/celerity.rb +77 -0
- data/tasks/benchmark.rake +4 -0
- data/tasks/check.rake +24 -0
- data/tasks/clean.rake +3 -0
- data/tasks/fix.rake +25 -0
- data/tasks/jar.rake +55 -0
- data/tasks/jeweler.rake +28 -0
- data/tasks/rdoc.rake +4 -0
- data/tasks/snapshot.rake +25 -0
- data/tasks/spec.rake +26 -0
- data/tasks/website.rake +10 -0
- data/tasks/yard.rake +16 -0
- metadata +204 -0
data/HISTORY
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
== 0.0.7 2009-09-04
|
2
|
+
* :firefox (Firefox 2) is now the default browser, :firefox3 support added.
|
3
|
+
* Avoid huge Java backtraces on FailingHttpStatusCodeException
|
4
|
+
* Browser#log_level= sets the log level for more HtmlUnit packages
|
5
|
+
* Default log level is now :off
|
6
|
+
* ClickableElement#click_and_attach inherits options from parent browser
|
7
|
+
* Allow searching by XPath in frames.
|
8
|
+
* Fix bug with scripts in body onload.
|
9
|
+
* Nicer API for Browser#debug_web_connection
|
10
|
+
* Fix bug in Browser#element_by_xpath(s) and Element#method_missing
|
11
|
+
* Fix bug when selecting empty SelectList options
|
12
|
+
* Fix issue when using multiple attributes to locate elements on a page with non-unique IDs.
|
13
|
+
* Nicer #inspect methods on some objects
|
14
|
+
* Improved IPC with viewers
|
15
|
+
* Methods added:
|
16
|
+
- Browser#clear_cache
|
17
|
+
- Browser#confirm
|
18
|
+
- Browser#css=
|
19
|
+
- Browser#ignore_pattern=
|
20
|
+
- Browser#javascript_excepetion=
|
21
|
+
- Browser#secure_ssl=
|
22
|
+
- Browser#status
|
23
|
+
- Browser#status_code
|
24
|
+
- Browser#status_code_exceptions=
|
25
|
+
- Celerity.index_offset=
|
26
|
+
- ClickableElement#download
|
27
|
+
- Element#fire_event
|
28
|
+
- Element#javascript_object
|
29
|
+
* New constructor options:
|
30
|
+
- :javascript_enabled => true, false
|
31
|
+
- :viewer => true, false, String
|
32
|
+
- :refresh_handler => :immediate, :waiting, :threaded
|
33
|
+
* Features removed:
|
34
|
+
- Celerity::MethodGenerator
|
35
|
+
* Most of the spec suite moved to the WatirSpec project
|
36
|
+
|
37
|
+
== 0.0.6 2009-03-19
|
38
|
+
* Support for meta, strong, dl, dt, dd, and em HTML elements.
|
39
|
+
* Update to HtmlUnit 2.5-SNAPSHOT.
|
40
|
+
* New options for Browser#new: :proxy, :charset, :render, :log_level
|
41
|
+
* Methods added:
|
42
|
+
- Browser#add_cookie
|
43
|
+
- Browser#asynchronized
|
44
|
+
- Browser#add_listener
|
45
|
+
- Browser#content_type
|
46
|
+
- Browser#cookies
|
47
|
+
- Browser#debug_web_connection
|
48
|
+
- Browser#focused_element
|
49
|
+
- Browser#io
|
50
|
+
- Browser#remove_cookie
|
51
|
+
- Browser#response_headers
|
52
|
+
- Browser#wait
|
53
|
+
- Browser#xml
|
54
|
+
- Browser#{element,elements}_by_xpath
|
55
|
+
- ClickableElement#{double,right}_click
|
56
|
+
- ElementCollection#{first,last}
|
57
|
+
* Methods removed:
|
58
|
+
- Browser#show_*
|
59
|
+
* Methods renamed:
|
60
|
+
- SelectList#get_all_contents => SelectList#options
|
61
|
+
- SelectList#get_selected_items => selected_options
|
62
|
+
- SelectList#clear_selection => SelectList#clear
|
63
|
+
* Add support for finding elements by their corresponding <label>.
|
64
|
+
* Recognize buttons of type image, reset, submit.
|
65
|
+
* Proxy support (see Browser.new)
|
66
|
+
* Lots of refactorings, bug fixes and minor enhancements.
|
67
|
+
|
68
|
+
Thanks to Hirobumi Hama, Kamal Fariz Mahyuddin and Thomas Marek for contributions in this release.
|
69
|
+
|
70
|
+
== 0.0.4 2008-08-18
|
71
|
+
* Minor enhancements
|
72
|
+
* Update HtmlUnit to 2.2
|
73
|
+
* New methods: Element#focus, Element#parent, Table#child_row, Table#child_cell, TableRow#child_cell
|
74
|
+
* Rename Celerity::IE -> Celerity::Browser (but Celerity::IE still points to the class)
|
75
|
+
* Add Celerity::Browser.new(:browser => :firefox) to use HtmlUnit's Firefox mode.
|
76
|
+
* Make it easier to run the spec suite against other implementations.
|
77
|
+
* Bugfixes:
|
78
|
+
- Image#click
|
79
|
+
- Finding elements by id could give weird errors if multiple elements had the same id.
|
80
|
+
- If getElementById returns an element with the wrong tag name, output a warning and find the correct element by iteration instead.
|
81
|
+
- Browser#goto regexp
|
82
|
+
- Frames (collection) support
|
83
|
+
|
84
|
+
== 0.0.3 2008-05-26
|
85
|
+
* 3 major enhancements:
|
86
|
+
* Added support for <ul>, <ol>, <thead>, <tfoot>, <h1>, <h2>, <h3>, <h4>, <h5> and <h6> elements
|
87
|
+
* 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).
|
88
|
+
* Better HTTPS support
|
89
|
+
* 8 minor enhancements:
|
90
|
+
* Improved CelerityViewer
|
91
|
+
* Watir-like show methods (IE#show_divs, IE#show_tables, etc.)
|
92
|
+
* All HTML elements now has a default how parameter, see http://celerity.rubyforge.org/wiki/wiki.pl?ListOfSupportedHtmlElementsAndTheirDefaultHowParameter
|
93
|
+
* Raketask cleanup
|
94
|
+
* Separated out Watir compatibility specific stuff
|
95
|
+
* Form#submit implemented
|
96
|
+
* Updated ATTRIBUTES constants for all element classes
|
97
|
+
* TextField#type bug fixed
|
98
|
+
|
99
|
+
== 0.0.2 2008-05-15
|
100
|
+
* 3 major enhancements:
|
101
|
+
* Support for multiple how => what conditions
|
102
|
+
* Fixed performance issue with collections
|
103
|
+
* Specs will now run on Windows
|
104
|
+
* 3 minor enhancements:
|
105
|
+
* Benchmark scripts
|
106
|
+
* Method generator
|
107
|
+
* Fixed multi-byte characters issue for text fields
|
108
|
+
|
109
|
+
== 0.0.1 2008-05-07
|
110
|
+
* 1 major enhancement:
|
111
|
+
* Initial release
|