Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

docs: fix typo bonding > bounding (#15442)

jfp19927b881cf0fee7
diff --git a/docs/src/api/class-elementhandle.md b/docs/src/api/class-elementhandle.md
index 75dde84924..21683c3d30 100644
--- a/docs/src/api/class-elementhandle.md
+++ b/docs/src/api/class-elementhandle.md
@@ -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.
diff --git a/docs/src/api/class-locator.md b/docs/src/api/class-locator.md
index 04447bbfe2..896a05f1f7 100644
--- a/docs/src/api/class-locator.md
+++ b/docs/src/api/class-locator.md
@@ -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.
diff --git a/packages/playwright-core/types/types.d.ts b/packages/playwright-core/types/types.d.ts
index 2ce572bc7e..aa268130e8 100644
--- a/packages/playwright-core/types/types.d.ts
+++ b/packages/playwright-core/types/types.d.ts
@@ -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.
*