puppeteer/docs/api/puppeteer.commoneventemitter.addlistener.md
2022-07-01 13:34:41 +02:00

595 B

sidebar_label
CommonEventEmitter.addListener

CommonEventEmitter.addListener() method

Signature:

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

Parameters

Parameter Type Description
event EventType
handler Handler

Returns:

CommonEventEmitter