Socket
Socket
Sign inDemoInstall

chromedriver

Package Overview
Dependencies
Maintainers
1
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chromedriver - npm Package Compare versions

Comparing version 97.0.2 to 97.0.3

3

install.js

@@ -36,2 +36,3 @@ 'use strict';

const detect_chromedriver_version = process.env.npm_config_detect_chromedriver_version || process.env.DETECT_CHROMEDRIVER_VERSION;
const include_chromium = (process.env.npm_config_include_chromium || process.env.INCLUDE_CHROMIUM) === 'true';
let chromedriver_version = process.env.npm_config_chromedriver_version || process.env.CHROMEDRIVER_VERSION || helper.version;

@@ -45,3 +46,3 @@ let chromedriverBinaryFilePath;

// Refer http://chromedriver.chromium.org/downloads/version-selection
const chromeVersion = await getChromeVersion();
const chromeVersion = await getChromeVersion(include_chromium);
console.log("Your Chrome version is " + chromeVersion);

@@ -48,0 +49,0 @@ const chromeVersionWithoutPatch = /^(.*?)\.\d+$/.exec(chromeVersion)[1];

{
"name": "chromedriver",
"version": "97.0.2",
"version": "97.0.3",
"keywords": [

@@ -5,0 +5,0 @@ "chromedriver",

@@ -270,2 +270,24 @@ # ChromeDriver

## Include Chromium
If you don't have Chrome installed, you can check for Chromium version instead by setting the argument `include_chromium` to `true`.
```shell
npm install chromedriver --include_chromium
```
Or add property into your [`.npmrc`](https://docs.npmjs.com/files/npmrc) file.
```
include_chromium=true
```
Another option is to use environment variable `INCLUDE_CHROMIUM`.
```shell
INCLUDE_CHROMIUM=true npm install chromedriver
```
**Note:** The property `INCLUDE_CHROMIUM` is ignored if the property `DETECT_CHROMEDRIVER_VERSION` is not used.
## A Note on chromedriver

@@ -272,0 +294,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc