MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / GetDomProperty

Method GetDomProperty

dotnet/src/webdriver/IWebElement.cs:196–196  ·  view source on GitHub ↗

Gets the value of a JavaScript property of this element. The name of the JavaScript property to get the value of. The JavaScript property's current value. Returns a if the value is not set or the property does not exist. Thrown when the target element i

(string propertyName)

Source from the content-addressed store, hash-verified

194 /// value is not set or the property does not exist.</returns>
195 /// <exception cref="StaleElementReferenceException">Thrown when the target element is no longer valid in the document DOM.</exception>
196 string? GetDomProperty(string propertyName);
197
198 /// <summary>
199 /// Gets the value of a CSS property of this element.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected