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

Method _on_frame_attached

playwright/_impl/_page.py:282–286  ·  view source on GitHub ↗
(self, frame: Frame)

Source from the content-addressed store, hash-verified

280 return f"<Page url={self.url!r}>"
281
282 def _on_frame_attached(self, frame: Frame) -> None:
283 frame._page = self
284 self._frames.append(frame)
285 self.emit(Page.Events.FrameAttached, frame)
286 self._browser_context.emit("frameattached", frame)
287
288 def _on_frame_detached(self, frame: Frame) -> None:
289 self._frames.remove(frame)

Callers 1

__init__Method · 0.95

Calls 1

appendMethod · 0.80

Tested by

no test coverage detected