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


I have not used watkins before today, I need to get a collection of 'Li' elements, Div '

  & lt; Div id = "mydiv" & gt; & Lt; Ul & gt; & Lt; Li & gt; & Lt; / Li & gt; & Lt; Li & gt; B & lt; / Li & gt; & Lt; Li & gt; C & lt; / Li & gt; & Lt; / Ul & gt; & Lt; / Div & gt;  

I just want the elements within div id = 'myDiv' ..

Thanks for any help!

understood ..

  var liList = _browser.Div ( "MyDiv"). With elements ("Lee");  

Comments