--- id: drissionpage version: "4.1.1.4" license: unclear license_treatment: unclear maintenance: active --- # DrissionPage — Python based web automation tool. It can control the browser and send and receive data packets. License: unclear · Maintenance: active · Downloads: 534.6K/mo ## 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 above — 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 pip install drissionpage uv add drissionpage 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_current - Install friction: low - Maintenance: active - Downloads: 534.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags web automation python, browser control library, web scraping tool, selenium alternative, http requests automation, chromium browser control, web testing framework, browser-automation, web-scraping, testing [View on SkillFed](https://skillfed.io/packages/drissionpage) · [View on PyPI](https://pypi.org/project/drissionpage/)