0
내가 드롭 다운이 선택 사용하지만 나에게주는 오류 찾기 위해 노력하고 있어요
: 스레드에서예외 : UnexpectedTagNameException
이예외는 "주요"org.openqa.selenium.support.ui.UnexpectedTagNameException : 요소가 있었어야 작동하지 않는 그 ByIndex, ByValue 만에 시도 "입력"
"을 선택"하지만했다
코드
Select dropdown = new
Select(driver.findElement(By.id("ctl00_MainContent_ddlLocale_Input")));
//dropdown.selectByIndex(2);
dropdown.selectByValue("Austria: Vienna");
예외로
td class="rcbInputCell rcbInputCellLeft" style="width:100%;">
<input id="ctl00_MainContent_ddlLocale_Input" class="rcbInput ui-widget- content" type="text" value="Austria: Vienna" name="ctl00$MainContent$ddlLocale" autocomplete="off"/>