Many modern websites are increasingly using frameworks like Tailwind CSS,
which rely heavily on utility classes (e.g., text-center
, flex
) rather
than IDs for styling. This can make it challenging to locate specific elements
in the DOM, especially for userscripts.
Are there any elegant solutions or best practices for locating elements that
do not have an ID attribute?
1