You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Everything works perfectly until the model decides to use act (e.g. click, scroll, whatever) and then I get an error with
/Users/dorb/Workspace/test/node_modules/@browserbasehq/stagehand/dist/index.js:22008
throw new StagehandMissingArgumentError(
^
StagehandMissingArgumentError: MissingArgumentError: No arguments provided to `act()`. Please ensure that all required arguments are passed in.
at StagehandOperatorHandler.<anonymous> (test/node_modules/@browserbasehq/stagehand/dist/index.js:22008:19)
at Generator.next (<anonymous>)
at test/node_modules/@browserbasehq/stagehand/dist/index.js:79:61
at new Promise (<anonymous>)
at __async (test/node_modules/@browserbasehq/stagehand/dist/index.js:63:10)
at StagehandOperatorHandler.executeAction (test/node_modules/@browserbasehq/stagehand/dist/index.js:21999:12)
at StagehandOperatorHandler.<anonymous> (test/node_modules/@browserbasehq/stagehand/dist/index.js:21936:20)
at Generator.next (<anonymous>)
at fulfilled (test/node_modules/@browserbasehq/stagehand/dist/index.js:66:24)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
When I dug deeper into the code it looks like this line
Is not yielding anything and playwrightArguments is undefined.
Am I doing something wrong?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I defined a custom LLM client and passed it to stagehand like so:
Everything works perfectly until the model decides to use
act
(e.g. click, scroll, whatever) and then I get an error withWhen I dug deeper into the code it looks like this line
Is not yielding anything and
playwrightArguments
is undefined.Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions