storeAttributes
operates on the DOM. It can extract whatever attributes the element supports and is used by the website!
So there is no list of possible attributes hardcoded inside UI Vision. Instead the attributes depend on the element. For example an image element <img>
has the attribute “height” but a link element <a>
has not. For a list of all possible elements and their attributes see here: HTML attribute reference - HTML: HyperText Markup Language | MDN
If you click on an element in this table - e. g <img>
- it brings you to page that lists all supported attributes. For <img>
that would be <img>: The Image Embed element - HTML: HyperText Markup Language | MDN