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

2.8k Views Asked by At

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?

2

There are 2 best solutions below

0
TrueDub On BEST ANSWER

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

0
Hashir Rizwan On

You can always start with JRuby.