1
0
Fork 0
mirror of https://github.com/thoughtbot/capybara-webkit synced 2023-03-27 23:22:28 -04:00
Commit graph

13 commits

Author SHA1 Message Date
Sean Geoghegan
da93136a9c Add configurable timeouts to commands.
Timeouts can be set using browser.timeout = <seconds>.
When a command or page load takes longer the specified
timeout a Capybara::TimeoutError will be raised. Calls
to reset! will reset the timeout. You can also clear
the timeout by setting it to -1.

The timeout is implemented as a Command decorator.
2012-07-18 20:27:44 -07:00
Joe Ferris
d9b18985e1 Command to enable a more useful debug log 2012-07-08 09:01:26 -07:00
Matthew Mongeau
784b9b7f63 Setup multi-window sync. 2012-06-29 10:43:50 -04:00
Matthew Horan
58e6a25398 Shared cookie jar for all windows 2012-06-21 23:34:51 -04:00
Matthew Horan
126411337e Close new windows on reset 2012-05-29 22:23:02 -04:00
Matthew Horan
d154a65fe8 Use the foreach macro to iterate through pages 2012-05-29 22:23:02 -04:00
Matthew Horan
8f8c95d980 New windows should respect ignore_ssl_errors 2012-05-29 22:23:02 -04:00
Matthew Horan
f80125e6cb Pass the WebPageManager to each command 2012-05-29 22:23:02 -04:00
Matthew Horan
bfbda84141 Move window change handling into WebPageManager 2012-05-29 22:23:02 -04:00
Matthew Horan
82f84fbde1 WebPageManager is no longer a singleton 2012-05-29 22:23:02 -04:00
Matthew Horan
fe46eaf50d Implement window_handles and window_handle for proper window switching 2012-05-29 22:20:10 -04:00
Matthew Horan
468bec886f Return to the first window after yield 2012-05-25 21:09:41 -04:00
Matthew Horan
efa577c3f0 First pass at within_window support 2012-05-25 21:09:41 -04:00