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

Method _close_error_with_reason

playwright/_impl/_page.py:1225–1228  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1223 return self._session_storage
1224
1225 def _close_error_with_reason(self) -> TargetClosedError:
1226 return TargetClosedError(
1227 self._close_reason or self._browser_context._effective_close_reason()
1228 )
1229
1230 def expect_event(
1231 self,

Callers 4

__init__Method · 0.95
_expect_eventMethod · 0.95
expect_eventMethod · 0.80

Calls 2

TargetClosedErrorClass · 0.90

Tested by

no test coverage detected