Skip to content

Commit

Permalink
chore(config): remove deprecated chromeOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
juliemr committed Mar 17, 2015
1 parent cc13b03 commit 3c04858
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
5 changes: 0 additions & 5 deletions docs/referenceConf.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ exports.config = {
// firefox in the default locations.
firefoxPath: null,

// **DEPRECATED**
// If true, only ChromeDriver will be started, not a Selenium Server.
// This should be replaced with directConnect.
chromeOnly: false,

// ---------------------------------------------------------------------------
// ----- What tests to run ---------------------------------------------------
// ---------------------------------------------------------------------------
Expand Down
12 changes: 0 additions & 12 deletions lib/configParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,6 @@ ConfigParser.prototype.addConfig_ = function(additionalConfig, relativeTo) {
}
});

// Make sure they're not trying to add in deprecated config vals.
if (additionalConfig.jasmineNodeOpts &&
additionalConfig.jasmineNodeOpts.specFolders) {
throw new Error('Using config.jasmineNodeOpts.specFolders is deprecated ' +
'since Protractor 0.6.0. Please switch to config.specs.');
}

// chromeOnly is deprecated, use directConnect instead.
if (additionalConfig.chromeOnly) {
log.warn('chromeOnly is deprecated. Use directConnect');
additionalConfig.directConnect = true;
}
merge_(this.config_, additionalConfig);
};

Expand Down

0 comments on commit 3c04858

Please sign in to comment.