docs: fix playwright.dev generation error (#5360)

This commit is contained in:
Yury Semikhatsky 2021-02-08 12:27:17 -08:00 committed by GitHub
parent 6d56a110ca
commit 4bfdaa384b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@ async def main():
asyncio.run(main())
```
```python async
```python sync
from playwright.sync_api import sync_playwright
with sync_playwright() as p: