Skip to main content
Home

Main navigation

  • Home
  • Products
  • Services
  • Docs
  • Blog
  • About us
  • Contact

Breadcrumb

  1. Home
  2. Documentation
  3. Webship JS 1.0.x
  4. Step Definitions

When I scroll

  • Documentation
    • Webship JS 1.0.x
      • Install Webship JS
      • Step Definitions
        • Given I am on homepage
        • Given I am on "specific page"
        • When I go to the homepage
        • When I go to "specific page"
        • When I reload the page
        • When I move backward one page
        • When I move forward one page
        • When I fill in
        • When I press "button"
        • When I click "link"
        • When I check "checkbox"
        • When I uncheck "checkbox"
        • When I select "option" from "select list"
        • When I wait
        • Then I should see
        • Then I should be
        • Then the "item" checkbox
        • Then the item should contain
        • Then the "item" link should contain "url"
        • Then the response status code should be {number}
        • When I attach the file "file name" to "element"
        • When I scroll
          • When I scroll down
          • When I scroll up
          • When I scroll to top
          • When I scroll to the bottom
          • When I scroll to top of "<selector>"
          • When I scroll to bottom of "<selector>"
      • Assertions
      • Commands
      • Needed Tools
    • Integrations

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.

 

When I scroll down

When I scroll up

When I scroll to top

When I scroll to the bottom

When I scroll to top of "<selector>"

When I scroll to bottom of "<selector>"

Boost your site's success with automated testing

For Commercial Professional Support

Contact Us

Daily Automated Functional Acceptance Testing Daily Automated Functional Acceptance Testing

© Copyrights 2022 - 2025 Webship.co All Rights Reserved.

Webtheme Footer

  • Privacy
  • About us
  • Contact

Home

Webtheme social media menu

  • Github
  • Gitlab
  • Bitbucket
  • X
  • Linkedin
  • Youtube