I used MechanicalSoup to log in to a page. Opening the browser, it remained as one page application opening only the dropdowns. With BeautifulSoup I can select which dropdown I want to open, but I can not do it.
>>> page.select('a[href="Controlador?command=AlunoHistorico"]')
[<a href="Controlador?command=AlunoHistorico" role="menuitem" tabindex="-1">Histórico</a>]