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-edgedriver-service
Advanced tools
Note - this service is targeted at WDIO v6.
This service helps you to run Microsoft WebDriver (Edge) seamlessly when running tests with the WDIO testrunner.
This service does not require a Selenium server, but uses the Microsoft WebDriver service that is installed as a Windows Feature on Demand or msedgedriver package for Chromium-based Edge.
Example capabilities:
capabilities: [{
browserName: 'MicrosoftEdge',
maxInstances: 1 // must be 1 for EdgeHtml, can be more for ChromiumEdge.
}]
npm install wdio-edgedriver-service --save-dev
For Chromium-based Edge you also need to install msedgedriver (you can point the proper version):
npm i -D msedgedriver --edgechromiumdriver_version=81.0.416.58
By design, only Edge is available. In order to use the service you need to add edgedriver
to your service array:
// wdio.conf.js
export.config = {
// MANDATORY: Add edgedriver to service array.
// Default: empty array
services: ['edgedriver'],
// OPTIONAL: Provide custom port for edgeedriver.
// edgeDriverRandomPort must be set to false to use this port and maxInstances must be set to 1.
// Default: 4444
port: 17556, // default for EdgeDriver
// OPTIONAL: Arguments passed to edgedriver executable.
// Note: Do not specify port here, use `port` config option instead.
// Default: empty array
edgeDriverArgs: ['--verbose'],
// OPTIONAL: Location of edgedriver logs.
// Must be a directory if using maxInstances > 1.
// Could be a file name or a directory if maxInstances == 1.
// Logs are saved as `EdgeDriver-{portname}.log`
// Logs are not stored if this option is not set.
// Default: not set
edgeDriverLogs: './logs',
// OPTIONAL: Launch edgedriver once for all specs if true.
// Launch edgedriver for each spec separately if false.
// Default: false
edgeDriverPersistent: false,
// OPTIONAL: Use a random port for launching edgedriver.
// Must be set to true if maxInstances > 1.
// Set it to false to use the `port` config option.
// Default: true
edgeDriverRandomPort: true,
};
For more information on WebdriverIO see the homepage.
FAQs
WebdriverIO service to start & stop EdgeDriver
The npm package wdio-edgedriver-service receives a total of 3,344 weekly downloads. As such, wdio-edgedriver-service popularity was classified as popular.
We found that wdio-edgedriver-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.