2

Is there a way to modify policy settings for Chrome instances in a way that remote ChromeDriver on Selenium Grid would understand? Modifying the registry on a Selenium Node would probably work, but could I pass the required settings through Selenium server somehow?

https://www.chromium.org/administrators/policy-list-3#AutoSelectCertificateForUrls

JockX
  • 1,928
  • 1
  • 16
  • 30
  • easiest way is to use existing browser profile; many people don't realize selenium is using a temporary browser profile with default settings. With existing profile is possible to run tests with almost any browser customization. see https://stackoverflow.com/questions/50562675/selenium-chromedriver-open-chrome-normally/50568965#50568965 – pburgr May 31 '18 at 08:44
  • @pburgr it is sadly not that straightforward when using Chromedriver – JockX Jun 01 '18 at 09:53

1 Answers1

0

I did not solve the problem of setting Chrome policies, but the broader problem of selecting client SSL certificate during execution of Selenium tests has been solved by setting up a proxy with Mitm capabilities, such as https://github.com/mrog/LittleProxy, making the original issue void.

JockX
  • 1,928
  • 1
  • 16
  • 30