CDPotion.Domain.Security (cdpotion v0.1.0)

Summary

Functions

Disables tracking security state changes.

Enables tracking security state changes.

Handles a certificate error that fired a certificateError event.

Enable/disable whether all certificate errors should be ignored.

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.

Functions

Disables tracking security state changes.

Enables tracking security state changes.

Link to this function

handle_certificate_error(event_id, action)

Handles a certificate error that fired a certificateError event.

Parameters:

  • eventId:integer: The ID of the event.
  • action:CertificateErrorAction: The action to take on the certificate error.
Link to this function

set_ignore_certificate_errors(ignore)

Enable/disable whether all certificate errors should be ignored.

Parameters:

  • ignore:boolean: If true, all certificate errors will be ignored.
Link to this function

set_override_certificate_errors(override)

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.

Parameters:

  • override:boolean: If true, certificate errors will be overridden.