DEV Community

Cover image for Webship-js: When I scroll
webship.co
webship.co

Posted on

Webship-js: When I scroll

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

Top comments (0)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.