https://github.com/mdmintz/mycdp
Autogenerated CDP utilities that enable Python to control Chrome directly, without external automation drivers.
https://github.com/mdmintz/mycdp
Last synced: over 1 year ago
JSON representation
Autogenerated CDP utilities that enable Python to control Chrome directly, without external automation drivers.
- Host: GitHub
- URL: https://github.com/mdmintz/mycdp
- Owner: mdmintz
- License: mit
- Created: 2024-10-11T01:04:35.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-12T05:23:37.000Z (over 1 year ago)
- Last Synced: 2025-04-11T00:45:29.709Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 268 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MyCDP 🌐
### **[MyCDP](https://github.com/mdmintz/MyCDP)** (PyPI: [``mycdp``](https://pypi.python.org/pypi/mycdp)) is a collection of autogenerated CDP (Chrome DevTools Protocol) utilities for enabling Chromium automation with Python without the need for external automation drivers (such as WebDriver) for controlling the browser.
Additionally, MyCDP can be used to connect to an existing Chromium browser instance if the `remote-debugging-port` is known. This advanced option allows for browsers to be controlled by multiple automation frameworks at the same time.
This isn't a standalone product. Think of MyCDP as the engine for your framework: By itself, the engine is of little use, but when connected to a framework that provides an interface, MyCDP can transform Chromium into a powerhouse.
[SeleniumBase](https://github.com/seleniumbase/SeleniumBase) (via [CDP Mode](https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/ReadMe.md)) is one of the frameworks using **MyCDP**.
----
For the direct **CDP** API, (which **MyCDP** calls), see: https://chromedevtools.github.io/devtools-protocol/
Note that **CDP** itself can be found in most automation frameworks:

----
**MyCDP** makes **CDP** more accessible to Python frameworks.