How can I get selenium to wait for something like a calendar widget to load? Right now I am just doing a
I would use
This will wait until the element is present in the DOM.
If you need to check the element is visible, you may be better using