docs: remove double the (#12087)

This commit is contained in:
Nikolay Vitkov 2024-03-13 16:04:48 +01:00 committed by GitHub
parent d8972505d7
commit e867dd435f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 4 deletions

View File

@ -4,7 +4,7 @@ sidebar_label: Frame.evaluate
# Frame.evaluate() method # Frame.evaluate() method
Behaves identically to [Page.evaluate()](./puppeteer.page.evaluate.md) except it's run within the the context of this frame. Behaves identically to [Page.evaluate()](./puppeteer.page.evaluate.md) except it's run within the context of this frame.
#### Signature: #### Signature:

View File

@ -81,7 +81,7 @@ console.log(text);
| [childFrames()](./puppeteer.frame.childframes.md) | | An array of child frames. | | [childFrames()](./puppeteer.frame.childframes.md) | | An array of child frames. |
| [click(selector, options)](./puppeteer.frame.click.md) | | Clicks the first element found that matches <code>selector</code>. | | [click(selector, options)](./puppeteer.frame.click.md) | | Clicks the first element found that matches <code>selector</code>. |
| [content()](./puppeteer.frame.content.md) | | The full HTML contents of the frame, including the DOCTYPE. | | [content()](./puppeteer.frame.content.md) | | The full HTML contents of the frame, including the DOCTYPE. |
| [evaluate(pageFunction, args)](./puppeteer.frame.evaluate.md) | | Behaves identically to [Page.evaluate()](./puppeteer.page.evaluate.md) except it's run within the the context of this frame. | | [evaluate(pageFunction, args)](./puppeteer.frame.evaluate.md) | | Behaves identically to [Page.evaluate()](./puppeteer.page.evaluate.md) except it's run within the context of this frame. |
| [evaluateHandle(pageFunction, args)](./puppeteer.frame.evaluatehandle.md) | | Behaves identically to [Page.evaluateHandle()](./puppeteer.page.evaluatehandle.md) except it's run within the context of this frame. | | [evaluateHandle(pageFunction, args)](./puppeteer.frame.evaluatehandle.md) | | Behaves identically to [Page.evaluateHandle()](./puppeteer.page.evaluatehandle.md) except it's run within the context of this frame. |
| [focus(selector)](./puppeteer.frame.focus.md) | | Focuses the first element that matches the <code>selector</code>. | | [focus(selector)](./puppeteer.frame.focus.md) | | Focuses the first element that matches the <code>selector</code>. |
| [frameElement()](./puppeteer.frame.frameelement.md) | | | | [frameElement()](./puppeteer.frame.frameelement.md) | | |

View File

@ -289,7 +289,7 @@ The following steps are manual version of the script above.
2. Update `packages/puppeteer-core/src/revisions.ts` with the found `version` 2. Update `packages/puppeteer-core/src/revisions.ts` with the found `version`
number. number.
3. Update `versions.js` with the new Chrome-to-Puppeteer `version` mapping and 3. Update `versions.js` with the new Chrome-to-Puppeteer `version` mapping and
update `lastMaintainedChromeVersion` with the the next one in from the list. update `lastMaintainedChromeVersion` with the next one in from the list.
4. Run `npm run check`. If it fails, update 4. Run `npm run check`. If it fails, update
`packages/puppeteer-core/package.json` `packages/puppeteer-core/package.json`
with the expected `devtools-protocol` version and run `npm install` to generate an updated `package-lock.json`. with the expected `devtools-protocol` version and run `npm install` to generate an updated `package-lock.json`.

View File

@ -447,7 +447,7 @@ export abstract class Frame extends EventEmitter<FrameEvents> {
} }
/** /**
* Behaves identically to {@link Page.evaluate} except it's run within the * Behaves identically to {@link Page.evaluate} except it's run within
* the context of this frame. * the context of this frame.
* *
* @see {@link Page.evaluate} for details. * @see {@link Page.evaluate} for details.