mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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. |
||
---|---|---|
.. | ||
.eslintrc.js | ||
Browser.js | ||
Connection.js | ||
Dialog.js | ||
helpers.js | ||
Page.js | ||
Request.js |