langchain_community.tools.playwright.utils
.create_async_playwright_browser¶
- langchain_community.tools.playwright.utils.create_async_playwright_browser(headless: bool = True, args: Optional[List[str]] = None) AsyncBrowser [source]¶
Create an async 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
AsyncBrowser