How to run selenum standanlone jar in interactive mode so that we can trigger commands from terminal. When I run as shown below exception occurs
java -jar selenium-server-standalone-3.0.1.jar -interactive
Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -interactive
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:219)
at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:147)
at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:73)
However I am able to run version 2.48.2
in the above manner and it works fine.
starting version 3, the selenium team changed the available configuration options (see an example configuration), as well as replaced the command line arguments parser to JCommander.
the implications are;
-interactive
has dropped.-D
arguments first, i.e. right after thejava
command.