Am I doing something wrong? I assume getPosition fails on the option elements because they're invisible? I tried to click and focus the select first, but that didn't seem to do much. Is this even supported?
I'm not sure if we can get the exact position of the options in a select. As a workaround you could focus on it and use the keyboard to go through the options.
Trying to click some options inside a select:
this throws:
Am I doing something wrong? I assume getPosition fails on the
option
elements because they're invisible? I tried toclick
andfocus
the select first, but that didn't seem to do much. Is this even supported?