public bool Stale(Options options) { try { NativeSeleniumElement.FindElement(By.XPath(".")); return(!options.ConsiderInvisibleElements && !NativeSeleniumElement.Displayed); } catch (InvalidOperationException) { return(true); } catch (NoSuchWindowException) { return(true); } catch (StaleElementReferenceException) { return(true); } }
public string this[string attributeName] { get { return(NativeSeleniumElement.GetAttribute(attributeName)); } }