mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.0 KiB
1.0 KiB
Home > puppeteer > Protocol > DOM > SetAttributesAsTextRequest
Protocol.DOM.SetAttributesAsTextRequest interface
Signature:
export interface SetAttributesAsTextRequest
Properties
Property | Type | Description |
---|---|---|
name | string | Attribute name to replace with new attributes derived from text in case text parsed successfully. |
nodeId | NodeId | Id of the element to set attributes for. |
text | string | Text with a number of attributes. Will parse this text using HTML parser. |