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): React selector nit (#12010)

Ross Wollman00e8a6440d61
diff --git a/docs/src/selectors.md b/docs/src/selectors.md
index 13b434825f..bcbfa49be2 100644
--- a/docs/src/selectors.md
+++ b/docs/src/selectors.md
@@ -755,7 +755,6 @@ In react selectors, component names are transcribed with **CamelCase**.
Selector examples:
- match by **component**: `_react=BookItem`
-- match by component and **key**: `_react=BookItem[key = '2']`
- 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]`
@@ -765,6 +764,7 @@ Selector examples:
- match by **nested** property value: `_react=[some.nested.value = 12]`
- match by component and property value **prefix**: `_react=BookItem[author ^= "Steven"]`
- match by component and property value **suffix**: `_react=BookItem[author $= "Steven"]`
+- match by component and **key**: `_react=BookItem[key = '2']`