I have a set of C# Selenium tests that need to delete a cookie that has the HttpOnly flag set.
Unfortunately the DefaultSelenium.GetCookie()
and DefaultSelenium.DeleteCookie()
commands aren't able to access the cookie, because it has that HttpOnly flag set. I've confirmed this by removing the flag by hand, and checking that subsequent calls to either of those methods are then happily able to manipulate the cookie in question.
Is there any other way to do this via the Selenium .NET client driver?
All ideas welcome!