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

21 lines
1.0 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOM](./puppeteer.protocol.dom.md) &gt; [SetAttributesAsTextRequest](./puppeteer.protocol.dom.setattributesastextrequest.md)
## Protocol.DOM.SetAttributesAsTextRequest interface
<b>Signature:</b>
```typescript
export interface SetAttributesAsTextRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [name](./puppeteer.protocol.dom.setattributesastextrequest.name.md) | string | Attribute name to replace with new attributes derived from text in case text parsed successfully. |
| [nodeId](./puppeteer.protocol.dom.setattributesastextrequest.nodeid.md) | [NodeId](./puppeteer.protocol.dom.nodeid.md) | Id of the element to set attributes for. |
| [text](./puppeteer.protocol.dom.setattributesastextrequest.text.md) | string | Text with a number of attributes. Will parse this text using HTML parser. |