Merge pull request #1958 from lightpanda-io/runner

Extract Session.wait into a Runner
This commit is contained in:
Karl Seguin
2026-03-24 07:28:18 +08:00
committed by GitHub
16 changed files with 434 additions and 393 deletions

View File

@@ -236,7 +236,7 @@ pub const WaitUntil = enum {
load,
domcontentloaded,
networkidle,
fixed,
done,
};
pub const Fetch = struct {
@@ -415,8 +415,8 @@ pub fn printUsageAndExit(self: *const Config, success: bool) void {
\\ Defaults to 5000.
\\
\\--wait_until Wait until the specified event.
\\ Supported events: load, domcontentloaded, networkidle, fixed.
\\ Defaults to 'load'.
\\ Supported events: load, domcontentloaded, networkidle, done.
\\ Defaults to 'done'.
\\
++ common_options ++
\\