Generating a HAR file from a browser