Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Easy way to install Selenium

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
akalogiros
Posts: 5
Joined: 2017-11-17 14:45

Easy way to install Selenium

#1 Post by akalogiros »

Hello Everyone,

anyone knows a way to isntall selenium on Debian 9?

i tried this method:

https://blog.vandenbrand.org/2014/11/05 ... h-ansible/

but i don't know which Linux mint repo to use.

best,
a.

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1389
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 45 times
Been thanked: 66 times

Re: Easy way to install Selenium

#2 Post by None1975 »

akalogiros wrote:but i don't know which Linux mint repo to use.
Don't make a FrankenDebian.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Easy way to install Selenium

#3 Post by GarryRicketson »

but i don't know which Linux mint repo to use.
If you are using Debian , then none of them, Debian is not Linux Mint.

akalogiros
Posts: 5
Joined: 2017-11-17 14:45

Re: Easy way to install Selenium

#4 Post by akalogiros »

thanks for the feedback.

so any other way ?

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: Easy way to install Selenium

#5 Post by steve_v »

It would help immensely if you explained what you actually need installed (dependencies etc.) to run this thing. References on the 'net are... vague to say the least.
From your link, it looks like you need firefox, openjdk, and xvfb. All of which are in the Debain repos. Do you actually need something from Mint or what?
If your standard procedure for installing software is to follow a 3 year old blog post that tells you to mix repos, you're in for a world of hurt.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

tynman
Posts: 131
Joined: 2016-05-03 19:48
Location: British Columbia, Canada
Been thanked: 1 time

Re: Easy way to install Selenium

#6 Post by tynman »

Both the xvbf and openjdk-7-jre-headless packages are available in Debian Jessie. The latter package is not available in Debian Stretch. So hopefully you are using Jessie :| . If so, you can use the standard Debian (Jessie) repository.

From reading the link it looks like the only other thing you need is the jar file for selenium itself. You just download that using the wget command in the linked article.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Easy way to install Selenium

#7 Post by stevepusser »

Just use the openjdk-8-jre packages in Stretch in Stretch instead to provide the Java runtime. Hands off the Jessie repo. Install the "default-jre" metapackage to get it...which a good guide to install selenium woud have mentioned.

That guide is old and outdated. Install "firefox-esr" to provide Firefox in Stretch. There is no need to use outside repositories.
MX Linux packager and developer

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Easy way to install Selenium

#8 Post by debiman »

akalogiros wrote:Hello Everyone,

anyone knows a way to isntall selenium on Debian 9?

i tried this method:

https://blog.vandenbrand.org/2014/11/05 ... h-ansible/

but i don't know which Linux mint repo to use.
in addition to being outdated and dangerously wrong, this is really badly written.
don't use it.
start from zero with a better tutorial.

User avatar
debiman
Posts: 3063
Joined: 2013-03-12 07:18

Re: Easy way to install Selenium

#9 Post by debiman »

miaavery wrote:Hello,

In this tutorial, we would be discussing the installation procedure to get started with WebDriver initiating from the scratch. We would also be discussing the diverse range of drivers provided by WebDriver, each catering to different testing and environmental needs.
a bot?

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Easy way to install Selenium

#10 Post by GarryRicketson »

Probably, but in the future, please just report it. Making a full quote of the post
and a short comment just makes it more complicated as far as removing the post, etc. We'll just have to watch this new member, The post is not spam, so
nothing I can do.

Post Reply