How to Fix: Error message: "'chromedriver' executable needs to be available in the path"
The chromedriver executable needs to be available in the system's PATH environment variable.
📋 Table of Contents
The error message "'chromedriver' executable needs to be available in the path" occurs when the system cannot find the chromedriver executable, despite having it downloaded and placed in a location accessible by the Environment Variable "Path". This can happen if the PATH variable is not correctly set or if there are other issues with the file's location.
🔍 Why This Happens
- [Cause]
🛠️ Step-by-Step Verified Fixes
Method 1: Correcting Path Variable Settings
- Step 1: Open the System Properties by right-clicking on the Start Menu and selecting "System"
Method 2: Adding Chromedriver to PATH Variable
- Step 1: Press the Windows Key + Pause/Break to open System Properties
Method 2: Adding Chromedriver to PATH Variable (continued)
- Step 2: Click on "Advanced system settings"
Method 2: Adding Chromedriver to PATH Variable (continued)
- Step 3: Click on "Environment Variables"
Method 2: Adding Chromedriver to PATH Variable (continued)
- Step 4: Under "System Variables", scroll down and find the "Path" variable, then click "Edit"
Method 2: Adding Chromedriver to PATH Variable (continued)
- Step 5: Click "New", navigate to the location of the chromedriver executable, and enter its path in the "Value" field
Method 2: Adding Chromedriver to PATH Variable (continued)
- Step 6: Click "OK" on all windows
💡 Conclusion
By following these steps, you should be able to correctly set the PATH variable and resolve the "'chromedriver' executable needs to be available in the path" error message.
❓ Frequently Asked Questions
🛠️ Related Fixes
How to Fix: Pc crashes shortly after launching game (rainbow
Pc crashes shortly after launching game, possible cause: outdated grap
How to Fix: Installing an APK on a locked down phone
Installing an APK on a locked down phone: Try using a rooted device, e
How to Fix: FPS drops
FPS drops in games can be caused by high system resource usage, outdat