1.

Mention the several types of navigation commands that can be used?

Answer»

The several types of navigation commands that can be used are as follows:

  • navigate().to() - It is used for going to the specified URL.
  • driver.navigate().REFRESH() - The CURRENT PAGE is REFRESHED USING the driver.navigate().refresh() command.
  • driver.navigate().forward() - This command does the same function as clicking the browser's Forward Button. Nothing is accepted or returned by it.
  • driver.navigate()back() - This command does the same function as clicking the browser's Back Button. Nothing is accepted or returned by it.


Discussion

No Comment Found