Skip to content

Commit f52ad8b

Browse files
Revert "Adjustments to start Options (#660)"
This reverts commit 9922fd6.
1 parent 99b3c7b commit f52ad8b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

lib/start.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ async function start(_opts) {
2727
opts.seleniumArgs = [];
2828
}
2929

30-
if (!opts.spawnOptions) {
31-
opts.spawnOptions = {};
32-
}
33-
3430
if (!opts.version) {
3531
opts.version = defaultConfig.version;
3632
}
@@ -42,8 +38,6 @@ async function start(_opts) {
4238
!hasParam(opts.seleniumArgs, 'standalone') &&
4339
!hasParam(opts.seleniumArgs, 'distributor')
4440
) {
45-
opts.seleniumArgs.unshift('false');
46-
opts.seleniumArgs.unshift('--detect-drivers');
4741
opts.seleniumArgs.unshift('standalone');
4842
}
4943

@@ -123,10 +117,6 @@ async function start(_opts) {
123117
throw new Error(`Port ${seleniumStatusUrl.port} is already in use.`);
124118
}
125119

126-
if (!opts.spawnOptions.stdio) {
127-
opts.spawnOptions.stdio = 'ignore';
128-
}
129-
130120
debug('Spawning Selenium Server process', opts.javaPath, args);
131121
const selenium = spawn(opts.javaPath, args, opts.spawnOptions);
132122
await checkStarted(selenium, seleniumStatusUrl.toString());

0 commit comments

Comments
 (0)