You can play with mouseenter
event in select’s option
child elements as you can only enter in them if select menu is open, or also with the click
event on the select
element, usually thrown when you open it.
To test in a precise moment if its open or not I think is not possible.