mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix small typo (#8195)
This commit fixes a single typo. - functon -> function
This commit is contained in:
parent
9ac7318506
commit
12260b19af
@ -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<ReturnType>(
|
||||
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<ReturnType>(
|
||||
selector: string,
|
||||
|
@ -16,7 +16,7 @@ $$eval<ReturnType>(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 <code>pageFuncton</code> |
|
||||
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
@ -16,7 +16,7 @@ $eval<ReturnType>(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 <code>pageFuncton</code> |
|
||||
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
@ -16,7 +16,7 @@ $$eval<ReturnType>(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 <code>pageFuncton</code> |
|
||||
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
@ -16,7 +16,7 @@ $eval<ReturnType>(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 <code>pageFuncton</code> |
|
||||
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
@ -16,7 +16,7 @@ $$eval<ReturnType>(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 <code>pageFuncton</code> |
|
||||
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
@ -16,7 +16,7 @@ $eval<ReturnType>(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 <code>pageFuncton</code> |
|
||||
| args | [SerializableOrJSHandle](./puppeteer.serializableorjshandle.md)\[\] | additional arguments to pass to <code>pageFunction</code> |
|
||||
|
||||
<b>Returns:</b>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user