Is it possible to access JupyterLab application object from browser console or by using %js or %html magics? I am trying to generate an html form on running a magic and execute another magic on form submit.
In general, the supported way to access the application object is with a JupyterLab plugin.