Answer the question
In order to leave comments, you need to log in
How to fix selenium.common.exceptions.WebDriverException error?
Please tell me how to fix a regularly occurring error, initially the program works as it should, then it has time.sleep for a day and this error occurs when it is restarted. Only restarting the PC helps. I set a delay of 20 seconds and there was no error, the program was repeatedly executed without error.
Traceback (most recent call last):
File "C:\Users\Administrator\Desktop\Python\main_programm.py", line 15, in
football_parser_1_shag_sbor_url.main()
File "C:\Users\Administrator\Desktop\Python\parser_1. py", line 100, in main
driver = webdriver.Chrome(executable_path='C:\\Users\Administrator\Desktop\Python\chromedriver.exe')
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 81, in __init__
desired_capabilities=desired_capabilities)
File "C:\ Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 157, in __init__
self.start_session(capabilities, browser_profile)
File "C:\Users \Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 252, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "C :\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
self.error_handler.check_response(response)
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot create temp dir for user data dir
Answer the question
In order to leave comments, you need to log in
On stackoverflow they say (well, you saw) that most likely there is not enough free space.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question