如何使用selenium IDE自动化用户名/密码填充Firefox验证弹出窗口 [英] How to automate username/password fill for firefox authentication popup using selenium IDE
问题描述
我已经尝试了以下,但它不起作用:
http://用户名:password@site.com/
而不是 http:
$ b $ 除了调用另一个脚本,比如autohotkey以外,还有其他一些想法吗?
您可以给Firefox插件 Firefox的集成身份验证一试。安装后,您可以在Firefox的选项菜单中配置插件。只需将您的site.com添加到启用集成身份验证的网站,看看它是否适合你。在我的情况下,它解决了这个问题。
I got a selenium script that works, but when it is opened with selenium-rc it is in a new instanced which requires me to re-login. Is there a way to automate filling in the username/password for the "authentication required" window that pops up?
I have tried the following but it doesn't work:
http://username:password@site.com/
instead of http://site.com/
Any ideas other than calling another script like autohotkey?
You could give the Firefox plugin Integrated Authentication for Firefox a try. After installing you can configure the plugin in the options menu of Firefox. Just add your site.com to the integrated authentication enabled sites and see whether it works for you. In my case it solved the problem.
这篇关于如何使用selenium IDE自动化用户名/密码填充Firefox验证弹出窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!