Skip to main content

Command Palette

Search for a command to run...

Webship-js: When I Scroll

Published
2 min read
Webship-js: When I Scroll
W

Love to help in speeding up the work of having Automated Functional Acceptance Testing for products to ship websites in a swift way.

In today’s modern websites, scrolling is no longer just a basic interaction; it has become a vital part of the user experience, especially on pages that load content progressively or contain long, information-rich sections.
Carefully testing scroll behaviour helps ensure that content appears smoothly and users don’t feel lost or interrupted while navigating.
It’s a small detail… but a big key to a seamless experience.

When I scroll

Use this step when you want to simulate a scroll action on the page during your automated testing scenario.
It can be helpful to test lazy-loaded elements, infinite scroll areas, or to simply bring specific elements into view.

These are the scroll steps you can use to control the page movement during testing.

  • When I scroll down

  • When I scroll up

  • When I scroll to top

  • When I scroll to the bottom

See the full article:https://webship.co/blog/webship-js-when-i-scroll

Scrolling, though a quiet part of the user experience, carries great weight in shaping comfort and impression, and testing it carefully isn’t just a technical task but a way of caring for the little details that make a big difference, because a good digital experience isn’t read all at once, it’s built line by line and scroll by scroll.

And let’s be honest , no one enjoys chasing content that hides as they scroll… like a cheeky game of hide-and-seek! 🙈👀

Image description

You can see more step definitions: https://webship.co/docs

More from this blog

W

Webship.co

16 posts