0

Code:

safariOptions.setCapability(CapabilityType.ACCEPT_SSL_CERTS,true);
safariOptions.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);
driver = new SafariDriver(safariOptions);

Error:

org.openqa.selenium.SessionNotCreatedException: Capability 'acceptInsecureCerts' could not be honored.
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'

Environment :

Big Sur 11.3
Safari : Version 14.1 (16611.1.21.161.3)

enter image description here

Getting above error when running Web Automation.

AutomationTest
  • 101
  • 1
  • 2
  • 13

0 Answers0