Behat tests are failing because ChromePage is null in ChromeDriver class.
Looks like ChromePage is newer instantiated. I put a breakpoint in ChromeDriver::start() method and looks like it newer called, and ChromeDriver::page is always null.
The error I got:
Behat\Testwork\Call\Exception\FatalThrowableError: Fatal error: Call to a member function waitForLoad() on null in vendor/dmore/chrome-mink-driver/src/ChromeDriver.php:1279
And the method itself:
{
$this->page->waitForLoad();
return $this->page->send('Runtime.evaluate', ['expression' => $script]);
}
Removing this scenario and re-run tests again I'm getting same error with null page property.
Any help is welcome!
Edited by Chris Burgess