Waiting for page elements in Selenium tests. When all else fails use time.sleep()

This is when using Selenium with Python. Especially where there is a lot of javascript involved, on numerous occasions I spent too much time trying to figure out how to wait for an element to be present. The solution was often to put a time.sleep(0.5) in the test execution and it would work. Prior to this I would try just about any wait, even writing my own loops to wait for an element. So just a quick blurb. If you run into an issue where there is javascript invoved on a page and have trouble locating/clicking and element, time.sleep() might be your friend.