草庐IT

ProxyServer

全部标签

go - 为什么 ProxyServer 不能在 chromedp GO 上运行

我想在chromedp上使用代理,但代理似乎不起作用,试过chromedp.ProxyServerctx,cancel:=chromedp.NewContext(context.Background())defercancel()chromedp.ProxyServer("http://username:password@proxyserver.com:31280")chromedp.Run(ctx,chromedp.Navigate("http://wtfismyip.com"),chromedp.Sleep(3*time.Second),chromedp.ActionFunc(fu