add NavigationKind to navigate

This commit is contained in:
Muki Kiboigo
2025-12-08 05:16:48 -08:00
parent 01d71323fc
commit ac85341cab
11 changed files with 42 additions and 26 deletions

View File

@@ -114,7 +114,7 @@ fn run(
defer session.removePage();
const url = try std.fmt.allocPrintSentinel(arena, "http://localhost:9582/{s}", .{test_file}, 0);
try page.navigate(url, .{});
try page.navigate(url, .{}, .{ .push = null });
_ = page.wait(2000);