0
我有一個Web表單,我試圖通過代碼使用HtmlUnit來填寫。與HtmlUnit列表項互動項目
我被困在與列表項目的交互階段。我需要在網頁表單中的數據顯示給用戶,然後選擇值,但唯一的方法可以根據API是:
String getTypeAttribute() - Returns the value of the attribute "type".
String getValueAttribute() - Returns the value of the attribute "value".
如何去選擇列表中,它顯示給用戶,然後接受他們的輸入並將其設置在表單上?