1.4 KiB
1.4 KiB
Installing ChromeDriver on Linux
Table of Contents
Download and Install ChromeDriver
Before proceeding, check the official ChromeDriver downloads page for the latest release:
https://sites.google.com/chromium.org/driver/downloads
Install Steps
Navigate to the /bin directory:
cd /bin
Download the specific version of ChromeDriver (replace with the latest version if necessary):
wget https://chromedriver.storage.googleapis.com/102.0.5005.61/chromedriver_linux64.zip
Unzip the downloaded file:
unzip chromedriver_linux64.zip
Remove the zip file after extraction:
rm chromedriver_linux64.zip
Make the chromedriver executable:
chmod +x chromedriver
Move the chromedriver binary to /bin:
sudo mv chromedriver /bin/
Update the PATH environment variable:
export PATH=$PATH:/bin/chromedriver
Verify Installation
To verify the installation was successful, check the ChromeDriver version:
chromedriver --version