Skip to main content
PyCon US is happening May 14th-22nd in Pittsburgh, PA USA.  Learn more

Autogenerated CDP utilities for Python

Project description

Image

MyCDP 🌐 PyPI version

MyCDP (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 (via CDP Mode) 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.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page