IE WebDriver Selenium in Use with Active Directory

2019-08-28 01:03发布

When attempting to navigate to a web page using the Selenium WebDriver for IE, I run into the issue of not being able to login to the site. The login is a windows security Active Directory login that appears in a popup like below. Has anyone had any luck with getting into this login?

enter image description here

2条回答
ら.Afraid
2楼-- · 2019-08-28 01:42

As said earlier, with Firefox its possible by creating a profile. Other than that HtmlUnitDriver supports active directory login to be used for authentication.

查看更多
Ridiculous、
3楼-- · 2019-08-28 01:49

No, AFAIK not with webdriver anyway. Your best chance is to look for a proxy that is capable of handling kerberos, NTLM or whatever you have there.

Anyway, with firefox i had some luck with user:pass@yoursite.com mechanizm, but I don't remember what authentication scheme was used in that case.

查看更多
登录 后发表回答