你好,我似乎无法找到如何全自动检查的复选框或勾选一个单选按钮时填写网页表单的信息。我该怎么引号之间输入:
("价值","?")我要对这个错误的方式?theElementCollection = WebBrowser1.Document.GetElementsByTagName("checkbox")
For Each curElement As HtmlElement In theElementCollection
Dim controlName As String = curElement.GetAttribute("name").ToString
If controlName = "opt-in" Then
curElement.SetAttribute("Value", "")
End If
谢谢你,布莱恩