Browserbase Custom Proxies: Settings and Tests
Understand Browserbase custom HTTP and HTTPS proxy settings, session validation and a practical test plan for using an external proxy provider.
By PROXIES.SX Team · Documentation reviewed

Set proxies when creating the browser session. Custom HTTP(S) proxies require Developer or higher; provider compatibility needs a session test.
The configuration is based on the linked official documentation. A live integration test with Proxies.sx has not been completed for this guide; no vendor endorsement is implied.
- Application
- Browserbase session
- External proxy
- Target website
Configuration reference
| Setting | What to enter or check |
|---|---|
proxies[].type | Use external for a custom provider. |
proxies[].server | The HTTP(S) proxy endpoint. |
username / password | Proxy credentials; do not substitute the Browserbase API key. |
JavaScript configuration
// Merge this into your SDK session-creation options.
// Configuration only: no session is created here.
const sessionOptions = {
proxies: [{
type: 'external',
server: process.env.PROXY_SERVER,
username: process.env.PROXY_USERNAME,
password: process.env.PROXY_PASSWORD,
}],
};
// Keep the Browserbase API key in the SDK client's configuration.
// Do not log sessionOptions: it contains proxy credentials.PROXY_SERVER is the HTTP(S) scheme, hostname and port, without credentials. Supply any other session options your project needs through the current SDK. A successful local proxy test does not establish that Browserbase can connect to it.
Configuration source: Browserbase proxy reference.
Browserbase lets you specify an external HTTP or HTTPS proxy when creating a browser session. This lets you evaluate browser hosting and proxy routing separately. Check both the plan requirement and whether Browserbase can reach your chosen proxy before building a workflow around it.
Configure the session, then test the page
The Browserbase proxy reference places external proxy settings in the session's proxies array. An external entry identifies its type, server and authentication details. Keep those fields separate in your application's configuration so a browser API token cannot be mistaken for a proxy password.
The same reference says custom proxies are available on the Developer plan and above. Browserbase validates the proxy connection during session creation and can reject an unreachable proxy. It explicitly cautions that not every provider is supported. A provider's HTTP endpoint therefore needs an actual session test before you describe it as a supported integration.
A small evaluation with clear pass conditions
- Confirm that the proxy responds from a server environment before involving a hosted browser. This isolates basic credentials and routing problems.
- Create one Browserbase session with the external proxy fields. Record a sanitized error if session creation fails.
- Open a controlled diagnostic page inside that session. Check the address observed by the page; a check made by your local application measures a different connection.
- Visit the target page you are permitted to use. Define success in advance, such as a particular heading or completed read-only action.
- Repeat at low concurrency. Record failures and response times as well as successful requests.
Our gateway documentation explains where to obtain Proxies.sx connection details. Select a currently available route; the existence of a country selector in an application is not evidence of usable inventory in that country.
Keep routing and browser state separate
A browser profile can retain cookies while the network address changes. A proxy can also retain an address while you create a fresh browser profile. When investigating a login problem, record which of those two things changed. Otherwise, a test can attribute a cookie issue to the proxy or a routing issue to the browser.
For a regional check, compare the page's displayed location with the observed address and your requested route. Treat disagreement as a result to investigate. Do not silently count a response from a different region as a successful localized test.
What the official example contributes
Browserbase publishes a proxy automation template that covers built-in, regional and custom proxy configurations. Use that maintained starting point when evaluating its APIs. Adapt a small example first and record the SDK version with your test results.
Which protocol should I start with?
Use the HTTP or HTTPS proxy types documented by Browserbase. Do not assume that a provider's SOCKS5 endpoint is interchangeable in the same field.
Continue with the target-specific testing guide and proxy tester before committing a production workload.
When the first test fails
| Observation | Next check |
|---|---|
| Session creation fails | Check plan eligibility, endpoint reachability and authentication. Save the sanitized service error. |
| Local IP check looks correct | Repeat the check inside the hosted browser; the application and browser make different connections. |
| Regional content differs | Compare the requested route, observed address and page result before accepting the run. |
For a proxy authentication failure, follow the HTTP 407 diagnosis. If the destination rate-limits requests, use bounded retries and Retry-After. Changing an IP is not a substitute for fixing the request.
Keep a test record you can compare
Save the platform version, sanitized configuration and expected result for each run. Record unsuccessful attempts too. Keep account credentials, full proxy URLs and private addresses out of shared results.
The worksheet is blank by design. Fill it with your observations; an empty value means unmeasured, not zero. Count a result as valid only when it meets your task’s pass condition. Calculate cost per valid result from the complete test cost, including failed attempts; if no result is valid, report that outcome instead of dividing by zero.
Download the CSV worksheetFor measurement definitions and a bounded pilot, continue to proxy concurrency, rotation and cost measurement.
Sources and review scope
Official references checked on 11 October 2026. Plan names and APIs can change; check the current reference before running the configuration. The test procedure and troubleshooting checks are our suggested evaluation method.
Proxy setup for browsers and workflows
Find the setting for your tool, check its scope, then test the route from the process that makes the request.