An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          


Image

MyCDP 🌐 PyPI version

### **[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.