Extremely Popular
Go to Latest
interface puppeteer.DOM.SetAttributesAsTextRequest
import { type puppeteer } from "https://dotland.deno.dev/x/fresh@1.0.2/tests/deps.ts";
const { SetAttributesAsTextRequest } = puppeteer.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.