JavaScript "Not running" message

Play in Elmedia Player copy Macro (v9.1)

Description:
The macro opens a current YouTube's URL in Elmedia Player.

Issue:

The action "Execute JS in Front Browser" fails. The expected result is a current window's URL. The browser is Firefox 84.0.1. The code runs successfully in the Browser Console (Tools --> Console), however it returns "Not running" when I redirect its output to be shown in a window (a second sub-option of the action).
I don't understand what's wrong?

Play in Elmedia Player copy.kmmacros (9.7 KB)

That action can execute JS in either Safari or Chrome, but Firefox doesn't provide the required scripting interface.

See [Execute a JavaScript in Browser [Keyboard Maestro Wiki]]( https://wiki.keyboardmaestro.com/actions/Execute_a_JavaScript_in_Browser )

This is the slightly more general page:

[Browser Actions]( https://wiki.keyboardmaestro.com/actions/Browser_Actions
)