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
|
```python async
|
||||||
# Click the third "Buy" button
|
# 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
|
```python sync
|
||||||
# Click the third "Buy" button
|
# Click the third "Buy" button
|
||||||
page.locator(":nth-match(:text('Buy'), 3).click()"
|
page.locator(":nth-match(:text('Buy'), 3)").click()
|
||||||
```
|
```
|
||||||
|
|
||||||
```csharp
|
```csharp
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue