# Troubleshooting common WebDriver errors --- ❗You will not see the errors of you run the tests in Docker ❗ --- ### Error ``` unable to connect to chromedriver 127.0.0.1:9515 (Selenium::WebDriver::Error::WebDriverError) ``` or ``` Selenium::WebDriver::Error::WebDriverError: unable to connect to /Users/usr/.rbenv/versions/2.7.5/bin/chromedriver 127.0.0.1:9516 ``` To fix: 1. Run`brew upgrade chromedriver` OR `brew install chromedriver` 2. You will see ![](https://i.imgur.com/AnHFmpw.png) Click “Cancel” 3. Go to System Preferences **>** Security & Privacy, under the General tab ![](https://i.imgur.com/QGuOjs1.png) Click “Allow anyway” 4. Run the test again 5. You will see ![](https://i.imgur.com/JZhcj9P.png) Click “Open”