How do we fetch current URL of browser?
Question
How do we fetch current URL of browser?
Answer
We can fetch current URL of browser by using getCurrentUrl() method
driver.getCurrentUrl();
How do we fetch current URL of browser?
We can fetch current URL of browser by using getCurrentUrl() method
driver.getCurrentUrl();