Comments (7)
No I think Puppeteer somehow changes the trace log? This project was built for https://github.com/sitespeedio/browsertime to that uses webdriver to get the trace log from Chrome. Best is to ask in the puppeteer project.
from chrome-har.
If I build in master with Chrome 66 beta it looks like this:
so I'm pretty sure something changed in Chrome 66. Let me collect a trace log and see if I can find out what.
from chrome-har.
Log example, will check more tonight: https://gist.github.com/soulgalore/2a48ff346a0dfdac101cb4fa99a3bfbc
from chrome-har.
Fixed in 0.3.1
from chrome-har.
It does not seem fixed in latest puppeteer version/chrome(1.8.0)
from chrome-har.
@vlad4800 please create an upstream bug then in puppeteer :) We use Chrome standalone for our testing with Browsertime and there it works. It seems like there are things that puppeteer do that change the trace log so it isn't the same as if you run with Chrome standalone (people have reported issues where the trace events are in the wrong order etc).
Best
Peter
from chrome-har.
Yeah, that's exactly the issue here if I look at the raw events, then order of: Network.requestWillBeSent, Network.responseReceived and Page.frameStartedLoading is not always the same.
So you mean installing a different Chrome version than the one that comes as default with Puppeteer?
from chrome-har.
Related Issues (20)
- bump tough-cookie dependency to 4.1.3 due to vulnerability HOT 1
- Invalid time value HOT 4
- Problems (i met) in Chrome Extension use HOT 1
- Support WebSocket in HAR HOT 3
- url.parse is deprecated HOT 1
- timings.receive invalid for cached items HOT 1
- Advice on capturing iframe or service worker events? HOT 3
- pageTimings empty HOT 2
- Redirects in main document are not detected as new page (explicit redirect or navigation) HOT 2
- Missing requests in iFrame within iFrame HOT 1
- Information missing from requests and responses HOT 1
- How to include the "_error" in the HAR file? HOT 4
- requestIntercepted deprecated. Support for responseReceived?
- Cached resources does not appear in har HOT 1
- TS types HOT 1
- discrepancies in Har generated from browsertime and Chorme DevTools HOT 1
- HAR file partially generated HOT 9
- possibility to get network without page fire events HOT 1
- How to determine if a request was preloaded ? HOT 6
- bump `debug` dependency version to latest version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chrome-har.