Created by Vladimir Petriko
https://developers.google.com/chrome-developer-tools/docs/debugger-protocol
* For presentation launch both Chrome Canary instances with --disable-web-security flag also
When you navigate your client browser to the remote's Chrome port, Developer Tools front-end is being served from the host Chrome as a Web Application from the Web Server.
Once loaded, Developer Tools establishes a Web Socket connection to its host and starts interchanging JSON messages with it.
steps.prerequisites()
.then(getInspectablePages)
.then(getTargetPage)
.then(createSocket)
.then(setupEventsLogging)
.then(initializePageSettings)
.then(startProfiler)
.then(executeTestAction)
.then(takeProfileResults)
.then(logResults)
* Open sample/index.html page in your host Chrome Canary browser