java.lang.Object
org.openqa.selenium.devtools.v126.security.Security

public class Security extends Object
Security
  • Constructor Details

    • Security

      public Security()
  • Method Details

    • disable

      public static org.openqa.selenium.devtools.Command<Void> disable()
      Disables tracking security state changes.
    • enable

      public static org.openqa.selenium.devtools.Command<Void> enable()
      Enables tracking security state changes.
    • setIgnoreCertificateErrors

      public static org.openqa.selenium.devtools.Command<Void> setIgnoreCertificateErrors(Boolean ignore)
      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

      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()