Tell me what are the different types of navigation commands?

Submitted by: Muhammad
☛ navigate().back() command takes user back to the previous webpage in the web browser's history. An example: driver.navigate().back();
☛ navigate().forward() lets the user to navigate to the next web page with reference to the browser's history. An example: driver.navigate().forward();
☛ According to navigate().refresh() command user can refresh the current web page there by reloading all the web elements. An example: driver.navigate().refresh();
☛ User can launch a new web browser window and navigate to the specified URL by executing navigate().to() An example:
Submitted by: Muhammad

Read Online Automation Job Interview Questions And Answers