Easy way to install Selenium

Need help with C, C++, perl, python, etc?

Easy way to install Selenium

Postby akalogiros » 2017-11-17 14:51

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.
akalogiros
 
Posts: 5
Joined: 2017-11-17 14:45

Re: Easy way to install Selenium

Postby None1975 » 2017-11-17 15:06

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


Don't make a FrankenDebian.
OS: Debian 9.3 / WM: i3wm
Debian Wiki | DontBreakDebian, i3wm
User avatar
None1975
 
Posts: 230
Joined: 2015-11-29 18:23
Location: Lithuania

Re: Easy way to install Selenium

Postby GarryRicketson » 2017-11-17 15:21

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.
"What we expect you have already Done"

Before doing anything, read the Debian documentation:
Debian Documentation
How to ask the smart way
Debian Foro Español
======================
For the Birds
User avatar
GarryRicketson
 
Posts: 4475
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Easy way to install Selenium

Postby akalogiros » 2017-11-17 15:23

thanks for the feedback.

so any other way ?
akalogiros
 
Posts: 5
Joined: 2017-11-17 14:45

Re: Easy way to install Selenium

Postby steve_v » 2017-11-17 16:03

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.
steve_v
 
Posts: 529
Joined: 2012-10-06 05:31
Location: New Zealand

Re: Easy way to install Selenium

Postby tynman » 2017-11-17 16:59

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.
tynman
 
Posts: 50
Joined: 2016-05-03 19:48
Location: British Columbia, Canada

Re: Easy way to install Selenium

Postby stevepusser » 2017-11-17 22:22

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.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Krita 3.3.2.1, Pale Moon 27.6.0, Audacity 2.2.0, mpv 0.27.0, Corebird 1.7.1, Firefox 57.0, SMPlayer 17.11.2
User avatar
stevepusser
 
Posts: 8938
Joined: 2009-10-06 05:53

Re: Easy way to install Selenium

Postby debiman » 2017-11-18 09:45

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: 1626
Joined: 2013-03-12 07:18


Return to Programming

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable