VAIBHAV SINGH Selenium Interview Question |
Question : What are the different types of navigation commands? |
Following are the navigation commands: navigate().back() – The above command requires no parameters and takes back the user to the previous webpage in the web browser’s history. navigate().forward() – This command lets the user to navigate to the next web page with reference to the browser’s history. navigate().refresh() – This command lets the user to refresh the current web page there by reloading all the web elements. navigate().to() – This command lets the user to launch a new web browser window and navigate to the specified URL. |
Back |