首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > Web前端 >

How do I get watir-webdriver to start Firefox 四 with Firebug

2012-08-01 
How do I get watir-webdriver to start Firefox 4 with Firebug??原文链接:http://stackoverflow.com/que

How do I get watir-webdriver to start Firefox 4 with Firebug?

?

原文链接:http://stackoverflow.com/questions/6065092/how-do-i-get-watir-webdriver-to-start-firefox-4-with-firebug

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

ff=Watir::Browser.new(:firefox, :profile=>some_profile

?

?

The quick answer is:

browser = Watir::Browser.new(:firefox, :profile => "default")

But if you are running tests you probably shouldn't use the default profile.


)?

热点排行