1.

What are the different methods to move back, forward and refresh a web-page ?

Answer»
  • driver.navigate().FORWARD(); – used to navigate to the next web page with reference to the browser’s history
  • driver.navigate().back(); – used to TAKE back to the previous web page with reference to the browser’s history
  • driver.navigate().refresh(); – used to to refresh the current web page i.e. reloading all the web elements
  • driver.navigate().to(“url”); – used to LAUNCH a new web browser WINDOW and navigate to the specified URL .


Discussion

No Comment Found