I write these to survive real sites, so they wait for elements properly instead of using fixed sleeps, retry when a page loads slowly, and take a screenshot when something fails, which makes it easy to see what went wrong. The code on the cover is from my own automation daemon.