Install GeckoDriver - Cent OS 7

Let's install GeckoDriver to control Firefox programmatically. We'll place the GeckoDriver binary directly, assuming you're running a 64-bit version of Linux.

firefox -v

Version.

Mozilla Firefox 78.6.0esr

Install the GeckoDriver.

cd /usr/local/src
wget https://github.com/mozilla/geckodriver/releases/download/v0.26.0/geckodriver-v0.26.0-linux64.tar.gz
tar -xf geckodriver-v0.26.0-linux64.tar.gz
mv geckodriver /usr/local/bin/

Check the version of GeckoDriver.

 geckodriver --version
geckodriver --version

Output result of the version.

geckodriver 0.26.0 (e9783a644016 2019-10-10 13:38 +0000)

If there are any problems, please search the web for Firefox and GeckoDriver versions and check them.

How to do JavaScript-enabled web scraping in Perl?

To do JavaScript-enabled web scraping in Perl, you need to install Firfox and Perl module, you will also need Selenium::Remote::Driver.

Associated Information