chrome_remote_shell

Software screenshot:
chrome_remote_shell
Software informatie:
Versie: 1.2
Upload datum: 12 May 15
Ontwikkelaar: Brandon Craig Rhodes
Licentie: Gratis
Populariteit: 3

Rating: nan/5 (Total Votes: 0)

chrome_remote_shell is een bibliotheek die het makkelijk om te communiceren met de Google Chrome remote debugging shell van Python maakt & nbsp; Als u de shell beschikbaar te maken, start Chrome met deze optie.:
google-chrome --remote-shell-port = 9222
Dan kunt u verbinding van Python door de code als volgt:
>>> 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}
Het protocol wordt beschreven in detail in:
http://code.google.com/p/chromedevtools/wiki/ChromeDevToolsProtocol
Voor het gemak, de Shell-verbinding object biedt een methode die, door het injecteren van JavaScript in het eerste tabblad, commando's Chrome om een ​​URL te openen in een nieuw tabblad:
shell.open_url('http://www.aldaily.com/')

Requirements:

  • Python
  • Google Chrome

Andere software van ontwikkelaar Brandon Craig Rhodes

pyzmq-static
pyzmq-static

20 Feb 15

adventure
adventure

14 Apr 15

PyEphem
PyEphem

15 Apr 15

Reacties op chrome_remote_shell

Reacties niet gevonden
Commentaar toe te voegen
Zet op de beelden!