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

Method dispose

playwright/_impl/_js_handle.py:113–121  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

111 return None
112
113 async def dispose(self) -> None:
114 try:
115 await self._channel.send(
116 "dispose",
117 None,
118 )
119 except Exception as e:
120 if not is_target_closed_error(e):
121 raise e
122
123 async def json_value(self) -> Any:
124 return parse_result(

Callers

nothing calls this directly

Calls 2

is_target_closed_errorFunction · 0.90
sendMethod · 0.45

Tested by

no test coverage detected