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

0 votes
asked Aug 22, 2019 in Selenium by john ganales
...