selenium icon indicating copy to clipboard operation
selenium copied to clipboard

HTTP Proxy with Auth not being used

Open beastfy opened this issue 5 years ago • 4 comments

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.

beastfy avatar Sep 10 '20 00:09 beastfy

Hi, did u solve this problem?

pgshow avatar Aug 09 '21 18:08 pgshow

up

ProDanceGrammer avatar Jun 12 '23 18:06 ProDanceGrammer

Hi, did u solve this problem?

@pgshow did u solve it?

ProDanceGrammer avatar Jun 12 '23 18:06 ProDanceGrammer

Nope

pgshow avatar Jun 14 '23 15:06 pgshow