Fixed close driver issue for Python 3.10+
This commit is contained in:
parent
cea80717c5
commit
dec09004c0
|
@ -795,7 +795,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
|
||||||
else:
|
else:
|
||||||
logger.debug("successfully removed %s" % self.user_data_dir)
|
logger.debug("successfully removed %s" % self.user_data_dir)
|
||||||
break
|
break
|
||||||
time.sleep(0.1)
|
# time.sleep(0.1)
|
||||||
|
|
||||||
# dereference patcher, so patcher can start cleaning up as well.
|
# dereference patcher, so patcher can start cleaning up as well.
|
||||||
# this must come last, otherwise it will throw 'in use' errors
|
# this must come last, otherwise it will throw 'in use' errors
|
||||||
|
|
Loading…
Reference in New Issue