go-rod / rod

A Chrome DevTools Protocol driver for web automation and scraping.
https://go-rod.github.io
MIT License
5.43k stars 357 forks source link

Set proxy to remote browser #1127

Open sorokin-ihor opened 1 month ago

sorokin-ihor commented 1 month ago

Rod Version: v0.116.2

is it possible to use a remote browser multithreaded and at the same time install a proxy in it? i am using the latest version of image on an ubuntu server. Docker

ysmood commented 1 month ago

Yes, the same as https://github.com/go-rod/rod/blob/0096e531a49c82f272f5661eabe755d2e7c1eb61/examples_test.go#L391

sorokin-ihor commented 1 month ago

Yes, the same as

https://github.com/go-rod/rod/blob/0096e531a49c82f272f5661eabe755d2e7c1eb61/examples_test.go#L391

in this case? u := launcher.MustResolveURL("http://")

i want control remote browser on server

ysmood commented 1 month ago

You have to install the proxy on the remote server.

sorokin-ihor commented 1 month ago

You have to install the proxy on the remote server.

Ahaha, really? Then why am I asking the question here?

ysmood commented 1 month ago

This is due to a limitation of chromium cdp protocol which is control by chrome team, there's no easy way to fix right now.