Set cookie with dynamic value

I would want to add authorization cookie, but I want take value from csv
Is there any way to put extracted value into the command:
Something like this:
executeScript | document.cookie = “Authorization = ${value}”

Yes, tou can read the csv and use COL1 like variable

executeScript | document.cookie = “Authorization = ${!COL1}”

In Col1 (csv) you must have the value to use in your command

Unfortunately, it doesn’t work for me.
I receive this error when I’m trying to use your example:

  • [error][ignored]: Error in executeScript code: Unexpected identifier

But, I’ve tried to use write command in this way:
executeScript | document.cookie = ${var}
where in var has stored “Authorization=token; path=/”
And it works for me