2020-12-09
Description
- Features:
- Support PHP 8
- Increase default sync timeout to 5 seconds
- Set --font-render-hinting=none in headless mode
- Bug fixes:
- 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
2020-02-20
Description
- Bug fixes:
- fixed browser close
- fixed unit tests
- testing php 7.3 and 7.4
2020-02-20
- Features:
- Added Page::pdf (thanks @tanasecosminromeo)
- Added timeout for PageEvaluation methods (thanks @chris-ware)
- Added support for symfony 5 (thanks @svbackend)
- implemented Browser::close (thanks @Alexsisukin)
- Bug fixes:
- none
2019-10-04
Description
- Features:
- BC BREAK Escaping custom flags for BrowserFactory is now automatic.
If you use
customFlags
option then you must not use escaping function for your arguments. - Added Timeout for Page::getFullPageClip (thanks @ArseniyShestakov)
- Added Timeout for method getBase64 (thanks @TimIgoe)
- Added options
headerTemplate
andfooterTempalte
for Page::pdf (thanks @mschwerin) - Added options
scale
for Page::pdf (thanks @sergiosusa)
- BC BREAK Escaping custom flags for BrowserFactory is now automatic.
If you use
- Fix
- Handle gracefully all pages failing to close (thanks @mosiyash)
- Fixed deprecation from symfony (thank @mosiyash and @mschwerin)
2018-14-11
- Features:
- Added Page::pdf (thanks @tanasecosminromeo)
- Added timeout for PageEvaluation methods (thanks @chris-ware)
2018-11-13
Load script tags on the page
- Features:
- Added Page::callFunction
- Added Page::addScriptTag
- Enabled runtime events for pages
- Enabled user gesture for Page::evaluate
- Improved error messages from script evaluation
- Added option "onLoad" for Page::addPreScript
2018-10-25
Ability to take full page screenshots
- Features:
- Added
Page::getLayoutMetrics
that allows to take full page screenshots (#43 #44) thanks @kaero598 - Added
Page::getFullPageClip
to ease full page screenshots
- Added
2018-10-13
Make a crawl instance sharable among multiple scripts
- Features:
- Added option
keepAlive
for browser factory. - Added methods
BrowserProcess::getSocketUri
andProcessAwareBrowser::getSocketUri
- Removed unused option
debug
- Added
BrowserFactory::connectToBrowser
- Added option
- Bug fixes:
- (BC Break) Page navigation now allows by default that the initial loader is replaced with a new one #40
2018-10-04
- Bug fixes:
- Fixed a race condition in target creations/destruction (thanks @choval)
2018-10-02
Fixed usergent and added page prescript (thanks @tanasecosminromeo) and added some new options for browser factory
- Features:
- Added method
Browser::setPagePreScript
- Added method
Page::addPreScript
- Added option
"nosandbox"
for browser factory - Added option
"sendSyncDefaultTimeout"
for browser factory - Added option
"ignoreCertificateErrors"
for browser factory - Added option
"customFlags"
for browser factory
- Added method
- Bug fixes:
- Fixed user agent string for browser factory
2018-08-28
- Features:
- Added mouse api (move, click)
- Page info are now in sync with the browser
- Added a shortcut to get current page url:
Page::getCurrentUrl
- Added ability to get and set cookies from a page:
Page.setCookies
,Page.readCookies
,Page.readAllCookies
- improved some error reporting
- added ability to set custom user agent:
Page::setUserAgent
or via factory optionuserAgent
- Bug fixes:
- fixed a bug with directory creation for screenshots
2018-06-20
Make viewport and window's size customizable
- Features:
- Added option
windowSize
in BrowserFactory - Added methods
Page::setViewportSize
andPage::setDeviceMetricsOverride
- Added option
2018-06-15
Description
- Features:
- Add constant Page::NETWORK_IDLE
- Bug fixes:
- Make connection reader to be more atomic in order to read messages and events in the order they come in
- Make Page::navigate()->waitForNavigation (#20)
2018-04-27
Description
- Features:
- Add Page::close
2018-04-26
Description
- Features:
- Add PageEvaluation::waitForPageReload
2018-04-26
Description
- Features:
- Improved startup error message
- Bug fixes:
- Fixed bugs on shutdown
- Fixed unit tests
- Allow CHROME_PATH to have spaces in the path
2018-04-25
Description
- Features:
- BC BREAK try to start chrome using env variable
CHROME_PATH
before using default"chrome"
.
- BC BREAK try to start chrome using env variable