Yes, exactly how most of experience here goes. Each test ends up becoming sort of a custom implementation to handle specific use cases around interactivity and availability.
Do you feel yourself wanting to extract this logic (wait for a selector, load state, or function evaluating etc) to some shared utility and then just pushing all of your interactions through this as a sort of feedback engine for future problems?