Watin & IE9 - Cant click ok buttons

后端 未结 2 1550
日久生厌
日久生厌 2020-12-21 09:40

I\'m using Watin to navigate through a large number of different websites, and I\'m using the great solution here to automatically click ok on all the javascript and ie boxe

相关标签:
2条回答
  • 2020-12-21 10:31

    WatiN 2.1 has recently been released which addresses a number of IE9 issues. You can download it from http://watin.org/ or update using NuGet:

    PM> update-package watin

    0 讨论(0)
  • 2020-12-21 10:37

    I was facing the same issue and no matter what I do it was not working until I found a workaround which take time but work for me.

    The default time to elapse for WaitUntilExists() is 30 secs so when using it in IE9 provide extended time limit as following.

    handler.WaitUntilExists(40); // or whatever time suits you above 30
    

    It certainly take time but it works.

    0 讨论(0)
提交回复
热议问题