Skip to content

near ​

Find a target close to an anchor.

flow
flow.click "Log in" near "Sign up";

The relationship belongs to the target selector, before any text value to type. Use a visible, distinguishable anchor and verify that layout changes still identify the intended target. A relationship cannot resolve a genuinely indistinguishable set of repeated controls by intent alone.

Use element qualifiers or a stable selector where they make the test clearer.

Flowstride is MIT licensed. Flowstride Cloud offers free and paid workspace plans.