microsoft / microsoft/playwright
[Feature] Support socks5 proxy with authentication
Open
Nobody has claimed this yet.
P3-collecting-feedback
- Dominant language
- TypeScript
- Stars
- 96.4k
- Forks
- 6.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
Playwright version
lastest
Operating system
No response
What browsers are you seeing the problem on?
No response
Other information
No response
What happened? / Describe the bug
_proxy = {
"server": f"{proxy.scheme}://{proxy.ip}:{proxy.port}",
"username": f"{proxy.username}",
"password": f"{proxy.password}"
}
this proxy is correct, i can use it via requests. but in playwright, it doesnt work .
the doc says it support http or socks,
how to use socks5 proxy ?
thank yoy.
Code snippet to reproduce your bug
_proxy = {
"server": f"{proxy.scheme}://{proxy.ip}:{proxy.port}",
"username": f"{proxy.username}",
"password": f"{proxy.password}"
}
this proxy is correct, i can use it via requests. but in playwright, it doesnt work .
the doc says it support http or socks,
how to use socks5 proxy ?
thank yoy.
Relevant log output
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Playwright's proxy configuration and the authenticated SOCKS5 example in the issue, then reproduce the behavior using the provided Python snippet. The work is done when Playwright supports SOCKS5 proxies with username and password authentication and the behavior is verified against the existing HTTP and SOCKS proxy support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, typescript
- Domain
- networking, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100