public function _getCurrentUri()
    {
        $url = $this->webDriver->getCurrentURL();
        if ($url == 'about:blank' || strpos($url, 'data:') === 0) {
            throw new ModuleException($this, 'Current url is blank, no page was opened');
        }
        return Uri::retrieveUri($url);
    }
public function _getCurrentUri()
    {
        $url = $this->webDriver->getCurrentURL();
        if ($url == 'about:blank' || strpos($url, 'data:') === 0) {
            throw new ModuleException($this, 'Current url is blank, no page was opened');
        }
        return Uri::retrieveUri($url);
    }
public function _getCurrentUri ( ) { $ url = $ this -> webDriver -> getCurrentURL ( ) ; if ( $ url == 'about:blank' || strpos ( $ url , 'data:' ) === 0 ) { throw new ModuleException ( $ this , 'Current url is blank, no page was opened' ) ; } return Uri :: retrieveUri ( $ url ) ; }
Uri of currently opened page.
@return string
@api
@throws ModuleException
Uri of currently opened page .