/** * Returns Session ID of WebDriver or `null`, when session not started yet. * * @return string|null */ public function getWebDriverSessionId() { return $this->isStarted() ? basename($this->wdSession->getUrl()) : null; }
/** * Returns current URL address. * * @return string */ public function getCurrentUrl() { return $this->wdSession->getUrl(); }