Fixed close driver issue for Python 3.10+

This commit is contained in:
raguggg 2023-09-01 09:05:39 +05:30
parent cea80717c5
commit dec09004c0
1 changed files with 1 additions and 1 deletions

View File

@ -795,7 +795,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
else:
logger.debug("successfully removed %s" % self.user_data_dir)
break
time.sleep(0.1)
# time.sleep(0.1)
# dereference patcher, so patcher can start cleaning up as well.
# this must come last, otherwise it will throw 'in use' errors