 | BaseElementTagName Property |
Gets the tag name of this element.
Namespace:
TescoSW.MW.UITests.Common.PageModel.Components
Assembly:
TescoSW.MW.UITests.Common (in TescoSW.MW.UITests.Common.dll) Version: 21.2.8103.33088
Syntaxpublic string TagName { get; }
Property Value
Type:
StringImplements
IWebElement.TagName
ExceptionsException | Condition |
---|
StaleElementReferenceException | Thrown when the target element is no longer valid in the document DOM. |
Remarks
The TagName property returns the tag name of the
element, not the value of the name attribute. For example, it will return
"input" for an element specified by the HTML markup <input name="foo" />.
See Also