fixed #972 usage of interfaces in WebDriver