Socket
Socket
Sign inDemoInstall

wd

Package Overview
Dependencies
Maintainers
4
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wd - npm Package Compare versions

Comparing version 1.11.0 to 1.11.1

4

lib/actions.js

@@ -398,3 +398,3 @@ var __slice = Array.prototype.slice,

}
};

@@ -497,3 +497,3 @@ InputDevice.prototype.pointerCancel = function (opts) {

W3CActions.prototype.toJSON = function () {
var actions = _.values(this.inputs, function (input) { input.toJSON() });
var actions = _.values(this.inputs, function (input) { input.toJSON(); });
return {

@@ -500,0 +500,0 @@ actions: actions

@@ -113,3 +113,3 @@ var EventEmitter = require('events').EventEmitter,

jsonData = JSON.parse(data);
_this.sessionId = jsonData.value ? jsonData.value.sessionId : false;
_this.sessionID = jsonData.value ? jsonData.value.sessionId : false;
resData = jsonData.value;

@@ -116,0 +116,0 @@

@@ -11,3 +11,3 @@ {

],
"version": "1.11.0",
"version": "1.11.1",
"author": "Adam Christian <adam.christian@gmail.com>",

@@ -49,6 +49,6 @@ "contributors": [

"async": "2.0.1",
"lodash": "4.17.10",
"lodash": "4.17.11",
"mkdirp": "^0.5.1",
"q": "1.4.1",
"request": "2.85.0",
"request": "2.88.0",
"vargs": "0.1.0"

@@ -71,3 +71,3 @@ },

"jshint-stylish": "2.2.1",
"mocha": "3.1.0",
"mocha": "^5.2.0",
"mu2": "0.5.21",

@@ -77,3 +77,3 @@ "nock": "8.0.0",

"run-sequence": "1.2.2",
"sauce-connect-launcher": "0.16.0",
"sauce-connect-launcher": "^1.2.4",
"spawn-mocha-parallel": "1.3.1",

@@ -80,0 +80,0 @@ "sv-selenium": "0.3.1",

@@ -602,4 +602,1 @@ # WD.js

[test coverage](http://admc.io/wd/istanbul/coverage/lcov-report/lib/index.html)
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/admc/wd/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

@@ -11,2 +11,6 @@ // spliting the test cause it takes too long, list of possible suffixes below

describe('api-el-' + extraDesc + ' ' + env.ENV_DESC, _skip, function() {
beforeEach(function(done) {
setTimeout(function() { console.log('timeout'); done(); }, 1000);
});
var partials = {};

@@ -20,6 +24,5 @@

it('browser.' + elementFuncName, function() {
return Q.all([
browser[elementFuncName](criterias.valid).should.eventually.exist,
browser[elementFuncName](criterias.invalid).should.be.rejectedWith(/status: 7/)
]);
return browser
[elementFuncName](criterias.valid).should.eventually.exist
[elementFuncName](criterias.invalid).should.be.rejectedWith(/status: 7/)
});

@@ -26,0 +29,0 @@

@@ -6,2 +6,6 @@ require('../helpers/setup');

describe('element ' + env.ENV_DESC, function() {
beforeEach(function(done) {
setTimeout(function() { console.log('timeout'); done(); }, 500);
});
var partials = {};

@@ -107,6 +111,3 @@

.elementByCss("#theDiv .displayed").then(function(el) {
return Q.all([
el.isDisplayed().should.eventually.be.ok,
el.displayed().should.eventually.be.ok,
]);
return el.isDisplayed().should.eventually.be.ok;
})

@@ -126,6 +127,3 @@ .elementByCss("#theDiv .hidden").then(function(el) {

.elementByCss("#theDiv .enabled").then(function(el) {
return Q.all([
el.isEnabled().should.eventually.be.ok,
el.enabled().should.eventually.be.ok,
]);
return el.isEnabled().should.eventually.be.ok;
})

@@ -132,0 +130,0 @@ .elementByCss("#theDiv .disabled").then(function(el) {

@@ -27,2 +27,3 @@ /* global sauceJobTitle, mergeDesired */

browser = wd.promiseChainRemote(env.REMOTE_CONFIG);
setTimeout(function(){ console.log('timeout'); }, 500);
return browser.configureLogging();

@@ -42,6 +43,8 @@ });

browser.defaultCapabilities.javascriptEnabled.should.be.ok;
return browser
.init(buildDesired( this.runnable().parent.title + " #1",
undefined, env.DESIRED.platform ))
.sessionCapabilities().should.eventually.have.property('browserName', 'firefox');
var init = browser
.init(buildDesired( this.runnable().parent.title + " #1",
undefined, env.DESIRED.platform ));
return init.sessionCapabilities().should.eventually.have.property('browserName', 'firefox');
});

@@ -48,0 +51,0 @@

Sorry, the diff of this file is too big to display

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