Add support for selenium's headless webdriver PhantomJS.
Removed specific author line driver.py.
Cleaned up code a bit in driver.py.
Re-organize code as a function rather than a script.
Add contextlib.closing to ensure webdriver instance is properly closed.