title: Listen to websocket events (written in Javascript) via c#
body: <p>I want to scrape some live data from a site in my application (in C#). This site has authentication (+ captcha which prevents from automating all tasks of web scraping) and uses LightStreamer as websocket client. Now, If i replicate necessary codes of LightStreamer to open and get data via websocket (in javascript language), how can i pass that data from javascript to C#?<br />
  I use Selenium chrome driver which gives me ability to login to site and also execute some javascript codes. Am i in right way?<br />
  All what i have found up to now, is this <a href="https://stackoverflow.com/questions/49265421/selenium-node-js-is-it-possible-to-listen-for-reoccurring-events">Link</a> which proposes to inject data to a hidden element and then list to changes in that element via Selenium.</p>