Explore Courses Blog Tutorials Interview Questions
+1 vote
in DevOps and Agile by (19.7k points)

I'm trying this command in order to start selenium standalone server with internet explorer 11:

java -jar selenium-server-standalone-3.141.59.jar\Users\MyUser\Downloads\IEDriverServer_x64_3.14.0\IEDriverServer.exe"C:\Program Files\internet explorer\iexplore.exe"

where MyUser is my current username. But I'm getting exception.

Using selenium standalone server version 2.53.1 works fine with the same arguments but it's recommanded to use the same version for IE webdriver and selenium.

Here's the exception I have:

Exception in thread "main" com.beust.jcommander.ParameterException: Was passed main parameter '\Users\Xavier\Downloads\IEDriverServer_x64_3.14.0\IEDriverServer.exe' but no main parameter was defined in your arg class  

    at com.beust.jcommander.JCommander.initMainParameterValue(  

    at com.beust.jcommander.JCommander.parseValues(


Does anyone know how to run it ?

1 Answer

0 votes
by (62.9k points)

Fixed this by moving -jar .... at the end of the command:

java -\Users\MyUser\Downloads\IEDriverServer_x64_3.14.0\IEDriverServer.exe"C:\Program Files\internet explorer\iexplore.exe" -jar selenium-server-standalone-3.141.59.jar

Browse Categories