Javascript function to open “Participants” pane


I’m looking for a way to open the “Participants” pane in the “Client View” of Zoom Web.

I’m using the ZoomMtg join “success” method, and then use $ (“span:contains(‘Participants’)”).click();

However, it works only when the “Participants” button is shown in the toolbar… But when the window is too small, the “Participants” button is hidden under “More”, and I have no way to access it…

Any other way to do it with Javascript?