[英]How to handle windows authentication using C#, Selenium in newest Chrome version?
在最新的Chrome版本中,我无法使用https:// user:pass @ host /技巧登录。 我在控制台中收到以下警告消息:
[不建议使用]阻止了URL包含嵌入式凭据(例如https://user:pass@host/
)的子资源请求。 有关更多详细信息,请参见https://www.chromestatus.com/feature/5669008342777856 。
有人可以帮助您在最新的Chrome版本中使用Selenium和C#处理Windows身份验证吗?
这对我有用,因为我具有用于用户名身份验证的域\\用户名: http:// domain%5cusername:password@www.basicauthprotected.com
我从这里得到了这种语法: https : //github.com/seleniumhq/selenium-google-code-issue-archive/issues/34#issuecomment-191403434
此外,关于Chrome的URL中对基本身份验证的支持又回来了,似乎删除它是一个错误,如mkwst在此处的评论所报告: https : //bugs.chromium.org/p/chromium/issues/detail ?ID = 435547#C33
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.