mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 06:23:45 +00:00
add NavigationKind to navigate
This commit is contained in:
@@ -85,7 +85,7 @@ pub fn run(allocator: Allocator, file: []const u8, session: *lp.Session) !void {
|
||||
try_catch.init(js_context);
|
||||
defer try_catch.deinit();
|
||||
|
||||
try page.navigate(url, .{});
|
||||
try page.navigate(url, .{}, .{ .push = null });
|
||||
session.fetchWait(2000);
|
||||
|
||||
page._session.browser.runMicrotasks();
|
||||
|
||||
Reference in New Issue
Block a user