Open the subpanel via showSubPanel


I’m running automated tests and trying to get the system to open a subpanel, I see that onclick it executes this snippet

showSubPanel(‘div_tag’); toggleSubpanelCookie(‘div_tag’);

But when executing it via chrome tools it just returns “undefined”.

Is there a more efficient way of doing this?

Btw I suspect there’s something about the way chrome/katalon execute the snippet that makes it fail because normally something like the following should work:

            showSubPanel('projects_project_tasks', null, true);

Thank you

UPDATE: Actually now i’m not really sure showSubPanel actually expands the subpanel, when I execute it, it seems to reload the content only. May be someone can correct me.