mirror of
https://github.com/lightpanda-io/browser.git
synced 2025-10-29 15:13:28 +00:00
JS clicks and MouseInput clicks trigger page navigation
This commit is contained in:
@@ -102,7 +102,7 @@ pub fn main() !void {
|
||||
// page
|
||||
const page = try session.createPage(null);
|
||||
|
||||
_ = page.navigate(url, null) catch |err| switch (err) {
|
||||
_ = page.navigate(url, .{}) catch |err| switch (err) {
|
||||
error.UnsupportedUriScheme, error.UriMissingHost => {
|
||||
log.err("'{s}' is not a valid URL ({any})\n", .{ url, err });
|
||||
return args.printUsageAndExit(false);
|
||||
|
||||
Reference in New Issue
Block a user