Company
Date Published
Author
Jim Holmes
Word count
1053
Language
English
Hacker News points
None

Summary

This article demonstrates how to set up and run a basic WebDriver test in Java using IntelliJ on OSx. To create the test, you'll need to install the necessary components, including the Java WebDriver bindings, JUnit, and the Gecko driver proxy for Firefox. You'll also need to configure your project structure and add the required dependencies. Once you've set up your environment, you can write a simple test using JUnit that starts a browser instance, executes a test, and closes the browser. The test is then run using the right-click context menu or by pressing Ctrl-Shift-R. This article provides a step-by-step guide to getting started with WebDriver in Java using IntelliJ on OSx.