“没有这样的窗口”的不正确的JSON状态映射

时间:2019-07-04 10:17:33

标签: java selenium selenium-webdriver

当我使用IE驱动程序运行硒代码时,遇到以下错误。但是Same代码在chrome驱动程序中可以正常工作。

INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)
Jul 04, 2019 12:07:53 PM org.openqa.selenium.remote.ErrorCodes toStatus
INFO: HTTP Status: '404' -> incorrect JSON status mapping for 'no such window' (400 expected)

我尝试了所有常见的IE解决方案,例如更改驱动程序,缩放设置,禁用保护模式。

0 个答案:

没有答案