Selenium 2.0b3 IE WebDriver, Click not firing

后端 未结 18 1901
我寻月下人不归
我寻月下人不归 2020-11-29 02:33

When using the IE driver with IE9, occasionally the Click method will only select a button, it wont do the action of the Click(). Note this only happens occasionally, so i d

18条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-29 02:52

    I used, as workaround, SendKeys with an empty string before each Click:

    element.SendKeys("");
    element.Click();
    

提交回复
热议问题