Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface default.DOM.SetAttributesAsTextRequest
import { type default } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { SetAttributesAsTextRequest } = default.DOM;

Properties

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.

optional
name: string

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