create_sync_playwright_browser#
- langchain_community.tools.playwright.utils.create_sync_playwright_browser(headless: bool = True, args: List[str] | None = None) SyncBrowser [source]#
Create a playwright browser.
- Parameters:
headless (bool) – Whether to run the browser in headless mode. Defaults to True.
args (Optional[List[str]]) – arguments to pass to browser.chromium.launch
- Returns:
The playwright browser.
- Return type:
SyncBrowser