Cookie Constructor (String, String, String)WebDriver
Initializes a new instance of the Cookie class with a specific name, value, and path.

Namespace: OpenQA.Selenium
Assembly: WebDriver (in WebDriver.dll) Version: 2.35.0.0 (2.35.0.0)
Syntax

public Cookie(
	string name,
	string value,
	string path
)
Exceptions

ExceptionCondition
OnlineSystem ArgumentExceptionIf the name is   or an empty string, or if it contains a semi-colon.
OnlineSystem ArgumentNullExceptionIf the value is  .
See Also