Jun 21, 2022
0
Level 15
Help Confirming Dusk Bug
Could someone please try this dusk test for me:
/** @test */
public function it_fails_on_back()
{
$this->expectException(UnknownErrorException::class);
$this->browse(function (Browser $browser) {
$browser->visit('https://google.com')
->visit('https://bing.com')
->back()
->screenshot('test');
});
}
For some reason whenever I use ->back or ->forward with dusk it throws an error
Facebook\WebDriver\Exception\UnknownErrorException: unknown error: unhandled inspector error: {"code":-32000,"message":"Unable to capture screenshot"}
(Session info: chrome=102.0.5005.61)
Please or to participate in this conversation.