Skip to content

Lightpanda: the headless browser designed for AI and automation

minor: silence log in test that intentionally generates an error

Karl Seguinc754c999a4cc
diff --git a/src/cdp/domains/page.zig b/src/cdp/domains/page.zig
index c01f5b9a3..2169d3198 100644
--- a/src/cdp/domains/page.zig
+++ b/src/cdp/domains/page.zig
@@ -1396,6 +1396,9 @@ test "cdp.frame: navigate does not follow Location on a non-redirect 3xx" {
}
test "cdp.frame: navigate answers with errorText when the navigation fails" {
+ const filter: testing.LogFilter = .init(&.{ .frame });
+ defer filter.deinit();
+
// A root navigation that fails before commit (here: connection refused —
// nothing listens on port 1) must still answer the Page.navigate command.
// Chrome resolves it with an errorText field ("present if and only if