I have gone through this book http://www.compendiumdev.co.uk/selenium/ which is excellent and I highly recommend it to everyone! I was wondering if there is a similar book/tutorial with a Ruby focus that anyone would recommend?

  • Are you specifically looking for Selenium + Ruby or just want to learn more Ruby ? Aug 3, 2012 at 19:10

4 Answers 4


Is this the sort of thing you are looking for ?

  • This is definitely what they're looking for. I have yet to find a better intro/tutorial to writing to Webdriver/SE with Ruby. Great recommendation.
    – maznika
    Aug 10, 2012 at 17:36
  • How about giving my answer an uovote then ? :) Aug 10, 2012 at 21:56
  • Done, just commented in a hurry :)
    – maznika
    Aug 10, 2012 at 22:23

I would highly recommend Cucumber & Cheese (A Testers Workshop) by Jeff Morgan.

  • I probably will as well once I've finished reading it ! Aug 4, 2012 at 13:49
  • This appears to be Water focused, am I wrong about this?
    – moorecats
    Aug 4, 2012 at 20:47
  • It is, but the lessons learned in it will be v useful to you Aug 5, 2012 at 1:00
  • @moorecats: watir-webdriver Ruby gem is just an API over selenium-webdriver Ruby gem. Aug 6, 2012 at 8:52

I recommend Selenium Design Patterns and Best Practices. Great book for learning Selenium and Ruby, and what is even more important for learning best test automation practices along the way.


I know this post is a few years old but I wanted to bring up another option.

My company bought a copy of the ruby version of The Selenium GuideBook by Dave Haeffner, who also does the Elemental Selenium Tips newsletter. The book costs about $60 but is very much worth it. I've gone through the book a few times, using the code examples and I love it. Got me up and running using Selenium WebDriver using Ruby and RSpec doing automated acceptance tests.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.