浏览器析构时,推出浏览器

This commit is contained in:
Jerry Yan 2022-06-06 16:55:02 +08:00
parent d0d1429118
commit 7135e10527

View File

@ -9,7 +9,7 @@ class IDriver():
browser: "WebDriver"
def __del__(self):
self.browser.stop_client()
self.browser.quit()
def new_tab(self) -> str:
...