An improved solution is to use executeScript _Sandbox so the sound plays even if no website is open in the browser.
This works:
{
"Name": "sound",
"CreationDate": "2021-5-11",
"Commands": [
{
"Command": "executeScript_Sandbox",
"Target": "const audio = new Audio(\"https://www.soundhelix.com/examples/mp3/SoundHelix-Song-1.mp3\");\n audio.play();",
"Value": "",
"Description": "Sounds starts playing. ExecuteScript does NOT wait for the sound to stop. "
},
{
"Command": "echo",
"Target": "MP3 is playing! To stop it, close the UI.Vision IDE",
"Value": "green",
"Description": ""
}
]
}