Use wd to replace selenium webdriver