docs: selectors.md fix code parentheses misplaced (#12210)

This commit is contained in:
Rebely22 2022-02-18 17:33:24 +08:00 committed by GitHub
parent 15043801cb
commit 7696fec1fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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