feat: enable Verified Browser Mode and residential proxies by default#1
Open
shubh24 wants to merge 1 commit into
Open
feat: enable Verified Browser Mode and residential proxies by default#1shubh24 wants to merge 1 commit into
shubh24 wants to merge 1 commit into
Conversation
Sessions previously sent `browserSettings.stealth: true`, which is not a recognized Browserbase session field and was silently ignored — so sessions ran without advanced stealth or proxies, and got blocked by Cloudflare and similar anti-bot challenges. This wires the correct fields: - `browserSettings.verified` (Verified Browser Mode / advanced stealth) - top-level `proxies` (Browserbase-managed residential proxies) Both default to ON and can be disabled via the BROWSERBASE_VERIFIED / BROWSERBASE_PROXIES env vars. Note these features require a Browserbase plan that includes them. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
createSession()sendsbrowserSettings.stealth: true, butstealthis not a recognized field in the Browserbase session-create API, so it is silently ignored. As a result the app creates plain sessions — no advanced stealth, no proxies — despite the README claiming "advanced stealth enabled by default." These sessions get stopped by Cloudflare's "Performing security verification" interstitial and similar anti-bot challenges.Fix
Send the correct fields:
browserSettings.verified— Verified Browser Mode (advanced stealth)proxies— Browserbase-managed residential proxies (note: this is a top-level field, not nested underbrowserSettings)Both default to ON and can be disabled via env vars:
Changes
src/main/browserbase.ts— replace the no-opstealthfield withverified+ top-levelproxies, both env-toggleablesrc/shared/types.ts— updateSessionConfig(proxies,browserSettings.verified).env.example— document the two new togglesREADME.md— correct the stealth feature descriptionNotes
verifiedand residentialproxiesrequire a Browserbase plan that includes them; on plans without them the API will reject or ignore the flags.verified: true+proxies: true(statusRUNNING, accepted by the API), connects over CDP, and loads pages.Docs: Verified mode · Proxies
🤖 Generated with Claude Code