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

Method GetDomAttribute

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

Gets the value of a declared HTML attribute of this element. The name of the HTML attribute to get the value of. The HTML attribute's current value. Returns a if the value is not set or the declared attribute does not exist. Thrown when the target elem

(string attributeName)

Source from the content-addressed store, hash-verified

185 /// method or the <see cref="GetDomProperty(string)"/> method.
186 /// </remarks>
187 string? GetDomAttribute(string attributeName);
188
189 /// <summary>
190 /// Gets the value of a JavaScript property of this element.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected