Álvaro Gil
fa881a88c8
build querystring with all form elements and then parse to get query params
...
* Basically Field#to_param was replaced for Field#to_query_string and
some methods related to build params were moved to Form class.
Before this commit the params hash was made by parsing each element
querystring to param and then merge, now we build the whole querystring
first and then parse it to get params with Rack or Rails depending of
the configure mode.
2010-04-03 12:07:16 -03:00
Noah Davis
ccaf41160c
Save and open page storage directory now defaults to "tmp" under current directory if exists, otherwise current directory
2010-01-17 18:29:35 -05:00
Noah Davis
1874f6d395
Removed save_and_open_page's rewriting of static asset paths before saving (was not actually working)
2010-01-16 19:28:29 -05:00
Noah Davis
71dcfb327d
Save and open page directory specified via configuration
2010-01-16 19:18:28 -05:00
Bryan Helmkamp
ba95363486
Spec fix: Don't depend on Nokogiri #inspect output
2009-11-15 16:38:09 -05:00
Bryan Helmkamp
6fd9732b4e
Spec giving me trouble -- removing for now
2009-08-29 16:04:04 -04:00
Bryan Helmkamp
b9466df773
Merge commit 'djanowski/fix_logger'
2009-08-29 15:57:58 -04:00
Bryan Helmkamp
2fc9f3f7f9
Move adapters to webrat/adapters, and Rails and Merb integration code into webrat/integrations
2009-08-19 23:42:54 -04:00
Bryan Helmkamp
11f30d1d2e
Dropping support for Hpricot and REXML
2009-08-19 23:14:13 -04:00
Damian Janowski
4a949e0e5a
Fix logger issue when running inside Cucumber.
2009-08-14 13:05:20 -03:00
Bryan Helmkamp
2e6bef3b57
Rename TestSession to TestAdapter
2009-08-12 21:42:01 -04:00
Bryan Helmkamp
986682488e
Rename MerbSession to MerbAdapter
2009-08-12 20:50:55 -04:00
Bryan Helmkamp
27a773e6b0
Merge commit 'sr/mime' into sr-mime
...
Conflicts:
Rakefile
lib/webrat.rb
2009-08-12 20:12:14 -04:00
Bryan Helmkamp
987766b10d
Don't require rubygems at runtime (Simon Rozet)
2009-08-10 20:14:48 -04:00
Simon Rozet
6cda9c79b4
Implement Webrat::MIME on top of Rack::Mime
2009-06-26 01:39:22 +02:00
Mike Gaffney
4cce77ef0d
removing rspec warnings
2009-06-14 22:37:35 -05:00
Bryan Helmkamp
f8af783185
Add spec for needing to ensure Fixnum#/ return an integer in redirect checking
2009-06-14 22:03:49 -04:00
Bryan Helmkamp
d620e66bd8
Use Launchy to handle opening pages in the browser with cross-platform compatibility
2009-06-14 21:38:04 -04:00
Mike Gaffney
f3a12adaa9
whitespace changes
2009-06-04 12:18:31 -05:00
Josh Lubaway
846a90e561
Passing TextField values as plaintext to Mechanize.
...
Mechanize takes input as plaintext and escapes field values on its own.
If the values are escaped before they are passed to Mechanize, the values will be escaped twice.
These doubly-escaped values will result in incorrect behavior on the server side.
2009-05-29 10:42:30 -07:00
mike.gaffney
fd431f2ce8
[ #242 state:resolved]
...
allowed changing the default timeout for browser startup in selenium
2009-05-18 16:37:45 -05:00
Bryan Helmkamp
b439d7f807
Revert "Canonicalize all URLs (Shalon Wood)"
...
This reverts commit 755cf6e508
.
2009-05-11 16:48:28 -04:00
Bryan Helmkamp
35cbfd9643
Use Nokogiri on JRuby -- ~2x faster than REXML on JRuby for me
2009-05-11 00:13:00 -04:00
Bryan Helmkamp
755cf6e508
Canonicalize all URLs (Shalon Wood)
2009-05-11 00:12:27 -04:00
Bryan Helmkamp
03914fd293
Whitespace
2009-04-07 20:30:12 -04:00
Bryan Helmkamp
996484c890
Refactoring selenium RC and app server boot code
2009-04-06 14:02:09 -04:00
Bryan Helmkamp
4769a5f90b
Detect infinite redirects and raise a Webrat::InfiniteRedirectError (Daniel Lucraft)
2009-02-08 20:54:00 -05:00
Adam Greene
4e3cf59920
adding a helper method to make it easier to see where the user was redirected_to
2009-01-20 19:30:22 -05:00
Adam Greene
ce36e5890f
lets follow redirects that are on the same domain but a different subdomain...
2009-01-20 19:30:16 -05:00
Bryan Helmkamp
00d0d7b438
Temporary shim to support Merb's require statement for Webrat
2009-01-18 16:20:58 -05:00
Bryan Helmkamp
fdb94f399c
Allow multiple configuration blocks without dropping previous configuration.
...
If you really want to start with a default configuration use:
Webrat.configure(Webrat::Configuration.new) do |config|
...
end
2009-01-18 16:15:56 -05:00
cornel.borcean
c79d2216b2
added selenium_browser_key to allow running on more than firefox, and completed the ability to configure to work with selenium grid."
...
"
2009-01-12 15:15:11 -06:00
cornel.borcean
0edffe0ac4
added selenium_server port and address and application address for configuring selenium more dynamically
2009-01-12 12:50:53 -06:00
cornel.borcean
0ce92dfcd8
changed selenium_environment to application_environment and deprecated selenium_environment and selenium_port
2009-01-12 12:32:14 -06:00
cornel.borcean
33d2cdcc53
changed selenium_port to application_port to reflect what the variable is used for ...
2009-01-12 12:13:22 -06:00
Josh Knowles
9825aee47e
Don't follow external redirects
2009-01-04 23:56:52 -05:00
Josh Knowles
e19b1cc323
Rails and Merb integration tests for following redirects
2008-12-29 23:14:26 -05:00
Josh Knowles
e77495bc04
Refactor redirect handling as Merb response doesn't support the redirect? method. All integration specs now passing again.
2008-12-29 22:45:55 -05:00
Josh Knowles
ce364d1663
Refactor redirect support out of RailsSession & SinatraSession and into Session#request_page
2008-12-29 21:19:13 -05:00
Bryan Helmkamp
b4dd150250
Moving spec/webrat to spec/private and spec/api to spec/public (a la Merb)
2008-12-29 01:06:04 -05:00