puppeteer/new-docs/puppeteer.protocol.dom.setattributesastextrequest.md
2020-07-13 14:01:35 +01:00

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.