Skip to main content
1 of 4
iAutomate
  • 359
  • 2
  • 6
  • 15

Unable to select text from dropdown - Gmail.com Month Dropdown

Im also facing the same error. Unable to select Birthday, Gender & Location in gmail signup page. Im using selenium Webdriver.

Please find the below code for birthday.

new Select (driver.findElement(By.id(":0"))).selectByValue("January");

On executing the above code it gives me the below error Element should have been "select" but was "div"

iAutomate
  • 359
  • 2
  • 6
  • 15