All notable changes to Browsershot
will be documented in this file
- introduce a selectorIndex to bypass querySelector restrictions (#468)
- improve local require for puppeteer (#461)
- replace
waitFor
withwaitForTimeout
(#452)
- adding ability to pass envars to browser instance (#448)
- add support for PHP 8
- revert changes from previous version
- prevent local files from being rendered
- added
base64Screenshot
- add
usePipe
to use pipe instead of WebSocket (#423)
- pass puppeteer to
callChrome()
(#399)
- Replace emulateMedia call with emulateMediaType (#411)
- account for the removal of require('puppeteer/DeviceDescriptors') (#406)
- get the list of triggered requests (#402)
- add use of WS Endpoint option (#390)
- adds
blockUrls
andblockDomains
- adds disableImages method to prevent images from loading (#362)
- allow symfony 5 components
- allow to connect to remote chromium instance (#341)
- fix screenshots not deleting temporary files on the filesystem
- add support for HTTP authentication
- fix screenshot image manipulations
- allow to specify the cookie domain
- allow JavaScript to be disabled
- add
addChromiumArguments
- add
selectOption
paperSize
andmargins
can now use custom units
- add
writeOptionsToFile
- fix for setting cookies
- update lower deps
- new methods
addStyleTag
anddevice
added - fixed a bug where chrome would not shut down properly
- improve compatibilty with W-w-windows
- add
type
- add
useCookies
- improve compatibility with Windows
- added
waitForFunction
- better handling of timeouts
- 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