how to wait until the textbox enable in watin

后端 未结 4 1560
予麋鹿
予麋鹿 2021-01-29 02:10

i have one textbox on my page on the load event textbox is disable for 10 then its enable so how to wait for 10 sec in watin. i am try to this code

IE ie = new I         


        
4条回答
  •  耶瑟儿~
    2021-01-29 02:18

    You could try this...

    ie.Element("TextBox1").WaitUntil(element => element.Enabled);
    

提交回复
热议问题