puppeteer/docs/api/puppeteer.commoneventemitter.addlistener.md

504 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