Jump to content
Sign in to follow this  
zaweji

IE stops responding

Recommended Posts

zaweji

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*

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.