public static void BeforeTestRun() { IWebDriverExtensions.DefaultWaitTimeSpan = new TimeSpan(0, 0, 30); WebDriver = DriverFactory.Chrome(); // Need to set these after as there are no options for Chrome. WebDriver .Manage() .Timeouts(); //.SetPageLoadTimeout(IWebDriverExtensions.DefaultWaitTimeSpan) //.SetScriptTimeout(IWebDriverExtensions.DefaultWaitTimeSpan) //.ImplicitlyWait(IWebDriverExtensions.DefaultWaitTimeSpan); }