Playwright Undetected

Automate browser interactions with bot detection bypass using Playwright and patchright.

6|3|Updated Nov 26, 2025
One-click install
npx skills add https://github.com/dalbit-mir/playwright-undetected-skill --skill playwright-undetected
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Playwright Undetected
Source: https://github.com/dalbit-mir/playwright-undetected-skill/tree/main
Command: npx skills add https://github.com/dalbit-mir/playwright-undetected-skill --skill playwright-undetected

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires patchright, and includes scripts (resource) components.

What problem does it solve?

This skill automates browser interactions, including navigating websites, clicking elements, and filling forms, while actively bypassing common bot detection mechanisms used by sites like Cloudflare and reCAPTCHA.

Core Features & Use Cases

  • Bot Detection Bypass: Seamlessly interact with websites that employ advanced anti-bot measures.
  • Persistent Sessions: Maintain browser state across multiple commands using a server mode, crucial for complex workflows.
  • Use Case: Automate testing of a web application deployed on localhost, ensuring that bot detection systems do not interfere with the testing process.

Quick Start

Start the server, navigate to http://localhost:3000, and then take a full-page screenshot named screenshot.png.

Frequently Asked Questions about Playwright Undetected

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

FAQPage Schema
How do I bypass bot detection like Cloudflare and reCAPTCHA when automating a browser with Playwright?

This Skill bypasses bot detection for web automation by using patchright with Playwright, allowing navigation, clicking, and form filling on sites protected by Cloudflare and reCAPTCHA.

Can I use Playwright to automate web scraping on localhost or private IP addresses?

Yes, this Skill supports localhost and private IP access for development and testing, allowing you to automate web scraping and browser interactions within private network environments.

How do I maintain a persistent browser session across multiple automation commands?

You maintain persistent browser sessions across multiple commands by using server mode, which preserves browser state and context for complex, multi-step web automation workflows.

Does this Skill require patchright to handle anti-bot measures during web testing?

Yes, patchright is a required dependency that provides the underlying browser modifications to Playwright needed to bypass anti-bot detection mechanisms during web testing.

What is the best way to take a full-page screenshot of a protected website?

The best way to take a full-page screenshot is to start the server, navigate to the target URL, and execute a screenshot command, which captures the page after bypassing bot detection.

Why does my Playwright automation script fail on websites with advanced bot detection?

Standard Playwright scripts fail because default browser fingerprints trigger anti-bot mechanisms, but using patchright modifies browser interactions to bypass detection and enable successful automation.