How do I get all the <li> elements from within a div using Watin?

Posted by Nick on Stack Overflow See other posts from Stack Overflow or by Nick
Published on 2010-06-18T14:58:14Z Indexed on 2010/06/18 15:03 UTC
Read the original article Hit count: 177

Filed under:
|
|

Hello..

I have never used Watin before today. I need to get a collection of

  • elements that are within a

    <div id="myDiv">
      <ul>
        <li>a</li>
        <li>b</li>
        <li>c</li>
      </ul>
    </div>
    

    I only want the li elements within the div id='myDiv'..

    Thanks for any help!

  • © Stack Overflow or respective owner

    Related posts about c#

    Related posts about html