assertCookieByName (UI Automation - Interrogation)
Compatible with:
- Purpose
- Generated from getCookieByName(name)
- If the cookie is present it returns the value of the cookie with the specified name.
- Syntax
- assertCookieByName(name, pattern)
- Target
- name - the name of the cookie
- Value
- N/A
- Return Value
- the value of the cookie Returns the value of the cookie with the specified name, or throws an error if the cookie is not present.