Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Windows 10 bereikt EO (einde ondersteuning) op 14 oktober 2025. Lees voor meer informatie dit artikel.

Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

HAR file generation fails in Firefox 59.0.2

  • 1 antwoord
  • 1 heeft dit probleem
  • 10 weergaven
  • Laatste antwoord van czdiaz

more options

Hello: I am developing a test with selenium 3.11.0 + geckodriver 0.19.1 + firefox 59.0.2 to get the HAR file when loading a page. I got always an error, and no HAR file when using the latest version of Firefox. I could not find any error in the test configuration, and the logs showed always an error in the javascript har-builder.js, which is internal to Firefox. I have not modified the standard configuration of Firefox, or using any add-ons. The idea is to use an standard configuration. I tested in my Mac High Sierra and in a Ubuntu 16.04. Same results I switched the version to Firefox 57.0, and the tests are now always successful in both the Mac and in the Ubuntu, and the HAR file is generated every time. I attach images of the geckodriver logs with every case...Uploading of images fails.. :-(  !!!

I did not find any related issue in the support page.

Regards, Claudio

Hello: I am developing a test with selenium 3.11.0 + geckodriver 0.19.1 + firefox 59.0.2 to get the HAR file when loading a page. I got always an error, and no HAR file when using the latest version of Firefox. I could not find any error in the test configuration, and the logs showed always an error in the javascript har-builder.js, which is internal to Firefox. I have not modified the standard configuration of Firefox, or using any add-ons. The idea is to use an standard configuration. I tested in my Mac High Sierra and in a Ubuntu 16.04. Same results I switched the version to Firefox 57.0, and the tests are now always successful in both the Mac and in the Ubuntu, and the HAR file is generated every time. I attach images of the geckodriver logs with every case...Uploading of images fails.. :-( !!! I did not find any related issue in the support page. Regards, Claudio

Alle antwoorden (1)

more options

I could not upload the images with the error, so I copy the error message from the gecko driver log, as it may help:

console.error:

 Message: TypeError: requestPostData is undefined
 Stack:
   buildPostData@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-builder.js:268:9

buildRequest@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-builder.js:186:30 buildEntry@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-builder.js:128:27 build@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-builder.js:62:30 buildHarData@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-exporter.js:175:12 fetchHarData@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-exporter.js:140:12 executeExport@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-automation.js:188:12 autoExport@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-automation.js:135:12 pageLoadDone/<@resource://devtools/shared/base-loader.js -> resource://devtools/client/netmonitor/src/har/har-automation.js:116:16