Code from my CodeMash Test Automation Smackdown