0
driver.findElement(By.name("txtUserName").sendKeys("gmail");

driver.findElement(By.name("txtPassword").sendKeys("App Password");

driver.fundElement(By.name("Submit").click();
cruisepandey
  • 28,520
  • 6
  • 20
  • 38
  • Does this answer your question? [Gmail login using selenium webdriver in java](https://stackoverflow.com/questions/44455269/gmail-login-using-selenium-webdriver-in-java) – Prophet Jul 29 '21 at 14:28
  • pro tip: you can write a *summarized* title and put the rest of the information in the body to make it better to read. Dont forget review the [How to ask](https://stackoverflow.com/help/how-to-ask) section of stackoverflow for tips on how to ask a good question – I_love_vegetables Jul 30 '21 at 08:50

0 Answers0