Is there a way to pause using PHPUnit extending Selenium Is there a way to pause using PHPUnit extending Selenium selenium selenium

Is there a way to pause using PHPUnit extending Selenium


If you really need to wait a fixed amount of time: Sleep function will work as you would expect.

But better solution is to wait for elements/text to be visible - the test will be able to resume work almost immediately after an HTML element is ready.


Use setSpeed(300) it is reasonable speed to see what is happening on the screen