I have been reading through Google Chrome Remote Debugging documentation (http://code.google.com/chrome/devtools/docs/remote-debugging.html), but I still don't understand how do I open a new web page in Google Chrome. I am using Python and after launching Google Chrome with --remote-debugging-port, I can only communicate with /json on the localhost (I am writing a custom debugger for internal testing).
I have tried to build a JSON object by reading this http://code.google.com/chrome/devtools/docs/protocol/page.html and send it to /json, but no results.
Any help would be appreciated!
EDIT: I found out how to send the commands - connecting through Web Sockets to the webSocketDebuggerUrl returned when doing a query to /json (you can use websocket for python) and then simply sending the parameters (json format) as defined.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With