File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change 11import { LogLine } from "./log" ;
2-
3- export interface PlaywrightArguments {
4- description : string ;
5- method : string ;
6- arguments : string [ ] ;
7- selector : string ;
8- }
2+ import { ObserveResult } from "./stagehand" ;
93
104export interface ActToolResult {
115 success : boolean ;
126 action ?: string ;
137 error ?: string ;
148 isIframe ?: boolean ;
15- playwrightArguments ?: PlaywrightArguments | null ;
9+ playwrightArguments ?: ObserveResult | null ;
1610}
1711
1812export interface AgentAction {
@@ -25,7 +19,7 @@ export interface AgentAction {
2519 pageText ?: string ; // ariaTree tool
2620 pageUrl ?: string ; // ariaTree tool
2721 instruction ?: string ; // various tools
28- playwrightArguments ?: PlaywrightArguments | null ; // act tool
22+ playwrightArguments ?: ObserveResult | null ; // act tool
2923 [ key : string ] : unknown ;
3024}
3125
You can’t perform that action at this time.
0 commit comments