improve _driver cleanup

main
mmalter 2025-01-20 08:16:41 +01:00
parent 387ba38074
commit 69df93b81a
1 changed files with 1 additions and 0 deletions

View File

@ -26,6 +26,7 @@ class Grattoir(object):
self._driver = None
def __enter__(self):
self._driver = None
p_path = tor_profile()
profile = firefox.firefox_profile.FirefoxProfile(profile_directory=p_path)
b_path = tor_browser_binary_path()