Skip to content

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

docs(selectors.md and locators.md): Fixed typos and added missing words (#11088)

spaniardmaximusdbac5a529850
diff --git a/docs/src/locators.md b/docs/src/locators.md
index 585981d97b..f63754256a 100644
--- a/docs/src/locators.md
+++ b/docs/src/locators.md
@@ -70,8 +70,8 @@ await locator.ClickAsync();
## Strictness
Locators are strict. This means that all operations on locators that imply
-some target DOM element will throw if more than one element matches given
-selector.
+some target DOM element will throw an exception if more than one element matches
+given selector.
```js
// Throws if there are several buttons in DOM:
diff --git a/docs/src/selectors.md b/docs/src/selectors.md
index 04d53dfe44..d0bb131fa5 100644
--- a/docs/src/selectors.md
+++ b/docs/src/selectors.md
@@ -755,8 +755,8 @@ In react selectors, component names are transcribed with **CamelCase**.
Selector examples:
- match by **component**: `_react=BookItem`
-- match by component and **exact property value**, case-sensetive: `_react=BookItem[author = "Steven King"]`
-- match by property value only, **case-insensetive**: `_react=[author = "steven king" i]`
+- match by component and **exact property value**, case-sensitive: `_react=BookItem[author = "Steven King"]`
+- match by property value only, **case-insensitive**: `_react=[author = "steven king" i]`
- match by component and **truthy property value**: `_react=MyButton[enabled]`
- match by component and **boolean value**: `_react=MyButton[enabled = false]`
- match by property **value substring**: `_react=[author *= "King"]`
@@ -791,8 +791,8 @@ In vue selectors, component names are transcribed with **kebab-case**.
Selector examples:
- match by **component**: `_vue=book-item`
-- match by component and **exact property value**, case-sensetive: `_vue=book-item[author = "Steven King"]`
-- match by property value only, **case-insensetive**: `_vue=[author = "steven king" i]`
+- match by component and **exact property value**, case-sensitive: `_vue=book-item[author = "Steven King"]`
+- match by property value only, **case-insensitive**: `_vue=[author = "steven king" i]`
- match by component and **truthy property value**: `_vue=my-button[enabled]`
- match by component and **boolean value**: `_vue=my-button[enabled = false]`
- match by property **value substring**: `_vue=[author *= "King"]`