Waits for complete page loading.
procedure WaitLoaded(aMaxWaitTime:integer=0; aMinWaitTime:integer=0);
//Load a page "google.ru/?q=request". Waiting for loading is completed LoadURI('google.ru/?q=request'); //Find the button "Google search" var element:=GetElement('button',0,['id'],['gbqfba'],true); //Click the button. Starts loading of the searching results ClickElement(element); //Wait for a complete loading, but no more than 2 seconds and not less than 1 second WaitLoaded(2000,1000);