proxy settings with docker and chrome

209 views
Skip to first unread message

François Valenduc

unread,
Mar 15, 2017, 6:26:03 AM3/15/17
to Selenium Users
Hello,

I am trying to use the standalone/chrome image but I can't find a solution to let chrome use our proxy. I pass environment the HTTP_PROXY, HTTPS_PROXY and PROXY_ENABLED variable with docker run and the "-e" option when starting the docker container, but it has no effect.
I am in fact using this with RSelenium.

Is there a solution to this problem ?

Thanks for your help,

François Valenduc

⇜Krishnan Mahadevan⇝

unread,
Mar 15, 2017, 12:37:42 PM3/15/17
to Selenium Users
Francois,
Shouldnt you be pointing the proxy via your ChromeOptions rather than try setting the proxy at the docker level ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ed638546-5b8d-498d-af7c-c63c7a2a8257%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

François Valenduc

unread,
Mar 15, 2017, 4:35:34 PM3/15/17
to Selenium Users
Maybe, but do you know how to do it from RSelenium ?


Le mercredi 15 mars 2017 17:37:42 UTC+1, Krishnan a écrit :
Francois,
Shouldnt you be pointing the proxy via your ChromeOptions rather than try setting the proxy at the docker level ?

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Wed, Mar 15, 2017 at 3:54 PM, François Valenduc <francois...@gmail.com> wrote:
Hello,

I am trying to use the standalone/chrome image but I can't find a solution to let chrome use our proxy. I pass environment the HTTP_PROXY, HTTPS_PROXY and PROXY_ENABLED variable with docker run and the "-e" option when starting the docker container, but it has no effect.
I am in fact using this with RSelenium.

Is there a solution to this problem ?

Thanks for your help,

François Valenduc

--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To post to this group, send email to seleniu...@googlegroups.com.

⇜Krishnan Mahadevan⇝

unread,
Mar 15, 2017, 11:17:23 PM3/15/17
to Selenium Users
Francois,
No I am not aware of RSelenium.

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

To unsubscribe from this group and stop receiving emails from it, send an email to selenium-users+unsubscribe@googlegroups.com.
To post to this group, send email to selenium-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/ea4d3d0d-992b-48c3-95ae-ee54f4086c1e%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages