如何让watir-webdriver使用Firebug启动Firefox 4? [英] How do I get watir-webdriver to start Firefox 4 with Firebug?

查看:155
本文介绍了如何让watir-webdriver使用Firebug启动Firefox 4?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有什么想法?我已经尝试设置webdriver.firefox.useExisting = true,如下面的链接中所描述的,希望重新启用萤火虫现有的窗口,但没有这样的运气。

http://code.google.com/p/selenium/wiki/FirefoxDriver

解决方案

您必须创建一个特定的配置文件,其中始终启用Firebug,然后在配置中使用此配置文件启动firefox


Any ideas? I've tried setting webdriver.firefox.useExisting=true as described in the link below hoping to reuse an existing window with firebug enabled, but no such luck.

http://code.google.com/p/selenium/wiki/FirefoxDriver

解决方案

you have to create a specific profile where Firebug is always enabled, then launch firefox with this profile in your configuration

这篇关于如何让watir-webdriver使用Firebug启动Firefox 4?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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