What We Just Learned

We’ve covered a lot of ground in this chapter. We started by taking a quick tour of some of the most useful parts of the Selenium WebDriver API, and we used some of them when we came to implement basic fault handling in our ATM. When we added the fault handling scenarios, we saw the feature runtime start to get longer, so we applied a simple technique to reduce it by sharing a single browser session among all our scenarios. And then we extended our ATM using Ajax to give live feedback to our customer, which taught us another way to provide synchronization using Selenium.

There are a lot more features that we would want to implement in our ATM, and that would lead to lots more scenarios. Sharing a single browser session ...

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.