{"id":15978491,"url":"https://github.com/perry-mitchell/jasdriver","last_synced_at":"2026-06-12T23:31:33.952Z","repository":{"id":57279323,"uuid":"56078268","full_name":"perry-mitchell/jasdriver","owner":"perry-mitchell","description":"Jasmine testing framework for Webdriver","archived":false,"fork":false,"pushed_at":"2016-07-17T20:53:42.000Z","size":37,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-12T23:32:48.398Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/perry-mitchell.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}},"created_at":"2016-04-12T16:06:59.000Z","updated_at":"2016-04-12T20:42:40.000Z","dependencies_parsed_at":"2022-09-15T09:41:57.548Z","dependency_job_id":null,"html_url":"https://github.com/perry-mitchell/jasdriver","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/perry-mitchell/jasdriver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fjasdriver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fjasdriver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fjasdriver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fjasdriver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perry-mitchell","download_url":"https://codeload.github.com/perry-mitchell/jasdriver/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perry-mitchell%2Fjasdriver/sbom","scorecard":{"id":728093,"data":{"date":"2025-08-11","repo":{"name":"github.com/perry-mitchell/jasdriver","commit":"4ea9248cd992357de517eceb5c18e5417b8db50d"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Code-Review","score":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T13:29:30.287Z","repository_id":57279323,"created_at":"2025-08-22T13:29:30.287Z","updated_at":"2025-08-22T13:29:30.287Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34266915,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-12T02:00:06.859Z","response_time":109,"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":[],"created_at":"2024-10-07T23:20:48.983Z","updated_at":"2026-06-12T23:31:33.913Z","avatar_url":"https://github.com/perry-mitchell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JasDriver\nTesting framework integration for Jasmine and Webdriver.\n\n[![Node compatibility](https://img.shields.io/badge/node-%3E%3D%204.4.3-green.svg?style=flat)](https://github.com/nodejs/node/blob/v5.0.0/CHANGELOG.md) [![Build Status](https://travis-ci.org/perry-mitchell/jasdriver.svg?branch=master)](https://travis-ci.org/perry-mitchell/jasdriver) [![license](https://img.shields.io/npm/l/jasdriver.svg?maxAge=2592000)](https://www.npmjs.com/package/jasdriver)\n\n## About\nJasmine is an amazing testing framework, just as Webdriver is a fantastic browser automation tool. These two pieces of software haven't worked so amazingly well together, until now.\n\nInjecting tests etc. into a Webdriver session is not an amazingly complicated task, but why do all that work for a single project? **JasDriver** takes care of that mess for you, by proving a simple interface to configure your testing needs (specs, webdriver config).\n\n## Configuration\nJasDriver needs a simple configuration file, called `jasdriver.config.js`:\n\n```\nmodule.exports = {\n    closeDriverOnFinish: true,\n    exitOnFinish: true,\n    junitOutput: \"./junit-report.xml\",\n    runnerDir: \".\",\n    runnerFilename: \"_SpecRunner.html\",\n    specs: [],\n    specFilter: function(filename) { return /\\.spec\\.js$/.test(filename); },\n    webdriver: null,\n    webdriverBrowser: \"chrome\"\n};\n```\n\nMost of the configuration can be left alone in any normal situation. JasDriver _will automatically_ create a webdriver session for you, with Chrome, if you don't configure a thing.\n\nTo get off the ground, simply pass in your spec filenames (absolute paths).\n\n_You can also use a different name for the config file, providing you pass its path into the jasdriver cli command. JasDriver looks for the config file in the current directory._\n\n### closeDriverOnFinish\nClose the webdriver instance upon finishing the tests. Runs `webdriver.quit()` under the hood.\n\n### exitOnFinish\nAllow JasDriver to run `process.exit()` when finished (used for returning non-zero exit codes for failures).\n\n### junitOutput\nOutput results to a JUnit XML file - the path for the output file.\n\n### runnerDir\nThe directory to place the spec-runner in.\n\n### runnerFilename\nThe filename of the spec-runner.\n\n### specs\nAn array of absolute paths to the spec files you want to include. These do not only have to contain tests, they can be helpers and assets also. These are executed in order.\n\nPaths can also be directories, which are scanned recursively.\n\n### specFilter\nProvide a filtering function to filter each spec by its filename. The default filter function is `function() { return true; }`.\n\n### webdriver\nProvide a webdriver instance for JasDriver to use. This is set to `null` by default, so that JasDriver will build its own instance using `webdriverBrowser` as the browser type.\n\n### webdriverBrowser\nIf JasDriver builds its own instance of webdriver, it will use this setting as the `browserName` value when initialising.\n\n## Setting it up in your project\nWith a few easy steps, it's easy to use JasDriver in your project.\n\n**Firstly**, install JasDriver:\n\n```\nnpm install jasdriver --save-dev\n```\n\nJump into your `package.json` and add a test script:\n\n```\n{\n    \"name\": \"MyApp\",\n    \"scripts\": {\n        \"test\": \"jasdriver\"\n    }\n}\n```\n\nCreate a `tests` folder - you'll place your jasmine test files in here.\n\nNext, add a JasDriver config file to the root directory of your project:\n\n```\nconst path = require(\"path\");\n\nmodule.exports = {\n    specs: [\n        path.resolve(__dirname, \"tests\")\n    ]\n};\n```\n\nOnce you've added a test to your `tests` directory, simply run `npm test` in your project root to see the tests run!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperry-mitchell%2Fjasdriver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperry-mitchell%2Fjasdriver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperry-mitchell%2Fjasdriver/lists"}