Webtest WebTest GitHub Home

Core Step verifyCookie

Description

Provides the ability to check an HTTP Cookie value.

Parameters

name
Required? yes
The name of the cookie of interest.
description
Required? no
The description of this test step.
regex
Required? no, default is 'false'
Specifies whether the text value represents a regular expression.
text
Required? no
The text of the cookie of interest. If omitted just checks for existence of the cookie.

Details

See also: the storeCookie step (it has an example of this step's usage).