This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26391 - Proxy support isn't specified
Summary: Proxy support isn't specified
Status: RESOLVED FIXED
Alias: None
Product: Browser Test/Tools WG
Classification: Unclassified
Component: WebDriver (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Browser Testing and Tools WG
QA Contact: Browser Testing and Tools WG
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 20860
  Show dependency treegraph
 
Reported: 2014-07-20 07:53 UTC by Andrey Botalov
Modified: 2015-06-09 15:59 UTC (History)
5 users (show)

See Also:


Attachments

Description Andrey Botalov 2014-07-20 07:53:59 UTC
Currently Webdriver JSON Wire protocol supports setting a proxy using proxy capability (https://code.google.com/p/selenium/wiki/JsonWireProtocol#Proxy_JSON_Object).

IMO setting a proxy is quiet useful so it's strange that Webdriver spec doesn't describe that.
Comment 1 Kevin Menard 2014-09-30 21:07:08 UTC
In addition, I think proxy support should be provided as a required capability.  I've used proxies in two primary use cases.  One is for request header injection for things like HTTP Basic authentication via tools such as BrowserMob Proxy.  The second is to prevent DDoSing a server by ensuring all traffic is directed at a local caching proxy.

While it's possible a driver may not provide per-connection proxy configuration, I think as a caller I'd like to receive the error rather than have the connection proceed over a non-proxied connection.  Then I can make the determination whether to proceed.  I certainly don't want to invoke FUD, but I could envision a situation where the proxy is intended to do some request massaging with sensitive data that could be otherwise leaked if simply ignored.
Comment 2 seva 2014-10-19 21:32:32 UTC
Specifying proxy may require capabilities dictionary to allow nested dictionaries:

https://www.w3.org/Bugs/Public/show_bug.cgi?id=27103
Comment 3 David Burns :automatedtester 2015-05-30 19:45:58 UTC
PR for this in https://github.com/w3c/webdriver/pull/72
Comment 4 David Burns :automatedtester 2015-06-09 15:59:24 UTC
landed in https://github.com/w3c/webdriver/commit/5b8f75d53ba2c158c5afe44641f03e1784e069e5