/** * @return string * @throws WebDriverException */ public function getCurrentURL() { try { return $this->driver->getCurrentURL(); } catch (WebDriverException $exception) { $this->dispatchOnException($exception); } }
/** * @return string */ public function getUrl() { return $this->_webDriver->getCurrentURL(); }