From 8438dd40fce6a5afce5652f906e7bc535b674042 Mon Sep 17 00:00:00 2001 From: Jack Franklin Date: Thu, 9 Jul 2020 14:51:17 +0100 Subject: [PATCH] generate docs --- new-docs/puppeteer.cdpsession.md | 2 +- new-docs/puppeteer.cdpsession.send.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/new-docs/puppeteer.cdpsession.md b/new-docs/puppeteer.cdpsession.md index 038b0bda54fd2..db75960e402b5 100644 --- a/new-docs/puppeteer.cdpsession.md +++ b/new-docs/puppeteer.cdpsession.md @@ -41,5 +41,5 @@ await client.send('Animation.setPlaybackRate', { | Method | Modifiers | Description | | --- | --- | --- | | [detach()](./puppeteer.cdpsession.detach.md) | | Detaches the cdpSession from the target. Once detached, the cdpSession object won't emit any events and can't be used to send messages. | -| [send(method, params)](./puppeteer.cdpsession.send.md) | | | +| [send(method, paramArgs)](./puppeteer.cdpsession.send.md) | | | diff --git a/new-docs/puppeteer.cdpsession.send.md b/new-docs/puppeteer.cdpsession.send.md index 7e5559b952336..dce83b4983081 100644 --- a/new-docs/puppeteer.cdpsession.send.md +++ b/new-docs/puppeteer.cdpsession.send.md @@ -7,7 +7,7 @@ Signature: ```typescript -send(method: T, params?: ProtocolMapping.Commands[T]['paramsType'][0]): Promise; +send(method: T, ...paramArgs: ProtocolMapping.Commands[T]['paramsType']): Promise; ``` ## Parameters @@ -15,7 +15,7 @@ send(method: T, params?: ProtocolMappi | Parameter | Type | Description | | --- | --- | --- | | method | T | | -| params | ProtocolMapping.Commands\[T\]\['paramsType'\]\[0\] | | +| paramArgs | ProtocolMapping.Commands\[T\]\['paramsType'\] | | Returns: