This is a huge problem for test automation.
- open any page in VisualEditor
- toolbar tools are located in `<div class="oo-ui-toolbar-tools">`
- as far as I can see, there is no unique way to access a tool in the toolbar (example: click Insert tool)
- all of them share the same classes, and none of them have unique attributes, like `id`
- the only thing that is different is the string (Cite, Insert...), but since it changes when the UI language changes, it is not usable for us
- our test automation breaks all the time because elements in the toolbar move around, and the workarounds that we have at the moment are all fragile
- the best solution for us would be if every tool in the toolbar (undo, redo, paragraph...) had an unique id
- unique classes (or any other attribute, as long as it is unique) would work for us
- if there is an attribute used for translations, it would work for us, as long as each tool has and unique attribute
- this is not just a problem in toolbar, but let's start somewhere