We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ab4f1b commit c24f3c9Copy full SHA for c24f3c9
.changeset/twenty-cooks-perform.md
@@ -0,0 +1,5 @@
1
+---
2
+"@browserbasehq/stagehand": patch
3
4
+
5
+return act result in actFromObserve
lib/handlers/actHandler.ts
@@ -174,7 +174,7 @@ export class StagehandActHandler {
174
? `${method} ${observe.description}`
175
: observe.description;
176
// Call act with the ObserveResult description
177
- await this.stagehandPage.act({
+ return await this.stagehandPage.act({
178
action: actCommand,
179
slowDomBasedAct: true,
180
});
0 commit comments