Selenium tests (unpolluted)

Whoops, I was playing around with travis-ci and I polluted the original pull request. Sorry about that. Here are just the changes that I've verified work for local testing.