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

webdriverjs

Package Overview
Dependencies
Maintainers
4
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webdriverjs - npm Package Compare versions

Comparing version 1.5.0 to 1.5.1

test/spec/errors.js

9

lib/utils/RequestHandler.js

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

var error = null;
var makeError = require('./makeError');

@@ -169,3 +170,3 @@ if(err || (body && body.status !== 0)) {

if(body) {
error = {
error = makeError({
status: body.status,

@@ -175,5 +176,5 @@ type: errorCodes[body.status] ? errorCodes[body.status].id : 'unknown',

orgStatusMessage: body.value ? body.value.message : ''
};
});
} else {
error = {
error = makeError({
status: -1,

@@ -183,3 +184,3 @@ type: 'ECONNREFUSED',

orgStatusMessage: 'Couldn\'t connect to selenium server'
};
});
// TODO skip rest of driver commands

@@ -186,0 +187,0 @@ return callback(error);

{
"name": "webdriverjs",
"description": "A nodejs bindings implementation for selenium 2.0/webdriver",
"version": "1.5.0",
"version": "1.5.1",
"homepage": "https://github.com/camme/webdriverjs",

@@ -6,0 +6,0 @@ "author": "camilo tapia <camilo.tapia@gmail.com>",

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