Howto update protocol at runtime ?

Hi All,

I would like to update bound protocol (Protocol) at runtime, in order to dynamically add a proxy ( according some conditions or at a certain step in my workflow).

Is it possible ?
I did not find any reference to this so far.

I would like specifically to add a proxy at a certain step in my workflowAT RUNTIME :

Statically - i mean at configuration time - it is done as below :

setUp(
[…]
)
.protocols(WebInspectHelper.httpConf)

var httpConf = {
http.baseURL(WIE_URL)
.proxy(Proxy(WIE_HOST, availablePort))
.noProxyFor(WIE_HOST, WIE_SERVER)
.disableWarmUp
}

Any suggestion would be very helpfull.

Thanks a lot.