Difference between get() and navigate() method
get() and navigate() both are used to open URL/application in webdriver
Difference is that in case of get() method, we can just open a URL while in case of navigate() method, we can use use forward and back button of browser
Get() method
driver.get("http://rediff.com");
Navigate() method
driver.navigate().to("http://rediff.com");
driver.navigate().back();
driver.navigate().forward();
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment