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
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.