sourcegraph / go-selenium

Selenium WebDriver client for Go
https://sourcegraph.com/github.com/sourcegraph/go-selenium
Other
367 stars 73 forks source link

How to set proxy? #33

Closed guotie closed 8 years ago

guotie commented 8 years ago

How to set proxy?

sqs commented 8 years ago

It uses a mostly default HTTP client (see https://sourcegraph.com/github.com/sourcegraph/go-selenium/-/blob/remote.go#L188:5). This means it uses http.DefaultTransport. You can set the HTTP_PROXY or HTTPS_PROXY env vars, and they should take effect.

Please reopen if not so.