UI.COOKIE.isEqual

Assert the value of a cookie on the current page.

Usage

UI.COOKIE.isEqual(name, value)

Example

I.goTo("https://mystore.com/brands")
UI.COOKIE.isEqual("foo", "bar")

Assert that there is a cookie name "foo" with the value "bar" on "https://mystore.com/brands".

Fails if the cookie "foo" is not found, or if the value is not "bar".