CookieFromDictionary Method WebDriver
Converts a Dictionary to a Cookie.

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

public static Cookie FromDictionary(
	Dictionary<string, Object> rawCookie
)

Parameters

rawCookie
Type: System.Collections.GenericDictionaryString, Object
The Dictionary object containing the cookie parameters.

Return Value

Type: Cookie
A Cookie object with the proper parameters set.
See Also

Reference