浏览器析构方法

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

View File

@ -38,9 +38,6 @@ class EdgeDriver(IDriver):
return _handle
return ""
def get_current_tab(self) -> str:
return self.browser.current_window_handle
def change_tab(self, tab_handler: str):
if tab_handler not in self.browser.window_handles:
return