This repository provides a sample project that demonstrates how to use Playwright with Junit 5. Playwright is a Node.js library for automating web browsers and is designed to work with all major browsers such as Chrome, Firefox, and Safari.
- Java 8 or above
- Maven
- Playwright
- Clone the repository to your local machine.
- Install the necessary dependencies with the following command:
mvn clean install ```
- Run the tests with the following command:
mvn test
In this repository, we have demonstrated how to use Playwright with Junit 5 to write automated tests for web applications. With the powerful features provided by Playwright and the flexibility of Junit 5, we can easily write and maintain test suites that are reliable, scalable, and easy to understand.