Skip to main content

DrissionPage can now set English error and prompt messages: Set Language

✨️ 概述

DrissionPage is a Python-based web automation tool.

It can control the browser, send and receive packets, and combine the two.

You can balance the convenience of browser automation with the efficiency of requests.

It is powerful, built-in countless user-friendly design and convenient features.

Its syntax is simple and elegant, the code is small, and it is friendly to beginners.


WebSite: https://DrissionPage.cn

Project: gitee | github | gitcode

Your stars are my greatest support.💖


Support system: Windows、Linux、Mac

Python version:more than 3.6

Support browser: Chromium kernel(eg. Chrome, Edge),electron


🛠 How to use

📖 Document: Click to see


💡 Idea

Simple and powerful!


☀️ Features and highlights

🎇 Powerful self-developed kernel

This library uses a fully self-developed kernel with numerous built-in practical functions, and integrates and optimizes common functions. Compared with selenium, it has the following advantages:

  • Not based on webdriver
  • No need to download different drivers for different versions of browsers
  • Run faster
  • Elements can be found across iframe without cutting in and out
  • Think of the iframe as a normal element for clearer logic
  • Can operate multiple tabs at the same time without switching
  • Can directly read the browser cache to save the image, no need to use the GUI click save
  • Can take a screenshot of the entire web page, including the parts outside the viewport
  • Can handle shadow-root in non-open state

🎇 Highlight function

In addition to the above advantages, the library also has numerous built-in user-friendly designs.

  • Minimal positioning syntax, easier to find elements
  • Integrate a large number of common functions, the code is more elegant, powerful and stable
  • Ubiquitous waiting and automatic retries make unstable networks easier to control, programs more stable, and writing easier
  • Provide powerful download tools, operating the browser can also enjoy fast and reliable download function
  • Allows repeated use of an already open browser, without having to start the browser from scratch every time you run, easy debugging
  • Use the ini file to save common configurations and automatically invoke them, providing convenient Settings and avoiding complicated configuration items
  • Built-in lxml as a parsing engine, the parsing speed is improved by several orders of magnitude
  • Packaged with POM mode, it can be used directly for testing and easy to expand
  • Highly integrated convenience features, reflected in every detail
  • There are many details, not listed here, welcome to practical use experience: D

📝 Terms of use

Anyone is permitted to use or distribute the source code of the Project in their personal capacity, but only for learning and legitimate non-profit purposes. Individuals or organizations may not use this project in source code or binary form for commercial purposes without the authorization of the copyright holder.

Use of this project must meet the following terms, if any of the terms are violated during use, the authorization will automatically expire.

  • DrissionPage is prohibited from being used in any project that may violate local legal and ethical requirements
  • Use of DrissionPage in any project that may harm the interests of others is prohibited
  • Use of DrissionPage for assault and harassment is prohibited
  • Comply with the Robots protocol and prohibit the use of DrissionPage to collect data that is not permitted by law or system Robots protocol

All actions that occur while using DrissionPage are the user's own responsibility. All disputes and consequences arising out of any use of DrissionPage are independent of the copyright holder, The copyright holder does not assume any risk or loss arising from the use of DrissionPage. The copyright holder shall not be liable for any loss resulting from possible defects in DrissionPage.


☕ Buy me coffee

The author is an individual developer, and the workload of developing and writing documentation is relatively heavy.

If this project was helpful to you, please give a tip to the author:)

Metadata

Release files for FlcatDrissionPage 0.1.33

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FlcatDrissionPage 0.1.33
File Size Uploaded
flcatdrissionpage-0.1.33.tar.gz 410.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for FlcatDrissionPage 0.1.33
File
flcatdrissionpage-0.1.33-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
flcatdrissionpage-0.1.33-cp312-cp312-win32.whl CPython 3.12 CPython 3.12 Windows x86-32 Details
flcatdrissionpage-0.1.33-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
flcatdrissionpage-0.1.33-cp311-cp311-win32.whl CPython 3.11 CPython 3.11 Windows x86-32 Details
flcatdrissionpage-0.1.33-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
flcatdrissionpage-0.1.33-cp310-cp310-win32.whl CPython 3.10 CPython 3.10 Windows x86-32 Details
flcatdrissionpage-0.1.33-cp39-cp39-win_amd64.whl CPython 3.9 CPython 3.9 Windows x86-64 Details
flcatdrissionpage-0.1.33-cp39-cp39-win32.whl CPython 3.9 CPython 3.9 Windows x86-32 Details

Total release size: 4.8 MB

Release files / flcatdrissionpage-0.1.33.tar.gz

Download URL flcatdrissionpage-0.1.33.tar.gz
Size 410.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a01aad11d6eefab977a70c9faea93be22bfbab94ca6f731bb582daef5b2f5f1e
BLAKE2b-256 checksum
How to use checksums
ea262366f3ad9d9f46067e8da14ea6f7e3533d0d84864e647d060f5def9bcfaf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp312-cp312-win_amd64.whl

Download URL flcatdrissionpage-0.1.33-cp312-cp312-win_amd64.whl
Size 551.3 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
d662aad84b104e130bd131f6f8d6266b8b4451dd03c0efe865b4649016a7e446
BLAKE2b-256 checksum
How to use checksums
f697de26632e3285ad070ae8d126e31a0cc4e98c178bbfcb92fa536d0d6e93c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp312-cp312-win32.whl

Download URL flcatdrissionpage-0.1.33-cp312-cp312-win32.whl
Size 542.5 kB
Tags CPython 3.12 Windows x86-32
SHA-256 checksum
How to use checksums
247446d6fd32d770a930fee9cf98d37555b5fae310ac33e1b8a9f768f84edb25
BLAKE2b-256 checksum
How to use checksums
e705c4643dd3891ea3095922722758361739cdde9310d8c7740e5aebd026579f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp311-cp311-win_amd64.whl

Download URL flcatdrissionpage-0.1.33-cp311-cp311-win_amd64.whl
Size 552.9 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
e71662cb4139b3bef8a1fa42b6a6af28f0b5e0f670116c492202035c0af1d0c7
BLAKE2b-256 checksum
How to use checksums
896f9be9fdbb43003e1a237513b3bbaf8babd78ef4868f37c18bab0965c0afc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp311-cp311-win32.whl

Download URL flcatdrissionpage-0.1.33-cp311-cp311-win32.whl
Size 543.9 kB
Tags CPython 3.11 Windows x86-32
SHA-256 checksum
How to use checksums
05c717902464291e87a7ca47c3f6b8a74c58ef5586e7700723a6af0d3aa1d731
BLAKE2b-256 checksum
How to use checksums
813a0653d94ea9ecb97fd59171b7a733663631d3503be1dd942210e995e523ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp310-cp310-win_amd64.whl

Download URL flcatdrissionpage-0.1.33-cp310-cp310-win_amd64.whl
Size 552.6 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
39f642960aa102e0da8ad30cd2af6334b549eaf879cea4573e9a418feceb9eaa
BLAKE2b-256 checksum
How to use checksums
818646fda57e7e8c1962e8d7a437d85d6bc79044247dd1814fabd500be07f2e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp310-cp310-win32.whl

Download URL flcatdrissionpage-0.1.33-cp310-cp310-win32.whl
Size 543.7 kB
Tags CPython 3.10 Windows x86-32
SHA-256 checksum
How to use checksums
43ec5e4d08120b594d84da504ce092b96825058599bd569ea86892b3cb317a36
BLAKE2b-256 checksum
How to use checksums
1a8b7abe319667b1081bd82f802e1b750621046f1d5acfc9f37064bbba220acb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp39-cp39-win_amd64.whl

Download URL flcatdrissionpage-0.1.33-cp39-cp39-win_amd64.whl
Size 552.6 kB
Tags CPython 3.9 Windows x86-64
SHA-256 checksum
How to use checksums
e2acb948032688df2bc70982798ead939dcb32f2d6672c8c23380025c08c8698
BLAKE2b-256 checksum
How to use checksums
fd5d5aa586584a99762bd8ad2854b9d1ca0c4a858cf2c56159ce764e84049453
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release files / flcatdrissionpage-0.1.33-cp39-cp39-win32.whl

Download URL flcatdrissionpage-0.1.33-cp39-cp39-win32.whl
Size 543.8 kB
Tags CPython 3.9 Windows x86-32
SHA-256 checksum
How to use checksums
7477d98cbee2b957ff5b258c1d6219f6755fd368d110026b305ef87f64140957
BLAKE2b-256 checksum
How to use checksums
9f451bad2c95e56181ee2635fae1d62b155d99222356f0b8d882dd77ef05adc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 4, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.33 This release

9 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page