langchain/tools/playwright/utils.py/create_async_playwright_browser
def create_async_playwright_browser(headless: bool = True) -> AsyncBrowser:
    from playwright.async_api import async_playwright

    browser = run_async(async_playwright().start())
    return run_async(browser.chromium.launch(headless=headless))