You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Up docs
This gave me a real headache. On some html documents / pages pdf would be generated prematurely with no text.
Relates to puppeteer/puppeteer#422
* Update README.md
* Update README.md
awaitpage.GoToAsync("http://www.google.com"); // In case of fonts being loaded from a CDN, use WaitUntilNavigation.Networkidle0 as a second param.
93
+
awaitpage.EvaluateExpressionHandleAsync("document.fonts.ready"); // Wait for fonts to be loaded. Omitting this might result in no text rendered in pdf.
93
94
awaitpage.PdfAsync(outputFile);
94
95
```
95
96
<sup><ahref='/lib/PuppeteerSharp.Tests/PageTests/PdfTests.cs#L29-L38'title='Snippet source file'>snippet source</a> | <ahref='#snippet-pdfasync'title='Start of snippet'>anchor</a></sup>
0 commit comments