--- id: pyppeteer version: "2.0.0" license: MIT license_treatment: permissive maintenance: dormant --- # pyppeteer — Headless chrome/chromium automation library (unofficial port of puppeteer) License: permissive · Maintenance: dormant · Downloads: 1.3M/mo ## What it is and what it does Pyppeteer is an unofficial Python port of the Puppeteer JavaScript library, providing async-based control over headless Chrome and Chromium browsers. It lets you automate browser tasks—navigating pages, taking screenshots, executing JavaScript, and extracting data—from Python code. The library wraps browser automation via the DevTools protocol and depends on websockets, urllib3, and other utilities for communication and event handling. The package is designed for web scraping, automated testing, and screenshot generation. It uses Python's asyncio for concurrent operations and accepts both dictionary and keyword arguments for options, adapting Puppeteer's JavaScript API to Python conventions. However, the maintainer has flagged the project as unmaintained and explicitly recommends playwright-python as an alternative, signaling that this package is no longer receiving active development or security updates. Use it for: - Capture full-page screenshots or PDFs of websites for archival, testing, or reporting. - Scrape dynamically-rendered content from JavaScript-heavy sites where static HTTP requests fail. - Run automated browser-based tests to verify UI behavior and page interactions. - Extract computed DOM properties and evaluate custom JavaScript within page context. - Monitor web pages for changes or validate that specific elements render correctly. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Automates headless Chrome/Chromium browser control from Python, enabling programmatic web page interaction, screenshot capture, and JavaScript execution. No, unless you have an existing codebase already using pyppeteer. The maintainer explicitly recommends playwright-python as an alternative, and the package has been dormant for 908 days with no active maintenance. While it remains functional and has no known vulnerabilities, choosing a maintained alternative is safer for new projects. If you must use it, treat it as legacy and plan a migration path. ## Install pip install pyppeteer uv add pyppeteer poetry add pyppeteer ## Installing pyppeteer Before you install: Low install friction with a pure-wheel distribution. Maintenance is dormant—last release was 908 days ago and the maintainer explicitly recommends considering playwright-python as an alternative. The package remains functional but receives no active updates. License in practice: MIT license permits commercial and private use with minimal restrictions. Suitable for most projects, though the dormant maintenance status means you assume responsibility for any future compatibility issues. Quickstart: pip install pyppeteer import asyncio from pyppeteer import launch async def main(): browser = await launch() page = await browser.newPage() await page.goto('https://example.com') await page.screenshot({'path': 'example.png'}) await browser.close() asyncio.get_event_loop().run_until_complete(main()) First run downloads ~150MB of Chromium if not already present; requires Python >= 3.8; asyncio-based API requires async/await syntax. Verify before relying: - Whether playwright-python has become the de facto standard replacement and what migration path exists. - Current compatibility with modern Chrome/Chromium versions given the 908-day release gap. - Whether dormant status means security patches will be applied if vulnerabilities are discovered. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: dormant - Downloads: 1.3M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags headless browser automation python, chrome automation library, web scraping with browser control, screenshot and page evaluation, chromium automation async, puppeteer python port, browser testing automation, browser-automation, web-scraping, dormant-maintenance [View on SkillFed](https://skillfed.io/packages/pyppeteer) · [View on PyPI](https://pypi.org/project/pyppeteer/)