INNER CODE UNIT · Python
dispose_self
feder-cr/invisible_playwright · src/invisible_playwright/_juggler/server.py:152
def dispose_self(self, params: Dict) -> Any:
self.dispose()
return None
# ── handles ─────────────────────────────────────────────────────────────────
#: What `_retry` prints when an action on a handle times out. The loop takes a
#: selector for its message and never queries it once an element is given, so
#: this is a label rather than a lookup - and `None not actionable in 30s` is
#: what the alternative reads like.
_HANDLE = "<element handle>"
class ElementHandleDispatcher(Dispatcher):
TYPE = "ElementHandle"
METHODS = {
"dispose": "op_dispose",
"boundingBox": "op_bounding_box",