This blog is for Automation Test Engineers

Friday 16 March 2018

Different types of navigation command


1)driver.navigate().back(): This command takes back the user to previous page of the application.
2)driver.navigate().forward(): This command navigates the user to next page of application
3)driver.navigate().refresh(); This command refreshes the current webpage
4)driver.navigate().to():This command allows the user to launch a new web browser window and navigates to specified URL
Eg:
driver.navigate().to("https://www.google.co.in/");


0

0 comments:

Post a Comment