Intelligent waits for when attempting to interact with an element