Selenium with Java 6 – Browser Navigation in Selenium | Navigate to url, back, forward and refresh


Video is ready, Click Here to View ×

Navigation from one url to another url
Navigate forward and backward in current window
Refreshing the current window

How to Navigate new Web Page
navigate() is a method present in WebDriver interface.
navigate() method returns Navigation type
to() is a method present in Navigation interface
Usage: driver.navigate().to(string Url);

driver.navigate() is a method that returns instance of Navigation interface, now the Navigation interface has method to() method that load a new web page in the…

Leave a Reply

Your email address will not be published. Required fields are marked *