Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 719 Bytes

puppeteer.connection.send.md

File metadata and controls

23 lines (14 loc) · 719 Bytes

Home > puppeteer > Connection > send

Connection.send() method

Signature:

send<T extends keyof ProtocolMapping.Commands>(method: T, params?: ProtocolMapping.Commands[T]['paramsType'][0]): Promise<ProtocolMapping.Commands[T]['returnType']>;

Parameters

Parameter Type Description
method T
params ProtocolMapping.Commands[T]['paramsType'][0]

Returns:

Promise<ProtocolMapping.Commands[T]['returnType']>