For the complete documentation index, see llms.txt. This page is also available as Markdown.

Element Position

Detect positional differences between the current run and a control.

Element Position compares where an Element sits on screen with a saved control. Use it when layout drift or movement matters more than pixels inside the control.

Element position Test Step

When to use it

  • Catch a button, banner, or nav item that moved after a layout change.

  • Confirm sticky headers, sidebars, or modals stay in the expected place.

  • Pair with Element Snapshot when you care about both position and appearance.

The first successful Run stores the current position as the control. Later Runs compare against that control.

For a Flow Builder walkthrough, see Add visual checks.

Configure

Basics

Field
What to set

Element

The Element to watch

Advanced

Field
What to set

Status on fail

Pro tip: Use a stable Element selector so the step tracks the same control on every Run. See Choose durable selectors.

Tags: vision, element, position, visual, regression

Last updated