Skip to content

v2.1.0

Compare
Choose a tag to compare
@dferber90 dferber90 released this 23 Sep 11:36
· 46 commits to master since this release
ac598f2

Added

  • ac598f2 Add local webserver and options.publicPath option

Instead of using the page.goto(`data:text/html,${html}`) approach of puppeteer/puppeteer#728 (comment) jsdom-screenshot now starts its own webserver to serve the html. This enables serving local assets for the screenshot. It further enables intercepting requests to local assets. See the updated README for more information.