Selenium & Firefox: How can i turn off “Unresponsive script” warnings?

后端 未结 7 1192
慢半拍i
慢半拍i 2021-02-05 17:42

I\'m using Selenium Client 2.4.0 on Mac 10.6.6 with Firefox 5. Using the WebBackedSeleniumDriver, I\'m running a \"selenium.getEval\" command that causes a Firefox warning,

7条回答
  •  猫巷女王i
    2021-02-05 18:12

    This issue appears for me when I do Selenium calls while web application is running some own crappy slow JS. Even if I catch the popup and retry after few seconds, FF is not responsive to Selenium anymore. The solution is to just put sleep 10 before otherwise any Selenium call would result in popup.

提交回复
热议问题