/** * @return EventFiringWebDriverNavigation * @throws WebDriverException */ public function navigate() { try { return new EventFiringWebDriverNavigation($this->driver->navigate(), $this->getDispatcher()); } catch (WebDriverException $exception) { $this->dispatchOnException($exception); } }