


NET libraries are available to make integration of Headless Chrome easier for developers. The PuppeteerSharp and Selenium WebDriver. Note: This article assumes that the reader is familiar with C# and ASP.NET, as well as HTTP request libraries. This is what we will discuss in the second part of this article, where we will have an in-depth look at PuppeteerSharp, Selenium WebDriver for C#, and Headless Chrome. The moment we are dealing with single-page applications, or anything else that heavily relies on JavaScript, things become a lot more complicated. Specifically, we'll walk you through the steps on how to send the HTTP request, how to parse the received HTML document with C#, and how to access and extract the information we are after.Īs we mentioned in other articles, this will work beautifully as long as we scrape server-rendered/server-composed HTML. In this article, we will cover how to scrape a website using C#.

C# is rather popular as backend programming language and you might find yourself in need of it for scraping a web page (or multiple pages).
