This is how I did it , finally , and it work perfectly for me: 1) Step 1 - creating a autoIt Script (au3) , with the below code ( where userid and password is you're authentication details, change that ) WinWaitActive("Authentication Required","","10") WinFlash("Authentication Required", "",4,500) If WinExists("Authentication Required") Then Send("userid{TAB}") Send("password{Enter}") EndIf 2) Step 2 - convert the (au3) script into an EXE with 'Compile Script' tool from AutoIt 3) Step 3 - when the authentication window appears , execute the 'EXE' file , ( I did it within a java process ) Hope it works for you also , more details are provided here : http://automationtestingsimplified.wordpress.com/2011/08/11/how-to-handle-window-based-pop-up-using-selenium-and-autoit/ NOTE: It's only for FF (because on the other browser it has another TITLE ) <snip> For more info , please feel free to contact me