Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bounding boxes for links are incorrect when using a full page screenshots for a website like HN #2

Open
pulkitsharma07 opened this issue Sep 29, 2024 · 0 comments

Comments

@pulkitsharma07
Copy link
Owner

pulkitsharma07 commented Sep 29, 2024

await page.screenshot({ fullPage: false, encoding: "base64" })

It has something to do with scrolling. All the elements are misplaced/stretched if there is any content present below the viewport.
That's why I have disabled fullPage screenshots for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant