0
我有一个Web表单,我试图通过代码使用HtmlUnit来填写。与HtmlUnit列表项互动项目
我被困在与列表项目的交互阶段。我需要在网页表单中的数据显示给用户,然后选择值,但唯一的方法可以根据API是:
String getTypeAttribute() - Returns the value of the attribute "type".
String getValueAttribute() - Returns the value of the attribute "value".
如何去选择列表中,它显示给用户,然后接受他们的输入并将其设置在表单上?