Skip to content

Selenium Solved: Null Responses for HTTP Session Requests

Recently I was updating the UI tests in a project now Selenium Webdriver plays nice with .NET Core. And came across a strange error:

What made this a strange error is it is a failure to communicate with the Webdriver Server, not my underlying application and because of this failure in communication Webdriver could not manipulate my website.

The Fix

After some googling, this turns out to be a straightforward fix – my project uses the Chromedriver server as it’s Webdriver for tests and simply the Chromedriver server executable I had locally was out of date when compared to my installed version of Chrome. So the fix was to download the latest version.

Manually Managing Chromedriver

I wouldn’t have come across this error if I chose to include a Nuget package to download the latest version of Chromedriver for me and in a lot of scenarios, this is the sensible choice but what I like about managing the file myself is it isn’t going to be updated accidentally by Nuget somehow – it is pinned hard at its current version and without my intervention that won’t change. But given the error above and how long it might have taken to figure out… perhaps I should reconsider!

Published in.NET coreC#Selenium


  1. James James

    Thank you much Thomas for this help!

    I want to try, but please: could you tell me how can I determine which Chromedriver version my Chrome browser needs?

    Thanks by advance!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.