Jump to content
Sign in to follow this  
Vishesh

Problem with the FFLoadWait function

Recommended Posts

Vishesh

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.

Share this post


Link to post
Share on other sites
Stilgar

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

Share this post


Link to post
Share on other sites
Scinner

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.

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.