Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selenium 3.14.0 not working with -enablePassThrough #31

Open
patrickbussmann opened this issue Sep 21, 2018 · 1 comment
Open

Selenium 3.14.0 not working with -enablePassThrough #31

patrickbussmann opened this issue Sep 21, 2018 · 1 comment

Comments

@patrickbussmann
Copy link

C:\tools\selenium>java  -jar "C:\tools\selenium\selenium-server-standalone.jar" -enablePassThrough True -role standalone -port 4444 -browserTimeout 0 -timeout 1800
Exception in thread "main" com.beust.jcommander.ParameterException: Was passed main parameter '-enablePassThrough' but no main parameter was defined in your arg class
        at com.beust.jcommander.JCommander.initMainParameterValue(JCommander.java:936)
        at com.beust.jcommander.JCommander.parseValues(JCommander.java:752)
        at com.beust.jcommander.JCommander.parse(JCommander.java:340)
        at com.beust.jcommander.JCommander.parse(JCommander.java:319)
        at org.openqa.grid.internal.cli.StandaloneCliOptions.parse(StandaloneCliOptions.java:28)
        at org.openqa.grid.selenium.GridLauncherV3$1.<init>(GridLauncherV3.java:256)
        at org.openqa.grid.selenium.GridLauncherV3.lambda$buildLaunchers$0(GridLauncherV3.java:255)
        at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:163)
        at org.openqa.grid.selenium.GridLauncherV3.launch(GridLauncherV3.java:97)
        at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:81)

When I remove -enablePassThrough True from C:\tools\selenium\standalone.cmd then it's working successfully.

C:\tools\selenium>java  -jar "C:\tools\selenium\selenium-server-standalone.jar" -role standalone -port 4444 -browserTimeout 0 -timeout 1800
14:23:34.328 INFO [GridLauncherV3.launch] - Selenium build info: version: '3.14.0', revision: 'aacccce0'
14:23:34.329 INFO [GridLauncherV3$1.launch] - Launching a standalone Selenium Server on port 4444
2018-09-21 14:23:34.449:INFO::main: Logging initialized @452ms to org.seleniumhq.jetty9.util.log.StdErrLog
14:23:34.754 INFO [SeleniumServer.boot] - Selenium Server is up and running on port 4444
@yukisato
Copy link

yukisato commented Feb 5, 2019

According to SeleniumHQ/selenium#5385 (comment), -enablePassThrough option has already been removed in version 3.9.

@barancev
This option will be completely removed in version 3.9
Please log issues if something is not working as expected without this option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants