想要WatiN绕过FireFox Authentication Required对话框 [英] Want WatiN to bypass FireFox Authentication Required dialog

查看:242
本文介绍了想要WatiN绕过FireFox Authentication Required对话框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该测试正在Windows网络上运行,需要代理(鱿鱼)身份验证才能访问外部网站,例如www.google.com。

The test is running on a windows network that requires proxy (squid) authentication to access external websites, say www.google.com for sake of example.

背景事项要注意


  • 这些网站无法添加到
    代理白名单中。

  • These sites cannot be added to the proxy white list.

相同的WatiN测试通过IE

Same WatiN test passes in IE

我已经尝试调整:config
ntlm设置允许自动
传递保存的凭据

I have tried tweaking about:config ntlm settings to allow automatic passing of saved credentials

www.google.com已将
添加到本地Intranet网站

www.google.com has been added to Local Intranet sites

WatiN不能使用LogonDialogHandler
来处理这个,像IE可以

WatiN cannot use LogonDialogHandler to deal with this, like IE can

对话框的标题是需要认证并读取代理myproxy:8080正在请求用户名和密码。该网站表示,文本字段为用户名:和密码

The title of the dialog is Authentication Required and reads The proxy myproxy:8080 is requesting a user name and password. The site says "", with a text field for User Name: and Password:

有没有人有任何想法来解决这个问题?

我希望有具体的FireFox可以让我自动通过凭证。我可能尝试的一个想法是启动具有网络凭据的浏览器。

I'm hoping there is something FireFox specific that will allow me to automatically pass through the credentials. An idea I might try is starting the browser with network credentials.

推荐答案

也许这里的一个设置将有助于:

Maybe one of the settings here will help:

https://developer.mozilla.org/En/Integrated_Authentication

编辑:

这将在Firefox 4中修复:

This will be fixed in Firefox 4:

https://bugzilla.mozilla.org/show_bug。 cgi?id = 521467

这篇关于想要WatiN绕过FireFox Authentication Required对话框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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