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