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
[Bug]: puppeteer@15.3.2 cannot take screenshot when set viewport as null #8673
Labels
Comments
I don't know what you are aiming at with using viewport defined as null, could you explain a bit further? Seems a bit odd to want a screenshot of a null-defined viewport, since the screenshot takes into account the viewport size. |
OrKoN
added a commit
that referenced
this issue
Jul 21, 2022
OrKoN
added a commit
that referenced
this issue
Jul 21, 2022
OrKoN
added a commit
that referenced
this issue
Jul 21, 2022
OrKoN
added a commit
that referenced
this issue
Jul 21, 2022
OrKoN
added a commit
that referenced
this issue
Jul 21, 2022
OrKoN
added a commit
that referenced
this issue
Jul 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Steps to reproduce the problem:
await puppeteer.launch({ defaultViewport: null })
await page.$(selector)
await elementHandle.screenshot()
But when I use puppeteer@13.7.0, it works.
Puppeteer version
15.3.2
Node.js version
16.15.1
npm version
8.11.0
What operating system are you seeing the problem on?
Windows
Relevant log output
The text was updated successfully, but these errors were encountered: