ManageFindCookieByName Method |
Gets a cookie with the specified name.
Namespace: SeleniumAssembly: Selenium (in Selenium.dll) Version: 2.0.9.0 (2.0.9.0)
SyntaxDim instance As Manage
Dim namePattern As String
Dim returnValue As Cookie
returnValue = instance.FindCookieByName(namePattern)
Parameters
- namePattern
- Type: SystemString
The name of the cookie to retrieve.
Return Value
Type:
CookieThe Cookie containing the name. Returns null if no cookie with the specified name is found.
See Also