Password proxy in SeleniumBase
SeleniumBase handles proxy auth for Chrome by itself. You just pass a LOGIN:PASSWORD@HOST:PORT string.

Why use a proxy in SeleniumBase
SeleniumBase is a framework on top of Selenium for automation and tests, with a UC Mode against bot detection. The proxy is passed in the proxy parameter of SB() or the --proxy flag in pytest. For a password proxy SeleniumBase loads a helper extension into Chrome itself.
Take an HTTP proxy: SeleniumBase passes the login and password through Chrome's auth mechanism, which works only with HTTP proxies. SOCKS5 fits only if the proxy has no password. For account flows, a sticky session.
Residential
from $0.6 / GBHome ISP addresses. The main choice for accounts and protected sites.
VIP
$2 / GBHand-picked clean IPs, faster and more stable than regular residential.
Mobile
$4 / GBCarrier IPs, for platforms that check addresses strictly.
Step-by-step setup
Button names are given exactly as they appear in SeleniumBase.
Install SeleniumBase
Run pip install seleniumbase. It downloads the Chrome driver itself.
Export the proxy
Take the login:pass@ip:port format in @SousProxyBot or the dashboard. The http:// scheme is optional.
Pass proxy to SB()
SB(uc=True, proxy="LOGIN:PASSWORD@HOST:PORT"). In pytest tests it's the same: --proxy=LOGIN:PASSWORD@HOST:PORT.
Run it
Run python ip.py. Chrome opens and loads the page with the IP.
Check the IP
The console shows JSON from api.ipify.org with the proxy address.
Code example
Put in your own HOST, PORT, LOGIN and PASSWORD from the bot or the dashboard.
from seleniumbase import SB
with SB(uc=True, proxy="LOGIN:PASSWORD@HOST:PORT") as sb:
sb.open("https://api.ipify.org?format=json")
print(sb.get_text("body"))
Tested by running it
We ran this example ourselves: Python 3.12.3 · seleniumbase 4.58.3 · Chrome for Testing 153.0.8010.12. Real output below, IP hidden.
$ python ip.py {"ip":"proxy IP"} Pretty-print
And this is the response when the password is wrong:
$ python ip.py
This site can’t be reached The webpage at https://api.ipify.org/?format=json might be temporarily down or it may have moved permanently to a new web address. ERR_TOO_MANY_RETRIES The webpage at https://api.ipify.org/?format=json might be temporarily down or it may have moved permanently to a new web address.Check that it works
Open these pages through SeleniumBase with the proxy on.
Common errors
The issues people most often bring to support.
Chrome or Edge is required when using a proxy server that has authentication!A password proxy works only in Chrome and Edge. Firefox needs a proxy without a login; otherwise switch to Chrome.
Proxy login prompt or 407Check the string format: LOGIN:PASSWORD@HOST:PORT without spaces. A colon or @ in the password breaks parsing.
SOCKS5 with a password doesn't connectChrome doesn't support SOCKS5 with auth. Export an HTTP proxy.
Several proxy threads interfereFor parallel runs add multi_proxy=True so each thread gets its own auth extension.
FAQ
Does the proxy work in UC Mode?
Yes, proxy works with uc=True as well. For a password proxy SeleniumBase loads the auth extension itself.
How do I run it via pytest?
pytest test_ip.py --proxy=LOGIN:PASSWORD@HOST:PORT. The --uc option turns on UC Mode.
How do I exclude domains from the proxy?
Pass proxy_bypass_list, e.g. "localhost,127.0.0.1".
