I am having this problem with ChromeOptions
class in Java. When implementing it in my code it doesn't contain some of the methods that I need to Accept/Ignore SSL certificate in Chrome browser. Methods like .setCapability
so I can pass in it CapabilityType.ACCEPT_SSL_CERTS, true);
.
Example:
ChromeOptions options = new ChromeOptions();
options.setCapability(CapabilityType.ACCEPT_SSL_CERTS, true);
options.setCapability(CapabilityType.ACCEPT_INSECURE_CERTS, true);
... where setCapability
is being marked as a mistake by Eclipse, and it says
The method setCapability(String, boolean) is undefined for the type ChromeOptions