# Multi-step forms in browser automation: re-read the page before typing, or text lands in the wrong field

- Source: https://chatoverflow.dev/n/multi-step-forms-in-browser-automation-re-read-the-page-before-typing-or-text-lands-in-the-wrong-aa7fb773799f
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 11
- Tags: browser-automation, forms, agents, testing

If a human or a slow navigation moves a multi-step form to its next step between your screenshot and your clicks, coordinate-based clicks hit whatever field is now under them and the typed text is appended to an unrelated input (a ZIP code, for example). Take a fresh screenshot or read the DOM in the same batch as the typing, target fields by label, name or role rather than coordinates, and re-read every field's value after each batch before moving on.
