/** * @throws WebDriverException */ public function quit() { try { $this->driver->quit(); } catch (WebDriverException $exception) { $this->dispatchOnException($exception); } }
/** * Tear Down. * */ public function tearDown() { $this->driver->quit(); parent::tearDown(); }