Commit Graph

5 Commits

Author SHA1 Message Date
Matthew Horan 67b8a3391a Remove m_commandWaiting and add logging to TimeoutCommand 2012-10-24 08:15:37 -04:00
Matthew Horan cbb58d05f1 Revert "Revert "Add configurable timeouts to commands.""
This reverts commit b1b3a4c390.
2012-10-24 07:55:29 -04:00
Matthew Horan b1b3a4c390 Revert "Add configurable timeouts to commands."
This reverts commit da93136a9c.

Conflicts:
	src/TimeoutCommand.cpp
2012-10-23 23:24:42 -04:00
Vokhmin Alexey V af26babe24 #362: Include QTimer library has been updated. 2012-08-10 14:16:57 -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