IE WebDriver Selenium与Active Directory登录一起使用 [英] IE WebDriver Selenium in Use with Active Directory Login

查看:107
本文介绍了IE WebDriver Selenium与Active Directory登录一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当尝试使用IE的Selenium WebDriver导航到网页时,遇到了无法登录该站点的问题.该登录名是Windows安全Active Directory登录名,显示在如下所示的弹出窗口中.有人有幸登录吗?

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?

推荐答案

不,AFAIK不能与webdriver一起使用.您最好的机会是寻找能够处理kerberos,NTLM或您所拥有的任何内容的代理.

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.

无论如何,在使用Firefox的情况下,我对user:pass@yoursite.com机制感到幸运,但是我不记得在那种情况下使用了哪种身份验证方案.

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.

这篇关于IE WebDriver Selenium与Active Directory登录一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆