MCPcopy Create free account
hub / github.com/microsoft/playwright-python / _on_close

Method _on_close

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

Source from the content-addressed store, hash-verified

1524 return f"<Worker url={self.url!r}>"
1525
1526 def _on_close(self) -> None:
1527 if self._page:
1528 self._page._workers.remove(self)
1529 if self._context:
1530 self._context._service_workers.remove(self)
1531 self.emit(Worker.Events.Close, self)
1532
1533 @property
1534 def url(self) -> str:

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected