puppeteer/docs/api/puppeteer.commoneventemitter.once.md

483 B

sidebar_label
CommonEventEmitter.once

CommonEventEmitter.once() method

Signature:

interface CommonEventEmitter {once(event: EventType, handler: Handler): CommonEventEmitter;}

Parameters

Parameter Type Description
event EventType
handler Handler

Returns:

CommonEventEmitter