Webbrowser control: Get element value and store it into a variable.

Posted by Khou on Stack Overflow See other posts from Stack Overflow or by Khou
Published on 2010-03-26T16:02:44Z Indexed on 2010/03/26 23:43 UTC
Read the original article Hit count: 721

Filed under:

Winform: Web browser Control

The web browser has the following displayed content, within a html table.

[Element]   [Value]
Name        John Smith
Email       [email protected]

For the example above, the html code, might look something like this


        <td><label class="label">Name</label></td>
        <td class="normaltext">John Smith</td>
    <tr>    <td><label class="label">Email</label></td>
        <td><span class="normaltext">[email protected]</span></td>


I want to get the element value, the value to the right of the label.

What is the best way to do this?


© Stack Overflow or respective owner

Related posts about webbrowser-control

Related posts about c#