Skip to content

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

docs(python): add missing closing parenthesis (#7089)

Lisad7c0ddaeb0ad
diff --git a/docs/src/selectors.md b/docs/src/selectors.md
index bfa8f6cc5b..a5da2f721b 100644
--- a/docs/src/selectors.md
+++ b/docs/src/selectors.md
@@ -153,10 +153,10 @@ methods accept [`param: selector`] as their first argument.
page.click(":nth-match(:text('Buy'), 3)");
```
```python async
- await page.click(":nth-match(:text('Buy'), 3)"
+ await page.click(":nth-match(:text('Buy'), 3)")
```
```python sync
- page.click(":nth-match(:text('Buy'), 3)"
+ page.click(":nth-match(:text('Buy'), 3)")
```
```csharp
await page.ClickAsync(":nth-match(:text('Buy'), 3)");