remove newtab, add terminal QR, refine task_planning sop

This commit is contained in:
Liang Jiaqing committed 2026-05-04 12:39:41 +08:00
1 parent 1bf2a530b9
commit 892319b355
3 files changed
+8 -9

No files matched your search

-3
View File
@@ -279,9 +279,6 @@ class TMWebDriver:
return self.default_session_id
def jump(self, url, timeout=10): self.execute_js(f"window.location.href='{url}'", timeout=timeout)
def newtab(self, url=None):
if url is None: url = "http://www.baidu.com/robots.txt"
return self.execute_js(f'GM_openInTab("{url}");')
if __name__ == "__main__":
driver = TMWebDriver(host='127.0.0.1', port=18765)