Selenium Server 3

270 views
Skip to first unread message

Andrew Halliday

unread,
Sep 11, 2016, 4:21:56 AM9/11/16
to Se Builder
Hi there
Wondering if anyone has had any luck using: selenium-server-standalone-3.0.0-beta3.jar

I can run selenium-server-standalone-2.53.1.jar perfectly well with FF 46.0.1 on a Windows 2012 Server

I run 2.53.1 with a command:
echo on
cd \
cd C:\SeleniumServer
java -jar selenium-server-standalone-2.53.1.jar
pause


but I have read that the 3 version requires you to explicitly call the firefox driver but I am struggling with the command


I downloaded the geckodriver and tried this:
java -jar selenium-server-standalone-3.0.0-beta3.jar -Dwebdriver.firefox.marionette=C:\SeleniumServer\geckodriver.exe
and this:
java -jar selenium-server-standalone-3.0.0-beta3.jar -Dwebdriver.firefox.driver=C:\SeleniumServer\geckodriver.exe

but I just get an error: Exception in thread "main" com.beust.jcommander.ParameterException: Unknown option: -Dwebdriver.firefox.driver=C:\SeleniumServer\geckodriver.exe


The reason I am looking at the latest version is that I run about 350 tests overnight.
The tests themselves take about 6 hours to run on the server, although with the starting and stopping of the browser between tests the total elapsed time is more like 10 hours.
(unfortunately I can't make shorter tests as it is part of a journey that requires end to end with lots of different options in between).

I was hoping that the new version might be quicker.

Anyone know of any other ways of optimising the setup to make things run faster?

Thanks for your help



Ramesh P

unread,
Sep 11, 2016, 2:26:50 PM9/11/16
to Se Builder
Hi Andrew,

 I also faced the same issue. I think for using the Gecko driver you have to upgrade your JAVA version to 8.
I didn't get time to do the same

.

Andrew Halliday

unread,
Sep 16, 2016, 10:39:05 AM9/16/16
to Se Builder
Hi
I'm a bit nearer now thanks to this post:

It seems you need to swap the 2 parts around:

java -jar -Dwebdriver.gecko.driver=C:\jartest\geckodriver.exe selenium-server-standalone-3.0.0-beta3.jar 

This now works - I will test out on SEBuilder next.

Ramesh P

unread,
Oct 7, 2016, 6:59:45 AM10/7/16
to Se Builder
Hi,

When i tried this command 

PS D:\BuilderFiles> java -jar -Dwebdriver.gecko.driver=D:\BuiderFiles\geckodriver.exe selenium-server-standalone-3.0.0-beta4.jar

Its displaying the following Error:

"Error: Unable to access jarfile .gecko.driver=geckodriver.exe"

Kindly Help

Regards,
Ramesh
Reply all
Reply to author
Forward
0 new messages