microsoft / microsoft/playwright
Is there any good solution for making fullpage screenshots on lazy load pages?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 96.3k
- Forks
- 6.5k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
I was wondering if there is any good solution out there to this problem. And I'm searching for a more generic solution for making fullpage screenshots on different websites with the lazy loaded content loaded. especially images.
The only thing I had in mind was something like scrolling to the bottom of the page or scrollIntoViewIfNeeded with a bottom element. But this doesn't work so far.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing Playwright's existing full-page screenshot behavior and the reported scrolling and scrollIntoViewIfNeeded approaches for lazy-loaded content. Define a generic solution that loads lazy content, especially images, across different websites, then verify that full-page screenshots consistently include it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100