zaweji Posted July 10, 2017 Share Posted July 10, 2017 I have a simple code in which I click a button(<a>) for example <a id="test" href="test1.com"> so I click it: $button = _IEGetObjById($oIE,"test") _IEAction($button,"click") _IELoadWait($oIE) And then it navigates into a similar site with different item this time but same button <a id="test" href="test2.com"> There are infinite numbers of redirects like this so I put the previous code in a whille loop While 1 $button = _IEGetObjById($oIE,"test") _IEAction($button,"click") _IELoadWait($oIE) WEnd So it keeps navigating from test->test1->test2->test3->test4->...->test999->... Or so it should problem is that after a while IE stops responding and so the code stops as well what is the problem? *I hope I managed to make myself clear* Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now