Jump to content

Recommended Posts

Posted

I am using FFloadwait function in FF.au3 for my script.But this function is not returning the exact load time of a page.It is returning always some constant values.can anybody let me know how to get exact page load time using this function.

Posted

What do you mean with constant values?

The function returns 0 / 1 if the page is loaded.

@extended = loading time

e.g.:

#region Includes
#include <Array.au3>
#include <FF.au3>
#endregion Includes

Dim $iTime[10]

If _FFConnect() Then
    For $i = 0 To 9
        _FFOpenURL("www.google.com",false)
        _FFLoadWait()
        $iTime[$i] = @extended
    Next
    _ArrayDisplay($iTime)
EndIf
  • 6 months later...
Posted

I think he's looking at the values in the "SyntaxCheck Prod" window. If you run your scripts as au3 you will se Loadwait times there. I think the _FFLoadWait command is a little bit buggy though. Dont know if it is beacuse of some addon i got installed or if its just plain and simple not working all the time.

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
×
×
  • Create New...