Ik heb de volgende code:
Maar hij doet sleep als eerst als ik dit doe.
Weet iemand hier een oplossing voor?
Code:
Dim theElementCollection As HtmlElementCollection
theElementCollection = WebBrowser1.Document.GetElementsByTagName("input")
For Each curElement As HtmlElement In theElementCollection
If curElement.GetAttribute("value").Equals("Free user") Then
curElement.InvokeMember("click")
End If
Next
System.Threading.Thread.Sleep(120000)
Weet iemand hier een oplossing voor?