File tree Expand file tree Collapse file tree 4 files changed +176
-186
lines changed
Expand file tree Collapse file tree 4 files changed +176
-186
lines changed Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ export class ActCache {
171171 const execute = async ( ) : Promise < ActResult > => {
172172 const actionResults : ActResult [ ] = [ ] ;
173173 for ( const action of entry . actions ) {
174- const result = await handler . actFromObserveResult (
174+ const result = await handler . takeDeterministicAction (
175175 action ,
176176 page ,
177177 this . domSettleTimeoutMs ,
Original file line number Diff line number Diff line change @@ -557,7 +557,7 @@ export class AgentCache {
557557 if ( actions . length > 0 ) {
558558 const page = await ctx . awaitActivePage ( ) ;
559559 for ( const action of actions ) {
560- await handler . actFromObserveResult (
560+ await handler . takeDeterministicAction (
561561 action ,
562562 page ,
563563 this . domSettleTimeoutMs ,
@@ -581,7 +581,7 @@ export class AgentCache {
581581 if ( ! Array . isArray ( actions ) || actions . length === 0 ) return ;
582582 const page = await ctx . awaitActivePage ( ) ;
583583 for ( const action of actions ) {
584- await handler . actFromObserveResult (
584+ await handler . takeDeterministicAction (
585585 action ,
586586 page ,
587587 this . domSettleTimeoutMs ,
You can’t perform that action at this time.
0 commit comments