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.5 / WM: Xmonad
Debian Wiki | DontBreakDebian, My config files in github
Linux User #607425
User avatar
None1975
 
Posts: 650
Joined: 2015-11-29 18:23
Location: Lithuania, Vilnius

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.
User avatar
GarryRicketson
 
Posts: 5131
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: 695
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: 78
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: Kdenlive 18.08.1, Pale Moon 28.1.0, wine-staging 3.17, qBittorrent 4.1.3, Liquorix kernel 4.18-13, Audacity 2.3.0
User avatar
stevepusser
 
Posts: 10008
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: 2923
Joined: 2013-03-12 07:18

Re: Easy way to install Selenium

Postby debiman » 2018-01-10 07:07

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
debiman
 
Posts: 2923
Joined: 2013-03-12 07:18

Re: Easy way to install Selenium

Postby GarryRicketson » 2018-01-10 13:05

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.
User avatar
GarryRicketson
 
Posts: 5131
Joined: 2015-01-20 22:16
Location: Durango, Mexico


Return to Programming

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable