Integrated
Integrated copied to clipboard
waitForElement() does not timeout/wait when being tests are run with phantomjs
I have debugged and time the code execution and there's no wait at all for the element.
$this->session->timeouts()->postImplicit_wait(['ms' => $timeout]);
The above code does not seem to work properly when the tests are being run using phantomjs.
Why not just having it as
$this->wait($timeout);
which works properly in Selenium or phantomjs testing.