These are chat archives for Behat/Behat

7th
Jun 2018
suswari
@suswari
Jun 07 2018 17:37
Hi Guys, I am finding for some help. Here is my problem - I am trying to set a timeout for the page and I am aware that the timeout would throw an error. The following is the code I have: try{
$this->getDriver()->setTimeouts(['page load'=>5000]);
}
catch (Exception $e){
var_export('in catch');
}
setTimeouts is thorwing an error, the error is not caught with the catch block. Can some help me in knowing what is the exception that setTimeouts is thorwing so that can be caught??