Interface SupportsAcceptInsecureCertsOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
GeckoOptions, SafariOptions

public interface SupportsAcceptInsecureCertsOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    Enforces untrusted and self-signed TLS certificates are implicitly trusted on navigation for the duration of the session.
    default Optional<Boolean>
    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 io.appium.java_client.remote.options.CanSetCapability

    amend, setCapability

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • 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 Optional<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.