Skip to content

[🐛 Bug]: how to use socks5 with username and password in selenium? #16326

@GlobalMe2017

Description

@GlobalMe2017

Description

i want to use socks5 with username and password in selenium, but it does not work.

i found a way that could work around with pproxy to create a local proxy without username and password. but i wonder there should be a much better way?

Reproducible Code

proxy = "socks5://IP:PORT:USERNAME:PASSWORD"
opts.add_argument(f"--proxy-server={proxy}")
driver = webdriver.Chrome(options=opts)

Debugging Logs

it just does not connect to the socks5

ℹ️ Last known working version: 4.34.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-pyPython BindingsD-chromeI-defectSomething is not working as intendedI-questionApplied to questions. Issues should be closed and send the user to community resources.I-regressionSomething was working but we "fixed" itJ-awaiting answerQuestion asked of user; a reply moves it to triage againOS-windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions