capybara-firebug provides a dead-simple way to run scenarios with Firebug enabled under the selenium driver.
- Install the gem
require 'capybara/firebug'in env.rb
- Tag a scenario with
- Run it
Firebug will be set up so that all features are fully enabled on every page.
You'll want to be able to pause the scenario at some point to inspect things
in Firebug. A step definition for
Then stop and let me debug is provided
for this purpose. When executed, it breaks in the Ruby debugger.