WebDriver driver = new FirefoxDriver();
driver.get("https://accounts.google.com/SignUpcontinue=https%3A%2F%2Faccounts.google.com%2FManageAccount");
Select drpGender = new Select(driver.findElement(By.name("Gender")));
drpGender.selectByVisibleText("MALE");
I am trying to select option on drop down box but m getting an error.For error plz refer Title/Subject
Thanks,
Arihant
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…