HTTP Basic Auth for Selenium in Firefox 2

Posted by Peter on Stack Overflow See other posts from Stack Overflow or by Peter
Published on 2010-06-11T09:15:00Z Indexed on 2010/06/11 9:23 UTC
Read the original article Hit count: 854

Filed under:
|
|

I know that normally you can login to sites that require HTTP basic authentication with Selenium by passing the username and password in the URL, e.g.:

selenium.open("http://myusername:[email protected]/mypath");

I've been running a Selenium test with Firefox 2 and there I still get the "Authentication Required" dialog window?

Thanks for any hints!

Peter

© Stack Overflow or respective owner

Related posts about authentication

Related posts about selenium