Function Reference

_FFLoadWait

Wartet bis die Seite geladen ist.

#Include <FF.au3>
_FFLoadWait([$iTimeOut = $_FF_LOADWAIT_TIMEOUT[, $bStop = $_FF_LOADWAIT_STOP]])

 

Parameters

$iTimeOut Optional: Time-Out in ms.
45000 = (Default)

 

Return Value

Success: Returns 1 und setzt @EXTENDED auf die Ladezeit in ms.
Failure: Returns 0 and sets @ERROR
@ERROR: 0 ($_FF_ERROR_Success)
6 ($_FF_ERROR_Timeout)

 

Remarks



 

Links

https://developer.mozilla.org/en/nsIWebProgress

 

Related

_FFDialogWait

 

Example

#Include <FF.au3>
_FFStart("http://ff-au3-example.thorsten-willert.de/", Default, 2)

If _FFIsConnected() Then
	_FFClickImage("/gohome.png", "src", False)
	If _FFLoadWait() Then MsgBox(64, "", "Page was loaded in " & @extended & "ms")

	Sleep(3000)
	_FFQuit()
EndIf