NTLM Authentication in webdriver

423 views
Skip to first unread message

Venkat

unread,
Jan 31, 2020, 7:27:33 AM1/31/20
to Selenium Users
Hi,
I am trying to login into a site through node js using webdrive js. But stuck at handling the NTLM authentication popup. Any suggestions?

I tried using alert() function, but it not recognizable.
await driver.switchTo().alert()



Mukesh M

unread,
Jan 31, 2020, 11:42:10 PM1/31/20
to seleniu...@googlegroups.com

U can use

 

driver.get(“http://username:password@url”);

 

 

அனுப்புநர்: Venkat
அனுப்பியது: 31 January 2020 05:57 PM
பெறுநர்: Selenium Users
பொருள்: [selenium-users] NTLM Authentication in webdriver

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/b062f5c6-ee1c-4890-95e7-8c8695f2d420%40googlegroups.com.

 

Venkat

unread,
Feb 3, 2020, 11:17:27 AM2/3/20
to Selenium Users
Hi,

I have already tried this option but it is not working.

Joe Ward

unread,
Feb 3, 2020, 11:19:54 AM2/3/20
to seleniu...@googlegroups.com
It’s deprecated. You’ll need to pass an authenticated cookie or better yet turn authentication off unless you’re specifically testing for it. 

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.

Jim Evans

unread,
Feb 4, 2020, 1:07:27 AM2/4/20
to Selenium Users
You might find this blog post series useful (though you’ll need to translate the code examples from C# to your language of choice): http://jimevansmusic.blogspot.com/2019/05/handling-authentication-requests-with.html
Reply all
Reply to author
Forward
0 new messages