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

leadfoot

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leadfoot - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

6

package.json
{
"name": "leadfoot",
"version": "1.2.1",
"version": "1.3.0",
"description": "Leadfoot. A JavaScript client library that brings cross-platform consistency to the Selenium WebDriver API.",

@@ -13,6 +13,6 @@ "repository": {

"dependencies": {
"dojo": "2.0.0-alpha4"
"dojo": "2.0.0-alpha.5"
},
"devDependencies": {
"intern": "1.7.0"
"intern": "2.2.2"
},

@@ -19,0 +19,0 @@ "bugs": "https://github.com/theintern/leadfoot/issues",

@@ -7,2 +7,3 @@ /* global document:false */

var keys = require('./keys');
var lang = require('dojo/lang');
var Promise = require('dojo/Promise');

@@ -291,2 +292,12 @@ var request = require('dojo/request');

var self = this;
var fixSessionCapabilities = desiredCapabilities.fixSessionCapabilities !== false &&
self.fixSessionCapabilities;
// Don’t send `fixSessionCapabilities` to the server
if ('fixSessionCapabilities' in desiredCapabilities) {
desiredCapabilities = lang.mixin({}, desiredCapabilities);
desiredCapabilities.fixSessionCapabilities = undefined;
}
return this._post('session', {

@@ -297,3 +308,3 @@ desiredCapabilities: desiredCapabilities,

var session = new self.sessionConstructor(response.sessionId, self, response.value);
if (self.fixSessionCapabilities) {
if (fixSessionCapabilities) {
return self._fillCapabilities(session);

@@ -300,0 +311,0 @@ }

@@ -174,2 +174,6 @@ /**

*
* @property {boolean} fixSessionCapabilities
* Set this desired capability to false to disable Leadfoot’s feature detection code. This will speed up startup but
* will disable most Leadfoot fixes, so some environments may stop working correctly.
*
* @property {(boolean|string[])} fixedLogTypes

@@ -176,0 +180,0 @@ * Environments with this capability break when the `getLogTypes` method is called. The list of log types provided here

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