# microsoft/playwright-cli

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/microsoft-playwright-cli).**

3,871 stars · 141 forks · TypeScript · apache-2.0

## Links

- GitHub: https://github.com/microsoft/playwright-cli
- Homepage: https://playwright.dev
- awesome-repositories: https://awesome-repositories.com/repository/microsoft-playwright-cli.md

## Topics

`playwright`

## Description

Playwright-cli is a command line interface for executing web tasks and automating browser interactions using the Playwright framework. It serves as a browser binary manager for downloading and installing specific browser engines and their required system dependencies, as well as a tool for running automated test suites across multiple engines to verify application behavior.

The utility functions as a browser session controller, managing browser profiles and persistent storage states via the command line. It enables the execution of automation suites across different browser engines and configurations to ensure consistent behavior across various web environments.

The project covers browser automation and test execution, including the ability to perform headless browser automation and run automated verification suites. It also provides capabilities for monitoring browser activity through live screencasts and a visual dashboard to track active sessions.

The tool includes utilities for binary installation, system dependency management, and download configuration for network-restricted environments.

## Tags

### Development Tools & Productivity

- [Browser Automation CLIs](https://awesome-repositories.com/f/development-tools-productivity/browser-automation-clis.md) — Provides a comprehensive command line interface for executing web tasks and automating browser interactions.
- [Dependency Installers](https://awesome-repositories.com/f/development-tools-productivity/dependency-managers/installation-resolution-utilities/dependency-installers.md) — Installs required operating system packages and libraries to ensure browsers run correctly in CI environments. ([source](https://playwright.dev/docs/next/cli))
- [Headless Browser Automation](https://awesome-repositories.com/f/development-tools-productivity/headless-browser-automation.md) — Executes repetitive web tasks and interacts with page elements via a command line interface using headless browser engines.

### Web Development

- [Browser Automation](https://awesome-repositories.com/f/web-development/browser-automation.md) — Provides a command-line interface to execute web-based actions and perform repetitive tasks via headless browser automation. ([source](https://playwright.dev/docs/getting-started-cli))
- [Chrome DevTools Protocols](https://awesome-repositories.com/f/web-development/web-automation-scraping/browser-control-protocols/chrome-devtools-protocols.md) — Implements browser control by communicating via the Chrome DevTools Protocol through a dedicated driver process.
- [Browser Binary Managers](https://awesome-repositories.com/f/web-development/web-automation-scraping/browser-orchestration-systems/browser-binary-managers.md) — Manages the installation, caching, and maintenance of browser binary files for automated testing environments.
- [Browser Session Managers](https://awesome-repositories.com/f/web-development/web-automation-scraping/web-scraping-automation/browser-automation/browser-session-managers.md) — Controls browser profiles and storage states using in-memory or persistent sessions to maintain state between calls. ([source](https://playwright.dev/docs/getting-started-cli))
- [Visual Browser Monitoring](https://awesome-repositories.com/f/web-development/web-automation-scraping/web-scraping-automation/browser-automation/visual-browser-monitoring.md) — Tracks active automation sessions and viewports through a visual dashboard to debug interactions in real time.

### DevOps & Infrastructure

- [Browser Binary Installers](https://awesome-repositories.com/f/devops-infrastructure/containerization/runtime-deployment/browser-binary-installers.md) — Downloads and installs specific versions of browser engines to local or custom directories. ([source](https://playwright.dev/docs/next/cli))
- [Ephemeral CI Environments](https://awesome-repositories.com/f/devops-infrastructure/ci-cd-pipelines/ephemeral-ci-environments.md) — Installs browser binaries and system dependencies in automated pipelines to enable reliable testing in restricted networks.

### Networking & Communication

- [Browser Binary Managers](https://awesome-repositories.com/f/networking-communication/browser-integrated-downloads/browser-binary-managers.md) — Provides utilities to download and manage specific browser binaries and system libraries for consistent automation environments.

### Software Engineering & Architecture

- [Browser Driver Abstractions](https://awesome-repositories.com/f/software-engineering-architecture/browser-driver-abstractions.md) — Uses a unified API to translate high-level automation commands into browser-specific instructions for Chromium, Firefox, and WebKit.

### Testing & Quality Assurance

- [Application Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/end-to-end-testing-suites/application-testing.md) — Offers a utility to run automated test suites that verify application behavior across different browser engines.
- [Browser Automation Testing](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/browser-and-ui-testing/browser-automation-frameworks/browser-automation-testing.md) — Executes automated browser tests from the command line to verify that the application meets specified requirements. ([source](https://cdn.jsdelivr.net/gh/microsoft/playwright-cli@main/README.md))
- [Cross-Browser Testing Tools](https://awesome-repositories.com/f/testing-quality-assurance/software-testing/testing-frameworks/test-frameworks/execution-and-infrastructure/test-infrastructure-configuration/cross-browser-testing-tools.md) — Runs automation suites across multiple browser engines to ensure consistent application behavior across different environments.

### User Interface & Experience

- [DOM Element Selectors](https://awesome-repositories.com/f/user-interface-experience/dom-element-selectors.md) — Identifies DOM elements using CSS, ARIA roles, and text patterns for precise user interactions.

### Security & Cryptography

- [Session-Cookie Persistences](https://awesome-repositories.com/f/security-cryptography/session-cookie-handlers/session-cookie-persistences.md) — Stores browser cookies and local storage on disk to maintain authenticated user states between executions.
