Commit Graph

4 Commits

Author SHA1 Message Date
Jonas Nicklas b74d6cf829 Sleep a little while, closes #44 2010-05-09 17:00:33 +02:00
Steven Parkes e8846fb488 Support external drivers and a few tweaks to support the envjs driver
* Added code to find drivers that are externally loaded
* Support wait_until in driver
* Optionally make xpath absolute paths absolute
* Add predicate to test if drivers shortcircuit waits and tweak spec
* Allows file:/// (envjs) urls as well as http://foo urls (rack)
* Warm the driver in wait_until tests so the init cost isn't included in the test
2010-02-25 14:51:51 -08:00
Jonas Nicklas 6a3abbe006 Whitespace! 2010-01-01 17:48:39 +01:00
Lenny Marks e41c757394 Provides timeout similar to standard library Timeout, but avoids threads
Capybara::WaitUntil
- should return result of yield if it returns true value within timeout
- should keep trying within timeout
- should raise Capybara::TimeoutError if block fails to return true within timeout
2009-12-31 13:56:23 -05:00