Selenium get url using getCurrentUrl()
Get url in selenium using getCurrentUrl() Method Sometimes you need to get the current url during selenium test. You can get the URL of current open page using getCurrentUrl() method in selenium. getCurrentUrl() method is part of WebDriver interface which extends SearchContext interface. It will fetch the url from current open page in browser. It … Read more