mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: fix playwright.dev generation error (#5360)
This commit is contained in:
parent
6d56a110ca
commit
4bfdaa384b
@ -111,7 +111,7 @@ async def main():
|
|||||||
asyncio.run(main())
|
asyncio.run(main())
|
||||||
```
|
```
|
||||||
|
|
||||||
```python async
|
```python sync
|
||||||
from playwright.sync_api import sync_playwright
|
from playwright.sync_api import sync_playwright
|
||||||
|
|
||||||
with sync_playwright() as p:
|
with sync_playwright() as p:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user