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
We're considering using Stagehand in a Cloudflare Worker + Durable Object (DO) setup. The Agent, built with agent-sdk, manages WebSocket connections, session state, and interacts with Browserbase to automate browser sessions.
Questions
Is Stagehand compatible with Cloudflare Worker + Durable Object environments?
Any best practices or limitations we should consider?
Currently, I am getting this error which I think occurs because of trying to load a native .node module, which is not supported in Cloudflare Workers.
The text was updated successfully, but these errors were encountered:
I tried running Stagehand on a Cloudflare Worker a few months ago, but it wasn’t possible because Workers are not fully compatible with Node.js and therefore lack the fs module. However, this may change soon: cloudflare/workerd#3796.
So, long story short, as of now, you either use their solution or host it elsewhere.
We're considering using Stagehand in a Cloudflare Worker + Durable Object (DO) setup. The Agent, built with agent-sdk, manages WebSocket connections, session state, and interacts with Browserbase to automate browser sessions.
Questions
Currently, I am getting this error which I think occurs because of trying to load a native .node module, which is not supported in Cloudflare Workers.

The text was updated successfully, but these errors were encountered: