Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

allow to set 'enablePassThrough' in selenium server

since 3.5 selenium has a "pass through" option, that can be set by -enablePassThrough 

If set to "true" (default) all requests will be send directly to the remote site. So it's possible to use a w3c remote end (eg. geckodriver) with a w3c speaking local end (eg. a recent 3.x release of selenium)

If set to "false" the old behaviour is restored and the Selenium WebDriver protocol is translated again to the W3C WebDriver protocol.

It would be great to have a switch (in desired capabilities perhaps) to be able to select the behaviour. This is specially useful for libraries that do not yet support the W3C protocol. See comment in MinkSelenium2Driver.


Note from the selenium changelog:

Important note:
* The new standalone server and Grid Node feature a "pass through"
  mode. If you see changes to the Selenium WebDriver "logging" APIs or
  automatic capture of screenshots on error (or if you want the old
  behaviour back) you can do so by executing:
`java -jar selenium-server-standalone-3.5.3.jar -enablePassThrough false`
  • Artur Neumann
  • Oct 17 2017
  • Needs review
  • Attach files