Program to Page Navigation in Selenium.

 

  • driver.navigate().to(“URL”);
  • driver.navigate().back();
  • driver.navigate().forward();
  • driver.navigate().refresh();