Install Chrome Driver - Cent OS 7
Install the Chrome Driver to automatically control your Google Chrome browser programmatically using Selenium. Place the Chrome Driver binaries directly. It is assumed that it is a 64-bit version of Linux. Confirmed with Cent OS 7.
google-chrome --version
version.
Google Chrome 87.0.4280.88
Install the Chrome Driver.
cd /usr/local/src wget https://chromedriver.storage.googleapis.com/87.0.4280.88/chromedriver_linux64.zip unzip chromedriver_linux64.zip mv chromedriver /usr/local/bin/
Check the version of Chrome Driver.
chromedriver --version
The output result of the version.
ChromeDriver 86.0.4240.22 (398b0743353ff36fb1b82468f63a3a93b4e2e89e-refs/branch-heads/4240@{#378})
If there is a problem, please search the web for the version of Google Chrome and Chrome Driver to check.
Install Google Chrome
The Chrome Driver is required to automatically run the Google Chrome browser programmatically. Installation of Google Chrome on CentOS is explained below.
How to programmatically perform JavaScript-compatible web scraping?
To programmatically perform JavaScript-enabled web scraping, you need the Selenium library provided by the programming language. Perl- Selenium :: Remote :: Driver, PHP, Pyhton, Ruby and other Selenium libraries.