* add appdirs for managing user data * use cache_dir for downloading chromedriver * cleanly shut down selenium when an exception happens