浏览器析构方法

This commit is contained in:
2022-06-06 15:16:21 +08:00
parent 218082fed6
commit b0c1afb2fd
4 changed files with 13 additions and 10 deletions

@ -71,6 +71,9 @@ class BrowserManager():
if tab_info not in self._tabs:
self._tabs.append(tab_info)
def terminate(self):
del self._driver
class TabInfo(object):
TAB_TYPE_OTHER = "other"