Gathering detailed insights and metrics for @josepmc/webdriver-manager
Gathering detailed insights and metrics for @josepmc/webdriver-manager
Gathering detailed insights and metrics for @josepmc/webdriver-manager
Gathering detailed insights and metrics for @josepmc/webdriver-manager
webdriver-manager
A selenium server and browser driver manager for your end to end tests.
blocking-proxy
WebDriver Proxy for testing rich clients. It block certain calls until Angular is done updating the page under test.
webdriver
A Node.js bindings implementation for the W3C WebDriver and Mobile JSONWire Protocol
chromium-bidi
An implementation of the WebDriver BiDi protocol for Chromium implemented as a JavaScript layer translating between BiDi and CDP, running inside a Chrome tab.
npm install @josepmc/webdriver-manager
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
136 Commits
2 Watching
3 Branches
1 Contributors
Updated on 02 Jul 2019
TypeScript (99.98%)
JavaScript (0.02%)
Cumulative downloads
Total Downloads
Last day
0%
1
Compared to previous day
Last week
-88.9%
1
Compared to previous week
Last month
-56.3%
38
Compared to previous month
Last year
82.8%
371
Compared to previous year
To install this as a dependency: npm install -D webdriver-manager
. The
following is an example running webdriver-manager as a dependency.
The test downloads the providers and starts the selenium server standalone as
detached. After the test, it will shutdown the selenium server standalone.
import {
Options,
setLogLevel,
shutdown,
start,
update,
} from 'webdriver-manager';
const options: Options = {
browserDrivers: [{
name: 'chromedriver' // For browser drivers, we just need to use a valid
// browser driver name. Other possible values
// include 'geckodriver' and 'iedriver'.
}],
server: {
name: 'selenium',
runAsNode: true, // If we want to run as a node. By default
// running as detached will set this to true.
runAsDetach: true // To run this in detached. This returns the
// process back to the parent process.
}
};
setLogLevel('info'); // Required if we webdriver-manager to log to
// console. Not setting this will hide the logs.
describe('some web test', () => {
beforeAll(async () => {
await update(options);
await start(options);
});
it('should run some web test', async () => {
// Your async / await web test with some framework.
});
afterAll(async () => {
await shutdown(options); // Makes the web request to shutdown the server.
// If we do not call shutdown, the java command
// will still be running the server on port 4444.
});
});
npm i -g webdriver-manager
webdriver-manager update // Downloads the latest binaries.
webdriver-manager start // Starts the selenium server standalone.
Notes:
webdriver-manager update --versions.chrome=73.0.3683.68
.
To find out the latest version, check out http://chromedriver.chromium.org/ .To get a list of commands for webdriver-manager, use the help flag.
webdriver-manager --help
webdriver-manager [command]
Commands:
webdriver-manager clean Removes downloaded files from the out_dir.
webdriver-manager shutdown Shutdown a local selenium server with GET request
webdriver-manager start Start up the selenium server.
webdriver-manager status List the current available binaries.
webdriver-manager update Install or update selected binaries.
Options:
--version Show version number [boolean]
--help Show help [boolean]
To get a list of options that can be passed to the webdriver-manager update
command, use the help flag.
webdriver-manager update --help
webdriver-manager update
Install or update selected binaries.
Options:
--version Show version number [boolean]
--help Show help [boolean]
--out_dir Location of output. [string]
--chrome Install or update chromedriver.
[boolean] [default: true]
--gecko Install or update geckodriver.[boolean] [default: true]
--github_token Use a GitHub token to prevent rate limit issues.
[string]
--iedriver Install or update ie driver. [boolean] [default: false]
--ignore_ssl Ignore SSL certificates. [boolean]
--log_level The log level of this CLI. [string] [default: "info"]
--proxy Use a proxy server to download files. [string]
--standalone Install or update selenium server standalone.
[boolean] [default: true]
--versions.chrome The chromedriver version. [string]
--versions.gecko The geckodriver version. [string]
--versions.ie The ie driver version. [string]
--versions.standalone The selenium server standalone version. [string]
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
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
36 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