Commit Graph

16 Commits

Author SHA1 Message Date
Thomas Walpole 1d4dfdaac9 Add support for keys and offset with mouse clicks coming in Capybara 3 2018-01-11 11:10:40 -08:00
Thomas Walpole b6fdc65bf1 Support most of the keys specified by Capybara for Node#send_keys 2017-03-25 14:29:44 -04:00
Kohei Suzuki 6945ed52c7 Check node index atomically to prevent race condition
Fixes Capybara::Webkit::InvalidResponseError when nodes are missing.
2013-12-06 10:43:17 -05:00
Joe Ferris and Matt Horan 9f2c71c5d2 Render a mouse pointer when saving screenshots
* Helpful for ClickFailed errors
2013-11-09 15:34:38 -05:00
Joe Ferris and Matt Horan 76a362c664 Save a screenshot when raising a ClickFailed exception
* Prints the path to the file
* Make it easier to debug what was actually clicked
2013-11-09 15:30:58 -05:00
Matthew Horan a5c51b23bd Set text fields using native keypress events 2013-03-28 19:37:56 -04:00
David Tengdin and Matthew Horan 47ac51e4dc Implement Node#hover 2013-02-28 13:41:50 -05:00
Michal Cichra 89ad8b6811 added support for double and right click 2013-02-27 10:26:54 -05:00
Matthew Horan 5dcbe9a0a4 Raise Capybara.ClickFailed on click test failure
Prevents Node#set from succeeding when click test fails.
2013-02-11 00:04:35 -05:00
Matthew Horan 6c72a99174 Serialize errors as JSON 2013-02-11 00:04:35 -05:00
Matthew Horan fe6eff79e6 JavaScript error handling 2013-02-10 23:42:30 -05:00
Matthew Horan 2c47aea29f Raise error when iframe elements are unclickable 2013-02-09 23:35:52 -05:00
Matthew Horan 4837ff144c Raise error when elements are unclickable 2013-02-09 23:35:52 -05:00
Matthew Horan 30c79fcfcb Click elements with native events 2013-02-09 23:35:52 -05:00
Joe Ferris d9b18985e1 Command to enable a more useful debug log 2012-07-08 09:01:26 -07:00
Joe Ferris 18d424803d Invoke Javascript functions by setting QObjects on the window object instead of string evals so that strings don't need to be escaped 2011-02-25 22:57:55 -05:00