New clickOnMenuItem method

as suggested by dladenhauf