Add functional test for WebDriverBy::name