Trigger UI elements from JS

Hi all,

I know that a manipulation of DOM elements is not possible but I wanted to check if there is any workaround for this.

Particularly, i want to trigger the Fullscreen function for a dashboard created in Workspace using JS or API call when I’m on that particular page.

Is there any way to do so?