RE: What is the main difference between driver.get(baseurl) and driver.navigate().to(baseurl)?

waiting for u r replay…

itsivaprasad Train Asked on September 4, 2014 in Selenium WebDriver.
Add Comment
3 Answers

Hi sivaprasad

Driver.get(baseurl)  navigates to the given url t could be baseurl any other url you give
navigate() will be used  for browser navigation in following ways
driver.navitage().to(url);
driver.navigate().backward()
driver.navigate().forward();
driver.navigate().refresh()
etc

Doctor Answered on September 4, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.