{"id":15233850,"url":"https://github.com/google/karma-webkit-launcher","last_synced_at":"2026-03-12T05:37:01.696Z","repository":{"id":57288594,"uuid":"376128101","full_name":"google/karma-webkit-launcher","owner":"google","description":"A Karma plugin. Launcher for Webkit.","archived":false,"fork":false,"pushed_at":"2024-09-21T00:19:59.000Z","size":286,"stargazers_count":12,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-27T17:43:57.279Z","etag":null,"topics":["epiphany","karma","karma-plugin","safari","webkit"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/google.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","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":"2021-06-11T19:47:45.000Z","updated_at":"2024-10-25T11:20:25.000Z","dependencies_parsed_at":"2024-02-14T15:31:07.668Z","dependency_job_id":"4d8476b8-2f6d-498f-ad3b-88d9fd44f4a7","html_url":"https://github.com/google/karma-webkit-launcher","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":0.02941176470588236,"last_synced_commit":"cbbbee39e7d7fe1315facaadf8d4cf5eae930ff8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/google/karma-webkit-launcher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fkarma-webkit-launcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fkarma-webkit-launcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fkarma-webkit-launcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fkarma-webkit-launcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/google","download_url":"https://codeload.github.com/google/karma-webkit-launcher/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/google%2Fkarma-webkit-launcher/sbom","scorecard":{"id":437312,"data":{"date":"2025-08-11","repo":{"name":"github.com/google/karma-webkit-launcher","commit":"ff5e7903ee4eca16fc8d1c1c40b96c70701797b3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.7,"checks":[{"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":"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":"Code-Review","score":0,"reason":"Found 1/29 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":"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/epiphany_tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/epiphany_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/epiphany_tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/epiphany_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_macos_tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_macos_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_macos_tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_macos_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_ubuntu_headless_tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_ubuntu_headless_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_ubuntu_headless_tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_ubuntu_headless_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_ubuntu_tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_ubuntu_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_ubuntu_tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_ubuntu_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_webkit_macos_tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_webkit_macos_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_webkit_macos_tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_webkit_macos_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_windows_tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_windows_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/playwright_windows_tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/playwright_windows_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/safari_tests.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/safari_tests.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/safari_tests.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/google/karma-webkit-launcher/safari_tests.yml/main?enable=pin","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   6 out of   6 npmCommand dependencies pinned"],"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/epiphany_tests.yml:1","Warn: no topLevel permission defined: .github/workflows/playwright_macos_tests.yml:1","Warn: no topLevel permission defined: .github/workflows/playwright_ubuntu_headless_tests.yml:1","Warn: no topLevel permission defined: .github/workflows/playwright_ubuntu_tests.yml:1","Warn: no topLevel permission defined: .github/workflows/playwright_webkit_macos_tests.yml:1","Warn: no topLevel permission defined: .github/workflows/playwright_windows_tests.yml:1","Warn: no topLevel permission defined: .github/workflows/safari_tests.yml:1","Info: no jobLevel write permissions found"],"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":"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.md:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.md: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":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: github.com/google/.github/SECURITY.md:1","Info: Found linked content: github.com/google/.github/SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: github.com/google/.github/SECURITY.md:1","Info: Found text in security policy: github.com/google/.github/SECURITY.md:1"],"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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'main'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 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"}},{"name":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-52f5-9888-hmc6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-19T04:58:54.081Z","repository_id":57288594,"created_at":"2025-08-19T04:58:54.081Z","updated_at":"2025-08-19T04:58:54.081Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29609611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T06:47:36.664Z","status":"ssl_error","status_checked_at":"2026-02-19T06:45:47.551Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["epiphany","karma","karma-plugin","safari","webkit"],"created_at":"2024-09-29T06:08:27.676Z","updated_at":"2026-03-12T05:37:01.661Z","avatar_url":"https://github.com/google.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# karma-webkit-launcher\n\n[![Build status: Playwright (MacOS)](https://github.com/google/karma-webkit-launcher/actions/workflows/playwright_macos_tests.yml/badge.svg)](https://github.com/google/karma-webkit-launcher/actions/workflows/playwright_macos_tests.yml)\n[![Build status: Playwright (Ubuntu)](https://github.com/google/karma-webkit-launcher/actions/workflows/playwright_ubuntu_tests.yml/badge.svg)](https://github.com/google/karma-webkit-launcher/actions/workflows/playwright_ubuntu_tests.yml)\n[![Build status: Playwright (Windows)](https://github.com/google/karma-webkit-launcher/actions/workflows/playwright_windows_tests.yml/badge.svg)](https://github.com/google/karma-webkit-launcher/actions/workflows/playwright_windows_tests.yml)\n[![Build status: Epiphany](https://github.com/google/karma-webkit-launcher/actions/workflows/epiphany_tests.yml/badge.svg)](https://github.com/google/karma-webkit-launcher/actions/workflows/epiphany_tests.yml)\n[![NPM version](https://img.shields.io/npm/v/karma-webkit-launcher.svg)](https://www.npmjs.org/package/karma-webkit-launcher)\n\n[![NPM](https://nodei.co/npm/karma-webkit-launcher.png?downloads=true\u0026downloadRank=true)](https://nodei.co/npm/karma-webkit-launcher/)\n\nKarma Launcher for Apple's Webkit\n\n## Installation\n\nThe easiest way is to keep karma-webkit-launcher as a devDependency in your package.json, by running\n\n```bash\nnpm install karma-webkit-launcher --save-dev\n```\n\n## Supported WebKit-Launcher\n\nThis karma-webkit-launcher provides the following browser launcher.\n\n| Karma Runner Browsers | ENV                 | Type                                                              | CI note        |\n| --------------------- | ------------------- | ----------------------------------------------------------------- | -------------- |\n| WebKit                | WEBKIT_BIN          | Native / [Playwright][playwright] / [Safari][safari] (MacOS only) | -              |\n| WebKitHeadless        | WEBKIT_HEADLESS_BIN | Native / [Playwright][playwright]                                 | -              |\n| Safari                | SAFARI_BIN          | Native MacOS only                                                 | not supported  |\n| Epiphany              | EPIPHANY_BIN        | Native Ubuntu only                                                | needs xvfb-run |\n\n## Configuration\n\nFor the configuration just add `Webkit` or `WebkitHeadless` in your browser list.\n\n```js\n// karma.conf.js\nexport default (config) =\u003e {\n  config.set({\n    browsers: ['Webkit'],  // You may use 'WebkitHeadless' or other supported browser\n```\n\nYou can pass the list of browsers as a CLI argument too:\n\n```bash\nkarma start --browsers Webkit\n```\n\n## Headless Webkit with Playwright / Playwright-Webkit\n\n[Playwright](https://github.com/microsoft/playwright) is a Node.js library to automate Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web automation that is ever-green, capable, reliable and fast.\n\nHeadless execution is supported for all the browsers on all platforms.\nCheck out [system requirements](https://playwright.dev/docs/intro/#system-requirements) for details.\n\nIf no environment variable is set and Playwright is available, it will be automatically utilized.\nAdditionally, if you exclusively intend to perform WebKit testing, you can install 'playwright-webkit' exclusively for that purpose.\n\n### Example Usage\n\n#### Installing Playwright and karma-webkit-launcher\n\n```bash\nnpm install playwright karma-webkit-launcher --save-dev\n```\n\n#### Example Karma configuration\n\n```js\n// karma.conf.js\nmodule.exports = function (config) {\n  config.set({\n    browsers: [\"WebkitHeadless\"],\n  });\n};\n```\n\n### Manually define Playwright executable\n\nTo force the use of Playwright over an local Webkit instance, just overwrite the `WEBKIT_HEADLESS_BIN` or `WEBKIT_BIN` environment variable.\n\n```js\n// karma.conf.js\nimport playwright from \"playwright\";\nprocess.env.WEBKIT_HEADLESS_BIN = playwright.webkit.executablePath();\n\nmodule.exports = function (config) {\n  config.set({\n    browsers: [\"WebkitHeadless\"],\n  });\n};\n```\n\n## Advanced Topics\n\n### Detected if Safari or Playwright is used\n\nIn some instances it is helpful to detect if Playwright or a real Safari Browser is used.\nFor this reason it's possible to detect which kind of browser is currently running the tests over this runner.\n\n```javascript\nif (\n  new URLSearchParams(document.referrer || window.location.search).get(\n    \"test_browser\"\n  ) == \"Playwright\"\n) {\n  // Playwright specific tests\n}\n```\n\nSee: [Playwright Karma Test](test/playwright_test.js)\n\n```javascript\nif (\n  new URLSearchParams(document.referrer || window.location.search).get(\n    \"test_browser\"\n  ) == \"Safari\"\n) {\n  // Safari specific tests\n}\n```\n\nSee: [Safari Karma Test](test/safari_test.js)\n\nFor more information on Karma see the [Karma Homepage][karma].\n\n[karma]: https://karma-runner.github.io/\n[playwright]: https://playwright.dev/\n[safari]: https://www.apple.com/safari/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fkarma-webkit-launcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoogle%2Fkarma-webkit-launcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoogle%2Fkarma-webkit-launcher/lists"}