Selenium proxy with functionality to add certificate-based client authentication for end-to-end tests.
This is how it works:
- intercept Selenium HTTP requests with BrowserMob
- setup an
SSLContextgiven a certificate (.pfx file) and password - use okhttp to forward the request to the target URL
- convert the okhttp
Responseto a nettyFullHttpResponseso it can be handled by Selenium
- selenium: 3.11.0
- browsermob: 2.1.5
- okhttp and okhttp-tls: 3.14.1