Playwright
used in
0
stacks
Microsoft's open-source browser automation framework, increasingly used as the execution layer for AI agents.
Automates Chromium, Firefox, and WebKit through a single API, with bindings for TypeScript, Python, .NET, and Java. Core features include auto-waiting, resilient locators, isolated browser contexts, codegen, and trace viewing. For agent workloads it provides accessibility-tree snapshots as a token-efficient alternative to screenshots, an official MCP server, and a CLI aimed at coding agents. Apache 2.0 licensed and free to use.
Strengths
- Deterministic, scriptable control of Chromium, Firefox, and WebKit
- Accessibility snapshots give agents structured page state instead of screenshots
- Official MCP server and agent-oriented CLI maintained by Microsoft
- Mature ecosystem with tracing, codegen, and multi-language bindings
Tradeoffs
- Low-level by design; agents need an orchestration layer on top for autonomous tasks
- Headless automation is detectable by anti-bot systems without extra stealth infrastructure