Blog · Grip

How do we check an AI agent filled the right web form fields?

· DOSAYGO

An agent can type into every field on a page and still leave us with the wrong form. Two sections can have identical "Edit" buttons. A billing address can sit beside a shipping address. A click command can report success even though the website did not save the change.

We need a browser workflow that shows the agent which control belongs to which part of the page, then makes the agent inspect what changed. Grip gives an agent a text view of live controls with numbered actions and surrounding context. The agent still has to reason about the page and verify the outcome.

Prepare a supplier form

Suppose we need to prepare an authorized supplier profile. The page has separate billing and correspondence addresses, each with an "Edit" button. We have the correct details and want a person to approve the form before submission. The example is a workflow to try, not a claim that we ran it on a customer's site.

We start Grip with a dedicated browser profile for this work and let the user sign in to the account they are authorized to use. The agent reads the page with gripui hud. It looks for the billing section and the context around the corresponding numbered action, rather than choosing the first button labeled "Edit." It uses the action number returned for the current page to open that section.

After the form changes, the agent reads the page again. It identifies the fields for the billing address, enters the supplied values, and checks the fields. Grip's typing reads the field back, but our workflow still needs to verify that the values belong to the right section. The agent should stop if the label or surrounding context is ambiguous instead of guessing.

We then inspect the form ourselves. The agent reports the values it entered and identifies any field it could not resolve. We compare those values with the authorized source and check the correspondence section has not been changed accidentally. If a final submit action has financial or contractual consequences, we keep it for the person with authority to approve it.

Check the website's result

A successful tool action tells us that an interaction was attempted; it is not proof that the website accepted a change. After an authorized save, read the updated page or reopen the relevant section and check the displayed values. If the site provides a confirmation number or a status change, record it. If there is no observable confirmation, report that uncertainty and investigate before repeating an action that could create a duplicate.

This distinction matters most on forms with side effects. Clicking "Place order" twice because the first click looked inconclusive can create two orders. We should look for the order in the site's own record before taking another action. The appropriate test depends on the application and its permissions, not on a generic promise that browser automation always works.

Grip's numbered references come from the live page. For a detached click target, Grip can re-resolve it when it can verify the original document and a unique matching target; it fails closed when the evidence is incomplete. Read the current page before choosing the next action. Do not carry a number from an earlier view into a different form and assume it still means the same thing. Pages with unusual controls or access checks can still need human intervention.

Keep the agent's access bounded

Grip runs an installed Chrome or Firefox browser on the user's machine. Use a dedicated profile signed into only the accounts needed for the task. A person handles authentication, including passwords and verification prompts, and can hand the session back to the agent. Grip does not bypass site protections. The AI service chosen by the user may process page content supplied to it, so check the information being exposed against the organization's policies.

Browser actions require a paid license. Solo Dev is $79 per year for local use on up to two machines. Pro Runner is $499 per year for unattended and CI workflows on up to three machines or runners. The user brings their own agent; Grip supplies the browser interface. Start with a low-consequence form, verify the results on the page, and adapt the workflow to the controls the site actually exposes.

See Grip pricing for form workflows

← All posts