Set variable error in safari

That's not how you get a variable into an Execute a JavaScript in Safari action.

See this recent post:

-Chris