Sitemap

Installation Guide for Google Chrome, ChromeDriver, and Selenium in a Python Virtual Environment

3 min readOct 3, 2023

--

- Installing Google Chrome
- Installing ChromeDriver
- Setting Up a Python Virtual Environment
- Installing Selenium
- Verifying Installation
- Troubleshooting

sudo dpkg -i google-chrome-stable_current_amd64.deb # For Debian/Ubuntu
sudo rpm -i google-chrome-stable_current_x86_64.rpm # For Fedora/Red Hat sudo yum install ./google-chrome-stable_current_x86_64.rpm # Alternative

unzip chromedriver_win32.zip # For Windows
tar -xvf chromedriver_mac64.zip # For Mac
tar -xvf chromedriver_linux64.tar.gz # For Linux

sudo mv chromedriver /usr/bin/

python --version

python3 --version

python -m venv venv

python3 -m venv venv

.\venv\Scripts\activate

source venv/bin/activate

pip install selenium

chromedriver --version

pip show selenium

Press enter or click to view image in full size
Graphic: Selenium and Python on Chrome

--

--