3b0bc0802d
This patch refactors Page.screenshot api, accoring to the discussion in #5: - Page.screenshot accepts single optional options object - Page.saveScreenshot is removed - Page.screenshot assumes 'png' screenshot if no type is set and no 'path' property is given Fixes #5. |
||
---|---|---|
.. | ||
FileSystem.js | ||
Phantom.js | ||
runner.js | ||
System.js | ||
utilities.js | ||
WebPage.js | ||
WebServer.js |