Skip to content

How to trigger Har export on java project? #50

Description

@PnmR

Hi!
Right now i have devtools.netmonitor.har.enableAutoExportToFile to true thus a new HAR file is created for every loaded page automatically but I am only interested on getting har file for specific http request or for a specific load page. I came across a script to trigger har export on javascript but how do we do it in java? Also I could not make the test page run : http://janodvarko.cz/har/tests/har-export-trigger/har-export-api.html
It simply gives ReferenceError: HAR is not defined . What am I missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions