start inspector when the js env starts

This commit is contained in:
Pierre Tachoire
2024-12-29 10:22:46 +01:00
parent c149f65158
commit 4c9a24c64e
3 changed files with 22 additions and 6 deletions

View File

@@ -326,7 +326,7 @@ pub fn main() !void {
// page
const page = try browser.session.createPage();
try page.start();
try page.start(null);
defer page.end();
_ = page.navigate(opts.url, null) catch |err| switch (err) {