question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`LaunchOptions.EnqueueAsyncMessages` docs suggest it's true by default while it isn't

See original GitHub issue

See 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:open
  • Created 2 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
kblokcommented, May 7, 2021

@Androbin I’m on the puppeteer’s slack if you want to chat

1reaction
Androbincommented, May 7, 2021
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found