Skip to content

Commit

Permalink
fix: properly invoke selenium.jar with -debug flag
Browse files Browse the repository at this point in the history
* `-debug` now takes an argument
* `selenium.debug` option should be `getBool()` to be false-able
  • Loading branch information
dbushong committed Jun 27, 2017
1 parent 48e0424 commit 76f1358
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/processes/selenium/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,8 @@ function getSeleniumOptions(config) {
'-jar', jarPath,
'-port', '' + port
]);
if (config.get('selenium.debug', false)) {
args.push('-debug');
if (config.getBool('selenium.debug', false)) {
args.push('-debug', 'true');
}
return {
command: 'java',
Expand Down

0 comments on commit 76f1358

Please sign in to comment.