IEWaitTimeout


 

IEWaitTimeout>IE_Reference,Timeout_Seconds,Post_Seconds,Result

 

Waits for the specified browser instance to no longer be busy by monitoring IE's busy property. Will timeout if timeout_seconds seconds elapses before IE returns not busy.  Returns 1 if the command timed out before the browser ceased being busy.

 

IE_Reference must be an identifier value returned by IECreate, IEGetFromURL or IEWaitNew.

 

Waits post_seconds afterwards.

 

Note that waiting for IE to not be busy is not necessarily the same as waiting for the overall document to be complete. For waiting for document completeness we recommend using IEWaitDocumentComplete

 

See also: IE Functions

 

Example

 

//Wait for IE[0] instance with 30 second timeout, and 1 second post delay

IEWaitTimeout>IE[0],30,1,res