0 votes
in Selenium by
Mention the types of navigation commands

1 Answer

0 votes
by

Below are few of the navigations commands in Selenium

driver.navigate().to("https://www.ebay.in/"); - Navigates to the provided URL

driver.navigate().refresh(); - This method refreshes the current page

driver.navigate().forward(); - This method does the same operation as clicking on the Forward Button of any browser. It neither accepts nor returns anything.

driver.navigate().back(); - This method does the same operation as clicking on the Back Button of any browser. It neither accepts nor returns anything.

Related questions

+1 vote
asked May 11, 2021 in Linux by rajeshsharma
+1 vote
asked May 11, 2021 in Linux by rajeshsharma
...