Fixes to InternetExplorerDriver and SafariDriver