puppeteer/phantom_shim
Andrey Lushnikov 3b0bc0802d Refactor Page.screenshot() api
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.
2017-06-16 17:15:24 -07:00
..
FileSystem.js Consolidate phantom shim code in the phantom-shim folder 2017-06-14 02:27:19 -07:00
Phantom.js Consolidate phantom shim code in the phantom-shim folder 2017-06-14 02:27:19 -07:00
runner.js Consolidate phantom shim code in the phantom-shim folder 2017-06-14 02:27:19 -07:00
System.js Consolidate phantom shim code in the phantom-shim folder 2017-06-14 02:27:19 -07:00
utilities.js Consolidate phantom shim code in the phantom-shim folder 2017-06-14 02:27:19 -07:00
WebPage.js Refactor Page.screenshot() api 2017-06-16 17:15:24 -07:00
WebServer.js Consolidate phantom shim code in the phantom-shim folder 2017-06-14 02:27:19 -07:00