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

Method tab_list

seleniumbase/undetected/cdp.py:76–84  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

74 return resp.json()
75
76 def tab_list(self):
77 with requests.Session() as session:
78 resp = session.get(
79 self.server_addr + self.endpoints["list"],
80 headers={"Connection": "close"},
81 timeout=2,
82 )
83 retval = resp.json()
84 return [PageElement(o) for o in retval]
85
86 def tab_new(self, url):
87 with requests.Session() as session:

Callers 2

tab_activateMethod · 0.95
tab_close_last_openedMethod · 0.95

Calls 2

PageElementClass · 0.85
getMethod · 0.45

Tested by

no test coverage detected