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

@nightwatch/browserstack

Package Overview
Dependencies
Maintainers
5
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nightwatch/browserstack - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

12

nightwatch/globals.js
const LocalTunnel = require('../src/local-tunnel');
const helper = require('../src/utils/helper');

@@ -12,2 +13,6 @@ const localTunnel = new LocalTunnel();

if (localTunnel._localTunnel && localTunnel._localTunnel.isRunning()) {
if (!settings.desiredCapabilities['bstack:options']) {
settings.desiredCapabilities['bstack:options'] = {};
}
settings.desiredCapabilities['bstack:options'].local = true;

@@ -28,3 +33,8 @@ // Adding envs to be updated at beforeChildProcess.

beforeChildProcess(settings) {
if (process.env.BROWSERSTACK_LOCAL_ENABLED.toString() === 'true') {
if (!settings.desiredCapabilities['bstack:options']) {
settings.desiredCapabilities['bstack:options'] = {};
}
if (!helper.isUndefined(process.env.BROWSERSTACK_LOCAL_ENABLED) && process.env.BROWSERSTACK_LOCAL_ENABLED.toString() === 'true') {
settings.desiredCapabilities['bstack:options'].local = process.env.BROWSERSTACK_LOCAL_ENABLED;

@@ -31,0 +41,0 @@ }

2

package.json
{
"name": "@nightwatch/browserstack",
"version": "0.1.2",
"version": "0.1.3",
"description": "Nightwatch plugin for integration with browserstack.",

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

@@ -33,3 +33,7 @@ const os = require('os');

if (this.isUndefined(accessKey)) {
accessKey = process.env.BROWSERSTACK_ACCESS_KEY;
}
return accessKey;
};
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