Hello everyon, i want to add a specific certificate to my chrome options, i have been struggling for hours. Let me know if you have any type of solution. here is the example simplified code:
def certificatePath = ‘path/to/certificate.pem’
ChromeOptions options = new ChromeOptions()
options.addArguments(“–ignore-certificate-errors”)
options.addArguments(“–allow-running-insecure-content”)
options.addArguments(“–allow-insecure-localhost”)
options.addArguments(“–user-data-dir=” + certificatePath)
DriverFactory.changeWebDriver(driver(options))
WebUI.navigateToUrl(‘example.com’)
Thanks in advance for any contribution towards this topic !!