playwright-browser

Automate headless browser tests and interactions using the Playwright CLI.

Updated Mar 25, 2026
One-click install
npx skills add https://github.com/leadmind-ai/leadmind-ai-website --skill playwright-browser-leadmind-ai
Or copy as Structured Prompt for Agentโ–ผ
Please help me install this Agent Skill.
Skill: playwright-browser
Source: https://github.com/leadmind-ai/leadmind-ai-website/tree/main/.claude/skills/testeur/playwright-browser
Command: npx skills add https://github.com/leadmind-ai/leadmind-ai-website --skill playwright-browser-leadmind-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

๐Ÿ’ก This Skill includes references (resource) components.

What problem does it solve?

Automates web browser interactions using the Playwright CLI in headless mode, enabling reliable UI automation and test execution without heavy setup.

Core Features & Use Cases

  • Headless by default; switch to headed mode with the appropriate flag to observe the browser during development.
  • Named sessions for parallel, persistent browser profiles (cookies and storage) across requests.
  • Screenshots and visual verifications with optional vision mode for image-based checks.
  • Suitable for UI testing, web scraping, automated QA workflows, and rapid prototyping of browser interactions.

Quick Start

Open a named session with a configured viewport and --persistent, then open the target URL.

Frequently Asked Questions about playwright-browser

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate web browsers for UI testing with Playwright?โ–ผ

Automate web browsers for UI testing by using the lightweight Playwright CLI in headless mode to execute deterministic interactions and capture screenshots without heavy setup. You can configure viewports and run automated QA workflows reliably.

How does session management work for persistent browser profiles?โ–ผ

Session management for persistent browser profiles works by using named sessions that preserve cookies and localStorage across multiple runs. This allows you to maintain authenticated states and parallel browser contexts for your automated interactions.

Can I run Playwright in headed mode to observe automated interactions?โ–ผ

Yes, you can run Playwright in headed mode to observe automated interactions during development by applying the appropriate configuration flag. It defaults to headless execution but switches visually when needed.

Do I need the Playwright CLI installed before running headless tests?โ–ผ

Yes, you need the Playwright CLI installed locally to run headless tests and web scraping tasks. This lightweight dependency enables deterministic actions, screenshot captures, and session management.

Does Playwright support visual verifications for web scraping?โ–ผ

Playwright supports visual verifications for web scraping through an optional vision mode. This enables image-based checks alongside capturing screenshots of your target URL during automated browser interactions.

What is the best way to preserve cookies across multiple browser automation runs?โ–ผ

The best way to preserve cookies across multiple browser automation runs is to open a named session with the persistent flag. This approach maintains cookies and localStorage across subsequent requests for reliable session continuity.