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
(Based entirely on wdio-chromedriver-service.)
Note - this service is targeted at WDIO v5.
This service helps you to run Microsoft WebDriver (Edge) seamlessly when running tests with the WDIO testrunner. It uses the Microsoft WebDriver service that is installed as a Windows Feature on Demand.
Note - this service does not require a Selenium server, but uses Microsoft WebDriver to communicate with the browser directly. Obviously, it only supports:
capabilities: [{
browserName: 'MicrosoftEdge'
}]
The easiest way is to keep wdio-edgedriver-service
as a devDependency in your package.json
.
{
"devDependencies": {
"wdio-edgedriver-service": "^1.0.0"
}
}
You can simple do it by:
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
Instructions on how to install WebdriverIO
can be found here.
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 = {
// port to find edgedriver
port: 17556, // default for EdgeDriver
path: '/',
// ...
services: ['edgedriver'],
// options
edgeDriverArgs: ['--port=17556'], // default for EdgeDriver
edgeDriverLogs: './',
// ...
};
Array of arguments to pass to the EdgeDriver executable.
--port
will use wdioConfig.port if not specifiedType: string[]
Path where all logs from the EdgeDriver server should be stored.
Type: string
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.