Schedule Python Selenium To Run Daily Using Batch .bat
I create a batch file to run Python Selenium, but the browser does not open, but with an error msg os.path.basename(self.path), self.start_error_message) selenium.common.except
Solution 1:
Is ChromeDriver in your PATH? I have had a similar error and was able to resolve it by adding that to my path as the error suggests.
If you don't want to add it to your PATH you should be able to just specify the exact executable location. This should work for you if you replace the path with the correct one.
webdriver.Chrome(executable_path=r'C:\folder\path\to\chromedriver.exe')
Post a Comment for "Schedule Python Selenium To Run Daily Using Batch .bat"