How to return the value of the element using Xpath?

-1

I'm doing a job for college where I need to return the news headlines from G1 - World . I'm using HtmlAgilityPack.

As an example, the first news of the site appears in this code snippet after previewing inspecting the element by the browser.

Thenewscodeisfindinginsideseveral'div'sandreturns"HtmlAgilityPack.HtmlNodeCollection" in my code in vs.

I'm a little lost, how can I make this return on news headlines?

    
asked by anonymous 18.10.2017 / 15:55

1 answer

-1

It can be useful to someone as well. I was able to return the news headlines as follows:

But it only returns 10 news.

    
18.10.2017 / 16:18