[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Network](./puppeteer.protocol.network.md) > [WebSocketFrame](./puppeteer.protocol.network.websocketframe.md) ## Protocol.Network.WebSocketFrame interface WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests. Signature: ```typescript export interface WebSocketFrame ``` ## Properties | Property | Type | Description | | --- | --- | --- | | [mask](./puppeteer.protocol.network.websocketframe.mask.md) | boolean | WebSocket message mask. | | [opcode](./puppeteer.protocol.network.websocketframe.opcode.md) | number | WebSocket message opcode. | | [payloadData](./puppeteer.protocol.network.websocketframe.payloaddata.md) | string | WebSocket message payload data. If the opcode is 1, this is a text message and payloadData is a UTF-8 string. If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data. |