Releases: NielsSteensma/Dhalang
Releases · NielsSteensma/Dhalang
V0.7.1
V0.7.0
V0.6.6
V0.6.5
- Added ability to create webp screenshots of webpages
- Deprecated get_from_url_as_png and get_from_url_as_jpeg ( replaced by get_from_url )
V0.6.4
- Added ability to set custom timeout for long loading webpages when creating PDFs
V0.6.3
Features
- Added support for passing Chrome options directly to Puppeteer
- Added support for passing headers and footers as filepath to Puppeteer
V0.6.2
V0.6.1
Features
- Updated Puppeteer dependency from v5.5.0 to v.9.0.0
- Added support for new "omitBackground" option introduced in Puppeteer v.9.0.0
- Solved issue ( typo ) when passing "preferCSSPageSize" user option when generating screenshots/PDFs
- Updated mentioned year in license to be accurate
V0.6.0
Features
- It is now possible to set the height of generated PDFs based on the scrollHeight property of the document body
- It is now possible to make Dhalang wait for a given selector to appear before creating screenshots/PDFs
- It is now possible to make Dhalang wait for a given XPath to appear before creating screenshots/PDFs
- Updated used Puppeteer version from 5.3.0 to 5.5.0
V0.5.0
Features
- Custom screenshot options can now be set.
- Chromium can now be run in headless mode
- DhalangError is now raised from Ruby for any errors thrown in JS scripts. The error contains the stderr outputted by the script
Other things
- Removal of expect not to raise error unit tests