I am running 4 IE(s) sometimes they work very fine but sometimes they keep giving me these error and apps doesn work after these errors
here is my code for getting ie
Code: Select all
Run, Iexplore.exe -private -nomerge,,,PID
WinWait, ahk_pid %PID%
Sleep,1000 ;If the script doesn't work, you can try increasing this.
global Pwb := IEGet(WinExist("ahk_pid " . PID))
here are code for nagivating
Code: Select all
getit:
gui,submit,nohide
pwb.navigate(uid)
while pwb.readyState!=4 || pwb.document.readyState!="complete"
sleep, 100
Links := pwb.document.getElementsByTagName("a")
Loop % Links.Length
if InStr(Links[A_Index - 1].innerText, "get text")
{
links[A_Index-1].Click()
break
}
how to resolve this issue
thanks