SetAttributesAsTextRequest

@Serializable
data class SetAttributesAsTextRequest(val nodeId: NodeId, val text: String, val name: String? = null)(source)

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

Constructors

Link copied to clipboard
constructor(nodeId: NodeId, text: String, name: String? = null)

Types

Link copied to clipboard
class Builder(val nodeId: NodeId, val text: String)

Properties

Link copied to clipboard
val name: String? = null

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

Link copied to clipboard

Id of the element to set attributes for.

Link copied to clipboard

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