Monday 20 June 2016

How to refresh page in Selenium

You can use below code to refresh the page in Selenium.

driver.navigate().refresh();

Alternatively, you can refresh the page by pressing F5 key using sendKeys method or Robotium.

What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com

No comments:

Post a Comment

Buy Best Selenium Books

Contributors