MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / tab_new

Method tab_new

seleniumbase/undetected/cdp.py:86–93  ·  view source on GitHub ↗
(self, url)

Source from the content-addressed store, hash-verified

84 return [PageElement(o) for o in retval]
85
86 def tab_new(self, url):
87 with requests.Session() as session:
88 resp = session.post(
89 self.server_addr + self.endpoints["new"].format(url=url),
90 headers={"Connection": "close"},
91 timeout=2,
92 )
93 return resp.json()
94
95 def tab_close_last_opened(self):
96 sessions = self.tab_list()

Callers

nothing calls this directly

Calls 1

postMethod · 0.45

Tested by

no test coverage detected