When this worked, my first thought was:
Go home, vitest! You're drunk.
But it makes sense once you understand that the hidden option refers to elements hidden from the accessibility tree.
In my case, I wanted to refer to an icon within a button.
How would you have named this option?