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.0 to 2.21.1

4

lib/chromedriver.js
var path = require('path');
exports.path = process.platform === 'win32' ? path.join(__dirname, 'chromedriver', 'chromedriver.exe') : path.join(__dirname, 'chromedriver', 'chromedriver');
exports.version = '2.21';
exports.start = function() {
exports.defaultInstance = require('child_process').execFile(exports.path);
exports.start = function(args) {
exports.defaultInstance = require('child_process').execFile(exports.path, args);
return exports.defaultInstance;

@@ -7,0 +7,0 @@ }

{
"name": "chromedriver",
"version": "2.21.0",
"version": "2.21.1",
"keywords": [

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

@@ -83,11 +83,15 @@ ChromeDriver

```javascript
var chromedriver = require('chromedriver');
chromedriver.start();
//run your tests
args = [
// optional arguments
];
chromedriver.start(args);
// run your tests
chromedriver.stop();
```
Note: if your tests are ran asynchronously, chromedriver.stop() will have to be
executed as a callback at the end of your tests

@@ -94,0 +98,0 @@ Versioning

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