Yahoo Login issues sendkeys

I’m trying to send keys to login to Yahoo.com. My script loads and navigates to Yahoo.com. The issue is it doesn’t values. Please assist.  I have this issue with Chrome, IE, Firefox. Same for GMAIL login.

 

public void testyahooLogin() throws Exception {
driver.get(“https://www.yahoo.com/”);
driver.findElement(By.id(“uh-signin”)).click();
driver.findElement(By.id(“login-username”)).clear();
driver.findElement(By.id(“login-username”)).sendKeys(“ezra.araia1”);
driver.findElement(By.id(“login-signin”)).click();

}

Add Comment
  • 0 Answer(s)
  • Your Answer

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