Skip to content

Commit

Permalink
feat: better browser name
Browse files Browse the repository at this point in the history
If requested, show version and platform.
  • Loading branch information
vojtajina committed Jul 2, 2013
1 parent 3295caa commit 5650bda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ var SauceLabsBrowser = function(id, args, sauceConnect, /* config.sauceLabs */ c
var username = process.env.SAUCE_USERNAME || args.username || config.username;
var accessKey = process.env.SAUCE_ACCESS_KEY || args.accessKey || config.accessKey;
var tunnelIdentifier = args.tunnelIdentifier || config.tunnelIdentifier || 'karma' + Math.round(new Date().getTime() / 1000);
var browserName = args.browserName + (args.version ? ' ' + args.version : '') +
(args.platform ? ' (' + args.platform + ')' : '') + ' on SauceLabs';
var log = logger.create('launcher.sauce');

var driver;
var captured = false;

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

var pendingHeartBeat;
var heartbeat = function() {
Expand Down

0 comments on commit 5650bda

Please sign in to comment.