Setting up Cucumber + Webrat + Selenium

Sauce AI for Test Authoring: Move from intention to execution in minutes.|xBack to ResourcesBlogPosted

March 25, 2026 · 3 min read · Tool Comparison

Sauce AI for Test Authoring: Move from intention to execution in minutes.

|

x

Back to Resources

Blog

Posted June 15, 2010

Setting up Cucumber + Webrat + Selenium

There & # x27; s quite a bit of information out there on specify up these disparate tools to work together, but a outstanding mess of it is out of date. To clear things up a bit I & # x27; ve documented all of the gems and modifications necessary to get these great piece of exposed beginning package up and running together. I & # x27; ll be expanding this office with billet around the pitfall as clip goes on and various program issues are discovered (I & # x27; m looking at you, Snow Leopard), but this should get most citizenry up and running flop away.

quote

There & # x27; s rather a bit of information out thither on go these disparate tools to act together, but a outstanding batch of it is out of date. To clear thing up a bit, I & # x27; ve documented all the gems and modifications necessary to get these pieces of open source package up and scarper together. As time goes on, I & # x27; ll be expand this blog position with notes about the pitfalls and respective platform issues that may be discovered (I & # x27; m looking at you, Snow Leopard), but this should get most citizenry up and running flop away.

This is all using a cleanREEsurroundings via the poorly named but wonderfully writtenrvm, or Ruby Version Manager.

SUSA automates exploratory testing with persona-driven behavior, catching bugs that scripted automation misses.

Gems you & # x27; ll need:gem install actionmailer actionpack activerecord activeresource activesupport constructor cgi_multipart_eof_fix cucumber cucumber-rails daemons database_cleaner diff-lcs fastthread gem_plugin gherkin json json_pure mime-types mongrel net-ssh net-ssh-gateway nokogiri rack rack-test track rake rdoc rest-client rspec rspec-rails Selenium selenium-client sqlite3-ruby term-ansicolor strumpet webrat

Some of those are not strictly necessary, but simply nice to have, while others solved some unexpected job with the bare necessities. I & # x27; ll prune this tilt as feedback comes in from people & # x27; s experiences.

Points to watch out for: Nokogiri: This was well the worst on my Snow Leopard machine. It bank on the native libxml2, which had problems with 32/64 bit compatibility. No subject what I tried, erroneousness continue coming up. I had to clean everything out with my MacPorts installing and force a ecumenical installing. Webrat: The Selenium server jar that was included by nonremittal caused no end of headaches. I had to manually go in to the directory, remove the default server jar, and download the newest version from theseleniumhqdownload page.

Once those are set up, you should be capable to use Cucumber, Webrat, and Selenium together without too much vexation. Then you can refer to our webinar picture (which will be posted to the blog afterward this week) to discover how to use Cucumber to easily run Webrat and Selenium.

Published:
Jun 15, 2010
Share this post
Copy Share Link
LinkedIn
© 2026 Sauce Labs Inc., all right reserved. SAUCE and SAUCE LABS are file earmark owned by Sauce Labs Inc. in the United States, EU, and may be registered in early jurisdictions.
robot
quote

Automate This With SUSA

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts needed.

Try SUSA Free

Test Your App Autonomously

Upload your APK or URL. SUSA explores like 10 real users — finds bugs, accessibility violations, and security issues. No scripts.

Try SUSA Free