1

I m new to selenium. i m nt able to recored the window authentication window while recording. for that i tried to pass username and password in url bt its also nt working.it s redirect me to some other page.i m using firefox as my browser. my-method for passing credentials : http://username:[email protected] it correct?? if yes then why i m not able pass it.

Is there is any programming way by which i can pass this username and password ??? pls give me the solution...

thnks in advance

1 Answer 1

1

Kevin Menard (current maintainer of Selenium Grid) has posted a guide to using basic HTTP authentication in Selenium.

One way to get around this is to embed the user credentials in the URL. Traditionally this has worked well, but newer browsers have disabled that functionality due to the security risks inherently involved. Fortunately, there is another way: send over the authentication credentials in the request header.

Source: http://mogotest.com/blog/2010/06/23/how-to-perform-basic-auth-in-selenium

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.