Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
feat(cli): enhance Sauce Labs command line support
Browse files Browse the repository at this point in the history
Add command line options for Sauce Labs:
* name
* platform
* platform-version
* build
* tags
  • Loading branch information
bnadlerjr authored and juliemr committed Oct 17, 2013
1 parent 8ddcf75 commit 2da5abb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,21 @@ while(args.length) {
case '--browser':
commandLineConfig.capabilities.browserName = args.shift();
break;
case '--name':
commandLineConfig.capabilities.name = args.shift();
break;
case '--platform':
commandLineConfig.capabilities.platform = args.shift();
break;
case '--platform-version':
commandLineConfig.capabilities.version = args.shift();
break;
case '--build':
commandLineConfig.capabilities.build = args.shift();
break;
case '--tags':
commandLineConfig.capabilities.tags = args.shift().split(',');
break;
case '--seleniumAddress':
commandLineConfig.seleniumAddress = args.shift();
break;
Expand Down

0 comments on commit 2da5abb

Please sign in to comment.