1.

Explain the various navigation commands supported by Selenium?

Answer»

Selenium has the support of majorly 4 navigation commands:

  • NAVIGATE().back(): This command is used for taking the user to the last webpage of the BROWSER history.
  • navigate().forward(): This command is used for taking the user to the next web page of the browser history.
  • navigate().refresh(): This command is used for reloading the web COMPONENTS of a webpage by REFRESHING it.
  • navigate().to(): This command is used for navigating to a particular URL in a new web browser. It takes the URL to be migrated to, as a parameter.


Discussion

No Comment Found