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

Method _on_frame_sent

playwright/_impl/_network.py:1008–1012  ·  view source on GitHub ↗
(self, opcode: int, data: str)

Source from the content-addressed store, hash-verified

1006 return await event_info
1007
1008 def _on_frame_sent(self, opcode: int, data: str) -> None:
1009 if opcode == 2:
1010 self.emit(WebSocket.Events.FrameSent, base64.b64decode(data))
1011 elif opcode == 1:
1012 self.emit(WebSocket.Events.FrameSent, data)
1013
1014 def _on_frame_received(self, opcode: int, data: str) -> None:
1015 if opcode == 2:

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected