/** * @see Behat\Mink\Driver\DriverInterface::wait() */ public function wait($time, $condition) { try { $this->browser->waitForCondition('with (selenium.browserbot.getCurrentWindow()) { ' . "\n" . $condition . "\n }", $time); } catch (SeleniumException $e) { } }