/** * Returns current URL address. * * @return string */ public function getCurrentUrl() { return $this->wdSession->url(); }
/** * Update the current page url. * * @return static */ protected function updateCurrentUrl() { $this->currentPage = $this->session->url(); return $this; }