• +91 9723535972
  • info@interviewmaterial.com

Selenium Interview Questions and Answers

Question - 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.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners