Interface SupportsCustomSslCertOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.String> getCustomSSLCert()
      Get the SSL certificate content.
      default T setCustomSSLCert​(java.lang.String cert)
      Adds a root SSL certificate to IOS Simulator.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge
    • Field Detail

      • CUSTOM_SSLCERT_OPTION

        static final java.lang.String CUSTOM_SSLCERT_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • setCustomSSLCert

        default T setCustomSSLCert​(java.lang.String cert)
        Adds a root SSL certificate to IOS Simulator. The certificate content must be provided in PEM format.
        Parameters:
        cert - Certificate content in PEM format.
        Returns:
        self instance for chaining.
      • getCustomSSLCert

        default java.util.Optional<java.lang.String> getCustomSSLCert()
        Get the SSL certificate content.
        Returns:
        Certificate content.