mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 13:45:36 +03:00
docs: fix typo bonding > bounding (#15442)
Co-authored-by: Max Schmitt <max@schmitt.mx>
This commit is contained in:
parent
342c971169
commit
7b881cf0fe
@ -117,7 +117,7 @@ await locator.ClickAsync();
|
||||
This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
|
||||
calculated relative to the main frame viewport - which is usually the same as the browser window.
|
||||
|
||||
Scrolling affects the returned bonding box, similarly to
|
||||
Scrolling affects the returned bounding box, similarly to
|
||||
[Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
|
||||
means `x` and/or `y` may be negative.
|
||||
|
||||
|
@ -29,7 +29,7 @@ Returns an array of `node.textContent` values for all matching nodes.
|
||||
This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
|
||||
calculated relative to the main frame viewport - which is usually the same as the browser window.
|
||||
|
||||
Scrolling affects the returned bonding box, similarly to
|
||||
Scrolling affects the returned bounding box, similarly to
|
||||
[Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
|
||||
means `x` and/or `y` may be negative.
|
||||
|
||||
|
4
packages/playwright-core/types/types.d.ts
vendored
4
packages/playwright-core/types/types.d.ts
vendored
@ -8023,7 +8023,7 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
|
||||
* This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
|
||||
* calculated relative to the main frame viewport - which is usually the same as the browser window.
|
||||
*
|
||||
* Scrolling affects the returned bonding box, similarly to
|
||||
* Scrolling affects the returned bounding box, similarly to
|
||||
* [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
|
||||
* means `x` and/or `y` may be negative.
|
||||
*
|
||||
@ -9115,7 +9115,7 @@ export interface Locator {
|
||||
* This method returns the bounding box of the element, or `null` if the element is not visible. The bounding box is
|
||||
* calculated relative to the main frame viewport - which is usually the same as the browser window.
|
||||
*
|
||||
* Scrolling affects the returned bonding box, similarly to
|
||||
* Scrolling affects the returned bounding box, similarly to
|
||||
* [Element.getBoundingClientRect](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect). That
|
||||
* means `x` and/or `y` may be negative.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user