From 12260b19afac8437fe82a62d7893d52aa450ce99 Mon Sep 17 00:00:00 2001 From: Cody Eakins Date: Wed, 6 Apr 2022 03:32:31 -0500 Subject: [PATCH] docs: fix small typo (#8195) This commit fixes a single typo. - functon -> function --- src/common/FrameManager.ts | 4 ++-- .../versioned_docs/version-10.0.0/puppeteer.frame.__eval.md | 2 +- .../versioned_docs/version-10.0.0/puppeteer.frame._eval.md | 2 +- .../versioned_docs/version-10.1.0/puppeteer.frame.__eval.md | 2 +- .../versioned_docs/version-10.1.0/puppeteer.frame._eval.md | 2 +- .../versioned_docs/version-9.1.1/puppeteer.frame.__eval.md | 2 +- website/versioned_docs/version-9.1.1/puppeteer.frame._eval.md | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/common/FrameManager.ts b/src/common/FrameManager.ts index 115c241b385..163c92d1487 100644 --- a/src/common/FrameManager.ts +++ b/src/common/FrameManager.ts @@ -884,7 +884,7 @@ export class Frame { * * @param selector - the selector to query for * @param pageFunction - the function to be evaluated in the frame's context - * @param args - additional arguments to pass to `pageFuncton` + * @param args - additional arguments to pass to `pageFunction` */ async $eval( selector: string, @@ -914,7 +914,7 @@ export class Frame { * * @param selector - the selector to query for * @param pageFunction - the function to be evaluated in the frame's context - * @param args - additional arguments to pass to `pageFuncton` + * @param args - additional arguments to pass to `pageFunction` */ async $$eval( selector: string, diff --git a/website/versioned_docs/version-10.0.0/puppeteer.frame.__eval.md b/website/versioned_docs/version-10.0.0/puppeteer.frame.__eval.md index bf26a652f24..909b8510c2e 100644 --- a/website/versioned_docs/version-10.0.0/puppeteer.frame.__eval.md +++ b/website/versioned_docs/version-10.0.0/puppeteer.frame.__eval.md @@ -16,7 +16,7 @@ $$eval(selector: string, pageFunction: (elements: Element[], ...args | --- | --- | --- | | selector | string | the selector to query for | | pageFunction | (elements: Element\[\], ...args: unknown\[\]) => ReturnType \| Promise<ReturnType> | the function to be evaluated in the frame's context | -| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFuncton | +| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFunction | Returns: diff --git a/website/versioned_docs/version-10.0.0/puppeteer.frame._eval.md b/website/versioned_docs/version-10.0.0/puppeteer.frame._eval.md index 32c7f440637..32da2b07eed 100644 --- a/website/versioned_docs/version-10.0.0/puppeteer.frame._eval.md +++ b/website/versioned_docs/version-10.0.0/puppeteer.frame._eval.md @@ -16,7 +16,7 @@ $eval(selector: string, pageFunction: (element: Element, ...args: un | --- | --- | --- | | selector | string | the selector to query for | | pageFunction | (element: Element, ...args: unknown\[\]) => ReturnType \| Promise<ReturnType> | the function to be evaluated in the frame's context | -| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFuncton | +| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFunction | Returns: diff --git a/website/versioned_docs/version-10.1.0/puppeteer.frame.__eval.md b/website/versioned_docs/version-10.1.0/puppeteer.frame.__eval.md index bf26a652f24..909b8510c2e 100644 --- a/website/versioned_docs/version-10.1.0/puppeteer.frame.__eval.md +++ b/website/versioned_docs/version-10.1.0/puppeteer.frame.__eval.md @@ -16,7 +16,7 @@ $$eval(selector: string, pageFunction: (elements: Element[], ...args | --- | --- | --- | | selector | string | the selector to query for | | pageFunction | (elements: Element\[\], ...args: unknown\[\]) => ReturnType \| Promise<ReturnType> | the function to be evaluated in the frame's context | -| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFuncton | +| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFunction | Returns: diff --git a/website/versioned_docs/version-10.1.0/puppeteer.frame._eval.md b/website/versioned_docs/version-10.1.0/puppeteer.frame._eval.md index 32c7f440637..32da2b07eed 100644 --- a/website/versioned_docs/version-10.1.0/puppeteer.frame._eval.md +++ b/website/versioned_docs/version-10.1.0/puppeteer.frame._eval.md @@ -16,7 +16,7 @@ $eval(selector: string, pageFunction: (element: Element, ...args: un | --- | --- | --- | | selector | string | the selector to query for | | pageFunction | (element: Element, ...args: unknown\[\]) => ReturnType \| Promise<ReturnType> | the function to be evaluated in the frame's context | -| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFuncton | +| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFunction | Returns: diff --git a/website/versioned_docs/version-9.1.1/puppeteer.frame.__eval.md b/website/versioned_docs/version-9.1.1/puppeteer.frame.__eval.md index bf26a652f24..909b8510c2e 100644 --- a/website/versioned_docs/version-9.1.1/puppeteer.frame.__eval.md +++ b/website/versioned_docs/version-9.1.1/puppeteer.frame.__eval.md @@ -16,7 +16,7 @@ $$eval(selector: string, pageFunction: (elements: Element[], ...args | --- | --- | --- | | selector | string | the selector to query for | | pageFunction | (elements: Element\[\], ...args: unknown\[\]) => ReturnType \| Promise<ReturnType> | the function to be evaluated in the frame's context | -| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFuncton | +| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFunction | Returns: diff --git a/website/versioned_docs/version-9.1.1/puppeteer.frame._eval.md b/website/versioned_docs/version-9.1.1/puppeteer.frame._eval.md index 32c7f440637..32da2b07eed 100644 --- a/website/versioned_docs/version-9.1.1/puppeteer.frame._eval.md +++ b/website/versioned_docs/version-9.1.1/puppeteer.frame._eval.md @@ -16,7 +16,7 @@ $eval(selector: string, pageFunction: (element: Element, ...args: un | --- | --- | --- | | selector | string | the selector to query for | | pageFunction | (element: Element, ...args: unknown\[\]) => ReturnType \| Promise<ReturnType> | the function to be evaluated in the frame's context | -| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFuncton | +| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to pageFunction | Returns: