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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
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.0.0-py3-none-any.whl.
File metadata
- Download URL: cdp_toolkit-1.0.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 |
ca26af8f26e18a5dd4c73fc150208af18c1530d04624d2530dfd7f8211625d59
|
|
| MD5 |
1267c081a8f5399b288c793028b026ca
|
|
| BLAKE2b-256 |
f41c4f6d0e806e9bc5cb627c1efbf4b33bfe2630392faada8840830d814b6564
|