Interface SupportsAcceptInsecureCertsOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,java.io.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 java.lang.StringACCEPT_INSECURE_CERTS_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default TacceptInsecureCerts()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 TsetAcceptInsecureCerts(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
-
-
-
-
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.
-
-