Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
HtmlAgilityPack can only parse HTML.
If you need to click on a button on the page, then you need to use selenium
An alternative is to find what happens when you click this button and repeat
var page = await (await client.GetAsync(url)).Content.ReadAsStringAsync();
var document = new HttpDocument();
document.LoadHtml(page);
var node = document.DocumentNode.SelectSingleNode(//xpath for search string);
And it won't help at all. Either Selenium or get requests.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question