Created by: maraujop
we can do title: whatever
. If whatever
is an attribute of the element, we use its html content. If whatever
is not an attribute, then it is used as a fallback string, as it is specified now in the docs.
This way we can select another attribute to read, different to title
, without having to write a function. I believe this is something interesting to have and is what people are used to have around.
Cheers, Miguel