Fix whitespace growth bug

fixes #549
fixes #454
Lock version of selenium-webdriver