Selenium 2.0b3 IE WebDriver, Click not firing

后端 未结 18 1955
我寻月下人不归
我寻月下人不归 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:51

    Absolutely none of the other things worked for me. Some InternetExplorerDriver click()s were working for me, some weren't. Then I discovered I had missed one line in the documentation: the browser's zoom level must be set to 100%.

    I'm sure all of the other answers refer to cases where the zoom level is at 100% already, but it did fix my case. So do check that first.

提交回复
热议问题