When running my testcase, I get this unknown error:
result.webdriverValue.value list is missing or empty in Runtime.callFunctionOn response
I tried to find the correct driver without changing my browser version. My browser version is 119 and I took the same for the driver.
I think this is a generic message that the session cannot be created, previously SessionNotCreated exception How to address SessionNotCreatedException with latest chromedriver.exe?.
I updated both the ChromeDriver and the Chrome on the machine with the latest versions available (119) and the issue is gone. Before the update I had Selenium.Webdriver.Chromedriver\119.0.6045.10500 and chrome version 118.
Selenium team has closed the connected issue.
https://github.com/SeleniumHQ/selenium/issues/13081
I'm still unsure of the issue, it's currently only happening in my Edge browser on version 119 due to previous usage. I have changed from EdgeDriver to Chrome/ChromeDriver, this might initalize new sessions or builds what helps:
update
I've updated my WebDriverManager to download the matching driver for v119 in Edge - now the problem is fixed:
new DriverManager().SetUpDriver(new EdgeConfig(), VersionResolveStrategy.MatchingBrowser);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With