make webdriver type customiseable