How to connect?
I can generate a runtime and use it in a .NET Core 2.1 application. But where should I connect? Obviously, ws://... is not the URL to go to. I've tried with ws://localhost:9223 but whatever I try to do, I get an HTTP 404 exception. Please advice. I have never used Chrome DevTools before but now need it to have chrome print a web page to a PDF file for another application.
Turns out I first have to fetch JSON documents from http://localhost:9223/json and http://localhost:9223/json/version to get webSocketDebuggerUrl values I can connect to. Very confusing. Had to put together numerous web search fragments to find this out. Shouldn't this be in the very first example?
Hi! The example here includes this, but I'll make the documentation a bit better.