MCPcopy Index your code
hub / github.com/microsoft/playwright-python / TargetClosedError

Class TargetClosedError

playwright/_impl/_errors.py:52–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50
51
52class TargetClosedError(Error):
53 def __init__(self, message: str = None) -> None:
54 super().__init__(message or "Target page, context or browser has been closed")
55
56
57def rewrite_error(error: Exception, message: str) -> Exception:

Callers 7

handle_closedMethod · 0.90
expect_eventMethod · 0.90
__init__Method · 0.90
expect_eventMethod · 0.90
cleanupMethod · 0.90
_inner_fetchMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected