Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/microsoft/playwright-python
/ is_closed
Method
is_closed
playwright/_impl/_browser_context.py:570–571 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
568
self.emit(BrowserContext.Events.Close, self)
569
570
def
is_closed(self) -> bool:
571
return
self._closing_or_closed
572
573
async
def
close(self, reason: str = None) -> None:
574
if
self._closing_or_closed:
Callers
1
_on_page
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected