-
Problem report
-
Resolution: Fixed
-
Major
-
7.0.0
-
S24-W28/29
-
2
Can not use synthetic tests with Firefox. For example default JS code:
var browser = new Browser(Browser.firefoxOptions()); try { browser.navigate("https://zabbix.com"); browser.collectPerfEntries(); } finally { return JSON.stringify(browser.getResult()); }
result is:
{"duration":3.0171115398406982,"error":{"http_status":500,"code":"javascript error","message":"cannot collect performance data: toJSON() failed with: TypeError: 'toJSON' called on an object that does not implement interface PerformanceNavigationTiming."}}
replacing getResult with getRawPerfEntries fixes the issue.