DrissionPage
Python based web automation tool. It can control the browser and send and receive data packets.
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 drissionpageuv
uv add drissionpagepoetry
poetry add drissionpageInstalling 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
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
DrissionGetDrissionGet is a multithreaded file downloader…
permissive · top 15,000 on PyPI
seleniumSelenium provides Python bindings to automate…
permissive · top 1,000 on PyPI
seleniumbaseSeleniumBase is a browser automation framework…
permissive · top 5,000 on PyPI
requestiumRequestium merges Requests, Selenium, and…
permissive · top 15,000 on PyPI
zendriverZendriver is an async-first web automation…
agpl · top 15,000 on PyPI
webdriver-managerAutomatically downloads, caches, and manages…
permissive · top 5,000 on PyPI
selenium-page-factoryImplements a page factory pattern for Selenium…
permissive · top 15,000 on PyPI
pyppeteerAutomates headless Chrome/Chromium browser…
permissive · top 5,000 on PyPI
pydoll-pythonPydoll automates Chromium-based browsers via…
unclear · top 15,000 on PyPI
mycdpMyCDP provides autogenerated Chrome DevTools…
permissive · top 15,000 on PyPI