Add webdriver alert methods.