Using proxy between remotewebdriver and phantomjs?

17 views
Skip to first unread message

Tilo C

unread,
Sep 24, 2017, 11:39:33 PM9/24/17
to webdriver
Hello,

I have a setup where my test code using RemoteWebDriver is supposed to execute on one machine, and an instance of phantomjs is running inside a docker container on another machine. Unfortunately, there is no unhindered Internet connection between these two machines. Only routing through an HTTP/HTTPS proxy. I am therefore looking for a way to instruct RemoteWebDriver to tunnel its commands to the browser through that proxy. Is that possible? Please note that this is different from the question which has been answered here before on how to instruct the browser to use a proxy. I am looking for RemoteWebDriver to use a proxy.

Sincerely,
Tilo

David

unread,
Sep 25, 2017, 12:16:27 PM9/25/17
to webdriver
Interesting question. If not configurable at the binding/code level, this sounds like an OS-type level configuration, for a "catch all" where you set the OS to route all HTTP/HTTPS traffic through the proxy.
Reply all
Reply to author
Forward
0 new messages