Playwright for Java With POM and TestNG Clone the project Directory To Run Test mvn clean test Features Page Object Model maven-surefire-plugin Multiple browser support Chrome,Edge,Chromium,Webkit Reference https://playwright.dev/java/docs/api/class-playwright#playwright-selectors Note : Make sure your compiler source set to minimum 1.8