How to drive Firebug from Selenium WebDriver
问题 I would like to capture the Net panel output from Firebug while running a test through WebDriver. I was thinking of doing this using NetExport to dump the info to a har file. How can I activate Firebug to do the export while a particular page is displayed using "driver.get()"? 回答1: You need the Firestarter extension in addition to Firebug and NetExport. Here's how I do it in Ruby: profile = Selenium::WebDriver::Firefox::Profile.new profile.add_extension "path/to/firebug.xpi" profile.add