get Attribute Value
suspend fun DOMDomain.getAttributeValue(nodeSelector: CssSelector, attributeName: String): String?(source)
Gets the value of the attribute attributeName of the node corresponding to the given nodeSelector, or null if the selector didn't match any node or if the attribute was not present on the node.
Gets the value of the attribute attributeName of the node corresponding to the given nodeId, or null if the attribute was not present on the node.