mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
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
|
||||
locator = page.frame_locator("text=Submit").locator("text=Submit")
|
||||
locator = page.frame_locator("iframe").locator("text=Submit")
|
||||
locator.click()
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user