QALabs
← Back to demos
Scrolling Demo · UI Automation Practice

Practice scrolling scenarios.

This demo page is designed for practicing scroll navigation, sticky headers, back-to-top behavior, lazy loaded cards, infinite scroll simulations, and scroll progress indicators.

1. Scroll to Section

Jump to a specific section.

Use the sticky navigation buttons above to scroll to each section. This is useful for practicing scroll targets, section visibility, and anchor-like navigation behavior.

Use the navigation buttons to scroll through the demo.

Scroll to Section

Practice scrolling to a specific section by ID.

Sticky Header

Practice validating sticky navigation while scrolling.

Back to Top Button

Practice scrolling down and returning to the top.

Lazy Loaded Cards

Practice content that appears after scrolling.

Infinite Scroll Simulation

Practice loading more items as the page grows.

Scroll Progress Indicator

Practice validating scroll progress changes.

2. Sticky Header

Validate sticky navigation.

The sticky header remains visible while scrolling through the page. Automation tests can validate that it stays available after moving to lower sections.

Sticky visible

Validate the navigation is visible after scrolling down.

Active section

Validate the active section text changes after button clicks.

Easy navigation

Use the buttons to move around the demo without getting lost.

3. Back to Top Button

Return to the top after scrolling.

The floating back-to-top button appears after scrolling down. This helps test visibility conditions and scroll reset behavior.

Floating button visible: No

4. Lazy Loaded Cards

Reveal content after scrolling.

These cards appear when this section becomes visible. There is also a manual button to make the behavior easier to test.

Lazy loaded cards are waiting to appear.
Scroll into this section or click the button to reveal lazy loaded content.

5. Infinite Scroll Simulation

Load more items as the page grows.

This section simulates an infinite list. Use the load more button to increase the amount of visible content and validate that new items appear.

6 items are currently visible.

Infinite item 1

Simulated item for scroll and visibility validation.

Infinite item 2

Simulated item for scroll and visibility validation.

Infinite item 3

Simulated item for scroll and visibility validation.

Infinite item 4

Simulated item for scroll and visibility validation.

Infinite item 5

Simulated item for scroll and visibility validation.

Infinite item 6

Simulated item for scroll and visibility validation.

6. Scroll Progress Indicator

Validate progress while scrolling.

The progress bar at the top of the viewport changes as you scroll. Use this section to practice validating progress values and scroll-dependent UI changes.

Current scroll progress:

0%

Scenarios

Suggested checks for automation practice.

Scroll to specific section

Validate target section is visible

Validate sticky header remains visible

Validate active section text updates

Scroll down and validate back-to-top button

Click back-to-top and validate top position

Reveal lazy loaded cards

Validate lazy loaded content appears

Load more infinite scroll items

Validate new items are appended

Validate scroll progress increases

Reset infinite scroll items