Update v2.py

This commit is contained in:
Leon 2021-01-17 06:31:22 +01:00 committed by GitHub
parent e6d3299cbf
commit 4fa212f0c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ class Chrome(selenium.webdriver.chrome.webdriver.WebDriver):
is not already reported.
"""
try:
self.close()
threading.Timer(factor or self.factor, self.close).start()
self.get(url)
finally: