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

Method get_title

seleniumbase/undetected/cdp_driver/tab.py:1626–1631  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1624 return ({"height": e_height, "width": e_width, "x": x, "y": y})
1625
1626 async def get_title(self):
1627 try:
1628 return await self.evaluate("document.title")
1629 except (Exception, TypeError):
1630 await self.sleep(0.068)
1631 return await self.evaluate("document.title")
1632
1633 async def get_current_url(self):
1634 return await self.evaluate("window.location.href")

Callers

nothing calls this directly

Calls 2

evaluateMethod · 0.95
sleepMethod · 0.45

Tested by

no test coverage detected