Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

chromedriver

Package Overview
Dependencies
Maintainers
1
Versions
223
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 2.21.2 to 2.22.0

Dockerfile

2

lib/chromedriver.js
var path = require('path');
process.env.PATH += path.delimiter + path.join(__dirname, 'chromedriver');
exports.path = process.platform === 'win32' ? path.join(__dirname, 'chromedriver', 'chromedriver.exe') : path.join(__dirname, 'chromedriver', 'chromedriver');
exports.version = '2.21';
exports.version = '2.22';
exports.start = function(args) {

@@ -6,0 +6,0 @@ exports.defaultInstance = require('child_process').execFile(exports.path, args);

{
"name": "chromedriver",
"version": "2.21.2",
"version": "2.22.0",
"keywords": [

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

@@ -59,2 +59,18 @@ ChromeDriver

Running with Selenium WebDriver
-------------------------------
```javascript
require('chromedriver');
var webdriver = require('selenium-webdriver');
var driver = new webdriver.Builder()
.forBrowser('chrome')
.build();
```
(Tested for selenium-webdriver version `2.48.2`)
The path will be added to the process automatically, you don't need to configure it.
But you can get it from `require('chromedriver').path` if you want it.
Running via node

@@ -61,0 +77,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