New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

testarmada-nightwatch-extra

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

testarmada-nightwatch-extra - npm Package Compare versions

Comparing version 1.2.0-beta1 to 1.2.0-beta2

lib/commands/touch/protocol.js

1

lib/commands/getEl.js

@@ -29,2 +29,3 @@ var util = require("util");

// Keep a running count of how many times we've seen this element visible
console.log(result)
if (result.isVisible) {

@@ -31,0 +32,0 @@ self.seenCount += 1;

13

lib/injections/js-injection.js

@@ -24,2 +24,3 @@ var fs = require("fs");

seens: 0,
jsDuration: 0,
isVisibleStrict: null,

@@ -34,2 +35,3 @@ isVisible: false,

};
var startTime = (new Date()).getTime();

@@ -61,2 +63,7 @@ var sizzleRef;

var calculateElapseAndReturn = function () {
var elapsed = (new Date()).getTime() - startTime;
result.jsDuration = elapsed;
done(result);
}

@@ -84,3 +91,3 @@ var count = function () {

result.value.value = (new Function("$el", "sizzle", pInjectedJsCommand))($el, sizzleRef);
done(result);
calculateElapseAndReturn();
} else {

@@ -90,6 +97,6 @@ setTimeout(count, waitInterval);

} else {
done(result);
calculateElapseAndReturn();
}
} catch (e) {
done(result);
calculateElapseAndReturn();
}

@@ -96,0 +103,0 @@ };

{
"name": "testarmada-nightwatch-extra",
"version": "1.2.0-beta1",
"version": "1.2.0-beta2",
"description": "extra useful nightwatch command and assertion",

@@ -5,0 +5,0 @@ "main": "index.js",

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