Finding an un-named button inside a webpage
I'm newbie with c#.
I have an application which creates a "Microsoft Web Browser" object on a form, then loading a webpage.
On webpage completion, i want to click a button in the webpage via the application (automated).
The problem is that the button does not have a name, only the name of the class representing it on the server side..
I have the complete XML Dom document for the Webpage, which is full of buttons and scripts.
The description of the button on the html source :
<td ><input type="button" value="äöâ ðúåðéà " Class="RegularButton" Width="70" onclick="frmsubmit('0')" ></td>
Remark : the "äöâ ðúåðéà " is a forigner language..
Can anyone give me an idea how to find the button and click it?
|