Playwright Cdp
Createdlars-hagen
Automates browser interactions and enables Large Language Models (LLMs) to interact with web pages through Playwright and Chrome DevTools Protocol (CDP).
About
Playwright CDP empowers Large Language Models to interact with web environments by providing browser automation capabilities via Playwright and the Chrome DevTools Protocol. This tool allows for connecting to existing Chrome instances using CDP, capturing screenshots of entire pages or specific elements, executing JavaScript within the browser context, and monitoring console logs. It supports comprehensive web interactions such as navigation, clicking, and form filling, and offers HTTP API testing capabilities, making it a versatile solution for web-based tasks.
Key Features
- Connect to existing Chrome instances via CDP
- Capture screenshots of entire pages or specific elements
- Execute JavaScript in browser context
- Monitor console logs
- Supports HTTP API testing
Use Cases
- Automating web interactions for LLMs
- Testing web applications using HTTP APIs
- Capturing web page content for analysis