in Selenium by
Q:
What are the ways to refresh a browser using Selenium WebDriver?

► Click here to show 1 Answer

0 votes
by
There are multiple ways to refresh a page in selenium

Using driver.navigate().refresh() command as mentioned in the question 45

Using driver.get(“URL”) on the current URL or using driver.getCurrentUrl()

Using driver.navigate().to(“URL”) on the current URL or driver.navigate().to(driver.getCurrentUrl());

Using sendKeys(Keys.F5) on any textbox on the webpage
Selenium
Learn More with Madanswer

Related questions

0 votes
asked Aug 22, 2019 in Selenium by john ganales
...