0

I am trying to handle the basic authentication pop up for my Selenium webdriver scripts using AutoIt in Chrome.

I am using following AutoIt script:

If WinExists("","Chrome Legacy Window") Then
   Send("username{TAB}")
   Send("password{ENTER}")
   EndIf

No action is performed on the chrome authentication pop-up.

2
  • are you compiling the autoIT code into .exe file and then calling the .exe in Java using the Runtime.getRuntime.exec()?
    – Alok
    Apr 6 '19 at 4:41
  • yes, i am compiling the autoIT code into .exe file and then calling the .exe in C# using Process.Start() method.
    – user37884
    Apr 7 '19 at 4:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy