class Selenium::WebDriver::Error::InvalidCookieDomainError

Raised when attempting to add a cookie under a different domain than the current URL.

An illegal attempt was made to set a cookie under a different domain than the current page.