Get(): When we used get command the page will wait until the whole page gets loaded.
driver.get("URL of the site");
Navigate(): When we used navigate command then selenium just navigate the page to the given url.
driver.navigate().To("URL");
Navigate is also used for move forward, back direction and refresh the page
driver.navigate().forward();
driver.navigate().back();
driver.navigate().refresh();
driver.get("URL of the site");
Navigate(): When we used navigate command then selenium just navigate the page to the given url.
driver.navigate().To("URL");
Navigate is also used for move forward, back direction and refresh the page
driver.navigate().forward();
driver.navigate().back();
driver.navigate().refresh();
No comments:
Post a Comment