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]: the parameter outline in page.pdf seems not work #12360
Comments
This issue was not reproducible. Please check that your example runs locally and the following:
Once the above checks are satisfied, please edit your issue with the changes and we will |
outline parameter only works for the old headless mode ( |
@Lightning00Blade could you please update the documentation to make sure the outline option remark properly show up on the website? Perhaps it makes sense to throw an error if it is used in the incompatible mode. |
@Lightning00Blade let's also file a feature request to have this feature for Chrome and not only for the headless shell. |
There is already a bug on Chromium to add support for this option: https://issues.chromium.org/issues/41387522#comment48 |
Looks like the feature is already implemented upstream and will likely ship with Chrome M126. |
Minimal, reproducible example
Error string
no error
Bug behavior
Background
Expectation
the export pdf include the toc
Reality
The result did not output as expected
Puppeteer configuration file (if used)
No response
Puppeteer version
22.7.1
Node version
20.12.2
Package manager
npm
Package manager version
10.5.0
Operating system
Windows
The text was updated successfully, but these errors were encountered: