NoSuchElementException is occurred during implementation of InternetExplorerDriver in Selenium WebDriver

后端 未结 3 1728
慢半拍i
慢半拍i 2020-12-03 05:45

Currently, I am working on WebDriver to invoke IE browser to run the testing. But I received a NoSuchElementException when I tried to run the simple example bel

3条回答
  •  一向
    一向 (楼主)
    2020-12-03 05:59

    You've explicitly avoided having to set the Protected Mode settings of IE. That's what the InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS capability setting does. When you remove this capability setting and set the Protected Mode settings as documented in the project wiki, it seems the problem resolves itself.

提交回复
热议问题