javacucumbercapybaracucumber-jvmwebrat

How can I use Capybara with Cucumber-jvm and Java?


I learned about cucumber and capybara while using Ruby on Rails, and I love it. Automated testing of manual inputs like button clicks is a must have for me.

However, now that I am working with Java, I do not know how to include Capybara/webrat into my project. I am able to use cucumber-jvm really nicely, but I really would like to integrate capybara.

Can anyone here guide me on how to use Capybara in my Java project?


Solution

  • Look at Webdriver, the evolution of Selenium - it allows you to interact with websites nicely.