0 votes
in Selenium by
Mention the several types of navigation commands that can be used?

1 Answer

0 votes
by

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.

...