# Update ChromeDriver in Linux via CLI
###### tags: `Crawler`
## Situation
When operate crawler with selenium, it may occur the following error:
```!
selenium.common.exceptions.SessionNotCreatedException:
This version of ChromeDriver only supports Chrome version 91
Current browser version is 93.0.4577.63 with binary path /usr/bin/google-chrome
```
It means you have to update your ChromeDriver to fit your bowser version.
## Solution
1. Remove the old chromedriver
```python=
# Make sure that you are in the right directory
rm chromedriver
```
2. Download the new chromedriver.zip by wget
You can get the newest version through https://chromedriver.storage.googleapis.com/index.html
```python=
# Change 93.0.4577.63 when you need
wget https://chromedriver.storage.googleapis.com/93.0.4577.63/chromedriver_linux64.zip
```
3. Unzip the file and change the chromedriver mode that makes it executable.
```python=
unzip chromedriver_linux64.zip
chmod +x chromedriver
```