Skip to content

Commit e057a72

Browse files
Merge pull request #852 from udarrr/main
2 parents 972b4f5 + 5b838fb commit e057a72

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/start.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ async function start(_opts) {
153153
let seleniumStatusUrl;
154154

155155
if (!opts.onlyDriver) {
156+
if (typeof opts.javaArgs === 'string') {
157+
opts.javaArgs = opts.javaArgs.split(',');
158+
}
156159
args.push(...opts.javaArgs, '-jar', fsPaths.selenium.installPath, ...opts.seleniumArgs);
157160
seleniumStatusUrl = statusUrl.getSeleniumStatusUrl(args, opts);
158161
}

0 commit comments

Comments
 (0)