Selenium WebDriver

One of the most popular ways to use Cucumber is to automate the development of web applications. Here is a dirty little secret:

Cucumber has no idea how to talk to a web application!

That’s right—--it’s completely useless for that. Still, people keep using it to develop web applications. How come?

Remember, Cucumber isn’t much more than a tool that can parse Gherkin feature files and execute step definitions. It doesn’t know how to talk to databases, web apps, or any external system. People install other libraries for this and use them in their step definitions and support code to connect to those external systems.

As of this writing, the most popular Java library for programmatically interacting with a web application ...

Get The Cucumber for Java Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.