on 03 Jan 2023 02:40 AM - edited on 03 Jan 2023 08:43 AM by MaciejNeumann
What is a HAR file?
HAR is the short form for HTTP ARchive format, which tracks all the logging of web requests from an application. This can also be captured for web requests from webview of hybrid mobile applications.
How can we get the HAR file?
Most commonly you can use google chrome or safari for getting the HAR file. You can also use a real device or simulator to capture the HAR file.
It is usually common for hybrid application to have both iOS and Android builds. For iOS, it is usually easier to debug and get the HAR file using safari however you can still use chrome. For, Android it is easier to do this using google chrome as you just have to plugin in the device to your machine and it is readily available for debugging. You can also use a tool like Inspect which is a very powerful tool and can do mostly anything similar to chrome developer tools.