API …
Web elements

Scrolling & infinite scroll

Elements below the fold, a sticky menu inside a scroll container and content that loads as you scroll.

Practice tasks

  • Scroll “Footer target” into view and click it.
  • Scroll the box until 50 items are loaded.
  • Assert the sticky menu stays visible while scrolling.
  • Use page.mouse.wheel() instead of scrollIntoView().

More Web elements practice