An NDoc Documented Class Library |

# DefaultSelenium.GetCookieByName Method

Returns the value of the cookie with the specified name, or throws an error if the cookie is not present.

public string GetCookieByName(
string name
);

#### Parameters

name
  the name of the cookie

#### Return Value

the value of the cookie

#### Implements

ISelenium.GetCookieByName

#### See Also

DefaultSelenium Class | Selenium Namespace