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 fix code parentheses misplaced (#12210)

Rebely227696fec1fa79
diff --git a/docs/src/selectors.md b/docs/src/selectors.md
index bcbfa49be2..e7f3f99e57 100644
--- a/docs/src/selectors.md
+++ b/docs/src/selectors.md
@@ -896,12 +896,12 @@ page.locator(":nth-match(:text('Buy'), 3)").click();
```python async
# Click the third "Buy" button
-await page.locator(":nth-match(:text('Buy'), 3).click()"
+await page.locator(":nth-match(:text('Buy'), 3)").click()
```
```python sync
# Click the third "Buy" button
-page.locator(":nth-match(:text('Buy'), 3).click()"
+page.locator(":nth-match(:text('Buy'), 3)").click()
```
```csharp