To automate Java applets in Safari on macOS these two environment variables must be set to 1
before running the Squish IDE (or specifically, the squishserver
):
SQUISH_USE_AWT
SQUISH_QUIT_SAFARI
To set these environment variables and start Squish, execute the following in Terminal.app:
export SQUISH_USE_AWT=1
export SQUISH_QUIT_SAFARI=1
open "SQUISHDIR/bin/squish.app"
SQUISHDIR
must be replaced with a path to a Squish for Web installation.
You could, of course, create a shell script to do this (or put the exports in your login script).