Discussion:
AutoIT and Firefox
ramkat2002
2008-02-04 17:19:30 UTC
Permalink
Hi,

I'm trying to load a web page with FireFox - this is part of a larger
project.

How does one determine that the page loading has completed?

Sleep is not sufficient.

My script current script is below, and Firefox is closed often before
the download is completed.

Run("C:\Program Files\Mozilla Firefox\firefox.exe http://www.iol.co.za")

WinWaitActive("Mozilla Firefox")

Sleep(2000)

WinClose("Mozilla Firefox")

WinWaitClose("Mozilla Firefox")
Janus S. Andersen
2008-02-04 19:27:36 UTC
Permalink
Hi
Find the title of FireFox when your download is finish. Else you can use the
status bar of firefox. I am using IE so I don`t know FireFox.

Best Regaard
Janus S. Andersen
Hi,
I'm trying to load a web page with FireFox - this is part of a larger
project.
How does one determine that the page loading has completed?
Sleep is not sufficient.
My script current script is below, and Firefox is closed often before
the download is completed.
Run("C:\Program Files\Mozilla Firefox\firefox.exe http://www.iol.co.za")
WinWaitActive("Mozilla Firefox")
Sleep(2000)
WinClose("Mozilla Firefox")
WinWaitClose("Mozilla Firefox")
[Non-text portions of this message have been removed]

Loading...