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

6 commits

Author SHA1 Message Date
Benjamin R. Haskell
943db0475e Set TCP_NODELAY option on the TCPSocket
* Fixes slowness issues on Linux
2012-08-10 13:11:42 -04:00
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
Dan Ivovich
e677cb9c8e Control JavaScript confirmation dialogs from Ruby
Adds #alert_messages, #confirm_messages, #prompt_messages,
 #accept_js_confirms!, #dismiss_js_confirms, #accept_js_prompts!,
 #dismiss_js_prompts, and #js_prompt_input= .
2012-07-13 10:12:49 -07:00
Joe Ferris
259a38f206 Follow new capybara driver naming/module conventions 2012-07-08 12:31:18 -07:00
Chris Nicola
8fb7ccd089 Fixes problem with RSpec matcher. Probably the RSpec API changed recently.
Changes are based on the documentation provided here:
http://rubydoc.info/gems/rspec-expectations/RSpec/Matchers
2012-03-23 12:24:38 -04:00
Joe Fiorini
741261c6d0 Add matcher for javascript error checking 2011-11-15 21:14:21 -05:00