Behatch / contexts

Behat extension with most custom helper steps
Other
394 stars 203 forks source link

Fix http listener #273

Open adrienbrault opened 5 years ago

thomas-negrault commented 4 years ago

I have an error:

[2020-04-01 12:26:53] php.CRITICAL: Uncaught Error: Call to a member function waitForLoad() on null {"exception":"[object] (Error(code: 0): Call to a member function waitForLoad() on null at /Project//vendor/dmore/chrome-mink-driver/src/ChromeDriver.php:1279)"}

Your fix fix this issue as it is caused by the line:

new HttpCallResult($this->mink->getSession()->getPage()->getContent())

When I execute a step before the Mink sessions seems to have started