docs: fix frame locator docs for python sync (#11689)
This commit is contained in:
parent
135280de79
commit
5cbedf8823
|
|
@ -418,7 +418,7 @@ await locator.click()
|
||||||
```
|
```
|
||||||
|
|
||||||
```python sync
|
```python sync
|
||||||
locator = page.frame_locator("text=Submit").locator("text=Submit")
|
locator = page.frame_locator("iframe").locator("text=Submit")
|
||||||
locator.click()
|
locator.click()
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue