chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom / SetAttributesAsTextRequest

SetAttributesAsTextRequest

data class SetAttributesAsTextRequest

Request object containing input parameters for the DOMDomain.setAttributesAsText command.

Constructors

<init>

Request object containing input parameters for the DOMDomain.setAttributesAsText command.

SetAttributesAsTextRequest(nodeId: NodeId, text: String, name: String? = null)

Properties

name

Attribute name to replace with new attributes derived from text in case text parsed successfully.

val name: String?

nodeId

Id of the element to set attributes for.

val nodeId: NodeId

text

Text with a number of attributes. Will parse this text using HTML parser.

val text: String