Http Authentication?

52 views
Skip to first unread message

bill[y]

unread,
Sep 23, 2008, 2:31:17 PM9/23/08
to webdriver
Hi There,

Is it possible yet to easily do Http authentication with Webdriver? I
need to do both BASIC and NTLM. I've been successful with this in
HtmlUnit and HttpClient and saw that you can customize the HtmlUnit
constructor ... In some older messages there was some mention of
authenticationAs(username,pwd) ... which would be great. Better would
be authenticateAs(username,pwd,domain) :-)

Thanks so much! Loving Webdriver and am writing a binding/port for
ColdFusion, just in case anyone is interested ...

bill

Simon Stewart

unread,
Sep 24, 2008, 10:16:14 AM9/24/08
to webd...@googlegroups.com
Hi Bill,

I've been a little swamped recently, but should get some time tomorrow
to sit down and clear out my inbox. Until then, you might be
interested in following issue 34:

http://code.google.com/p/webdriver/issues/detail?id=34

That's got exactly what you need in it. A hacky way round BASIC auth
may be to do the "username:pass...@url.com" trick, though it's wildly
unpleasant.

Simon

Reply all
Reply to author
Forward
0 new messages