public static List<IWebElement> FindWebElements(By by) { try { return WebDriver.FindElements(by).ToList(); } catch (StaleElementReferenceException) { Wait(2); return WebDriver.FindElements(by).ToList(); } catch (Exception) { return null; } }