SE
Browser Automation
Selenium proxy integration
Chrome and Firefox under Selenium don't accept username:password proxies through plain command-line flags, so the cleanest path is Selenium Wire, which injects the credentials for you. This lets Selenium drive a real browser through Aethyn residential IPs.
Setup steps
- 1Install Selenium Wire: pip install selenium-wire.
- 2Pass your Aethyn proxy in seleniumwire_options.
- 3Launch the driver and browse as usual.
- 4Add targeting suffixes in the username for geo control.
Code
Selenium Wire (Python)
from seleniumwire import webdriver
proxy = "http://aethyn-XXXXX-country-us:PASSWORD@proxy.aethyn.io:2099"
options = {
"proxy": {
"http": proxy,
"https": proxy,
"no_proxy": "localhost,127.0.0.1",
}
}
driver = webdriver.Chrome(seleniumwire_options=options)
driver.get("https://httpbin.org/ip")
print(driver.page_source)
driver.quit()Replace aethyn-XXXXX and PASSWORD with your dashboard credentials. See the full targeting reference and protocol/port list.
Tips
- Selenium Wire handles proxy auth that vanilla Selenium cannot.
- Pair residential proxies with a realistic user-agent to reduce detection.
- Use a sticky session for multi-step flows so the IP stays constant.
Selenium proxy FAQ
Can I use plain Selenium without Selenium Wire?
Only for proxies that don't require authentication. Because Aethyn uses username/password auth, Selenium Wire (or a Chrome extension that injects credentials) is the simplest reliable option.
Docs, solutions & blog
Related solution guideEnd-to-end workflow that pairs with this integration.Python SDKproxy-builder-sdk on PyPI — requests/httpx helpers and validated targeting.Premium residential proxiesCost-efficient rotating residential pool from €2.00/GB for bulk scraping and monitoring.Elite residential proxiesCurated high-trust pool with city and ISP targeting for hard anti-bot targets.Quickstart docsCredentials, endpoints, and your first proxied request.Proxy glossaryPlain-English definitions for residential proxies, rotation, anti-bot, and scraping terms.