当我使用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解决方案,例如更改驱动程序,缩放设置,禁用保护模式。