Пример #1
0
 /**
  * @return string
  * @throws WebDriverException
  */
 public function getCurrentURL()
 {
     try {
         return $this->driver->getCurrentURL();
     } catch (WebDriverException $exception) {
         $this->dispatchOnException($exception);
     }
 }
Пример #2
0
 /**
  * @return string
  */
 public function getUrl()
 {
     return $this->_webDriver->getCurrentURL();
 }