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.1.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.1.0.tar.gz.
File metadata
- Download URL: cdp_toolkit-1.1.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 |
fdb51fd2d4abdd448040bfc9cd12e1888fd090989dc0d06d2cf666e6e691b371
|
|
| MD5 |
0f584b5f9b68bd94b7953cc7ecc29adb
|
|
| BLAKE2b-256 |
9434bbff42050f4bbb4726f7ace15cbf891a67954c212228216f9ae03ce76eb7
|
File details
Details for the file cdp_toolkit-1.1.0-py3-none-any.whl.
File metadata
- Download URL: cdp_toolkit-1.1.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 |
37b4801481296aca0b1704e55e1773ad9855d436e499370d8efa37e8e9157551
|
|
| MD5 |
f1be18ba4c31e188d20e413ce99eb0d3
|
|
| BLAKE2b-256 |
c4876bf229f12a83a8c7a84dccf66984953cb803a79732442e782500cc810b72
|