Webdriver driver=new FirefoxDriver();
driver.get("https://www.google.co.in/");
WebElement
searchbox=driver.finElement(By.name("q")).senkeys("selenium"));
searchbox.sendkeys(keys.chord(Keys.Control,"a"));
searchbox.sendkeys(keys.BACK_SPACE);
OR
searchbox.clear();
driver.close();
nice course. thanks for sharing this post this post harried me a lot.
ReplyDeleteSelenium Training in Gurgaon
Nice one!!
ReplyDelete