 | BaseElementGetProperty Method |
Gets the value of a JavaScript property 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 GetProperty(
string propertyName
)
Parameters
- propertyName
- Type: SystemString
The name JavaScript the JavaScript property to get the value of.
Return Value
Type:
StringThe JavaScript property's current value. Returns a
if the
value is not set or the property does not exist.
Implements
IWebElement.GetProperty(String)
ExceptionsException | Condition |
---|
StaleElementReferenceException | Thrown when the target element is no longer valid in the document DOM. |
See Also