clj-chrome-devtools.commands.security

Security

disable

(disable)(disable {:as params, :keys []})(disable connection {:as params, :keys []})

Disables tracking security state changes.

enable

(enable)(enable {:as params, :keys []})(enable connection {:as params, :keys []})

Enables tracking security state changes.

handle-certificate-error

(handle-certificate-error)(handle-certificate-error {:as params, :keys [event-id action]})(handle-certificate-error connection {:as params, :keys [event-id action]})

Handles a certificate error that fired a certificateError event.

Parameters map keys:

Key Description
:event-id The ID of the event.
:action The action to take on the certificate error.

set-ignore-certificate-errors

(set-ignore-certificate-errors)(set-ignore-certificate-errors {:as params, :keys [ignore]})(set-ignore-certificate-errors connection {:as params, :keys [ignore]})

Enable/disable whether all certificate errors should be ignored.

Parameters map keys:

Key Description
:ignore If true, all certificate errors will be ignored.

set-override-certificate-errors

(set-override-certificate-errors)(set-override-certificate-errors {:as params, :keys [override]})(set-override-certificate-errors connection {:as params, :keys [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 map keys:

Key Description
:override If true, certificate errors will be overridden.