Cookie
cookie reads or writes a cookie on the current domain. Reading stores the value in a variable; writing sets it before the next navigation.
yaml
- cookie:
action: set
name: session
value: "{{ env.SESSION_TOKEN }}"
domain: .example.com
path: /
http-only: true
- cookie:
action: get
name: session
as: current_session