aerokube / moon

Browser automation solution for Kubernetes and Openshift supporting Selenium, Playwright, Puppeteer and Cypress
http://aerokube.com/moon/latest
Apache License 2.0
224 stars 19 forks source link

Increased useful data in HAR file #434

Open dkuznetsov21 opened 1 month ago

dkuznetsov21 commented 1 month ago

Problem

Currently, the HAR file lacks sufficient information since the responses are missing in the requests. Therefore, we need to include responses.

However, after adding the responses, the HAR file becomes very large. We need to figure out a way to reduce its size.

Suggested Solutions

Additional Reference

In the Telegram support chat, they shared how dynamic capture for HAR files is implemented. You can check it out here: https://github.com/browserup/browserup-proxy/blob/0f28ec6e8f1423e1fdb014fded72e9278bdd083f/browserup-proxy-core/src/main/java/com/browserup/bup/proxy/CaptureType.java#L15