skillfed

DrissionPage

Python based web automation tool. It can control the browser and send and receive data packets.

drissionpage v4.1.1.4 534.6K downloads/30d#6,132 on PyPI
License unclear Active released

What it is and what it does

DrissionPage is a Python web automation library that lets you control Chromium-based browsers (Chrome, Edge) and make HTTP requests, optionally combining both in a single workflow. Unlike Selenium, it uses a custom-built kernel rather than WebDriver, claims to handle iframes and shadow DOM more directly, and can operate multiple browser tabs simultaneously without switching context. It includes built-in lxml parsing, automatic retries, download utilities, and configuration via INI files.

The library targets developers who need browser automation but want faster execution and simpler syntax than traditional Selenium workflows. It ships with nine runtime dependencies: lxml, requests, cssselect, DrissionGet, DrissionRecord, websocket-client, click, tldextract, and psutil. Python 3.6 or later is required.

Use it for:

  • Automate multi-tab browser workflows without switching context between tabs.
  • Scrape JavaScript-heavy websites while reusing the same browser instance across multiple runs.
  • Extract data from pages with complex iframes or shadow DOM without manual frame switching.
  • Download files directly from browser cache during automation without GUI interaction.
  • Test web applications using POM (Page Object Model) pattern with integrated assertion and retry logic.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

DrissionPage is a Python web automation tool that controls Chromium-based browsers and sends/receives HTTP data packets, combining browser automation with direct HTTP efficiency.

Yes, with conditions. DrissionPage is actively maintained, has low install friction, and offers a genuine alternative to Selenium for browser automation with a simpler API and custom kernel. However, the license status is unclear—the description mentions commercial-use restrictions and legal compliance terms, but formal license metadata is missing. Verify the actual license and terms before using in production or commercial projects. No known security vulnerabilities are recorded.

Install

drissionpage on PyPI

pip

pip install drissionpage

uv

uv add drissionpage

poetry

poetry add drissionpage

Installing DrissionPage

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of recent release. Depends on nine runtime packages including lxml, requests, and websocket-client, all common and well-established.

License in practice

License status is unclear—no SPDX identifier or raw license text is recorded. The description excerpt includes usage terms restricting commercial use and requiring compliance with robots protocols and local law, but formal license metadata is absent from the package record. Verify the actual license before relying on it in production or commercial contexts.

Quickstart

pip install drissionpage

from drissionpage import ChromiumPage

page = ChromiumPage()
page.get('https://example.com')
print(page.title)

Requires a Chromium-based browser (Chrome or Edge) installed on the system; the package controls an existing browser instance rather than bundling one.

Verify before relying

  • Exact license name and enforceability—description mentions terms but package metadata lacks formal SPDX or license file reference.
  • Whether the package works with Electron applications as claimed in the description excerpt.
  • Performance comparison claims versus Selenium (e.g., 'faster', 'fewer dependencies') lack quantitative grounding.

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 9 — lxml, requests, cssselect, DrissionGet, DrissionRecord, websocket-client, click, tldextract, psutil
Maintenance actively maintained — 79 days since the last release
First released
Downloads 534,580/month — #6,132 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: drissionpage-4.1.1.4-py3-none-any.whl

Keywords: DrissionPage

Development Status :: 4 - BetaProgramming Language :: Python :: 3.6Topic :: Utilities

Tags

web automation pythonbrowser control libraryweb scraping toolselenium alternativehttp requests automationchromium browser controlweb testing framework
browser-automationweb-scrapingtesting

More Utilities packages