Getting Information from Google Chrome's Developer Tools

痴心易碎 提交于 2019-12-10 19:37:33

问题


I am working on a project that wants me to get information from Google Chrome's Developer tools. More specifically, when I open up the developer tools on my target website, under the resources tab a folder is being populated called other.

This folder is populating a list of URLs. I am curious if it is possible to somehow access or get the URLs that are being populated via any coding language (preferably python,/javascript/ajax/java).

Any input, advice, suggestions as to how to go about accessing the data within Google Chrome's developer tools would be greatly appreciated.


回答1:


The Chrome Developer Tools has two parts frontend and backend and there is an API which specifies the protocol between these parts. You can see the specification here. You can use it for writing your own app instead of standard DevTools frontend.

Also there is experimental debugging API for chrome extensions.




回答2:


I have an existing extension which needed interaction with desktop resources. I used a websocket to achieve this. Maybe you could leverage this concept to access files are you required?



来源:https://stackoverflow.com/questions/8013302/getting-information-from-google-chromes-developer-tools

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!