Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Location Strategies

  • Choosing a Location Strategy

Navigate Back And Forward On The Browser

Navigating the history of browser can be easily done using below two methods. The names are self explanatory.

//Go back to the last visited page

driver.navigate().back();

//go forward to the next page

driver.navigate().forward();

Refresh Page

This may be required often. Just a simple refresh of the page equivalent to a browser refresh.

driver.navigate().refresh();

Upload A File On A Page

WebDriver Wait

Difference between Explicit and Implicit Wait


  • No labels