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
disable()
Disables tracking security state changes.
enable()
Enables tracking security state changes.
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.
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.
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.