implement for Selenium2Driver