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

Function is_target_closed_error

playwright/_impl/_errors.py:22–23  ·  view source on GitHub ↗
(error: Exception)

Source from the content-addressed store, hash-verified

20
21
22def is_target_closed_error(error: Exception) -> bool:
23 return isinstance(error, TargetClosedError)
24
25
26class Error(Exception):

Callers 8

disposeMethod · 0.90
disposeMethod · 0.90
bodyMethod · 0.90
closeMethod · 0.90
dismissMethod · 0.90
handleMethod · 0.90
disposeMethod · 0.90
closeMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected