Added some webdriver configurability
Better configuration validation