Jump to content

Delay in Firefox launch

Recommended Posts


Hi there, I am using autoIT to launch Firefox through my selenium script. It works. But, it takes around 1 minute in the beginning to enter logins in the Windows authentication pop-up. Here is what I have -

            //Initialize AutoIT

            var AutoIT = new AutoItX3();

             AutoIT.WinWait("Authentication Required");

            AutoIT.WinActivate("Authentication Required");





Share this post

Link to post
Share on other sites

I am honestly not sure what you are trying to do here, but here is what I use... this will call the default browser, not Firefox specifically and it works in seconds.

This code will not work, as I have removed hundreds of lines.

;Create the list window in the GUI
$List = GUICtrlCreateList("", 0, 0, 120, 297, BitOr($WS_BORDER, $WS_VSCROLL))

;Create the list of Servers
GUICtrlSetData($List, "||AR DEV| (ETC,)

;Create the buttons
$Wmc = GUICtrlCreateButton("Launch WMC/Browser", 160, 190, 120, 30)

;when selecting the server and clicking the WMC button this Case is selected and calls the webpage
        Case $Wmc
            Switch GUICtrlRead($List)
           Case "AR DEV"
                    ShellExecute("URL path")


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