HttpUnitTestResult.getCookie

Gets a cookie.

class HttpUnitTestResult
final
string
getCookie
(
string name
,
lazy string defaultValue = null
)

Parameters

name string

The name of the cookie.

defaultValue string

The default value.

Return Value

Type: string

The value of the cookie if present, default value otherwise.

Meta