Class Security
- java.lang.Object
-
- org.openqa.selenium.devtools.v108.security.Security
-
public class Security extends java.lang.Object
Security
-
-
Constructor Summary
Constructors Constructor Description Security()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static org.openqa.selenium.devtools.Event<CertificateError>
certificateError()
static org.openqa.selenium.devtools.Command<java.lang.Void>
disable()
Disables tracking security state changes.static org.openqa.selenium.devtools.Command<java.lang.Void>
enable()
Enables tracking security state changes.static org.openqa.selenium.devtools.Command<java.lang.Void>
handleCertificateError(java.lang.Integer eventId, CertificateErrorAction action)
Deprecated.static org.openqa.selenium.devtools.Event<SecurityStateChanged>
securityStateChanged()
static org.openqa.selenium.devtools.Command<java.lang.Void>
setIgnoreCertificateErrors(java.lang.Boolean ignore)
Enable/disable whether all certificate errors should be ignored.static org.openqa.selenium.devtools.Command<java.lang.Void>
setOverrideCertificateErrors(java.lang.Boolean override)
Deprecated.static org.openqa.selenium.devtools.Event<VisibleSecurityState>
visibleSecurityStateChanged()
-
-
-
Method Detail
-
disable
public static org.openqa.selenium.devtools.Command<java.lang.Void> disable()
Disables tracking security state changes.
-
enable
public static org.openqa.selenium.devtools.Command<java.lang.Void> enable()
Enables tracking security state changes.
-
setIgnoreCertificateErrors
@Beta public static org.openqa.selenium.devtools.Command<java.lang.Void> setIgnoreCertificateErrors(java.lang.Boolean ignore)
Enable/disable whether all certificate errors should be ignored.
-
handleCertificateError
@Deprecated public static org.openqa.selenium.devtools.Command<java.lang.Void> handleCertificateError(java.lang.Integer eventId, CertificateErrorAction action)
Deprecated.Handles a certificate error that fired a certificateError event.
-
setOverrideCertificateErrors
@Deprecated public static org.openqa.selenium.devtools.Command<java.lang.Void> setOverrideCertificateErrors(java.lang.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
public static org.openqa.selenium.devtools.Event<CertificateError> certificateError()
-
visibleSecurityStateChanged
public static org.openqa.selenium.devtools.Event<VisibleSecurityState> visibleSecurityStateChanged()
-
securityStateChanged
public static org.openqa.selenium.devtools.Event<SecurityStateChanged> securityStateChanged()
-
-