Skip to content

Request before page redirection to error page are not captured. #55

@ravikirankulkarni9

Description

@ravikirankulkarni9

Hi,

I am using selenium integrated with har-export-trigger to capture requests for my web page,
I have set below preferences>
"devtools.netmonitor.har.includeResponseBodies", true;
"extensions.netmonitor.har.enableAutomation", true;
"devtools.webconsole.persistlog", true
"extensions.netmonitor.har.contentAPIToken", "test"
"extensions.netmonitor.har.autoConnect", true
"devtools.netmonitor.har.defaultLogDir",""

All the request are getting captured,
But when a page starts loading and in the middle of page load if the page redirects to another page, the requests before page redirection are missing.

js used to capture har:
var options = {
token: "test",
getData: true,
type: "none",
fileName: "testName_harfile-%y%m%d%H%M%S" // Name of the file
};

HAR.triggerExport(options).then(result => {
});

Browser: Firefox 45.9.0
har-export-trigger version: -0.5.0-beta.7

Please help.

Thanking in advance.
Ravi

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions