Click or drag to resize
Tesco SW, a.s.

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
Syntax
C#
public string GetProperty(
	string propertyName
)

Parameters

propertyName
Type: SystemString
The name JavaScript the JavaScript property to get the value of.

Return Value

Type: String
The JavaScript property's current value. Returns a if the value is not set or the property does not exist.

Implements

IWebElement.GetProperty(String)
Exceptions
ExceptionCondition
StaleElementReferenceExceptionThrown when the target element is no longer valid in the document DOM.
See Also