feat(browser): add scrollintoview action

This commit is contained in:
Peter Steinberger
2026-01-12 21:56:08 +00:00
parent 2faf7cea93
commit 6857f16609
5 changed files with 87 additions and 0 deletions

View File

@@ -36,6 +36,12 @@ export type BrowserActRequest =
}
| { kind: "press"; key: string; targetId?: string; delayMs?: number }
| { kind: "hover"; ref: string; targetId?: string; timeoutMs?: number }
| {
kind: "scrollIntoView";
ref: string;
targetId?: string;
timeoutMs?: number;
}
| {
kind: "drag";
startRef: string;