2020-07-13 13:01:35 +00:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Log](./puppeteer.protocol.log.md) > [ViolationSetting](./puppeteer.protocol.log.violationsetting.md)
|
|
|
|
|
|
|
|
## Protocol.Log.ViolationSetting interface
|
|
|
|
|
|
|
|
Violation configuration setting.
|
|
|
|
|
|
|
|
<b>Signature:</b>
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export interface ViolationSetting
|
|
|
|
```
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
| Property | Type | Description |
|
|
|
|
| --- | --- | --- |
|
2020-07-20 15:17:06 +00:00
|
|
|
| [name](./puppeteer.protocol.log.violationsetting.name.md) | ('longTask' \| 'longLayout' \| 'blockedEvent' \| 'blockedParser' \| 'discouragedAPIUse' \| 'handler' \| 'recurringHandler') | Violation type. (ViolationSettingName enum) |
|
2020-07-13 13:01:35 +00:00
|
|
|
| [threshold](./puppeteer.protocol.log.violationsetting.threshold.md) | number | Time threshold to trigger upon. |
|
|
|
|
|