Gathering detailed insights and metrics for wdio-chromedriver-service
Gathering detailed insights and metrics for wdio-chromedriver-service
Gathering detailed insights and metrics for wdio-chromedriver-service
Gathering detailed insights and metrics for wdio-chromedriver-service
@coorpacademy/wdio-chromedriver-service
[![Npm version](https://img.shields.io/npm/v/@coorpacademy/wdio-chromedriver-service.svg)](https://www.npmjs.com/package/@coorpacademy/wdio-chromedriver-service) [![Build Status](https://travis-ci.com/CoorpAcademy/wdio-chromedriver-service.svg?branch=mast
wdio-vscode-service
A service to test VSCode extensions from end to end
wdio-eslinter-service
Have you ever run your e2e tests, only to find out 10, 15, or 30 minutes later that there was a missing/misspelled import, which didn't appear until the middle of the test run? When this happens, the test runner reports these tests as broken.
wdio-electron-service
WebdriverIO service to enable Electron testing
WebdriverIO service to start & stop ChromeDriver
npm install wdio-chromedriver-service
51.7
Supply Chain
87.5
Quality
74.5
Maintenance
50
Vulnerability
96.1
License
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
36 Stars
347 Commits
26 Forks
10 Watching
4 Branches
22 Contributors
Updated on 01 May 2024
TypeScript (98.49%)
JavaScript (1.51%)
Cumulative downloads
Total Downloads
Last day
2%
32,507
Compared to previous day
Last week
9.6%
201,657
Compared to previous week
Last month
-0.4%
777,660
Compared to previous month
Last year
-6%
9,868,769
Compared to previous year
4
3
⚠️ DEPRECATION WARNING: This service got deprecated and is no longer maintained. If you use WebdriverIO v8.14 or higher. We recommend to remove the service as dependency and from your WebdriverIO configuration as it is no longer needed. For more information, please read this blog post.
This service helps you to run ChromeDriver seamlessly when running tests with the WDIO testrunner. It uses the chromedriver NPM package that wraps ChromeDriver for you.
Note: this service does not require a Selenium server, but uses ChromeDriver to communicate with the browser directly.
Obviously, it only supports:
1capabilities: [{ 2 browserName: 'chrome' 3}]
The easiest way is to keep wdio-chromedriver-service
as a devDependency in your package.json
.
1{ 2 "devDependencies": { 3 "wdio-chromedriver-service": "^8.0.0" 4 } 5}
You can do it by:
1npm install wdio-chromedriver-service --save-dev
Note: You have to install chromedriver separately, as it's a peerDependency of this project, and you're free to choose which version to use. Depending of which version of Chrome you have installed on your system you should install the same version of chromedriver
. Install it using:
1npm install chromedriver --save-dev 2# if you have Chrome 104 installed on your machine do 3npm install chromedriver@104 --save-dev
Instructions on how to install WebdriverIO
can be found here.
By design, only Google Chrome is available (when installed on the host system). In order to use the service you need to add chromedriver
to your service array:
1// wdio.conf.js 2export.config = { 3 outputDir: 'all-logs', 4 // ... 5 services: [ 6 ['chromedriver', { 7 logFileName: 'wdio-chromedriver.log', // default 8 outputDir: 'driver-logs', // overwrites the config.outputDir 9 args: ['--silent'] 10 }] 11 ], 12 // ... 13};
The port on which the driver should run on
Example: 9515
Type: number
The path on which the driver should run on
Example: /
Type: string
The protocol on which the driver should use
Example: http
Type: string
The protocol on which the driver should use
Example: localhost
Type: string
The startup timeout in ms, it checks if the port is open before starting ChromeDriver and then checks again if the it is closed after starting it.
Example: 10000
Type: number
The path where the output of the ChromeDriver server should be stored (uses the config.outputDir by default when not set).
Example: driver-logs
Type: string
The name of the log file to be written in outputDir
.
Example: wdio-chromedriver.log
Type: string
To use a custom chromedriver different than the one installed through the "chromedriver npm module", provide the path.
Example: /path/to/chromedriver
(Linux / MacOS), ./chromedriver.exe
or d:/driver/chromedriver.exe
(Windows)
Type: string
For more information on WebdriverIO 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
dependency not pinned by hash detected -- score normalized to 3
Details
Reason
Found 0/1 approved changesets -- score normalized to 0
Reason
project is archived
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
19 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