Framework Mode - WebDriverManager for automatic driver management
Folder Structure
selenium-java-project/ ├── src/ │ ├── main/ │ │ └── java/ │ │ └── com/example/app/ │ │ └── (application code) │ └── test/ │ └── java/ │ └── com/example/tests/ │ ├── pages/ <-- Page Object classes │ ├── tests/ <-- Test classes (TestNG/JUnit) │ ├── utils/ <-- Utility classes (e.g., WebDriverManager setup) │ └── config/ <-- Configuration helpers ├── pom.xml <-- Maven build and dependencies └── testng.xml <-- TestNG suite configuration