Script that comes via URL parameter is ignored?

Via the web interface I can easily add a script that will be visible on the results page afterwards (if I click “More” in the header). But if I send the same script via the URL parameter it doesn’t show up and so I’m not sure if the script was running.

From this URL:{api_key}&f=json&location=ec2-eu-central-1:Chrome.4G&runs=3&mobile=1&mobileDevice=MotoG4&script=setCookie cookie-name%3D1 navigate

I expect to see this script on the results page:

setCookie	cookie-name=1

… but I don’t. Why not? :slightly_smiling_face:

It looks like you urlencoded the URLs in the script but not the whole script string itself. it should be:```