You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The protocol is composed of json messages described on the site above.
This library makes it easier to communicate with the Google Chrome remote
debugging api from Python. To enable the debugging api port, start Chrome
with this option::
google-chrome --remote-shell-port=9222
Note that Chromecast devices also open a remote debugging port and speak
this same api, on devices in development mode, and which are currently
running a dev app.
Then you can connect from Python through code like this:
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::
# equivalent to the api call above
>>> shell.open_url('https://www.aldaily.com/')
#TODO Installation
#CHANGELOG
2014 Sept 15. Updated to work with modern Chrome Remote Debugging protocol
2014 Sept 15. Package maintaince transitioned to Fred Clift
2014 Sept 15. Package migrated to GitHub.
2009 Feb 26. Added a conditional import of simplejson so that the
module runs under Python 2.5.