Skip to content

Commit

Permalink
docs: fix some broken links (#12660)
Browse files Browse the repository at this point in the history
  • Loading branch information
OrKoN committed Jun 25, 2024
1 parent 866f720 commit 5d762be
Show file tree
Hide file tree
Showing 35 changed files with 73 additions and 74 deletions.
2 changes: 1 addition & 1 deletion docs/api/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ The Mouse class operates in main-frame CSS pixels relative to the top-left corne

**Remarks:**

Every `page` object has its own Mouse, accessible with \[`page.mouse`\](\#pagemouse).
Every `page` object has its own Mouse, accessible with [Page.mouse](./puppeteer.page.md#mouse).

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Mouse` class.

Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.elementhandle._.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
</tbody></table>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.elementhandle.__.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
<tr><td>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.elementhandle.__eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
<tr><td>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.elementhandle._eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
<tr><td>
Expand Down
8 changes: 4 additions & 4 deletions docs/api/puppeteer.elementhandle.ishidden.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ sidebar_label: ElementHandle.isHidden

# ElementHandle.isHidden() method

An element is considered to be hidden if one of the following is true:
An element is considered to be hidden if at least one of the following is true:

- the element has no \[computed styles\](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).
- the element has no [computed styles](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).

- the element has an empty \[bounding client rect\](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).
- the element has an empty [bounding client rect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).

- the element's \[`visibility`\](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is `hidden` or `collapse`.
- the element's [visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is `hidden` or `collapse`.

#### Signature:

Expand Down
6 changes: 3 additions & 3 deletions docs/api/puppeteer.elementhandle.isvisible.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ sidebar_label: ElementHandle.isVisible

An element is considered to be visible if all of the following is true:

- the element has \[computed styles\](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).
- the element has [computed styles](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).

- the element has a non-empty \[bounding client rect\](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).
- the element has a non-empty [bounding client rect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).

- the element's \[`visibility`\](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is not `hidden` or `collapse`.
- the element's [visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is not `hidden` or `collapse`.

#### Signature:

Expand Down
14 changes: 7 additions & 7 deletions docs/api/puppeteer.elementhandle.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,13 +350,13 @@ This method scrolls element into view if needed, and then uses [Page.mouse](./pu
</td><td>
An element is considered to be hidden if one of the following is true:
An element is considered to be hidden if at least one of the following is true:
- the element has no \[computed styles\](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).
- the element has no [computed styles](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).
- the element has an empty \[bounding client rect\](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).
- the element has an empty [bounding client rect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).
- the element's \[`visibility`\](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is `hidden` or `collapse`.
- the element's [visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is `hidden` or `collapse`.
</td></tr>
<tr><td>
Expand All @@ -380,11 +380,11 @@ Resolves to true if the element is visible in the current viewport. If an elemen
An element is considered to be visible if all of the following is true:
- the element has \[computed styles\](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).
- the element has [computed styles](https://developer.mozilla.org/en-US/docs/Web/API/Window/getComputedStyle).
- the element has a non-empty \[bounding client rect\](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).
- the element has a non-empty [bounding client rect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect).
- the element's \[`visibility`\](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is not `hidden` or `collapse`.
- the element's [visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/visibility) is not `hidden` or `collapse`.
</td></tr>
<tr><td>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.frame._.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
</tbody></table>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.frame.__.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
<tr><td>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.frame.__eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
<tr><td>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.frame._eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
<tr><td>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.frame.locator.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Selector

</td><td>

[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify a selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).
[selector](https://pptr.dev/guides/page-interactions#selectors) to query page for. [CSS selectors](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Selectors) can be passed as-is and a [Puppeteer-specific selector syntax](https://pptr.dev/guides/page-interactions#non-css-selectors) allows quering by [text](https://pptr.dev/guides/page-interactions#text-selectors--p-text), [a11y role and name](https://pptr.dev/guides/page-interactions#aria-selectors--p-aria), and [xpath](https://pptr.dev/guides/page-interactions#xpath-selectors--p-xpath) and [combining these queries across shadow roots](https://pptr.dev/guides/page-interactions#querying-elements-in-shadow-dom). Alternatively, you can specify the selector type using a [prefix](https://pptr.dev/guides/page-interactions#prefixed-selector-syntax).

</td></tr>
</tbody></table>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/puppeteer.mouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export declare abstract class Mouse

## Remarks

Every `page` object has its own Mouse, accessible with \[`page.mouse`\](\#pagemouse).
Every `page` object has its own Mouse, accessible with [Page.mouse](./puppeteer.page.md#mouse).

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `Mouse` class.

Expand Down
Loading

0 comments on commit 5d762be

Please sign in to comment.