Explain different ways of refreshing current browser in selenium
Question
Explain different ways of refreshing current browser in selenium
Answer
There are multiple ways to refresh a browser
Using driver.navigate().refresh() command
By giving driver.get(driver.getCurrentUrl())
By using sendKeys(Keys.F5) on any textbox on the webpage
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.