Skip to main content

Client for talking to the Google Chrome remote shell port

Project description


The remote debugging shell has been removed from recent versions of Google Chrome, so this Python module is only of historical interest. For more information about the browser’s new protocol, visit:

This library makes it easy to communicate with the Google Chrome remote debugging shell from Python. To make the shell available, start Chrome with this option:

google-chrome --remote-shell-port=9222

Then you can connect from Python through code like this:

>>> import chrome_remote_shell
>>> shell =
>>> shell.request('DevToolsService', command='ping')
{u'data': u'ok', u'command': u'ping', u'result': 0}

The protocol is described in detail at:

As a convenience, the shell connection object offers a method that, by injecting JavaScript into the first tab, commands Chrome to open a URL in a new tab:



2009 Feb 26. Added a conditional import of simplejson so that the module runs under Python 2.5.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for chrome_remote_shell, version 1.2
Filename, size File type Python version Upload date Hashes
Filename, size chrome_remote_shell-1.2.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page