Selenium proxy setup

How to set up a proxy in Selenium

Configure a NobleProxy dedicated static residential proxy in Selenium with the exact fields the app asks for, then run its connection check before real tasks.

Quick answer

Add your NobleProxy host, port, username, and password to Selenium's proxy settings, choose HTTP or SOCKS5, save, and run the built-in proxy check before you start tasks.

Exact field-by-field setup
HTTP and SOCKS5 supported
One proxy per profile
Connection check before tasks

When this is the right fit

  • Exact field-by-field setup
  • HTTP and SOCKS5 supported
  • One proxy per profile

Who this page is for

Configure a NobleProxy dedicated static residential proxy in Selenium with the exact fields the app asks for, then run its connection check before real tasks.

Add your NobleProxy host, port, username, and password to Selenium's proxy settings, choose HTTP or SOCKS5, save, and run the built-in proxy check before you start tasks.

Selenium proxy fields

Proxy type / protocolHTTP or SOCKS5 - both supported on every NobleProxy endpoint
Host / endpointThe host exactly as issued in your NobleProxy dashboard
PortThe port paired with your endpoint in the dashboard
UsernameYour NobleProxy credential (case sensitive)
PasswordYour NobleProxy credential (case sensitive)
Static or rotatingStatic - the same exit IP every session by design

Field labels vary slightly between app versions; the NobleProxy values never change.

Step-by-step: connect Selenium to NobleProxy

  1. 1

    Build the Proxy object

    Create a Proxy with httpProxy and sslProxy set to host:port from your NobleProxy dashboard and add it to the browser options.

  2. 2

    Handle authentication

    Register the username and password the way your driver supports, or confirm the endpoint was provisioned for IP-based auth if your plan allows it.

  3. 3

    Start and verify

    Open an IP echo page as the first navigation and confirm it reports the endpoint address.

  4. 4

    Restart cleanly

    Stop and relaunch the driver to change endpoints; Selenium does not hot-swap proxies mid-session.

Connection check

  1. 1Run the check or test inside the tool after saving the proxy
  2. 2Confirm the reported IP matches your assigned endpoint, not your home IP
  3. 3Load one real target page and confirm it renders normally

Working connection

The tool reports the endpoint IP or country, and target pages load without credential prompts.

Broken connection

A refused connection, timeout, or repeated credential prompt means the host, port, username, or password does not match the dashboard values exactly.

Sources

Facts last reviewed 2026-09-01.

Tool-specific limitations to plan around

Selenium configures proxies through browser capabilities using a Proxy object. Python bindings raise errors late when credentials are wrong, so headless runs can silently answer 407 unless authentication is handled explicitly.

  • Driver versions differ in proxy capability names; verify with a live IP check rather than trusting the session start.
  • Set the proxy before the browser session starts; changing it later requires a full restart.

Keep the mapping one-to-one

Record which profile uses which endpoint before you start. When every task or profile has one stable residential endpoint, its session history stays consistent across restarts and team handoffs.

195+ countries
99.9% uptime guarantee
Unlimited bandwidth
4.9/5 from 127 ratings

Frequently asked questions

Which proxy protocols does Selenium support?

NobleProxy endpoints support HTTP and SOCKS5. Pick the protocol Selenium asks for in its proxy dialog; both use the same host, port, username, and password.

Where do I find the proxy host and port for Selenium?

Use the host, port, username, and password exactly as issued in your NobleProxy dashboard. Enter them in the same fields Selenium shows in its proxy configuration screen.

Should each Selenium profile get its own proxy?

Yes. Map one dedicated static residential proxy to one profile and keep that mapping stable. Reusing the same endpoint for many profiles links their sessions together.

Choose one stable proxy for every active profile

Buy self-serve now, or talk with us about a larger agency inventory.