-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
ParameterException when starting selenium-server-standalone-3.0.0-beta2.jar via command line #2571
Comments
The driver location needs to be passed to JVM:
OS: Windows 10 I observe this on windows 10 and passing the geckodriver location also: C:\Users\john\Documents>java -jar selenium-server-standalone-3.0.0-beta2.jar -Dwebdriver.gecko.driver=geckodriver.exe however reversing the argument orders results in running as expected: java -jar -Dwebdriver.gecko.driver=geckodriver.exe selenium-server-standalone-3.0.0-beta2.jar |
Thank you, this worked also for me. |
reasoning also given on #2566 |
Guess what???? "however reversing the argument orders results in running as expected" It works!!!! "c:\Program Files\Java\jdk1.8.0_121\bin\java" -Dwebdriver.chrome.driver=C:\Development\DMS\Projects\leadlava-automation\chromedriver.exe -jar selenium-server-standalone-3.3.1.jar |
Worked for me. Thanx. 😃 |
Meta -
OS: Windows 7
Selenium Version: selenium-server-standalone-3.0.0-beta2.jar
Expected Behavior -
I want to start my local standalone server as I did with previous versions with selenium-server-standalone (2.xx)
I did this via the command line
java -jar selenium-server-standalone-3.0.0-beta2.jar -Dwebdriver.chrome.driver=chromedriver.exe
Actual Behavior -
Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -Dwebdriver.chrome.driver=chromedriver.exe 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.<init>(JCommander.java:210) at org.openqa.grid.selenium.GridLauncherV3$1.setConfiguration(GridLauncherV3.java:202) at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:130) at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:67)
Steps to reproduce -
Start selenium-server-standalone with Parameter -Dwebdriver.chrome.driver
Is there any documentation on this how you start the standalone driver version 3 via command line and the parameters for the different drivers?
Thank you.
The text was updated successfully, but these errors were encountered: