My script was working fine but suddenly got the chrome driver error. it seems like some file is locked but I couldn't able to find out.
This is the error message that I'm getting:
d = webdriver.Chrome(r'C:\Users\Rahul\Downloads\chromedriver_win32\chromedriver.exe')
[0306/064432.916:ERROR:process_singleton_win.cc(420)] Lock file can not be created! Error code: 5
[0306/064432.916:ERROR:chrome_browser_main.cc(1424)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.
Any help would be much appreciated.