I am trying to set the maximum instances and maximum sessions for Selenium Standalone Server, as there is a good chance I will need quite a few instances/browsers. I have tried the following command:
xvfb-run java -Dwebdriver.chrome.driver=/usr/local/bin/chromedriver -jar /usr/local/bin/selenium-server-standalone.jar -maxSession 100 -maxInstances 100
However I receive the following error:
Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -maxSession 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:227) at org.openqa.grid.selenium.GridLauncherV3.buildLauncher(GridLauncherV3.java:155) at org.openqa.grid.selenium.GridLauncherV3.main(GridLauncherV3.java:75)
Similar thing happens when I try running it only with maxInstance. How can I set up a large/infinite amount of instances/browsers? what is the default amount? (also can't find anywhere) Thanks in advance.