0
我正在使用Watin來測試網站。它包含一個在點擊表格單元格時動態創建的。我如何訪問動態創建的。問題是短時間內之後被刪除(甚至在控制可以移動到下一行)如何訪問動態創建的元素
if(tablecell.exists)
{
tablecell.ClickNoWait(); //this creates the dynamic <div>
if(div.exists) //the control does not go inside
{
//code to edit div contents.
}
}