I am using Watin to test a website. It contains a div which is created dynamically on clicking a tablecell. How can I access the dynamically created div. The issue is the div is deleted after a short span of time (even before the control can move to next line)
if(tablecell.exists)
{
tablecell.ClickNoWait(); //this creates the dynamic <div>
if(div.exists) //the control does not go inside
{
//code to edit div contents.
}
}