What's the best way to determine if an element is interactive using DOM?
I've noticed that some elements in the DOM don't have an onclick event, yet they are clickable.
Websites created with various frameworks tend to behave differently in this regard.
In my attempt to identify interactable elements, I iterated through all elements within a specific class or id. If an element had a non-null onclick value, I then drew a border around it.