mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
to_tab()中的小修改
This commit is contained in:
parent
6e6a3e3e0f
commit
84e42ee5bc
@ -247,7 +247,7 @@ class ChromiumPage(ChromiumBase):
|
||||
|
||||
self._driver.stop()
|
||||
self._init_page(tab_id)
|
||||
if read_doc:
|
||||
if read_doc and self.ready_state == 'complete':
|
||||
self._get_document()
|
||||
|
||||
def close_tabs(self, tab_ids: Union[str, List[str], Tuple[str]] = None, others: bool = False) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user