Internet Explorer 8 64bit and Selenium Not working

后端 未结 8 1731
慢半拍i
慢半拍i 2021-01-31 10:24

I am trying to get selenium tests to run. Yet every time I try to run a tests that should run IE I get a error on line 863 of htmlutils.js It says that I should disable my popup

相关标签:
8条回答
  • If you happen to be doing this from JavaScriptMVC, there is a reference you need to change in \jmvc\plugins\test\drivers\selenium.js:

    1) Change iexplore to iexploreproxy and you should get better results:

        msie : (/iexploreproxy/i).test(browserStartCommand),
    

    2) At this point, you'll find that you still get the popup error, but a separate instance of IE has started. Leave that IE window open and restart the tests, but not Selenium.

    3) Next, the windows should show up in the right place, but IE gives the annoying block active content warning. Allow the content to run and restart the tests, but not Selenium itself.

    This is super clunky, but it at least gets you past that part. If I find more methodical ways to do these things I'll update as needed.

    0 讨论(0)
  • 2021-01-31 11:07

    I was experiencing the same problem. I ran the Selenium RC server as an administrator and everything worked fine.

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