TracingStartedInPage event not found
adamyonk opened this issue · comments
Adam Jahnke commented
I'm trying to dump the firehose out of dataCollected
:
await Tracing.dataCollected(data => {
try {
events.push(new TimelineModel(data.value));
} catch (e) {
events.push(data.value);
}
});
await Page.loadEventFired();
await Tracing.start();
await Runtime.evaluate({ awaitPromise: true, expression: "runTest();" });
await Tracing.end();
await Tracing.tracingComplete();
But I end up getting all of these errors when I try to run events through DTM:
Am I missing something here? Here is a dump of all of the events coming out:
https://gist.github.com/adamyonk/af54d54d19584ad267780a384cb1f3e9