{"id":15170469,"url":"https://github.com/sadabnepal/selenium-javascript-test","last_synced_at":"2026-01-31T14:03:12.121Z","repository":{"id":236427164,"uuid":"792591274","full_name":"sadabnepal/selenium-javascript-test","owner":"sadabnepal","description":"Mocha framework using Selenium, TypeScript, Mocha, Chai, Docker to test web application","archived":false,"fork":false,"pushed_at":"2024-09-30T06:52:10.000Z","size":279,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-09T08:11:30.378Z","etag":null,"topics":["boilerplate-project","chai","docker","docker-compose","mocha","mochawesome","selenium","selenium-javascript","test-automation","test-framework"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/sadabnepal.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,"publiccode":null,"codemeta":null}},"created_at":"2024-04-27T02:29:09.000Z","updated_at":"2024-09-30T06:52:14.000Z","dependencies_parsed_at":"2024-04-27T03:26:14.740Z","dependency_job_id":"659c5a03-b835-4993-89b2-873e70a2eec5","html_url":"https://github.com/sadabnepal/selenium-javascript-test","commit_stats":null,"previous_names":["sadabnepal/selenium-javascript-test"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sadabnepal/selenium-javascript-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fselenium-javascript-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fselenium-javascript-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fselenium-javascript-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fselenium-javascript-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sadabnepal","download_url":"https://codeload.github.com/sadabnepal/selenium-javascript-test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sadabnepal%2Fselenium-javascript-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28944789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T13:02:32.153Z","status":"ssl_error","status_checked_at":"2026-01-31T13:00:07.528Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["boilerplate-project","chai","docker","docker-compose","mocha","mochawesome","selenium","selenium-javascript","test-automation","test-framework"],"created_at":"2024-09-27T08:03:06.150Z","updated_at":"2026-01-31T14:03:12.076Z","avatar_url":"https://github.com/sadabnepal.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Selenium Webdriver Test Framework\nThis is a sample project that uses selenium, typescript, mocha and chai.\n\n### Requirements\n[![NodeJs](https://img.shields.io/badge/-NodeJS-393?logo=node.js\u0026logoColor=fff)](https://nodejs.org/en/download/)\n[![Docker](https://img.shields.io/badge/-Docker-2496ED?logo=docker\u0026logoColor=fff)](https://docs.docker.com/get-docker/)\n[![VSCode](https://img.shields.io/badge/-VisualStudioCode-007ACC?logo=visual-studio-code\u0026logoColor=fff)](https://code.visualstudio.com/download)\n\n### Getting Started\n\nClone Repository\n\n```bash\ngit clone https://github.com/sadabnepal/selenium-javascript-test.git\ncd selenium-javascript-test\n```\n\nInstall packages:\n\n```bash\nnpm install\n```\n\nSetup husky:\n\n```bash\nnpm run prepare\n```\n\nRun tests:\n\n```bash\nnpm run test\n```\n\nLint \u0026 fix\n\n```bash\nnpm run lint\nnpm run lint:fix\n```\n\nRun test on Docker\n```bash\nnpm run docker:start        [ start the docker container ]\nnpm run docker:stop         [ stop the docker container ]\n\nnpm run docker:start:arm    [ start the docker container for mac m1 chip ]\nnpm run docker:stop:arm     [ stop the docker container for mac m1 chip ]\n```\n\nSample Report\n![SampleReport](./assets/report.png)\n\n### Key Features\n- Custom types for browser\n- Support to run test with all major browser\n- Parallel execution with mocha framework\n- Docker for testing against/using containerization\n- dotenv to support multiple environment\n- eslint linting tools integrated\n- husky git hooks for pre-commit checks (eslint)\n\n### learning references:\n| topic           | references                                                  |\n|-----------------|-------------------------------------------------------------|\n| selenium        | https://www.npmjs.com/package/selenium-webdriver            |\n| mocha           | https://ricostacruz.com/mocha/                              |\n| mocha config    | https://github.com/mochajs/mocha/tree/master/example/config |\n| chai            | https://www.chaijs.com                                      |\n| report          | https://github.com/adamgruber/mochawesome                   |\n| dotenv          | https://www.npmjs.com/package/dotenv                        |\n| eslint          | https://eslint.org/docs/latest/use/getting-started          |\n| vscode settings | https://code.visualstudio.com/docs/getstarted/settings      |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadabnepal%2Fselenium-javascript-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsadabnepal%2Fselenium-javascript-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsadabnepal%2Fselenium-javascript-test/lists"}