docs: fix playwright.dev generation error (#5360)
This commit is contained in:
Родитель
6d56a110ca
Коммит
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:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче