Skip to main content

Wait for Loading

Master timing in visual tests with Argos: Use aria-busy to ensure screenshots are captured post full page load, enhancing accuracy and consistency.

Usage‚Äč

argosScreenshot() delays capturing screenshots until no elements with aria-busy are detected, ensuring full page load.

<Loader aria-busy={true} />

We recommend to apply aria-busy on your loader components be ensure that your page is fully loaded before a screenshot is taken.