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.

Related questions

0 votes
asked Mar 31, 2021 in Selenium by sharadyadav1986
0 votes
asked Mar 29, 2021 in Selenium by sharadyadav1986
...