我正在尝试从下拉菜单中进行选择,但出现以下错误。
John 4 A
Josh 2 B
Kevin 3 A
以下是我的代码:
org.openqa.selenium.support.ui.UnexpectedTagNameException: Element should have been "select" but was "input"
html元素是:
Select domainDropdown= new Select(driver.findElement(By.classname("dijitReset something")));