| chrome_remote_shell. client per parlare con la porta di shell remoto di Google Chrome |
Scarica ora |
chrome_remote_shell. Classifica e riepilogo
- Nome editore:
- Brandon Craig Rhodes
- Sito web dell'editore:
- http://rhodesmill.org/brandon/projects/pyephem.html
chrome_remote_shell. Tag
chrome_remote_shell. Descrizione
Cliente per parlare con la porta della shell remota di Google Chrome Chrome_Remote_shell è una biblioteca che semplifica la comunicazione con il shell di debug remoto di Google Chrome da Python. Per rendere la shell disponibile, avviare Chrome con questa opzione: Google-chrome --remote-shell-port = 9222then è possibile connettersi da Python tramite codice come questo: >>> import chrome_remote_shell >>> shell = chrome_remote_shell.open (porta = 9222) >>> shell.request ('Devtoolsservice', comando = 'ping') {u'Data ': u'ok', u'combmand ': u'ping', u'result ': 0} Il protocollo è Descritto in dettaglio all'indirizzo: http: //code.google.com/p/chromedevtools/P/chromedevtools/wiki/chromedevtoolsprotoocolo Una comodità, l'oggetto Connection Shell offre un metodo che, iniettando JavaScript nella prima scheda, comandi Chrome per aprire un URL in A Nuova scheda: Shell.open_url ('http://www.aldaily.com/') Requisiti: · Python. · Google Chrome
chrome_remote_shell. Software correlato