How to set Proxy server settings for Chrome using Serenity

1,101 views
Skip to first unread message

shashi kumar

unread,
Jan 28, 2016, 5:41:37 AM1/28/16
to Serenity BDD Users Group
Hi 

Can anyone help me to set proxy server details for chrome browser using serenity?

I was looking at the Serenity documentation which provides below properties which is mentioned only for Firefox.

serenity.proxy.http
HTTP Proxy URL configuration for Firefox and PhantomJS

serenity.proxy.http_port
HTTP Proxy port configuration for Firefox and PhantomJS

If i use the same properties for chrome browser it doesn't work.

Regards
Shashi Kumar S

Harry King

unread,
Feb 2, 2016, 4:03:25 PM2/2/16
to Serenity BDD Users Group
If you want to set a proxy to access an environment, Chrome on Windows usually inherits its proxy settings from Intermet Explorer. If you want to set it for each test, you can apparently do so via Desired Capabilities:
https://code.google.com/p/selenium/wiki/DesiredCapabilities#Proxy_JSON_Object
Message has been deleted

souad...@splio.com

unread,
Nov 16, 2017, 4:36:31 AM11/16/17
to Serenity BDD Users Group
New doc is here if anyone wonder: https://github.com/SeleniumHQ/selenium/wiki/DesiredCapabilities
I personnaly lack an example to easily transform that into an updated valid configuration, but I'll keep trying :).
Reply all
Reply to author
Forward
0 new messages