Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
karma-local-wd-launcher
Advanced tools
Karma Local WebDriver Launcher - Launches local web browsers using WebDriver, to enable screenshots and other advanced tests to be executed in-browser.
Karma Local WebDriver Launcher
Launches local web browsers using WebDriver, to enable screenshots and other advanced tests to be executed in-browser. If you don't need WebDriver to enable some test scenario in Karma, you can just use typical local browser launchers.
Supports Chrome, Firefox, Edge, and Safari.
npm install --save-dev karma-local-wd-launcher
This launcher will use the
webdriver-installer
module to automatically download and install driver binaries for your local
browsers. These will be cached in a folder called .webdriver-installer-cache
in your home directory.
Alternately, you may use the environment variables CHROMEDRIVER_PATH
,
GECKODRIVER_PATH
, or SAFARIDRIVER_PATH
to indicate where these drivers are
already installed.
// karma.conf.js
module.exports = (config) => {
config.set({
plugins: ['karma-local-wd-launcher'],
browsers: ['Chrome', 'Firefox', 'Edge', 'Safari'],
});
};
You can give Karma's command-line interface a list of browsers, too:
karma start --browsers Chrome Firefox Safari
There is a possibilty to create custom launcher based on existing ones, i.e. to pass additional configuration options to specific WebDriver.
// karma.conf.js
module.exports = (config) => {
config.set({
customLaunchers: {
'ChromeNoBackgroundSuspend': {
base: 'Chrome',
config: {
'goog:chromeOptions': {
args: [
'--disable-background-media-suspend',
'--disable-background-timer-throttling',
'--disable-backgrounding-occluded-windows',
],
},
},
},
},
});
};
FAQs
Karma Local WebDriver Launcher - Launches local web browsers using WebDriver, to enable screenshots and other advanced tests to be executed in-browser.
The npm package karma-local-wd-launcher receives a total of 1,376 weekly downloads. As such, karma-local-wd-launcher popularity was classified as popular.
We found that karma-local-wd-launcher demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.