Class Security
java.lang.Object
org.openqa.selenium.devtools.v126.security.Security
Security
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.openqa.selenium.devtools.Event<CertificateError>
static org.openqa.selenium.devtools.Command<Void>
disable()
Disables tracking security state changes.static org.openqa.selenium.devtools.Command<Void>
enable()
Enables tracking security state changes.static org.openqa.selenium.devtools.Command<Void>
handleCertificateError
(Integer eventId, CertificateErrorAction action) Deprecated.static org.openqa.selenium.devtools.Event<SecurityStateChanged>
static org.openqa.selenium.devtools.Command<Void>
setIgnoreCertificateErrors
(Boolean ignore) Enable/disable whether all certificate errors should be ignored.static org.openqa.selenium.devtools.Command<Void>
setOverrideCertificateErrors
(Boolean override) Deprecated.static org.openqa.selenium.devtools.Event<VisibleSecurityState>
-
Constructor Details
-
Security
public Security()
-
-
Method Details
-
disable
Disables tracking security state changes. -
enable
Enables tracking security state changes. -
setIgnoreCertificateErrors
Enable/disable whether all certificate errors should be ignored. -
handleCertificateError
@Deprecated public static org.openqa.selenium.devtools.Command<Void> handleCertificateError(Integer eventId, CertificateErrorAction action) Deprecated.Handles a certificate error that fired a certificateError event. -
setOverrideCertificateErrors
@Deprecated public static org.openqa.selenium.devtools.Command<Void> setOverrideCertificateErrors(Boolean override) Deprecated.Enable/disable overriding certificate errors. If enabled, all certificate error events need to be handled by the DevTools client and should be answered with `handleCertificateError` commands. -
certificateError
-
visibleSecurityStateChanged
public static org.openqa.selenium.devtools.Event<VisibleSecurityState> visibleSecurityStateChanged() -
securityStateChanged
-