Releases: NielsSteensma/Dhalang
Releases · NielsSteensma/Dhalang
V0.4.0
Features
- Custom PDF options can now be set. ( for a list of all options check: https://github.com/puppeteer/puppeteer/blob/main/docs/api.md#pagepdfoptions )
- Custom user options can now be set ( navigation timeout, user agent, viewport and http authentication )
- Dhalang now uses Puppeteer 5.3.0.
Other things
- Usage of deprecated waitFor Puppeteer method was replaced with waitForTimeout
V0.3.1
- Fix for error "The "path" argument must be of type string. Received type undefined" on line 38 of dhalang.js
V0.3.0
Dhalang v0.3.0
Features
- When creating PDF's or screenshots, Dhalang now waits until the whole page was loaded, including all dependent resources such as stylesheets and images.
V0.2.0
Dhalang v0.2.0
Features
- Added functionality to make a PNG screenshot of a given weburl.
- Added functionality to make a JPEG screenshot of a given weburl.
V0.1.0
Dhalang v0.1.0
Features
- Pdf's can now be generated given a weburl.
- Pdf's can now be generated given a string of html ( external sources are supported )