test: retain browser exceptions in runner campaign diagnostics

This commit is contained in:
Dotta committed 2026-09-22 10:24:20 -05:00
1 parent f044e17ed5
commit d2a6acddb4
1 file changed
+3
+3
View File
@@ -727,6 +727,9 @@ for (const execution of executions) {
});
}
});
page.on("pageerror", (error) => {
consoleDiagnostics.push({ type: "pageerror", text: error.message, stack: error.stack });
});
page.on("requestfailed", (requestEvent) => {
networkDiagnostics.push({
method: requestEvent.method(),