I am running Selenium tests in two ways:
- locally with Chrome WebDriver, for implementing the tests
- in a CI-pipeline with Selenium Hub and a Chrome Node, to run the tests
The backend creates HttpOnly cookies. I want to check their existence. To get a specific cookie I use the following code:
driver.Manage().Cookies.GetCookieNamed("CookieFooBar");
This works perfectly with the Chrome WebDriver, but does not work with the Chrome Node. Any ideas, what might cause this different behavior?