Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/lib/v3/cache/ActCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class ActCache {
const execute = async (): Promise<ActResult> => {
const actionResults: ActResult[] = [];
for (const action of entry.actions) {
const result = await handler.actFromObserveResult(
const result = await handler.takeDeterministicAction(
action,
page,
this.domSettleTimeoutMs,
Expand Down
4 changes: 2 additions & 2 deletions packages/core/lib/v3/cache/AgentCache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ export class AgentCache {
if (actions.length > 0) {
const page = await ctx.awaitActivePage();
for (const action of actions) {
await handler.actFromObserveResult(
await handler.takeDeterministicAction(
action,
page,
this.domSettleTimeoutMs,
Expand All @@ -581,7 +581,7 @@ export class AgentCache {
if (!Array.isArray(actions) || actions.length === 0) return;
const page = await ctx.awaitActivePage();
for (const action of actions) {
await handler.actFromObserveResult(
await handler.takeDeterministicAction(
action,
page,
this.domSettleTimeoutMs,
Expand Down
Loading