UI.COOKIE.isSet

Assert that a cookie is set on the current page.

This command only asserts the presence of a cookie. To assert the value of cookie, use UI.COOKIE.isEqual.

Usage

UI.COOKIE.isSet(name)

Example

I.goTo("https://mystore.com/brands")
UI.COOKIE.isSet("foo")

Assert that a cookie named "foo" has been set on "https://mystore.com/brands".