playwright-community / playwright-go

Playwright for Go a browser automation library to control Chromium, Firefox and WebKit with a single API.
https://playwright-community.github.io/playwright-go/
MIT License
2.25k stars 163 forks source link

[Feature]: how to use ssr or ss proxy with golang #467

Open okami-chen opened 5 months ago

okami-chen commented 5 months ago

Does the upstream have similar features? playwright-go is just a community-driven client for playwright. For feature requests, please refer to other officially supported clients first. Nodejs / Java / .Net / Python

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Additional context Add any other context or screenshots about the feature request here.

canstand commented 5 months ago

Just specify the http or socks5 proxy address in browser.NewContext(playwright.BrowserNewContextOptions{ Proxy: "http://[ip]:[port]")