`LaunchOptions.EnqueueAsyncMessages` docs suggest it's true by default while it isn't
See original GitHub issueSee the first line:
<summary>
Affects how responses to <see cref="CDPSession.SendAsync"/> are returned to the caller. If <c>true</c> (default), the
response is delivered to the caller on its own thread; otherwise, the response is delivered the same way <see cref="CDPSession.MessageReceived"/>
events are raised.
</summary>
<remarks>
This should normally be set to <c>true</c> to support applications that aren't <c>async</c> "all the way up"; i.e., the application
has legacy code that is not async which makes calls into PuppeteerSharp. If you experience issues, or your application is not mixed sync/async use, you
can set this to <c>false</c> (default).
</remarks>
public bool EnqueueAsyncMessages { get; set; }
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (10 by maintainers)
Top Results From Across the Web
stuck at await browser.NewPageAsync() · Issue #1150
I am just trying to create a simple console app to generate PDF file but program doesn't execute after that line var page...
Read more >How to use Connection class of PuppeteerSharp package
Want to learn how to use Connection class in PuppeteerSharp package for your next Puppeteer-sharp project? LambdaTest Automation Testing Advisor has code ...
Read more >Newest 'puppeteer-sharp' Questions - Page 2
I have a .Net 5 application that uses PuppeteerSharp(5.1.0) to convert Html files to pdf documents. I need to show the current date-time...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Androbin I’m on the puppeteer’s slack if you want to chat
Regardless of the desired default value, the documentation is inconsistent and that’s a plain fact: https://github.com/hardkoded/puppeteer-sharp/issues/1701#issuecomment-834722784 https://github.com/hardkoded/puppeteer-sharp/blob/master/lib/PuppeteerSharp/LaunchOptions.cs#L178