I was expecting something like WebElement.isfocus(),... something really simple, but the only approach I found is using the
:focus
pseudo class.
Is this really such an uncommon task as for not find tons of information?
I'm aware of this SO topic, but it's been almost two years from then. Nothing new in more recent versions?
Would you know some workaround?