langchain.tools.playwright.utils.create_sync_playwright_browser

langchain.tools.playwright.utils.create_sync_playwright_browser(headless: bool = True) SyncBrowser[source]

Create a playwright browser.

Parameters

headless – Whether to run the browser in headless mode. Defaults to True.

Returns

The playwright browser.

Return type

SyncBrowser

Examples using create_sync_playwright_browser