Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface Protocol.Network.WebSocketCreatedEvent
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { WebSocketCreatedEvent } = Protocol.Network;

Fired upon WebSocket creation.

Properties

requestId: RequestId

Request identifier.

url: string

WebSocket request URL.

optional
initiator: Initiator

Request initiator.