C # execute event click on an html element on a third-party page

0

I am working on a program (winforms C #) which through a webBrowser element loads a government page, which contains information in the form of tables, pages with ajax:

URL: link

I already have a function that rescues the data from the current page, but I need to see in which way the webBrowser object can click on an element that allows to advance to the next data set (paging element) .

When reviewing the structure of the page, I realize that the Next button (next data page) is of type

<span class="ui-icon ui-icon-seek-next">p</span>

When trying to search for this element with the webBrowser object, it does not give me the option of locating it with GetElementByClassName (which is the only identifier I can use in this case) , and to which of that I must execute the click event so that it happens to the next page.

Any ideas on how to do this?

I do not care about the language (lo hago en c# porque es lo que conozco por el momento) .

    
asked by Luis Gabriel Fabres 21.09.2018 в 17:36
source

0 answers