Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

Refine Playwright integration example documentation

Magnus Müller95ccbe51150c
diff --git a/examples/browser/playwright_integration.py b/examples/browser/playwright_integration.py
index d18bd3420..786be11af 100644
--- a/examples/browser/playwright_integration.py
+++ b/examples/browser/playwright_integration.py
@@ -1,14 +1,8 @@
"""
-Advanced example showing Playwright and Browser-Use working together with custom actions.
-
-This example demonstrates:
-1. Starting Chrome with CDP (Chrome DevTools Protocol) enabled
-2. Creating custom actions that use Playwright functions
-3. Using Browser-Use AI to orchestrate the overall workflow
-4. Both tools sharing the same browser session seamlessly
-
-Dependencies: playwright, aiohttp, browser-use
-Run: python examples/integrations/playwright_browser_use_shared_cdp.py
+Key features:
+1. Browser-Use and Playwright sharing the same Chrome instance via CDP
+2. Take actions with Playwright and continue with Browser-Use actions
+3. Let the agent call Playwright functions like screenshot or click on selectors
"""
import asyncio