Skip to content

Conversation

@jay-sahnan
Copy link
Contributor

Add Manual MFA with Contexts Template (TypeScript & Python)

Summary

Adds a template demonstrating manual MFA completion with Browserbase Contexts to persist authentication across sessions. Includes TypeScript and Python implementations.

@jay-sahnan jay-sahnan changed the title Initial Commit jaysahnan/gro-809-manual-mfa-with-contexts Dec 27, 2025
@jay-sahnan jay-sahnan force-pushed the jaysahnan/gro-809-manual-mfa-with-contexts branch from f9a6287 to 6c88a2d Compare December 29, 2025 22:34
Copy link
Contributor

@shrey150 shrey150 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-approving, please address uv / pyproject.toml so this still functions post-Canonical Stagehand launch

env="BROWSERBASE",
api_key=os.environ.get("BROWSERBASE_API_KEY"),
project_id=os.environ.get("BROWSERBASE_PROJECT_ID"),
model_name="openai/gpt-4.1-mini",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Want to use google/gemini-3-flash-preview here if you're using a mini model? Will likely perform better

browserbase
python-dotenv
pydantic
stagehand
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would pin version number here so that stagehand v3 in Python doesn't cause compatibility issues

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually if you're using uv, I think this should be represented in a pyproject.toml

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

Successfully merging this pull request may close these issues.

3 participants