C# .NET Selenium chromedriver.exe no disk in drive e: fix

If you get this alert message when debugging with the Selenium webdriver (v3.2) chromedriver (v2.27):

chromedriver.exe no disk
there is no disk in the drive. please insert a disk into drive e:

For me the problem was related to having an unmounted drive e: (open This PC window and check). If its not possible to unmount through windows right click menu, you can use this CMD: (run as administator):

mountvol e: /d

A simple bat file for this: (remember to run as Administrator):

@echo off
ECHO Must be runned as administrator to have access rights
mountvol e: /d
pause

 

8 thoughts on “C# .NET Selenium chromedriver.exe no disk in drive e: fix”

Leave a Reply

Your email address will not be published. Required fields are marked *