playwright-local

Automate browser interactions and web scraping with Playwright locally.

1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/fefogarcia/approved-skills --skill playwright-local-fefogarcia
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: playwright-local
Source: https://github.com/fefogarcia/approved-skills/tree/main/skills/playwright-local
Command: npx skills add https://github.com/fefogarcia/approved-skills --skill playwright-local-fefogarcia

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) and templates (resource) components.

What problem does it solve?

This Skill empowers you to automate browser interactions, scrape web data, and perform complex web testing directly on your local machine, overcoming common issues like CI timeouts and compatibility problems.

Core Features & Use Cases

  • Browser Automation: Control Chrome, Firefox, and WebKit for scripting tasks.
  • Web Scraping: Extract data from dynamic websites, even those with anti-bot measures.
  • Testing: Automate end-to-end testing for web applications.
  • Use Case: Scrape product details from an e-commerce site, automate login to a web service, or test a new feature across different browsers.

Quick Start

Use the playwright-local skill to scrape the title and content from https://example.com.

Frequently Asked Questions about playwright-local

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

FAQPage Schema
How do I scrape a dynamic website that has anti-bot detection enabled?

To scrape a dynamic website with anti-bot detection enabled, you can use Playwright with stealth mode to bypass bot detection and extract data locally. This approach supports authenticated sessions and infinite scroll handling.

Why does my Playwright browser automation time out in CI environments?

Playwright browser automation times out in CI environments due to resource constraints, but running it locally avoids these timeouts. Local execution also resolves OS compatibility problems and extension testing failures.

Can I generate screenshots and PDFs during web scraping with Playwright?

Yes, you can generate screenshots and PDFs during web scraping with Playwright. The local automation Skill supports capturing visual outputs and performing performance analysis while navigating dynamic web pages.

What is the best way to handle infinite scroll when web scraping with a headless browser?

The best way to handle infinite scroll when web scraping with a headless browser is using Playwright's local automation features. It programmatically scrolls through dynamic content to extract continuously loading data.

Does Playwright support testing with real IPs to bypass protected sites?

Yes, Playwright supports testing with real IPs to bypass protected sites. By running browser automation locally, you use your native IP address rather than a blocked CI server IP, successfully bypassing restrictions.

How do I automate login to a web service using browser automation?

To automate login to a web service using browser automation, use Playwright to manage authenticated sessions locally. This allows you to script login sequences and maintain session state for subsequent scraping or testing.