mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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…
x
Reference in New Issue
Block a user