Using CSS/JS one can change the cursor that the user sees for their mouse pointer. For instance, you can set cursor: wait
to change the cursor in to a spinner.
What I would like to do is have a Selenium test which waits until the cursor changes to/from wait
. However, I can't find any "expected condition" (EC) method for watching the CSS value of the cursor.
Is there any way to wait for a cursor change (short of just sleeping and periodically checking its value)?