Chrome DevTools Protocol automation toolkit
Project description
CDP Toolkit
Chrome DevTools Protocol automation without external dependencies
Features
- CDPClient — HTTP endpoint for tab management (list, create, close, activate)
- CDPMouseEvents — mouse click, release, move params
- CDPInput — text injection, key events, React/Vue native setter JS
- CDPNavigation — navigate, evaluate JS, screenshot params
- Pure Python stdlib — no playwright, no selenium, no puppeteer
Quick Start
from cdp_client import CDPClient, CDPInput
client = CDPClient("127.0.0.1", 9222)
targets = client.list_targets()
React Form Fill
from cdp_client import CDPInput
js = CDPInput.native_setter_js("#email", "user@example.com")
# Send via CDP Runtime.evaluate
Tests
python -m pytest tests/ -v
License
MIT
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cdp_toolkit-1.2.0.tar.gz
(3.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cdp_toolkit-1.2.0.tar.gz.
File metadata
- Download URL: cdp_toolkit-1.2.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3d353ff42da28c4d70c1361456cb9abeddc307b43da259da7a0c22e394392f48
|
|
| MD5 |
7b9ac9aae541fd87338ce7d5b39e8823
|
|
| BLAKE2b-256 |
3d1038419cf1cfcf0f1c10ec5b3eded05f201644bce77e7f57c56186230330aa
|
File details
Details for the file cdp_toolkit-1.2.0-py3-none-any.whl.
File metadata
- Download URL: cdp_toolkit-1.2.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb728e8676b366bdbc34ecbf137526c83c43d3ad4eb1279d4fbef294772fc065
|
|
| MD5 |
d1b78b680744842c3a6c29356279f4d4
|
|
| BLAKE2b-256 |
34183671726e8bc24871c6c950877a57008bec2b835c7357e8f805326d3f5b18
|