Interface SupportsCustomSslCertOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
XCUITestOptions
public interface SupportsCustomSslCertOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CUSTOM_SSLCERT_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
setCustomSSLCert()
Get the SSL certificate content.default T
setCustomSSLCert(java.lang.String cert)
Adds a root SSL certificate to IOS Simulator.-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
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.
-
setCustomSSLCert
default java.util.Optional<java.lang.String> setCustomSSLCert()
Get the SSL certificate content.- Returns:
- Certificate content.
-
-