ChromeDriver 76.0.3809.68 is throwing exception with SelectByVisibleText method: Script returns unexpected result

后端 未结 6 2120
梦毁少年i
梦毁少年i 2021-01-14 09:09

I have updated the selenium chromedriver to 76.0.3809.68 and the existing tests started to fail with new Select(webElement).selectByVisibleText(value) is failin

6条回答
  •  难免孤独
    2021-01-14 09:22

    Not just selectByVisibleText even selectByValue was also throwing the same Exception

    "org.openqa.selenium.WebDriverException: unknown error: script returns unexpected result".

    I faced this issue with chrome v76. I upgraded the chrome version to 77 and tested with ChromeDriver 76 and 77 which works fine now.

提交回复
热议问题