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

10 commits

Author SHA1 Message Date
Kohei Suzuki
b78ba754e5 Better failure when screenshot doesn't save
* Non-writable paths would raise JSON::ParseError
* Now a clearer error is raised
2014-02-06 10:24:28 -05:00
Jon Rowe
e0565fb5d2 switch from == to eq to remove warnings 2013-08-11 15:40:25 +01:00
Matthew Horan
eb7104cb85 Restore viewport dimensions after rendering screenshots
Fixes #388.
2013-01-13 17:23:47 -05:00
Matthew Horan
73948fc576 Driver#visit no longer resolves relative URLs 2012-11-30 21:38:56 -05:00
Matthew Horan
32b92adb32 Driver#render renamed to Driver#save_screenshot 2012-11-30 21:38:55 -05:00
Joe Ferris
327ae85e86 Use sinatra for test apps 2012-07-08 16:09:40 -07:00
Joe Ferris
265a7da652 Improve pattern of testing driver against a rack app 2012-07-08 13:38:19 -07:00
Joe Ferris
259a38f206 Follow new capybara driver naming/module conventions 2012-07-08 12:31:18 -07:00
Mike Burns
09b69409a5 Fuzzier width checking for the PNG rendering, to handle inconsistencies between CI and local. 2011-07-05 11:33:30 -04:00
Mike Nicholaides
17873240b1 Adding ability to render webpage to a PNG
The driver has a #render method which takes a destination file path and
an options hash for setting the dimensions of the browser's viewport
2011-07-03 14:10:53 -04:00