 | BaseElementClear Method |
Clears the content of this element.
Namespace:
TescoSW.MW.UITests.Common.PageModel.Components
Assembly:
TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 15.2.7099.36746
Syntaxpublic virtual void Clear()
Implements
IWebElement.Clear
ExceptionsException | Condition |
---|
StaleElementReferenceException | Thrown when the target element is no longer valid in the document DOM. |
RemarksIf this element is a text entry element, the Clear
method will clear the value. It has no effect on other elements. Text entry elements
are defined as elements with INPUT or TEXTAREA tags.
See Also