Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ravikirankulkarni9 opened this issue Jan 25, 2019 · 0 comments

Comments

@ravikirankulkarni9
Copy link

ravikirankulkarni9 commented Jan 25, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant