internal static bool IsAvailable(IWebElement el) { try { return el.Displayed; } catch (StaleElementReferenceException) { Logger.WriteLine("Warning: Stale element is caught"); return false; } }