I want to parse the raw network data collected by Chrome remote debugging protocol. But it's too complicated.Is there any tool to parse it ? Just like what https://github.com/paulirish/devtools-timeline-model do for raw timeline data.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/4cfe5edd-e3b7-459e-b9ca-67f37e3305fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/CAEX3Kha8rvjZw%3Daxc-LNqvBghkNXHQqgeFNp4fGoBKgrZh5kkw%40mail.gmail.com.
Yup!It's pretty straightforward to reuse front_end/sdk/NetworkManager.jsHere's what we did in Lighthouse:
- lighthouse/network-recorder.js is what initalizes the WebInspector.networkManager, which what you want.
- lighthouse/web-inspector.js has our mocked WebInspector object, with a few stubs for our "headless" use.
- lighthouse/driver.js has the basic protocol bindings
It's not yet extracted cleanly into a standalone module like devtools-timeline-model, but it'd look something like these files.(web-inspector.js would just be a bit cleaner with fewer stubs).
On Tue, Jun 21, 2016 at 9:23 AM, Pavel Feldman <pfel...@chromium.org> wrote:
You kind of need devtools-network-manager. Lighthouse folks, have you extracted it for reuse similarly to timeline?
P
On Mon, Jun 20, 2016, 10:58 Chen Yang <chen...@hulu.com> wrote:
I want to parse the raw network data collected by Chrome remote debugging protocol. But it's too complicated.--Is there any tool to parse it ? Just like what https://github.com/paulirish/devtools-timeline-model do for raw timeline data.
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/4cfe5edd-e3b7-459e-b9ca-67f37e3305fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.