$npx skillfedfor your agent

playwright-stealth

Make your playwright instance stealthy

With conditionsPyPI TestingReleased Apr 20263.5M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — playwright_stealth-2.0.3-py3-none-any.whl
v2.0.3 · released 2026-04-04 · Python >=3.9 · 1 runtime deps: playwright

Yes, if you need to bypass basic bot detection in Playwright automation. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is minimal. However, do not expect it to defeat sophisticated detection systems—use it as a starting point and be prepared to add custom evasions for harder targets.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later and an active Playwright installation with browser binaries.
  • Low friction: pure Python wheel with a single runtime dependency on playwright.
  • Actively maintained as of 2026-04-04 with recent commits and a modest but engaged user base.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

last release 2026-04-04 (132 days) · last repo commit 2026-04-04 · 263 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,512,899 downloads/mo, #2,596 on PyPI

Verify before relying

pip install playwright-stealth

import asyncio
from playwright.async_api import async_playwright
from playwright_stealth import Stealth

async def main():
    async with Stealth().use_async(async_playwright()) as p:
        browser = await p.chromium.launch()
        page = await browser.new_page()
        result = await page.evaluate("navigator.webdriver")
        print(result)
  • Effectiveness against modern bot-detection systems beyond the 'simplest' methods mentioned in the description.
  • Whether all evasion techniques remain current with evolving detection strategies.
  • Compatibility with Playwright's persistent context launch mode (noted as a known limitation in the description).
Same gist for agents: .md · .json

What it is and what it does

playwright_stealth is a Playwright plugin that injects evasion scripts into browser contexts to mask the presence of automation. It works by modifying navigator properties (like `navigator.webdriver`) and other telemetry that websites use to detect headless or automated browsers. The package is a maintained fork of an earlier Puppeteer plugin, adapted for Playwright's async API.

The library offers both a simple recommended usage pattern (wrapping the async_playwright context manager) and fine-grained control via configuration options like custom language overrides and selective evasion toggles. It is explicitly positioned as a proof-of-concept for basic bot detection, not a comprehensive anti-detection solution—websites with sophisticated detection may still identify the browser as automated.

Use it for

  • Web scraping against sites with basic bot-detection that check navigator.webdriver or similar properties.
  • Automated testing scenarios where you need to reduce false positives from client-side bot-detection logic.
  • Proof-of-concept or research into browser fingerprinting and evasion techniques.
  • Customizing navigator properties (languages, platform) across multiple pages in a single context.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to bypass basic bot detection in Playwright automation.

The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is minimal. However, do not expect it to defeat sophisticated detection systems—use it as a starting point and be prepared to add custom evasions for harder targets.

Install

playwright-stealth on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on playwright. Actively maintained as of 2026-04-04 with recent commits and a modest but engaged user base.

Requires Python 3.9 or later and an active Playwright installation with browser binaries.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install playwright-stealth

import asyncio
from playwright.async_api import async_playwright
from playwright_stealth import Stealth

async def main():
    async with Stealth().use_async(async_playwright()) as p:
        browser = await p.chromium.launch()
        page = await browser.new_page()
        result = await page.evaluate("navigator.webdriver")
        print(result)

Verify before relying

  • Effectiveness against modern bot-detection systems beyond the 'simplest' methods mentioned in the description.
  • Whether all evasion techniques remain current with evolving detection strategies.
  • Compatibility with Playwright's persistent context launch mode (noted as a known limitation in the description).

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
playwright
MaintenanceActively maintained 132 days since the last release
Last repo commit
First released
Downloads3,512,899 / month, #2,596 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9

Evidence: playwright_stealth-2.0.3-py3-none-any.whl

Tags

Capabilities
playwright bot detection bypassbrowser automation stealthplaywright webdriver evasionhide automation detectionplaywright navigator mocking
Topics
web-automationbot-detection-evasion

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “playwright bot detection bypass”

  • playwright-stealthApplies evasion techniques to Playwright browser instances to mask…
  • cloakbrowserLaunches a stealth Chromium browser that evades bot detection by…
  • tf-playwright-stealthPatches Playwright to evade bot-detection systems by spoofing browser…

Give your agent the search over MCP, or paste the wish link into any chat.

More Testing packages

pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo
virtualenv Worth it
PyPI · Libraries · released Aug 2026

virtualenv creates isolated Python environments where packages can be installed independently without affecting the system Python or other projects.

MITpure Python · 3.9+
532.9Mdownloads / mo
coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
pytest-asyncio Worth it
PyPI · Testing · released May 2026

pytest-asyncio is a pytest plugin that enables writing and running async test functions using the asyncio library, allowing developers to await code directly within test cases.

Install it if you write tests for any asyncio-based code.

Apache-2.0pure Python · 3.10+
275.9Mdownloads / mo
pytest-json-ctrf Worth it
PyPI · Testing · released Jul 2026

A pytest plugin that generates test reports in Common Test Report Format (CTRF) as JSON, compatible with pytest-xdist and pytest-playwright for distributed and browser-based testing.

Install it if you need CTRF-formatted test output for CI/CD integration or cross-tool reporting.

MITpure Python · 3.8+
273.0Mdownloads / mo

See also tf-playwright-stealth · cloakbrowser · selenium-stealth · rebrowser-playwright · patchright · playwright · install-playwright · hyperbrowser · recognizer · scrapy-playwright

Further reading