End to end test For asp.Net Core 2 in one Process without web-server (Like IIS or Kestrel) or browser (like chrome or IE).
var browser = new Ratchet<WebApplication.Startup>();
await browser.OpenUrl("/home/About");
var Document = await browser.WaitDocumentLoad();
var DocumentText = Document.TextContent;
var c = browser.WaitNextConsoleLog();
browser.ExecuteJavaScript("console.log('Hello World');");
TestContext.WriteLine("con: " + await c);
TestContext Output : Hello World