Skip to content

v1.0.0

Compare
Choose a tag to compare
@otsch otsch released this 17 Feb 00:30
· 6 commits to main since this release

Changed

  • Change the output of the Screenshot step, from an array ['response' => RespondedRequest, 'screenshotPath' => string] to a RespondedRequestWithScreenshot object, that has a screenshotPath 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 new RespondedRequestWithScreenshot object, the screenshotPath is also saved in the cached response.