refactor: make browser actions ref-only

This commit is contained in:
Peter Steinberger
2025-12-26 19:02:19 +00:00
parent f50f18f65a
commit 1236c4dafb
15 changed files with 131 additions and 183 deletions

View File

@@ -14,8 +14,7 @@ export type BrowserFormField = {
export type BrowserActRequest =
| {
kind: "click";
ref?: string;
selector?: string;
ref: string;
targetId?: string;
doubleClick?: boolean;
button?: string;
@@ -23,8 +22,7 @@ export type BrowserActRequest =
}
| {
kind: "type";
ref?: string;
selector?: string;
ref: string;
text: string;
targetId?: string;
submit?: boolean;