Running Old versions of Selenium

119 views
Skip to first unread message

Emmett

unread,
May 3, 2022, 7:46:21 AM5/3/22
to Selenium Users
Hey,
Im new to selenium so apologies if this is a silly question.

I am trying to start Selenium server v3 (hub), but am unable to.
Version 4 works fine, as its a nice little jar file, so I can download it here 'https://www.selenium.dev/downloads/' and then start with:

$  java -jar selenium-server-4.1.3.jar hub

However when I download a "previous release" for any v3 it is a zip file, that extracts the jar files 'selenium-3.9.1-nodeps-sources.jar' and 'selenium-3.9.1-nodeps.jar', but I can not start these.

My OS/Java versions:

$ java -version
openjdk version "11.0.13" 2021-10-19 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.13+8-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.13+8-LTS, mixed mode, sharing)

$ cat /etc/os-release
NAME="Amazon Linux"
VERSION="2"

Is there something additional I need to do in order to get v3 running, I read there big are changes between v3 and v4 but can not find a 'how to' for getting v3 running.

Any help or guidance would be greatly appreciated, thanks very much.
Emmett



Emmett

unread,
May 4, 2022, 4:22:48 AM5/4/22
to Selenium Users
Oh I think I sorted it. I think the 'standalone' version is the same as the server, but has all the library's included.
It didnt work before because starting in hub mode is a little different from v4 to v3. Once I added the -role option it starts and I can register to it. 

$  java -jar selenium-server-standalone-3.141.59.jar -role hub  

Reply all
Reply to author
Forward
0 new messages