Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
wdio-geckodriver-service
Advanced tools
This service helps you to run GeckoDriver seamlessly when running tests with the WDIO testrunner. This service does not require a Selenium server, but uses the geckodriver NPM package that wraps the GeckoDriver for you or uses a global installed binary.
Example capabilities:
capabilities: [{
browserName: 'firefox'
}]
npm install wdio-geckodriver-service --save-dev
By design, only Firefox is available (when installed on the host system). In order to use the service you need to add geckodriver
to your service array:
// wdio.conf.js
export.config = {
// MANDATORY: Add geckodriver to service array.
// Default: empty array
services: [
[
'geckodriver',
// service options
{
// The path where the output of the Geckodriver server should
// be stored (uses the config.outputDir by default when not set).
outputDir: './logs',
// pass in custom options for Geckodriver, for more information see
// https://github.com/webdriverio-community/node-geckodriver#options
geckodriverOptions: {
log: 'debug' // set log level of driver
}
}
]
],
};
outputDir
The path where the output of the Safaridriver server should be stored (uses the config.outputDir
by default when not set).
Type: string
logFileName
The name of the log file to be written in outputDir
. Requires outputDir
to be set in WebdriverIO config or as service option.
Type: string
Default: wdio-geckodriver-service-<cid>.log
geckodriverOptions
Options that are passed into Geckodriver. See driver docs for more information.
Type: GeckodriverParameters
Default: {}
For more information on WebdriverIO see the homepage.
FAQs
WebdriverIO service to start & stop GeckoDriver
The npm package wdio-geckodriver-service receives a total of 44,555 weekly downloads. As such, wdio-geckodriver-service popularity was classified as popular.
We found that wdio-geckodriver-service demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.