Development tools
IntelliJ IDEA / Eclipse
Apache Maven
Java JDK 8
Development Frameworks
JUnit
Selenium WebDriver
Implementation logic
Use the Selenium WebDriver API to write functional test cases, use JUnit to run tests, and use Maven to help to manage project dependencies
Example code
Step by step guide
2. Add Selenium dependency, because Selenium also depends on JUnit, so JUnit dependency will be passed to project, so we don't need to declare JUnit by ourselves
3. Download the required WebDriver file, because we use Chrome in our example, so we downloaded Chrome's WebDriver file[1]
4. Place the WebDriver file in the project path for the project to be unified and easy to use
5. Create a test base class to set up some common configurations
6. Create a new test case and extend the test base class, and then write the test logic
7. Execute the test case, and then Selenium will automatically help us open the Chrome browser and follow our code logic to execute the operation
Reference
[1]: Selenium need WebDriver support to control the browser, Selenium wiki page