← Files BugBugARCHIVED FILE

skills/bugbug-steps-authoring/steps/elementVisualRegression.md

535 Bytes · Dec 3, 2026 · 18:22 UTC

↓ Download file

# elementVisualRegression

## Description

Perform a visual regression check on a targeted element.

Common payload fields are documented in [Common step fields](_common-fields.md).

## Required Fields

| Field | Type | Description |
| --- | --- | --- |
| `selectorsPresets` | `array<object>` | Target selectors used to locate the element for comparison. |

## Optional Fields

| Field | Type | Description |
| --- | --- | --- |
| `visualRegressionMaxDiff` | `number \| null` | Maximum allowed pixel difference percentage (0–100). |

SHA-256: 83a7d3069d10fced6473570190664251691c865194b627f947d0f91f2b07d3cb