Using Firebug with WebDriver in Capybara/Cucumber

September 21, 2010 Mike Gehard

Ever wanted to be able to debug an HTML page using the power of Firebug while running Cucumber/Capybara features/steps?

Follow these simple steps and you can get it to work:

1) Create a new “WebDriver” Firefox profile using the instructions found here

2) Fire up Firefox using the newly created profile and install/configure Firebug the way you want it. See instructions above.

3) Run your Cucumber/Capybara steps and pause the feature using a sleep() statement long enough for you to poke around in the page with Firebug.

**Note this has been proven to work on OS X, your mileage on other OS’s may be limited.

About the Author

Biography

More Content by Mike Gehard
Previous
Presenters and Logical APIs
Presenters and Logical APIs

MVC in Rails and Thick Views The default way of using ActionController and ERB in Rails is to pass models ...

Next
Scoping with confidence
Scoping with confidence

We've recently scoped several projects in Boulder. While scoping, several clients asked how we're able to e...

Enter curious. Exit smarter.

Learn More