Changes to the API of MenuBarElement (#15032).

- remove open(String)
- clickItem throws NoSuchElementException
- closeAll() is made private (not removed because it is used internally
by clickItem(String...))

Change-Id: I43f03fab83f3310f02fff7195df4aec310142c46