AhsanRazi's picture
Create setup.py
6552629 verified
raw
history blame
228 Bytes
import asyncio
from playwright.async_api import async_playwright
async def install_browsers():
async with async_playwright() as p:
await p.install()
# Run the installer during setup
asyncio.run(install_browsers())