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

Commit 3c04858

Browse files
committed
chore(config): remove deprecated chromeOnly
1 parent cc13b03 commit 3c04858

File tree

2 files changed

+0
-17
lines changed

2 files changed

+0
-17
lines changed

docs/referenceConf.js

-5
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,6 @@ exports.config = {
6666
// firefox in the default locations.
6767
firefoxPath: null,
6868

69-
// **DEPRECATED**
70-
// If true, only ChromeDriver will be started, not a Selenium Server.
71-
// This should be replaced with directConnect.
72-
chromeOnly: false,
73-
7469
// ---------------------------------------------------------------------------
7570
// ----- What tests to run ---------------------------------------------------
7671
// ---------------------------------------------------------------------------

lib/configParser.js

-12
Original file line numberDiff line numberDiff line change
@@ -156,18 +156,6 @@ ConfigParser.prototype.addConfig_ = function(additionalConfig, relativeTo) {
156156
}
157157
});
158158

159-
// Make sure they're not trying to add in deprecated config vals.
160-
if (additionalConfig.jasmineNodeOpts &&
161-
additionalConfig.jasmineNodeOpts.specFolders) {
162-
throw new Error('Using config.jasmineNodeOpts.specFolders is deprecated ' +
163-
'since Protractor 0.6.0. Please switch to config.specs.');
164-
}
165-
166-
// chromeOnly is deprecated, use directConnect instead.
167-
if (additionalConfig.chromeOnly) {
168-
log.warn('chromeOnly is deprecated. Use directConnect');
169-
additionalConfig.directConnect = true;
170-
}
171159
merge_(this.config_, additionalConfig);
172160
};
173161

0 commit comments

Comments
 (0)