puppeteer/new-docs/puppeteer.protocol.log.violationsetting.md
2020-07-13 14:01:35 +01:00

853 B

Home > puppeteer > Protocol > Log > ViolationSetting

Protocol.Log.ViolationSetting interface

Violation configuration setting.

Signature:

export interface ViolationSetting 

Properties

Property Type Description
name ('longTask' | 'longLayout' | 'blockedEvent' | 'blockedParser' | 'discouragedAPIUse' | 'handler' | 'recurringHandler') Violation type.
threshold number Time threshold to trigger upon.