selenium
selenium copied to clipboard
HTTP Proxy with Auth not being used
Hello, I have been trying to use proxies with user auth with chrome and no luck so far, my last attempt was using this format:
`httpproxy := selenium.Proxy{ Type: "manual", HTTP: "http://" + (streamproxysorted[2] + ":" + streamproxysorted[3] + "@" + streamproxysorted[0] + ":" + streamproxysorted[1]), //HTTPPort: httpport, }
caps := selenium.Capabilities{
"browserName": "chrome",
}
if desiredProxyType == "HTTP" {
fmt.Println("proxy activated")
//httpport, _ := strconv.Atoi(streamproxysorted[1])
caps.AddProxy(httpproxy)
}`
It doesnt throw me any error ( I think ) but when I check ip, still no proxy being used.
Hi, did u solve this problem?
up
Hi, did u solve this problem?
@pgshow did u solve it?
Nope