docs: selectors.md fix code parentheses misplaced (#12210)
This commit is contained in:
parent
15043801cb
commit
7696fec1fa
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue