When running this script locally or with a manual policy trigger, it
works fine, waiting for the user to click the button before exiting.
When the script is run with Casper Remote or by policy using any trigger
except for manual, it does not wait for...