1.Using sendKeys.Keys method
2.Using navigate.refresh() method
3.Using navigate.to() method
4.Using get() method
5.Using sendKeys() method
- driver.get("https://accounts.google.com/SignUp");
- driver.findElement(By.id("firstname-placeholder")).sendKeys(Keys.F5);
- driver.get("https://accounts.google.com/SignUp");
- driver.navigate().refresh();
- driver.get("https://accounts.google.com/SignUp");
- driver.navigate().to(driver.getCurrentUrl());
- driver.get("https://accounts.google.com/SignUp");
- driver.get(driver.getCurrentUrl());
- driver.get("https://accounts.google.com/SignUp");
- driver.findElement(By.id("firstname-placeholder")).sendKeys("\uE035");
No comments:
Post a Comment