MowingBar
Posts: 13
Joined: Thu Dec 17, 2015 9:33 pm

How to install Geckodriver for Selenium

Sat Dec 03, 2016 10:25 am

Selenium recently updated and now requires Geckodriver to function correctly: https://github.com/mozilla/geckodriver/releases

I can't figure out how to install Geckodriver on raspbian. There are several examples I found on google but they don't work for me:
https://github.com/mozilla/geckodriver
https://www.npmjs.com/package/geckodriver
http://askubuntu.com/questions/851401/w ... on-package

Does anyone know how to install Geckodriver on rasbian?

fruitoftheloom
Posts: 21087
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to install Geckodriver for Selenium

Sat Dec 03, 2016 5:00 pm

MowingBar wrote:Selenium recently updated and now requires Geckodriver to function correctly: https://github.com/mozilla/geckodriver/releases

I can't figure out how to install Geckodriver on raspbian. There are several examples I found on google but they don't work for me:
https://github.com/mozilla/geckodriver
https://www.npmjs.com/package/geckodriver
http://askubuntu.com/questions/851401/w ... on-package

Does anyone know how to install Geckodriver on rasbian?
I was under the impression geckodriver is installable via Firefox add-ons ????
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

MowingBar
Posts: 13
Joined: Thu Dec 17, 2015 9:33 pm

Re: How to install Geckodriver for Selenium

Sat Dec 03, 2016 9:05 pm

I don't see it in the addon store for Firefox and the references in my opening post indicate that it needs to be installed manually.
fruitoftheloom wrote:
MowingBar wrote:Selenium recently updated and now requires Geckodriver to function correctly: https://github.com/mozilla/geckodriver/releases

I can't figure out how to install Geckodriver on raspbian. There are several examples I found on google but they don't work for me:
https://github.com/mozilla/geckodriver
https://www.npmjs.com/package/geckodriver
http://askubuntu.com/questions/851401/w ... on-package

Does anyone know how to install Geckodriver on rasbian?
I was under the impression geckodriver is installable via Firefox add-ons ????

Mayurshah
Posts: 1
Joined: Sun Dec 04, 2016 6:28 pm

Re: How to install Geckodriver for Selenium

Sun Dec 04, 2016 6:34 pm

Download geckodriver from below location and add it to your PATH veriable.

https://github.com/mozilla/geckodriver/releases

Exit existing command line and reopen the same. This should help you.

Src
http://mayurshah.in/893/selenium-except ... executable

Maroun1
Posts: 1
Joined: Tue May 30, 2017 11:59 am

Re: How to install Geckodriver for Selenium

Tue May 30, 2017 12:34 pm

Good evening.
i have a question please.
how i can install a geckodrive on raspberry pi 3 ?
what is the steps ??

thank you d'advanced

nickradomus
Posts: 1
Joined: Mon Jul 24, 2017 1:51 am

Re: How to install Geckodriver for Selenium

Mon Jul 24, 2017 1:55 am

currently all that's available is geckodriver-v0.18.0-arm7hf.tar.gz . and it's targeted directly at ARM7, not ARM6 like the Raspberry Pi 3 uses. At this point in time you'd need to build it from source. Someone, please supply a tutorial to move this issue forward.

fruitoftheloom
Posts: 21087
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to install Geckodriver for Selenium

Mon Jul 24, 2017 9:06 am

nickradomus wrote:currently all that's available is geckodriver-v0.18.0-arm7hf.tar.gz . and it's targeted directly at ARM7, not ARM6 like the Raspberry Pi 3 uses. At this point in time you'd need to build it from source. Someone, please supply a tutorial to move this issue forward.
The Raspberry Pi 3B is ARMv8 :shock:
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

jaymz
Posts: 1
Joined: Wed Dec 13, 2017 12:53 pm

Re: How to install Geckodriver for Selenium

Wed Dec 13, 2017 1:04 pm

I have a new raspberry pi 3, running raspbian 9.

I did the following, and it seems to work:

$ sudo apt-get upgrade
$ sudo apt-get update
$ sudo apt-get install iceweasel
$ sudo pip3 install selenium
$ curl -O https://github.com/mozilla/geckodriver/ ... 7hf.tar.gz
$ tar -xzvf geckodriver-v0.19.1-arm7hf.tar.gz
$ sudo cp geckodriver /usr/local/bin/
$ python3
>>> from selenium import webdriver
>>> browser = webdriver.Firefox()

and a browser pops up

fruitoftheloom
Posts: 21087
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: How to install Geckodriver for Selenium

Wed Dec 13, 2017 5:46 pm

jaymz wrote:
Wed Dec 13, 2017 1:04 pm
I have a new raspberry pi 3, running raspbian 9.

I did the following, and it seems to work:

$ sudo apt-get upgrade
$ sudo apt-get update
$ sudo apt-get install iceweasel
$ sudo pip3 install selenium
$ curl -O https://github.com/mozilla/geckodriver/ ... 7hf.tar.gz
$ tar -xzvf geckodriver-v0.19.1-arm7hf.tar.gz
$ sudo cp geckodriver /usr/local/bin/
$ python3
>>> from selenium import webdriver
>>> browser = webdriver.Firefox()

and a browser pops up

Why not use ""firefox-esr"" which is the actual package which replaces iceweasel:

https://packages.debian.org/stretch/iceweasel

https://packages.debian.org/stretch/firefox-esr

https://wiki.debian.org/Firefox
Retired disgracefully.....
This at present is my daily "computer" https://www.asus.com/us/Chrome-Devices/Chromebit-CS10/

Return to “General discussion”