Interface SupportsAcceptInsecureCertsOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default T acceptInsecureCerts()
      Enforces untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
      default java.util.Optional<java.lang.Boolean> doesAcceptInsecureCerts()
      Get whether untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
      default T setAcceptInsecureCerts​(boolean bool)
      Set whether untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • ACCEPT_INSECURE_CERTS_OPTION

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

      • acceptInsecureCerts

        default T acceptInsecureCerts()
        Enforces untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
        Returns:
        self instance for chaining.
      • setAcceptInsecureCerts

        default T setAcceptInsecureCerts​(boolean bool)
        Set whether untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
        Parameters:
        bool - True or false.
        Returns:
        self instance for chaining.
      • doesAcceptInsecureCerts

        default java.util.Optional<java.lang.Boolean> doesAcceptInsecureCerts()
        Get whether untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
        Returns:
        true or false.