Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsDocument loadersDocument transformersText embedding modelsVector storesRetrieversToolsAgents and toolkitsAINetworkAirbyte Question AnsweringAmadeusAzure Cognitive ServicesClickUp Langchain ToolkitCSVDocument ComparisonGithubGitlabGmailGoogle Drive toolJiraJSONMultiOnOffice365OpenAPINatural Language APIsPandas DataframePlayWright BrowserPowerBI DatasetPythonSpark DataframeSpark SQLSQL DatabaseVectorstoreXorbitsMemoryCallbacksChat loadersComponentsAgents and toolkitsPlayWright BrowserOn this pagePlayWright BrowserThis toolkit is used to interact with the browser. While other tools (like the Requests tools) are fine for static sites, PlayWright Browser toolkits let your agent navigate the web and interact with dynamically rendered sites. Some tools bundled within the PlayWright Browser toolkit include:NavigateTool (navigate_browser) - navigate to a URLNavigateBackTool (previous_page) - wait for an element to appearClickTool (click_element) - click on an element (specified by selector)ExtractTextTool (extract_text) - use beautiful soup to extract text from the current web pageExtractHyperlinksTool (extract_hyperlinks) - use beautiful soup to extract hyperlinks from the current web pageGetElementsTool (get_elements) - select elements by CSS selectorCurrentPageTool (current_page) - get the current page URL# !pip install playwright > /dev/null# !pip install  lxml# If this is your first time using playwright, you'll have to install a browser executable.# Running `playwright install` by default installs a chromium browser executable.# playwright installfrom langchain.agents.agent_toolkits import PlayWrightBrowserToolkitfrom langchain.tools.playwright.utils import (    create_async_playwright_browser,    create_sync_playwright_browser,  # A synchronous browser is available, though it
This toolkit is used to interact with the browser. While other tools (like the Requests tools) are fine for static sites, PlayWright Browser toolkits let your agent navigate the web and interact with dynamically rendered sites.
This toolkit is used to interact with the browser. While other tools (like the Requests tools) are fine for static sites, PlayWright Browser toolkits let your agent navigate the web and interact with dynamically rendered sites. ->: Skip to main contentü¶úÔ∏èüîó LangChainDocsUse casesIntegrationsAPICommunityChat our docsLangSmithJS/TS DocsSearchCTRLKProvidersAnthropicAWSGoogleMicrosoftOpenAIMoreComponentsLLMsChat modelsDocument loadersDocument transformersText embedding modelsVector storesRetrieversToolsAgents and toolkitsAINetworkAirbyte Question AnsweringAmadeusAzure Cognitive ServicesClickUp Langchain ToolkitCSVDocument ComparisonGithubGitlabGmailGoogle Drive toolJiraJSONMultiOnOffice365OpenAPINatural Language APIsPandas DataframePlayWright BrowserPowerBI DatasetPythonSpark DataframeSpark SQLSQL DatabaseVectorstoreXorbitsMemoryCallbacksChat loadersComponentsAgents and toolkitsPlayWright BrowserOn this pagePlayWright BrowserThis toolkit is used to interact with the browser. While other tools (like the Requests tools) are fine for static sites, PlayWright Browser toolkits let your agent navigate the web and interact with dynamically rendered sites. Some tools bundled within the PlayWright Browser toolkit include:NavigateTool (navigate_browser) - navigate to a URLNavigateBackTool (previous_page) - wait for an element to appearClickTool (click_element) - click on an element (specified by selector)ExtractTextTool (extract_text) - use beautiful soup to extract text from the current web pageExtractHyperlinksTool (extract_hyperlinks) - use beautiful soup to extract hyperlinks from the current web pageGetElementsTool (get_elements) - select elements by CSS selectorCurrentPageTool (current_page) - get the current page URL# !pip install playwright > /dev/null# !pip install  lxml# If this is your first time using playwright, you'll have to install a browser executable.# Running `playwright install` by default installs a chromium browser executable.# playwright installfrom langchain.agents.agent_toolkits import PlayWrightBrowserToolkitfrom langchain.tools.playwright.utils import (    create_async_playwright_browser,    create_sync_playwright_browser,  # A synchronous browser is available, though it