mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-11 04:38:29 +03:00
selenium: quit and close
This commit is contained in:
@@ -210,6 +210,7 @@ class Config:
|
||||
|
||||
def destroy_webdriver(self):
|
||||
if self.webdriver is not None and type(self.webdriver) != str:
|
||||
self.webdriver.close()
|
||||
self.webdriver.quit()
|
||||
del self.webdriver
|
||||
|
||||
|
||||
Reference in New Issue
Block a user