All notable changes to Browsershot
will be documented in this file
- add
evaluate
- add
setScreenshotType
- fix typehint in
emulateMedia
- drop PHP 7.0 support
- add
click
- add
setExtraHttpHeaders
- add support for taking screenshot of an element using a selector
- add support for custom binary/browser script
- support symfony ^4.0
- support phpunit ^7.0
- add
waitUntilNetworkIdle
- add ability to set sustom header and footer
- update dep on
spatie/image
- add
setChromePath
- add ability to set node module path
- add ability to output directory to the browser
- add
setDelay
- improve error handling for when no extension is provided
- add
setOption
- refactor internals
- add
setProxyServer
- add
dismissDialogs
- move snapshot package to dev-deps
- allow the use of the 'omitBackground' option when capturing screenshots
- add docblocks for static constructors to support IDE autocompletion
- make
paperSize
use floats instead of integers, addressing US paper sizes
- add
mobile
andtouch
functions
- add
ignoreHttpsErrors
- fix default npm path
- add
noSandbox
- fix setting margins
- add
setNetworkIdleTimeout
- make node and npm paths configurable
- improved out of the box experience for Laravel Valet users
- use Puppeteer to call Chrome
- add various options enabled by using Puppeteer
- add the default path for linux Chromium users
- add
bodyHtml
method
- add high pixel density support
- add support for directly converting some html
- add support for saving
pdf
s
- lower
symfony/process
requirement
- security improvements
- clean up unneeded files
- add support for urls with special characters
- complete rewrite
- ditch PhantomJS is favour of headless Chrome
- fix error message
- added support MacOS
- added support for setting a custom user agent
- added support for setting a custom user agent
- added support for W w w windows
- added support for some more extensions
- make
width
protected
- Fix width issues
- Upgrade
phantomjs
binary
- Fixed a bug where phantomjs keeps on rendering until the end of time
- Added a method to set the background color
- Added timeout parameter
- Added quality parameter