- Fix case where the timeout in
setHtml()isn't respected - Fix hard coded timeout in
Domclass - Fix hard coded timeout in
ResponseReaderclass - Stop process when an error occurs during startup
- Stop process on
waitForStartupif dev tools failed to start - Disconnect socket on
sendCloseMessage
- Fix command execution in
AutoDiscover
- Use
commandto guess the chrome executable in Linux - Officially support PHP 8.2
- Fix extra HTTP headers
- Fix intermittency in
Mouse::findElement() - Fix scroll with values higher than possible
- Support Monolog 3
- Officially support PHP 8.1
- Added
Browser::getPagesmethod - Added
Page::waitUntilContainsElement()method - Added
Page::setHtml()method - Added support for XPath by introducing
Selector - Added
Mouse::findElement()method - Switch to flatten mode
- Added fallback to css layout metrics
- Added missing destroyed setting
- Prevent
Node::querySelectorfrom returning nodeId0 - Fixed "What's new" page opening on startup
- More fixes to enable eventual PHP 8.1 support
- Added support for
--no-proxy-serverand--proxy-bypass-list - Added timeout option to
Page::getHtml - Added
Node::sendFilesmethod
- Fixed issues with
Keyboard::typeTextwith multibyte strings - Fixed issues with retina and scaled displays
- Fixed issues with timeouts if system time changes
- Fixed
Mouse::find()after cursor has moved
- Added support for setting HTTP headers
- Added support for
psr/log2 and 3
- Partial PHP 8.1 support
- Dropped
--disable-default-appsand--disable-extensionsby default - Added API for interacting with the DOM
- Added a way to set the timezone
- Reworked
PagePdfclass to improve validation
- Fix mouse element position
- Add DOM element locator
- Fix mouse scroll maximum distance
- Switched over to
chrome-php/wrench - Add support for keyboard key combinations
- Fix scroll method returning prematurely
- Added support for proxy servers as a direct option
- Added support for passing environment variables
- Added support for Symfony 6
- Removed broken
getChromeVersionfunction - Implemented more robust auto-discovery
- Added
Page::getHtml - Added keyboard API
- Added mouse scrolling
- Attempt to auto-detect chrome binary path
- Added support for
setDownloadPath - Added support for
captureBeyondViewport
- Support PHP 8.0
- Increase default sync timeout to 5 seconds
- Set
--font-render-hinting=nonein headless mode - Fixed keep alive option
- Fixed various phpdoc issues
- Fixed sending params to newer Chrome
- Fixed
Wrench::connect()return value - Avoid non-thread-safe getenv function
- Fixed issues with
Browser::close - Support PHP 7.3 and 7.4
- Added
Page::pdf - Added timeout for PageEvaluation methods
- Added support for Symfony 5
- Added
Browser::close
- Escaping custom flags for
BrowserFactoryis now automatic - Added timeout for
Page::getFullPageClip - Added timeout for method
getBase64 - Added options
headerTemplateandfooterTempalteforPage::pdf - Added options
scalefor Page::pdf - Handle gracefully all pages failing to close
- Fixed deprecation from Symfony