browser: add wait to run the loop

This commit is contained in:
Pierre Tachoire
2024-05-07 13:10:09 +02:00
parent 11f7fc4550
commit 7a6d929f08
2 changed files with 22 additions and 4 deletions

View File

@@ -89,6 +89,8 @@ pub fn main() !void {
try page.navigate(url);
defer page.end();
try page.wait();
if (dump) {
try page.dump(std.io.getStdOut());
}