I can't make the document.getElementById command work.
At first it gave me an error saying the interface has not been detected (specifically document).
Now when I try to run the command below it gives the error: 0x80004005 - Unknown error
Specifically: document
Line 006
Continue running script y/n
Any idea what causes this issue?
Code: Select all
#SingleInstance, force
wb := ComObjCreate("InternetExplorer.Application") ; Create a IE instance
wb.Visible := True
wb.Navigate("https://www.google.com/?gws_rd=ssl")
wb.document.getElementById("lst-ib").value := "test"
return