 | BaseElementDisplayed Property |
Gets a value indicating whether or not this element is displayed.
Namespace:
TescoSW.MW.UITests.Common.PageModel.Components
Assembly:
TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 15.2.7099.36746
Syntaxpublic bool Displayed { get; }
Property Value
Type:
BooleanImplements
IWebElement.Displayed
ExceptionsException | Condition |
---|
StaleElementReferenceException | Thrown when the target element is no longer valid in the document DOM. |
RemarksThe Displayed property avoids the problem
of having to parse an element's "style" attribute to determine
visibility of an element.
See Also