Commit Graph

12 Commits

Author SHA1 Message Date
Matthew Horan fe46eaf50d Implement window_handles and window_handle for proper window switching 2012-05-29 22:20:10 -04:00
Matthew Horan efa577c3f0 First pass at within_window support 2012-05-25 21:09:41 -04:00
Sean Geoghegan 646eabc68d Add option to disable image loading in WebKit. 2012-05-11 14:17:00 -04:00
Joe Ferris 4ca10d29ed Switch ignore ssl from a command-line flag to a server command 2012-05-04 16:00:25 -04:00
Tom Lea 04fde02ad7 Add a resize_window method to the driver.
Allow users to resize the webkit viewport via
Capybara::Driver::Webkit#resize_window(width, height).

This can be called before or after page load, and fires resize events as expected.
2012-04-03 18:54:12 -04:00
Joe Ferris 354180acb5 CommandFactory handles unknown commands by returning a NullCommand 2012-03-21 18:50:55 -04:00
Joe Ferris 85dcc729dd Pass command arguments to the constructor 2012-03-16 19:58:58 -04:00
Marc Schwieterman caa86b72c4 create CurrentUrl command 2012-02-17 11:55:19 -05:00
Joe Fiorini 7f907a0099 Add command to retrieve URL modified by Javascript
If I use pushState to change the URL Browser#current_url still returns
the URL as it was after the original request. This commit adds a command
for RequestedUrl, which is the QtWebkit method for retrieving a URL
modified by Javascript or a redirect.
2012-01-13 11:02:09 -05:00
Joe Fiorini 62b49914b8 Add ability to query for console messages & errors
- This changes the format of console message output to use "|" as the
delimiter instead of ":"; ":" is no good for splitting when there are
URLs and error messages in the output
- WebPage tracks all console messages and clears them out on reset
2011-11-15 21:14:21 -05:00
Matthew Mongeau 93bfcf6e46 Clean up proxy interface 2011-10-14 17:37:34 -04:00
Joe Ferris b4708b2b88 Refactor Connection 2011-10-14 11:57:28 -04:00