phantomas
phantomas copied to clipboard
Headless Chromium-based web performance metrics collector and monitoring tool
* https://web.dev/vitals/ * **Largest Contentful Paint (LCP)**: measures loading performance. To provide a good user experience, LCP should occur within 2.5 seconds of when the page first starts loading. *...
Resolves #809
### HTTP 401 ``` $ ./bin/phantomas.js 'https://httpbin.org/basic-auth/foo/bar' Error: Protocol error (Performance.getMetrics): Target closed. ``` ### HTTP 404 ``` ./bin/phantomas.js http://127.0.0.1:8888/not_found 2>&1 Error: Navigation failed because browser has disconnected! ```
https://github.com/puppeteer/puppeteer/blob/main/docs/api.md#class-coverage Coverage gathers information about parts of JavaScript and CSS that were used by the page. An example of using JavaScript and CSS coverage to get percentage of initially executed...
Some websites use headers, for instances Accept: application/json, text/plain, */* Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.9,en;q=0.8 Connection: keep-alive Host: 192.168.21.143 Referer: http://192.168.21.143/team/group/create?edit=0&id=77 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36...
Hi, I'm thinking of adding some metrics and changing some others, to better address responsive images and the reality of screen sizes and resolutions. ### Issues with the current implementation:...
Because a cookie's SameSite attribute was not set or is invalid, it defaults to SameSite=Lax, which prevents the cookie from being sent in a cross-site request. This behavior protects user...
``` puppeteer:protocol ◀ RECV {"method":"Page.lifecycleEvent","params":{"frameId":"A3E0B98F691FE247A8818E03E98353B4","loaderId":"F7AFEA069476506392A707488560C153","name":"firstPaint","timestamp":4352.043963}, "sessionId": "77B64C809DCB7B952CE826F8268262DF"} +0ms puppeteer:protocol ◀ RECV {"method":"Page.lifecycleEvent","params":{"frameId":"A3E0B98F691FE247A8818E03E98353B4","loaderId":"F7AFEA069476506392A707488560C153","name":"firstContentfulPaint","timestamp":4352.043972}, "sessionId": "77B64C809DCB7B952CE826F8268262DF"} +0ms ... puppeteer:protocol ◀ RECV {"method":"Page.lifecycleEvent","params":{"frameId":"A3E0B98F691FE247A8818E03E98353B4","loaderId":"F7AFEA069476506392A707488560C153","name":"firstMeaningfulPaintCandidate","timestamp":4352.043973}, "sessionId": "77B64C809DCB7B952CE826F8268262DF"} +0ms ```
> Using this application cache feature is highly discouraged; it’s in the process of being removed from the Web platform. As of Firefox 44+, when AppCache is used to provide...
Thanks for your consideration of this enhancement request.