Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Specifying Browser Launch Options #433

Open
symon-skelly1991 opened this issue Jan 24, 2025 · 0 comments
Open

Support for Specifying Browser Launch Options #433

symon-skelly1991 opened this issue Jan 24, 2025 · 0 comments

Comments

@symon-skelly1991
Copy link

Hi! cool product!

I need a way to specify custom browser launchOptions args for Chrome, perhaps then could be added to the StagehandConfig that is passed to the stagehand instance?

import dotenv from "dotenv";

dotenv.config();
const StagehandConfig: ConstructorParams = {
  env: "LOCAL",
  apiKey: process.env.BROWSERBASE_API_KEY
  projectId: process.env.BROWSERBASE_PROJECT_ID
  debugDom: true
  headless: false,
 ...
  launchOptions: { args [     
      '--ignore-gpu-blacklist',
      '--disable-software-rasterizer',
      '--use-angle=default'
      ... etc
  ]}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant