mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 14:33:47 +00:00
Page.scheduleNavigation for location changes
This commit is contained in:
@@ -86,7 +86,7 @@ pub fn run(allocator: Allocator, file: []const u8, session: *lp.Session) !void {
|
||||
defer try_catch.deinit();
|
||||
|
||||
try page.navigate(url, .{}, .{ .push = null });
|
||||
session.fetchWait(2000);
|
||||
session.wait(2000);
|
||||
|
||||
page._session.browser.runMicrotasks();
|
||||
page._session.browser.runMessageLoop();
|
||||
|
||||
Reference in New Issue
Block a user