{"repo":"kernel/cu-playwright-ts","free":true,"listed":false,"github":"https://github.com/kernel/cu-playwright-ts","clone":"git clone https://github.com/kernel/cu-playwright-ts.git","description":"Maps Claude Computer Use to Playwright","language":"TypeScript","stars":12,"topics":["agentic-ai","llm","playwright"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"Computer Use Playwright SDK A TypeScript SDK that combines Anthropic's Computer Use capabilities with Playwright for browser automation tasks. This SDK provides a clean, type-safe interface for automating browser interactions using Claude's computer use abilities. Features - 🤖 Simple API : Single ComputerUseAgent class for all computer use tasks - 🔄 Dual Response Types : Support for both text and structured (JSON) responses - 🛡️ Type Safety : Full TypeScript support with Zod schema validation - ⚡ Optimized : Clean error handling and robust JSON parsing - 🎯 Focused : Clean API surface with sensible defaults Installation Quick Start API Reference ComputerUseAgent The main class for computer use automation. Constructor Parameters: - apiKey (string): Your Anthropic API key. Get one from Anthropic Console - page (Page): Playwright page instance to control - model (string, optional): Anthropic model to use. Defaults to 'claude-sonnet-4-20250514' Supported Models: See Anthropic's Computer Use documentation for the latest model compatibility. execute() Method Parameters: - query (string): The task description for Claude to execute - schema (ZodSchema, optional): Zod schema for structured responses. When provided, the response will be validated against this schema - options (object, optional): - systemPromptSuffix (string): Additional instructions appended to the system prompt - thinkingBudget (number): Token budget for Claude's internal reasoning process. Default: 1024 . See Exte","default_branch":null,"files":null,"tree":[],"storefront":"/r/kernel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kernel/cu-playwright-ts/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}