Closed 532910 closed 9 months ago
I'm not sure what causes this, but I have seen this on FreeBSD, Win32 and cygwin. Are you getting this on a different platform?
Yep, on linux, debian stable.
https://github.com/firefox-devtools/har-export-trigger/issues/27
could this be related?
probably not, as the har => 1
argument to Firefox::Marionette->new()
already automatically loads the devtools window, but I'm not having a lot of luck reproducing this one. Do you have a script that can reliably reproduce the issue?
I can reproduce the issue when loading a website that is very quick to load (a local nginx server returning a single html page). Does that sound like it matches your environment?
I've attached a small patch here to show a solution to the issue I described above. If that matches your issue, could you apply the patch to your local install and see if it fixes the issue? har.patch
Any chance you can test this? I've included the patch in the attached package Firefox-Marionette-1.50_01.tar.gz
Sure! Hope I'll test it this weekend.
Just a ping on this one?
I think this is fixed now. There are new packages available on CPAN with the fixes included. Please reopen this bug if you encounter this issue again.
With
new(har => 1)
I getPerl: javascript error: ReferenceError: HAR is not defined
from time to time.