{"id":20128059,"url":"https://github.com/osandadeshan/selenium-java-web-automation-demo","last_synced_at":"2026-04-04T08:33:19.063Z","repository":{"id":88817240,"uuid":"291397144","full_name":"osandadeshan/selenium-java-web-automation-demo","owner":"osandadeshan","description":"This project serves as a boilerplate for automating web applications across various browsers and environments using TestNG and the Selenium library.","archived":false,"fork":false,"pushed_at":"2024-11-26T07:24:15.000Z","size":4794,"stargazers_count":8,"open_issues_count":0,"forks_count":10,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T15:51:50.254Z","etag":null,"topics":["automation","automation-ui","extentreports","java","page-object-model","selenium","selenium-java","selenium-webdriver","testng"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/osandadeshan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-30T04:06:20.000Z","updated_at":"2025-02-17T07:27:51.000Z","dependencies_parsed_at":"2023-12-30T16:48:29.183Z","dependency_job_id":null,"html_url":"https://github.com/osandadeshan/selenium-java-web-automation-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osandadeshan%2Fselenium-java-web-automation-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osandadeshan%2Fselenium-java-web-automation-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osandadeshan%2Fselenium-java-web-automation-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/osandadeshan%2Fselenium-java-web-automation-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/osandadeshan","download_url":"https://codeload.github.com/osandadeshan/selenium-java-web-automation-demo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252744550,"owners_count":21797645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","automation-ui","extentreports","java","page-object-model","selenium","selenium-java","selenium-webdriver","testng"],"created_at":"2024-11-13T20:25:14.440Z","updated_at":"2026-04-04T08:33:19.017Z","avatar_url":"https://github.com/osandadeshan.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Application Automation Using Selenium \u0026 TestNG (Cross Browsers)\n\nThis project serves as a boilerplate for automating web applications across various browsers and environments using TestNG and the Selenium library.\n\n[![Selenium Java Web UI Automation CI](https://github.com/osandadeshan/selenium-java-web-automation-demo/actions/workflows/selenium-java-ci.yml/badge.svg?branch=master)](https://github.com/osandadeshan/selenium-java-web-automation-demo/actions/workflows/selenium-java-ci.yml)\n\n## Prerequisites\n1. Java\n2. Maven\n3. Chrome\n\n## How to run tests\n1. Using IntelliJ IDEA\n    * Go to Maven Profiles\n    * Select `chrome`, `headless-chrome`, `firefox`, `headless-firefox`, `edge`, `ie` or `safari` Maven Profile as the browser\n    * Select `dev`, `qa`, `uat`, `pre-prod` or `prod` Maven Profile as the environment\n    * Select the test classes on the `src/test/java` folder\n    * Right-click and click on `Run`\n\n\n2. Using Command Line\n    * To run the smoke test suite in Firefox browser against the QA environment\n\n      `mvn clean test -Pfirefox,qa,smoke-test`\n    * To run the regression test suite in Safari browser against the UAT environment\n\n      `mvn clean test -Psafari,uat,regression-test`\n\n**Note**: By default, if no Maven profiles are selected, the tests will be executed on the `chrome` browser and in the `dev` environment.\n\n## License\n\u003cimg src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/0/0b/License_icon-mit-2.svg/2000px-License_icon-mit-2.svg.png\" alt=\"MIT License\" width=\"100\" height=\"100\"/\u003e [MIT License](https://opensource.org/licenses/MIT)\n\n## Copyright\nCopyright 2023 [MaxSoft](https://maxsoftlk.github.io/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosandadeshan%2Fselenium-java-web-automation-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fosandadeshan%2Fselenium-java-web-automation-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fosandadeshan%2Fselenium-java-web-automation-demo/lists"}