{"id":20458446,"url":"https://github.com/rookieintraining/selenium-testng-boilerplate","last_synced_at":"2026-05-01T20:31:47.552Z","repository":{"id":224189305,"uuid":"178828389","full_name":"rookieInTraining/selenium-testng-boilerplate","owner":"rookieInTraining","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-23T15:26:58.000Z","size":18632,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-05T10:49:24.162Z","etag":null,"topics":["automation-testng","automation-ui","gradle","selenium","testng","webdriver"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rookieInTraining.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2019-04-01T09:20:47.000Z","updated_at":"2022-09-10T01:50:11.000Z","dependencies_parsed_at":"2024-02-24T12:36:36.474Z","dependency_job_id":null,"html_url":"https://github.com/rookieInTraining/selenium-testng-boilerplate","commit_stats":null,"previous_names":["rookieintraining/selenium-testng-boilerplate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rookieInTraining/selenium-testng-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookieInTraining%2Fselenium-testng-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookieInTraining%2Fselenium-testng-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookieInTraining%2Fselenium-testng-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookieInTraining%2Fselenium-testng-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rookieInTraining","download_url":"https://codeload.github.com/rookieInTraining/selenium-testng-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rookieInTraining%2Fselenium-testng-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32512662,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-testng","automation-ui","gradle","selenium","testng","webdriver"],"created_at":"2024-11-15T12:12:32.460Z","updated_at":"2026-05-01T20:31:47.527Z","avatar_url":"https://github.com/rookieInTraining.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Selenium with TestNG Boilerplate\n\nBoilerplate code for writing your java based selenium tests using testNG.\n\n# Notes\n- The framework spawns the browsers (max. of 10) in the test\n- The framework re-uses the browsers spawned for the remainder of the tests\n\n# How to run the tests\nUse the  simple gradle syntax to run the test :\n\n```\ngradle clean test\n```\n\nApart from the above, there are few env variables that can be used while executing the tests :\n\n|                |Purpose                        |Default Value                |\n|----------------|-------------------------------|-----------------------------|\n|selectedBrowser |Uses the value provided by the users to run the tests           |chrome                       |\n|headless        |Runs the tests in the browser's headless mode |false                        |\n|runOnGrid       |Executes test on the grid if set to true else runs it on local|false                        |\n\n\nHence, in order to run the test on the grid for Firefox in headless mode we can use the below command :\n\n```\ngradle clean test -DselectedBrowser=Firefox -Dheadless=true -DrunOnGrid=true\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frookieintraining%2Fselenium-testng-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frookieintraining%2Fselenium-testng-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frookieintraining%2Fselenium-testng-boilerplate/lists"}