You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Can't start Selenium version 3.0.0+ with SeleniumTunnel. The root cause appears to be related to the new requirement that "-D" parameters be passed to the java CLI before the "-jar" parameter. See SeleniumHQ/selenium#2566 for additional details.
Steps to Reproduce
digdug: 1.5.0
Node: 4.1.1
OS: Mac OS X El Capitan (10.11.6)
When starting the Intern test runner, pass in a config that specifies a Selenium version that's >=3.0.0.
Selenium is not started and an exception is thrown (see below).
Expected Result
DigDug starts Selenium 3.0.0+.
Actual Result
Selenium fails to start. Here's a sample stack trace:
`Listening on 0.0.0.0:9000
Error: Tunnel failed to start: Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -Dwebdriver.chrome.driver=/Users/bpartridge/forward/fwd/web/src/main/resources/web/node_modules/intern/node_modules/digdug/selenium-standalone/chromedriver
at com.beust.jcommander.JCommander.parseValues(JCommander.java:742)
at com.beust.jcommander.JCommander.parse(JCommander.java:282)
at com.beust.jcommander.JCommander.parse(JCommander.java:265)
at com.beust.jcommander.JCommander.(JCommander.java:210)
at org.openqa.grid.selenium.GridLauncherV3$1.setConfiguration(GridLauncherV3.java:219)
at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:147)
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:73)
at handleChildExit <node_modules/intern/node_modules/digdug/Tunnel.js:336:16>
at ChildProcess. <node_modules/intern/node_modules/digdug/Tunnel.js:371:6>
at emitTwo events.js:92:20
at ChildProcess.emit events.js:172:7
at Process.ChildProcess._handle.onexit <internal/child_process.js:200:12>`
I'd be happy to submit a PR for this if that would help.
The text was updated successfully, but these errors were encountered:
This should be a pretty straightforward fix. Selenium 3 is pickier about command line argument ordering. All -D options need to come before the -jar option. (See SeleniumHQ/selenium#2566.)
Description
Can't start Selenium version 3.0.0+ with SeleniumTunnel. The root cause appears to be related to the new requirement that "-D" parameters be passed to the java CLI before the "-jar" parameter. See SeleniumHQ/selenium#2566 for additional details.
Steps to Reproduce
digdug: 1.5.0
Node: 4.1.1
OS: Mac OS X El Capitan (10.11.6)
Expected Result
DigDug starts Selenium 3.0.0+.
Actual Result
Selenium fails to start. Here's a sample stack trace:
`Listening on 0.0.0.0:9000
Error: Tunnel failed to start: Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -Dwebdriver.chrome.driver=/Users/bpartridge/forward/fwd/web/src/main/resources/web/node_modules/intern/node_modules/digdug/selenium-standalone/chromedriver
at com.beust.jcommander.JCommander.parseValues(JCommander.java:742)
at com.beust.jcommander.JCommander.parse(JCommander.java:282)
at com.beust.jcommander.JCommander.parse(JCommander.java:265)
at com.beust.jcommander.JCommander.(JCommander.java:210)
at org.openqa.grid.selenium.GridLauncherV3$1.setConfiguration(GridLauncherV3.java:219)
at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:147)
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:73)
at handleChildExit <node_modules/intern/node_modules/digdug/Tunnel.js:336:16>
at ChildProcess. <node_modules/intern/node_modules/digdug/Tunnel.js:371:6>
at emitTwo events.js:92:20
at ChildProcess.emit events.js:172:7
at Process.ChildProcess._handle.onexit <internal/child_process.js:200:12>`
I'd be happy to submit a PR for this if that would help.
The text was updated successfully, but these errors were encountered: