This post addresses a common issue in web automation using Playwright: scrolling to the bottom of an infinite scrolling page to interact with elements not fully in view. Solutions include setting force:true in click actions and using page.evaluate to scroll the page programmatically. The discussed methods aim to make tests more reliable by mimicking user interactions closely.

4m read timeFrom playwrightsolutions.com
Post cover image
Table of contents
Set click() to force trueScroll to the bottom of the page

Sort: