Skip to content

Commit cd36068

Browse files
Rm old act logic (#612)
* add selfheal back to constructor * rm old act code * changeset * rm unused actHandler params
1 parent a59eaef commit cd36068

File tree

7 files changed

+12
-1101
lines changed

7 files changed

+12
-1101
lines changed

Diff for: .changeset/ripe-lands-jump.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@browserbasehq/stagehand": patch
3+
---
4+
5+
remove all logic related to dom based act

Diff for: lib/StagehandPage.ts

-8
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,9 @@ export class StagehandPage {
105105

106106
if (this.llmClient) {
107107
this.actHandler = new StagehandActHandler({
108-
stagehand: this.stagehand,
109-
verbose: this.stagehand.verbose,
110-
llmProvider: this.stagehand.llmProvider,
111-
enableCaching: this.stagehand.enableCaching,
112108
logger: this.stagehand.logger,
113109
stagehandPage: this,
114-
stagehandContext: this.intContext,
115-
llmClient: llmClient,
116-
userProvidedInstructions,
117110
selfHeal: this.stagehand.selfHeal,
118-
waitForCaptchaSolves: this.waitForCaptchaSolves,
119111
});
120112
this.extractHandler = new StagehandExtractHandler({
121113
stagehand: this.stagehand,

0 commit comments

Comments
 (0)