Releases: crwlrsoft/crawler-ext-browser
Releases · crwlrsoft/crawler-ext-browser
v1.2.1
v1.2.0
v1.1.0
v1.0.0
Changed
- Change the output of the
Screenshot
step, from an array['response' => RespondedRequest, 'screenshotPath' => string]
to aRespondedRequestWithScreenshot
object, that has ascreenshotPath
property. The problem with the previous solution was: when using the response cache, the step failed, because it gets a cached response from the loader that was not actually loaded in the headless browser. When the step afterwards tries to take a screenshot from the page that is still open in the browser, it just fails because there is no open page. Now, with the newRespondedRequestWithScreenshot
object, thescreenshotPath
is also saved in the cached response.
v0.1.2
Fixed
- Upgrade to
crwlr/crawler
v1.5.3 and remove the separateHeadlessBrowserLoader
andHeadlessBrowserCrawler
. The steps shall simply use the normalHttpLoader
and automatically switch to use the headless browser for loading and switch back afterwards if the loader was configured to use the HTTP client.