Gathering detailed insights and metrics for karma-chrome-launcher
Gathering detailed insights and metrics for karma-chrome-launcher
Gathering detailed insights and metrics for karma-chrome-launcher
Gathering detailed insights and metrics for karma-chrome-launcher
@types/karma-chrome-launcher
TypeScript definitions for karma-chrome-launcher
chrome-launcher
Launch latest Chrome with the Devtools Protocol port open
karma-firefox-launcher
A Karma plugin. Launcher for Firefox.
@chiragrupani/karma-chromium-edge-launcher
A Karma plugin. Launcher for different Chromium Edge channels - Dev, Canary, Beta and Stable
A Karma plugin. Launcher for Chrome and Chrome Canary.
npm install karma-chrome-launcher
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
469 Stars
198 Commits
119 Forks
15 Watching
16 Branches
49 Contributors
Updated on 22 Nov 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-1.5%
506,528
Compared to previous day
Last week
3.9%
2,689,526
Compared to previous week
Last month
8.9%
10,966,888
Compared to previous month
Last year
1.9%
119,817,688
Compared to previous year
Launcher for Google Chrome, Google Chrome Canary and Google Chromium.
The easiest way is to keep karma-chrome-launcher
as a devDependency in your package.json
,
by running
1$ npm i -D karma-chrome-launcher
1// karma.conf.js 2module.exports = function(config) { 3 config.set({ 4 browsers: ['Chrome', 'Chrome_without_security'], // You may use 'ChromeCanary', 'Chromium' or any other supported browser 5 6 // you can define custom flags 7 customLaunchers: { 8 Chrome_without_security: { 9 base: 'Chrome', 10 flags: ['--disable-web-security', '--disable-site-isolation-trials'] 11 } 12 } 13 }) 14}
The --user-data-dir
is set to a temporary directory but can be overridden on a custom launcher as shown below.
One reason to do this is to have a permanent Chrome user data directory inside the project directory to be able to
install plugins there (e.g. JetBrains IDE Support plugin).
1customLaunchers: { 2 Chrome_with_debugging: { 3 base: 'Chrome', 4 chromeDataDir: path.resolve(__dirname, '.chrome') 5 } 6}
You can pass list of browsers as a CLI argument too:
1$ karma start --browsers Chrome,Chrome_without_security
The Chrome DevTools team created Puppeteer - it will automatically install Chromium for all platforms and contains everything you need to run it from within your CI.
Note: Headless mode requires a browser version >= 59
1$ npm i -D puppeteer karma-chrome-launcher
1// karma.conf.js 2process.env.CHROME_BIN = require('puppeteer').executablePath() 3 4module.exports = function(config) { 5 config.set({ 6 browsers: ['ChromeHeadless'] 7 }) 8}
For more information on Karma see the homepage.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 6/13 approved changesets -- score normalized to 4
Reason
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
30 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-18
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More