Currently, we query interactive elements using HTML semantics. There are some websites that do not always follow the rules. For example, I've seen this kind of button
However, if we traverse the entire DOM, we can find these elements by checking whether the CSS style has cursor: pointer, and assume it is also interactive.
Depending on the website, this might get more things done, but this can also sometimes mark some unwanted things as interactive and confuse the agent.
We might make this an option in settings, or allow as part of per-website rule
Currently, we query interactive elements using HTML semantics. There are some websites that do not always follow the rules. For example, I've seen this kind of button
They are currently ignored by WebWand.
However, if we traverse the entire DOM, we can find these elements by checking whether the CSS style has
cursor: pointer
, and assume it is also interactive.Depending on the website, this might get more things done, but this can also sometimes mark some unwanted things as interactive and confuse the agent.
We might make this an option in settings, or allow as part of per-website rule