/**
  * @return EventFiringWebDriverNavigation
  * @throws WebDriverException
  */
 public function navigate()
 {
     try {
         return new EventFiringWebDriverNavigation($this->driver->navigate(), $this->getDispatcher());
     } catch (WebDriverException $exception) {
         $this->dispatchOnException($exception);
     }
 }
Esempio n. 2
0
 protected function navigateTo($path)
 {
     $this->driver->navigate()->to(getenv('CFX_TEST_WEB_HOST') . $path);
 }