Socket
Socket
Sign inDemoInstall

karma-sauce-launcher

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karma-sauce-launcher - npm Package Compare versions

Comparing version 0.1.5 to 0.1.7

README.md

13

index.js

@@ -71,3 +71,3 @@ // TODO(vojta):

var browserName = args.browserName + (args.version ? ' ' + args.version : '') +
(args.platform ? ' (' + args.platform + ')' : '') + ' on SauceLabs';
(args.platform ? ' (' + args.platform + ')' : '');
var startConnect = config.startConnect !== false;

@@ -85,3 +85,3 @@ var log = logger.create('launcher.sauce');

this.id = id;
this.name = browserName;
this.name = browserName + ' on SauceLabs';

@@ -91,3 +91,3 @@ var pendingHeartBeat;

pendingHeartBeat = setTimeout(function() {
log.debug('Heartbeat to Sauce Labs - fetching title');
log.debug('Heartbeat to Sauce Labs (%s) - fetching title', browserName);
driver.title();

@@ -115,3 +115,4 @@ heartbeat();

process.env.CIRCLE_BUILD_NUM || null,
'device-orientation': args.deviceOrientation || null
'device-orientation': args.deviceOrientation || null,
'disable-popup-handler': true
});

@@ -146,3 +147,3 @@

log.info('%s session at https://saucelabs.com/tests/%s', browserName, driver.sessionID);
log.debug('WebDriver channel instantiated, opening ' + url);
log.debug('WebDriver channel for %s instantiated, opening %s', browserName, url);
driver.get(url, heartbeat);

@@ -171,3 +172,3 @@ });

clearTimeout(pendingHeartBeat);
log.debug('Shutting down Sauce Labs driver');
log.debug('Shutting down the %s driver', browserName);
// workaround - navigate to other page to avoid re-connection

@@ -174,0 +175,0 @@ driver.get('about:blank', function() {

{
"name": "karma-sauce-launcher",
"version": "0.1.5",
"version": "0.1.7",
"description": "A Karma plugin. Launch any browser on SauceLabs!",

@@ -41,2 +41,3 @@ "main": "index.js",

"Parashuram <code@nparashuram.com>",
"Parashuram N <code@r.nparashuram.com>",
"Ralf Kistner <ralf@embarkmobile.com>",

@@ -43,0 +44,0 @@ "yhwh <ferrero.nicolas@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