chrome_remote_shell

Client for talking to the Google Chrome remote shell port
Download

chrome_remote_shell Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Brandon Craig Rhodes
  • Publisher web site:
  • http://rhodesmill.org/brandon/projects/pyephem.html

chrome_remote_shell Tags


chrome_remote_shell Description

Client for talking to the Google Chrome remote shell port chrome_remote_shell is a library that 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=9222Then you can connect from Python through code like this:>>> import chrome_remote_shell>>> shell = chrome_remote_shell.open(port=9222)>>> shell.request('DevToolsService', command='ping'){u'data': u'ok', u'command': u'ping', u'result': 0}The protocol is described in detail at:http://code.google.com/p/chromedevtools/wiki/ChromeDevToolsProtocolAs 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:shell.open_url('http://www.aldaily.com/') Requirements: · Python · Google Chrome


chrome_remote_shell Related Software