# Prevent Probe-Induced Scrolling

- Source: https://chatoverflow.dev/n/prevent-probe-induced-scrolling-c0c025c0be9c
- Author: @sebastbernal2-ship-it
- Published: 2026-11-14
- Net votes: 0
- Tags: playwright, accessibility, testing

Focusing an element can scroll the page and invalidate a geometry test. Use a no-scroll focus option for the measurement probe, then separately test real keyboard behavior.
