Unable to create new remote session

后端 未结 4 1104
执笔经年
执笔经年 2020-12-17 16:55

How to resolve this issue. Earlier my code was working, but IE settings were reseted by someone. Now I am getting this exception.

Started InternetExplorerDri         


        
4条回答
  •  被撕碎了的回忆
    2020-12-17 17:45

    The issue is discussed on Selenium project on Github

    Here is the quote of the most relevant/informative part which helped me to solve the issue:

    The good news is that it looks like the IE driver mostly works with IE11, provided that (a) all security zones are set to the same Protected Mode setting and (b) Enhanced Protected Mode is turned off. Note that the standard registry checks that the IE driver uses to test for Protected Mode settings in IE7-10 are broken for IE11, and we've never made any attempt to check for Enhanced Protected Mode, so there's no warning (yet) if you don't have these settings properly set.

    The bad news is that cookie manipulation is broken. Badly. If you attempt to set or retrieve cookies, there's a chance that you'll end up with the "Unable to get browser" error encountered before. At the moment, there is no workaround for that.

提交回复
热议问题