I know 2 ways, but probably more exist. Google: "C# extract Chrome web page element text".
Get HTML with elm.Html. Then somehow convert HTML to text, for example using regular expressions or HtmlAgilityPack.
Use Selenium. But it has problems connecting to existing web browser window. Look in Cookbook.
Get HTML with elm.Html. Then somehow convert HTML to text, for example using regular expressions or HtmlAgilityPack.
Use Selenium. But it has problems connecting to existing web browser window. Look in Cookbook.

Extract python/other programming code from html (converted from Jupyter notebook)